adb: Do not look for bu in /system/bin when in recovery mode

This prevents breakage when /system is mounted while in recovery.

Change-Id: I4594d33969987cd1d17b4d865d6aca448596d0c1
Add Nokia vendor ID to adb and fastboot

Change-Id: I6bf1ea704f93c9de37c45a6edf8175d426708c7b
Merge "Add Nokia vendor ID to adb and fastboot" into cm-11.0
sdcard: Link to cutils and libc as DSOs

There's no reason to link this statically, especially since we're
building a shared binary anyway. Reduce binary size from 108k to 18k

Change-Id: I0622f039080fa088348570048314121ea4e14587
charger: Use android blue for charge percentage

  This isn't gingerbread anymore

Change-Id: Ifb8635761b0e77deac4e78dfe783fd794e96199f
Remove obsolete vdc call.

Since ca8e66a8b0f843812014a28d49208f9f6f64ecbc, init has
been handling reboots and filesystem unmounts. Remove obsolete
call to vdc...

Bug: 12504045
Change-Id: If8704ca042cb3a68857743b9973e48c52e7eb881
Make tombstones directory to not follow symlink.

Use file descriptor to change ownership.

Change-Id: Ie6919c549885d950975a003c4009b6e185df6e64
CRs-Fixed: 600072
system/core: Remove AID_GRAPHICS from adb groups.

Remove AID_GRAPHICS from adb access groups so that
framebuffer access is restricted.

Change-Id: I306edaa2875ebc066118bb573e551325c137415a
toolbox: Avoid issues with non-regular files

Toolbox uses open() in order to check for existence of a file, instead
of using stat(). This breaks when using non-regular files such as FIFO,
because opening a FIFO for reading blocks until a writer is available.

Change-Id: I008d246d68f7ce56040f4b4c36e5ff4f9c34f4dc
init: update recovery when enabled in settings

Update the recovery image only if the option is enabled
under Developer options

This reverts commit 231e0a9e6a1da6fa4a188840f68af649669e417f.

Change-Id: I928f7ee8bb3eaf5581bb8225661d253ecca0c4ef
Change CM recovery install script filename [2/2]

This is part 2/2 to maintain backwards compatibility with CWM's
verify_root_and_recovery() function. CWM checks if install-recovery.sh
exists and has an executable flag set, then offers to disable the script
for the user. CM now controls this with the persist.sys.recovery_update
property which is configurable via settings, so we don't need to
double-check this.

This changes the name of the recovery install script to
install-cm-recovery.sh.

Change-Id: I275dd358b46c626dfcb8fe02c583a308d5a89c56
Support for JCROM
Merge branch 'cm-11.0-jcrom' of github.com:JCROM-Android/cm_android_system_core into cm-11.0-jcrom