recovery: fix sideload cancel

Change-Id: I76fcea55cc38edc713211742890b00acf8de4117
Reverse kang Wil Wheaton Recovery enhancements.

Change-Id: Ia9eace0ff0826801515b335ac6543c1271948612
6032

Change-Id: Ieb03cb1b06e3a9a2eaab61ac3d6c2e02922cea4c
Merge "recovery: fix sideload cancel" into cm-10.1
Delete sideloaded file once installed

If not deleted, it will be unexpectedly re-installed in case
the user starts and then cancels adb sideload.

Change-Id: Idfea3b5d5c95ab29fd946cd404d1255105105ce3
Rename prebuilt recovery su to su.recovery, so it does not interfere with devices that have a shared recovery/boot.

Change-Id: Id542215a31c4617e230474b65ecf54bbc8117d4e
revert mmcutils. cleanups and fixes.

Change-Id: I2b0c3918528e5f7e6f4d2f8df1592c55f98317d3
add getprop

Change-Id: Id7a87626d2351d49750e9982d6f81d2646d9d36d
Fix recovery filesystem table output to log

Use fprintf when printing to a specified stream.

Change-Id: I863e3b570e3cf560deec9e8bb39cb339f40ae94c
add dualsystem support

Change-Id: Ief9f921fffe48b7586d75141286f00123cd080d9
show system-selection before confirm to install zip

Change-Id: I26b98233a8764b7c6a29977c70dbe75b11763362
verify_root_and_recovery for both systems

Change-Id: Iae0fab8c08682de5d3905f4a416cc75d85dbe7ba
patch real device-nodes instead of symlinks

Change-Id: If1973f7814806a5adaefe27036c31d0dd3c174ce
allow changing menu color

Change-Id: I0b78c1ec93fc13796f49c275c308192cf744aa61
add advanced option to change bootmode(system0 or system1)

Change-Id: I4d0f5bc971d334ca077bdb63d549373734140730
only show restore-options which are available for backup

Change-Id: Icda178b4a9c8f3ab80913e59f074a20cb167fa71
use correct initial_selection for filtered menu

Change-Id: I911f251a1559dd951c35e641f6475ecc10fe7e2d
fix mount,unmount an format system-partitions for dualsystems

Change-Id: Ib2ee917a2a1d08e4eb930f5ea3370f7c15ce37f8
improve function set_active_system

Change-Id: I1623abc4e54a04f7c82876cf0ae8fb538b0b2e6a
add TrueDualBoot feature

Change-Id: I426bbc220f8bba20dfa79f94735bff64624cd83e