[Huawei Ascend Mate 2] xordos:
TWRP Alpha build for MT2-L05(LianTong) TeamWin Recovery Project

Not working:

Could not handle Internal Storage properly, i.e., Wipe data will wipe internal storage as well.

Most of the text and even the config/build itself is copied from Modding.MyMind work on US version MT2L03. Thanks, Modding.MyMind

****ALPHA Version WARNING *** IMPORTANT *** MUST READ ****

Please note, due the structure of this phone storage, the Internal Storage (/storage/emulated/0 size 12GB) is actually shared with /data partition, and the mount point is /data/share, this is not same as google recommended value /data/media, and current TWRP code could not handle this properly. Also Modding.MyMind has PM'ed me that he probably will spend less and less time on XDA/development work, and I really lack of expertise/time on this one, so This build didn't resolve this issue. That's why I labeled this as ALPHA version.

Internal Storage /data/share /storage/emulated/0 size 12GB

External SDcard: /mnt/media_rw/sdcard1/ An SDCard is required to use this TWRP build and recommended 32GB or bigger.

For more information about this issue, please check TWRP article http://teamw.in/DataMedia, and please noted that it mentioned "A stock AOSP recovery would format data including the "sdcard" but TWRP will use its regular factory reset setup that leaves the internal storage intact" is not working in this TWRP alpha build., i.e., This TWRP will wipe your internal storage when you wipe data.

So, using this TWRP recovery, fact is:

. The backup target must select External Storage.

. Backup /data will include the internal storage, and this partition size will be ~12GB if uncompressed.

. Restore /data will override internal storage area.

. Wipe data (Factory Reset) will wipe internal storage as well.

Please read above carefully, and understand the risk of using this alpha build.

Recommended approach:

In your daily usage of the phone, try to save everything to external SDCard, or manually backup internal storage to external SDCard frequently.

When using TWRP, back/restore following partition is safe:

/boot

/recovery

/system

And always take caution when backup-restore /data, also, it is recommended check the compress option when do the /data backup.

Again, Many application may save files into Internal Storage including the pictures you taken, and files/songs you downloaded. So be aware of the risk of using this TWRP that may wipe the internal storage. If you are not clear/comfortable of this risk, please do not install this TWRP.

****ALPHA Version WARNING *** IMPORTANT *** MUST READ ****END****

Disclaimer:

You are responsible for insuring you keep a backup of your stock recovery!

Steps for Backing up Stock Recovery:

within a terminal using dd (aka Data Destroyer);

su
dd if=/dev/block/mmcblk0p18 of=/mnt/media_rw/sdcard1/stockrecovery.img

TWRP for MT2-L05​

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.

Installation (PC):

- You

MUST

have an

unlocked

Bootloader!

- Download TWRP Recovery

- Boot to your Bootloader

- Plug your device to your PC

- Open Command Window

- Type, then Enter:

fastboot flash recovery /path/to/TWRP.img

Download:

- TWRP 2.8.0.0

File name: TWRP_MT2L05_Alpha.img

File size: 11,040,768

md5sum: b8832fc6dfd5d6e47e63ba7f7e047518

CONTRIBUTORS

[MENTION=5537766]Modding.MyMind[/MENTION]

[MENTION=3266877]xordos[/MENTION]

And thanks [MENTION=4235172]4L0M[/MENTION] for the testing that is dangerous due to the nature of twrp

SOURCES

- Recovery built in a OmniRom 4.4.4 environment using device trees/kernel

- Stock Kernel

- TWRP source from Omnirom

- MT2-L05 Device Configuration Folder - My Github

VERSION INFORMATION

- Status: ALPHA

- Created 2014-10-03

- Last Updated 2014-10-29