[Xiaomi Mi 2] m11kkaa:
Features:

install zip from sdcard or sideload into system1 or system2

mount and format system1 or system2

fix permissions on system1 or system2

set bootmode to system1 or system2

automatically checks for install-recovery.sh on both systems and asks you if you want to delete them

TrueDualBoot

TrueDualBoot notes:

Enabling or disabling TDB will completely wipe your data-partition. Once enabled your data partition will be VIRTUALLY split which means that both systems together can use the full space of the data-partition.

There are some things which will break TDB:

everything which removes CWM(like Xiaomi Updater App's live install)

ROM's which don't support mount_ext4.sh (I did not see any ROM without support yet)

Changelog:

2014-07-08:
- update to 6.0.5.0
- fix CWM's recovery updater

2014-05-10:
- update to 6.0.4.8
- enable swipe

2014-03-23:
- kernel change to allow "adb reboot dload"

2014-03-15:
- fix restoring backups with TDB enabled

2014-03-13-2:
- fix error when installing zip's
- unmount data when switching system

2014-03-13:
- update to CWM 6.0.4.7
- use opensource(4.4) kernel
- USB-OTG support
- use global choice for system
- prepare for merge into CM(for official CWM)

2013-11-15
- support 4.4 roms

2013-05-24:
- update to CWM 6.0.3.2

2013-04-13:
- fix flashing modem1

2013-04-06:
- update kernel to fix boot on MIUI since 3.4.5

2013-03-24:
- update to CWM 6.0.3.0
- block access to recovery partition from android
look here for more information: [URL]https://github.com/M1cha/android_bootable_recovery/commit/333f6101e155ebe4e6eba577719fd13680e06c71[/URL]

2013-03-09:
- introduce TrueDualBoot feature
- backup/restore boot1 because it was missing in first release(CHECK YOUR OLD BACKUPS!!)
- show existing images in advanced restore menu only and provide system-selection
- merge upstream commits(from cyanogenmod)

2013-02-22:
first release

=========== IMPORTANT ===========

I removed all builds of CWM, Philz, etc prior 2014-07-08 because

this new version contains a important fix.

Also check the new point "4" in installation notes below.

if you want to make sure everything went well after you booted into your ROM,

open the file /system/bin/mount_ext4.sh and check if there is this line somewhere

at the bottom of the file:

NO_HIDE="$(getprop ro.keep.recovery.partition)"

================================

Download:

http://d-h.st/users/M1cha/?fld_id=11289#files

Sourcecode:

https://github.com/M1cha/android_bootable_recovery/tree/cm-10.1

Donate:

I do this just for fun but if you like my work it would be great if you want to spend me a beer :)

Installation:

Download latest recovery-signed-***.zip

if you are on stock recovery: Copy the file as “update.zip” in the root directory of your sdcard

Reboot into recovery and install the zip file

if you come from any other recovery or from CWM pre-2014-07-08, DIRECTLY reboot into recovery again before doing anything else so the dualboot(even without TDB) hook's will be updated.

Final notes:

Please be aware that your phone has only ONE data-partition. If you have TrueDualBoot disabled that means:

You can't install AOSP and MIUI on one phone

If you wipe your data, the settings in both systems will be deleted

Furthermore you shouldn't use the feature of MIUI-Updater app which lets you install during running system. Otherwise you'll have to reinstall CWM after every update.