init: Load init.carrier.rc for carrier-specific bits

Change-Id: I941230f035182e27bd62316b594ac457316c37b6
Host builds: add fastboot and adb

Add fastboot and adb host utilities to debug builds for debugging
and development purposes.

Change-Id: If77699a27497b8641998930f14d4ee418b856080
mount: fix incorrect string length calculation

Fix bug https://code.google.com/p/android/issues/detail?id=54192
which incorrectly calculated the length of a string.

Fix compiler warning:

system/core/toolbox/mount.c:59:2: warning: initializer-string for array of chars is too long [enabled by default]
system/core/toolbox/mount.c:59:2: warning: (near initialization for 'options[16].str') [enabled by default]

Change-Id: If8663f8311c6348a730fcf731d402b57fee10cb5
One less warning

Change-Id: Icdf2608c9ddda1cae846cd1ff4e66058fdabbcfb
libsysutils: fix null pointer and memory leak issue

In SocketClient::quoteArg function
1. Fix potential null pointer accessing issue
2. Fix potential memory leak introduced by realloc fail

Change-Id: I1ca0f9089290d43452e9a71428244545f4ed866b
Signed-off-by: Hong-Mei Li <a21834@motorola.com>
core: Improve LPM support

 * Larger last_kmsg buffer in the charger log for debugging.
 * Load /init.lpm.rc in order to externalize charger setup.
 * Add support for Samsung's LPM reset reason.

Change-Id: I38cd63f7aa05685d2075d2568faf2f94f8440c88
Add sysinit

Change-Id: I5ff5a7f0fe9aaf94bb168a059643c73ac8ff00c1
fix typo
Merge branch 'jb4.2' of git://github.com/SlimRoms/android_system_core into SB