Allow cancelation of adb sideload.

Change-Id: I1cc5a6719c3fe547afe944a94e134519c2c45fc6
allow sideload to be triggered via /cache/recovery command for eat

Change-Id: I36996ceea831160830815c1b267328f307bbd906
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
let user select system before wiping dalvik-cache in advanced_menu

Change-Id: Ia48a767dcefa6a12b5e6c7fbc19ea5acb169bf2e
- fix: backup/restore boot1
- fix: don't restore data into data1 before restore of correct data1
- fix: ask user to select system for advanced restore of boot,system and data
- optimize: only show existing images in advanced restore menu

Change-Id: I192e8d91a09c41886e451934678f860ee4884e45
Don't show system_selection for advanced recovery of /data if TrueDualBoot is disabled

Change-Id: I001bda24cfd262a281880b9f6a2acea835a08dc4
use mount_ext4.sh to redirect access to recovery partition to /dev/null
This is useful to prevent MIUI Updater App to flash recovery before updating system via recovery.
If you use live-install recovery will still be flashed by install-recovery.sh on  next reboot because custom mount_ext4.sh is missing on the new installation.

Change-Id: Ib8c8ca80b1717b1d6c3e5027c64d2f264be1effb
dualboot: handle modem1 partition

Change-Id: I27834f5a261d806293264fcb3fbc6918ff43826f