QuickBoot: Charger: add parameter to support QuickBoot mode

If there is unplug event in QuickBoot mode, close display
and go to sleep mode.

Change-Id: Iaa41255b71767e5cce327c4f441de9a870b384f3
charger: Underp the backlight

 * Always disable the backlight before blanking, or derp is your life.

Change-Id: I225ff0e881cf781fa3e7054c2f6dfa02a6ab23f9
adb: Fix backup fallback

 * Check for existence of binary first

Change-Id: I5c1884655ae031f51cb935221ae7870b016e259d
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
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