[RECOVERY] TWRP 2.8.7.0 touch recovery for Mi4i

Team Win Recovery Project 2.x, or twrp2 for short, is a custom recovery built with ease of use and customization in mind. Its a fully touch driven user interface no more volume rocker or power buttons to mash. The GUI is also fully XML driven and completely theme-able. You can change just about every aspect of the look and feel. Use it carefully, i didn't tested it very well... At least, installing my CM works I'm not responsible if you transform your phone into a brick! I've decided to compile own TWRP. FEATURES - Latest cm kernel (https://github.com/dh-harald/android...xiaomi_ferrari) - upstream repository from (https://github.com/omnirom/android_bootable_recovery) - native 64bit / QCOM_BSP / QCOM HW disk encryption - f2fs enabled (to use it, you need 20150916 or later CM of mine -- if you're using different CM version, contact to your maintainer) DOWNLOAD twrp-2.8.7.0-ferrari.img - 30.15 MB INSTALL - Install fastboot drivers - Download it to your computer - Reboot your device into bootoader mode - fastboot flash recovery twrp-2.8.7.0-ferrari.img BUGS You tell me... HOW TO COMPILE 1. you need to use my minimal repo to create the build environment:
repo init -u git://github.com/dh-harald/twrp_android.git -b cm-12.1
2. add a xml file to local_manifests:
<?xml version="1.0" encoding="UTF-8"?> <manifest>     <project path="device/qcom/common" name="CyanogenMod/android_device_qcom_common" />     <project path="device/xiaomi/ferrari" name="dh-harald/android_device_xiaomi_ferrari" />     <project path="kernel/xiaomi/ferrari" name="dh-harald/android_kernel_xiaomi_ferrari" /> </manifest>
3. sync the repository
repo sync
3. (optional - I don't know is it still need or not) You need to patch external/sepolicy use this link, what do you need to change: http://review.cyanogenmod.org/#/c/89474/ 4. compile it
$ . build/envsetup.sh $ lunch cm_ferrari-userdebug $ make -jX recoveryimage
X is based on your nr of CPUs Source: XDA Forum

EmoticonEmoticon

:)
:(
=(
^_^
:D
=D
=)D
|o|
@@,
;)
:-bd
:-d
:p
:ng
:lv