4.3 detection fix

Change-Id: Ib5e3df51fa7a383f3699968e899e06d579480564
unset immutable bit on install-recovery.sh

Change-Id: Ie7e8bfea57bed207c3c2d57bf3cd23daf6cd4c20
Don't treat link-time warnings as errors when linking with libbusybox

See http://review.cyanogenmod.org/#/c/46642/ for why this is necessary.

Change-Id: Ib97484755569fcafc062d3c39b2841581987ca72
Fix roots.c to use fs_mgr

Change-Id: Ie68daba5e014dff0c4998da85576f35abe8ad270
move key loading to verifier code

Add an option to verifier_test to load keys from a file, the way the
recovery does.

Conflicts:
	verifier_test.c

Change-Id: Icba0e391164f2c1a9fefeab4b0bcb878e91d17b4
recovery: save logs from the last few invocations of recovery

Extends the last_log mechanism to save logs from the last six
invocations of recovery, so that we're more likely to have useful logs
even if the device has repeatedly booted into recovery.

Conflicts:
	recovery.c

Change-Id: I08ae7a09553ada45f9e0733fe1e55e5a22efd9f9
recovery: ignore voldmanaged volumes

Voldmanaged volumes use sysfs path instead of device
path which is not supported by recovery, so a separate
entries for /sdcard and /external_sd are required.

We ignore these volume so we don't show the menu for
"mount /storage/sdcard0", etc.

Change-Id: I6bf26e0ad3fb59579c986cf5537f9e70448891e9
Add sdparted option to partition in ext4 fstype

Taken from PhilZ Touch recovery

Signed-off-by: Michael Bestas <mikeioannina@gmail.com>

Change-Id: I079617fc32f8ad0aea754a60898cd4f9cc482524