Squashed adb fixes.

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

allow always insecure

Change-Id: I5c15731c95d123488e90aaeac5b497f556b53363

Conflicts:

	adb/Android.mk
adbd: Disable "adb root" by system property (2/3)

 * Require persist.sys.root_access=1 on non-eng debuggable builds

Change-Id: Iedab030e81ffb525fed64aed80cf0014f3e07073
adbd:fix framebuffer handle when(fbinfo.size % 640 != 0)
adb: Fix missing header paths

Change-Id: I570b631ced11ab104aafe7ebfe71bae4e380d8af
adb: Add "wait-for-sideload" command

 * Waits for connected device to enter sideload mode

Change-Id: I65b4ad86456c13a3bbc48880e12ab7a034707b88
adb: Add a few more wait-for commands

 * wait-for-recovery is obvious.
 * wait-for-online will wait for recovery || device

Change-Id: I70f747bcd201a4157b988d7ed49bcc8e5ff4c85f
adb : add missing connection states

Both CS_RECOVERY and CS_SIDELOAD where not being checked by
connection_state_name which resulted in adb get-state returning
unknown when a device is in those modes.

Change-Id: I00716024d6a0bdb68d6e2380c8cd7b5d056bd15f
Signed-off-by: trevd <trevd1234@gmail.com>
backup service: fall back to /sbin/bu

Change-Id: I46c67a401da8de92d7ef81ad40c565bb1d2ef93b