Squashed adb fixes.

fix up adb to prefer /sbin/sh if it exists

allow always insecure

Change-Id: I5c15731c95d123488e90aaeac5b497f556b53363

Conflicts:

	adb/Android.mk
init: Add net device permission controls for LGE devices

These are used by lge-ril to control the state of the mobiledata
interfaces

Change-Id: Ia869f08564c1f4907240289a32a10e0f3413d8a9a
ADB Logcat colored output.

This patch adds a new '-C' option to logcat so that the output is
colored with colors similar to the ones in DDMS.
Simply type "adb logcat -C" to use it.
Works well with bash in gnome-terminal.

Change-Id: Ie72199ecca0e04f2082c993f5763646bb09da61ea
init: Implement exec support

Code copied from CM7 implementation by Steve Kondik

Change-Id: Ie8f11e9dc9e552aa7a4fe354995daaf8f0d99a11
Stub property_set_sync

This is needed by Motorola RILs

Change-Id: If4ede6b958cde4ee4450fef7a3106d52bfb5d5d1
liblog: Move kineto and qcom RIL messages to radio log

Squashed commits from CM7

   liblog: I <3 you Kineto, but STFU.

   Kineto's native library obliterates the logs with debug info, which
   makes me a sad panda when trying to debug other things. Send it to the
   RADIO bucket instead.

   Change-Id: I6e6a7a54a84d41cd189f9eb48518b990b8b13a89

   Added QCRIL to filter rules.

   QCRIL from LG P500 generate too much logcat output (about 20 lines per second) so it will be good to filter it.

   Change-Id: I29d1fcd16d0fbf9ba456b09087c33c21242faa8e

   Mecha: Move qc-ril related logging to the radio log

   Change-Id: Ibf4eb91068b53e389ca437bcc4e52d66be92639a

Change-Id: I8e9d646fe6f7910205a3c19702a283bdb6921342
Merge "liblog: Move kineto and qcom RIL messages to radio log" into ics
do not install recovery on boot
Merge "Stub property_set_sync" into ics
init: Include extra init file in /system/etc/init.local.rc

Change-Id: I2324b3be767a4bf2e0d32645a355f14e0b894c5b
Use RECOVERY_PRE_COMMAND before calling __reboot() recovery

For the Power menu,
frameworks/base/core/jni/android_os_Power.cpp#L180
already uses RECOVERY_PRE_COMMAND if
TARGET_RECOVERY_PRE_COMMAND is defined in the
BoardConfig.mk for a device to make a system() call before
calling __reboot() for recovery. This commit adds
the same thing to the other places that we know we are
getting into recovery using __reboot(), namely,
adb reboot recovery, the reboot binary and init
in the case of errors.

Change-Id: If0a9c7f22de2aa187c921b60ad5edd77b49e095d
add missing string.h include needed for memset

Change-Id: Ieeb9e95919d1bea183f01da9fbab0c5c8c8d1925
Merge "init: Include extra init file in /system/etc/init.local.rc" into ics
libcutils : reboot mount fix

On aries for eg, cache needs to be rw for the RECOVERY_PRE_COMMAND to
work because we write to /cache/.startrecovery

This patchset moves the RECOVERY_PRE_COMMAND prior to the remount.

Change-Id: Iab1da9a15e64e8831b04e4eb21d824de5f8bd0eb
Merge "libcutils : reboot mount fix" into ics
debuggerd: Extend condition for exclusion of the fconstd instruction

The fconstd instruction only exists in ARM cores with VFPv3 or
later. Currently all supported ARMv6 targets do not have VFPv3 or
later, so let's just extend based on this trend.

Change-Id: Icbbaadb69564b9bab7b55fdada408247c214f038
RECOVERY_PRE_COMMAND_CLEAR_REASON and extended reboot arguments

fix the 2 new warnings created by our 4-lines recovery patch ;p

Allow also to override toolbox reboot applet, for bootmenu

Change-Id: I975af19a8f295d1e341c7433f96f669db611f89c
Merge "RECOVERY_PRE_COMMAND_CLEAR_REASON and extended reboot arguments" into ics
system/core: Add audio enums for new features support

- Added required enums for QCELP/EVRC, FM and ANC features.

Change-Id: Ie553f4693a9e0b160355c2d664fe34873d128382
window: Add query enum for num buffers

Change-Id: I6a37c2edf36386d608cb6b9bb3452336876d08f6