Remove "fix permissions" option

Original discussion here: http://review.cyanogenmod.org/45559

Patchset 2: really remove the option
Patchset 3: fix options that I broke on ps2

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

Change-Id: I54877a24444c24a296c8c044efd977f30cc66de4
Add power off & reboot to bootloader mode in advanced menu

Also:
Cleanup leftovers from previous poweroff option
Always ensure a clean reboot (Thanks to PhilZ for his implementation)

Bootloader option defaults to "bootloader" (fastboot mode), it can be overriden
by defining "ro.bootloader.mode=download" prop for samsung download mode
We leave reboot to bootloader option always enabled, that way we can
override the get_filtered_menu_selection bug that breaks the order
of the options when NULLifying menu options.

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

Change-Id: I6d674b37ab41ab342b105993719277360b4707e4
Remove "fix permissions" option

Original discussion here: http://review.cyanogenmod.org/45559

Patchset 2: really remove the option
Patchset 3: fix options that I broke on ps2

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

Change-Id: I54877a24444c24a296c8c044efd977f30cc66de4
Add power off & reboot to bootloader mode in advanced menu

Also:
Cleanup leftovers from previous poweroff option
Always ensure a clean reboot (Thanks to PhilZ for his implementation)

Bootloader option defaults to "bootloader" (fastboot mode), it can be overriden
by defining "ro.bootloader.mode=download" prop for samsung download mode
We leave reboot to bootloader option always enabled, that way we can
override the get_filtered_menu_selection bug that breaks the order
of the options when NULLifying menu options.

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

Change-Id: I6d674b37ab41ab342b105993719277360b4707e4
Fixes for Superuser

Change-Id: I86a280088ee8767e02ba51b72f4d011cf4658f6f
Fixes for Superuser

Change-Id: I86a280088ee8767e02ba51b72f4d011cf4658f6f
su installation and detection updates for 4.3

Change-Id: Idce9a6d4ca18ddc9b49029024c26bc114f6d3c15
6035

Change-Id: Iab792171fdbe62fe85ac3084f49cbd38cb172fba
add su daemon runner

Change-Id: Ibb9be9e764d0ccb842a26a0795a0bb6cb6113b58
Merge remote-tracking branch 'github/cm-10.1' into cm-10.2
4.3 detection fix

Change-Id: Ib5e3df51fa7a383f3699968e899e06d579480564
Merge remote-tracking branch 'github/cm-10.1' into cm-10.2
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
Revert "Use fstab v1 as a default."

This reverts commit 1a6c91fcbc16f90b3dcbc9cef3e1052c84a40ffb.

Change-Id: I5fb1105bfb640f0552ddcc4a99b6f98487a1c946
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
Update wipe data option confirmation

This commit allows the wipe data/factory reset option to recognize the
.one_confirm or .no_confirm files in the clockworkmod folder.

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

Change-Id: Ib0f82b4448e3b9df95a5e59a49428f3e9da58578