[Huawei Ascend Mate 2] :
Disclaimer:

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

See Post 7 for the Stock Recovery if you failed to keep a copy for yourself: Click here

Steps for Backing up Stock Recovery:

fastboot boot /path/to/TWRP.img

The above command will only boot the recovery and will not overwrite your stock recovery making it possible to backup your stock from within TWRP. Now backup your recovery partition from within TWRP. It will be saved on your device and named, recovery.emmc.win. You can rename it to recovery.img to flash it back via usage of fastboot or apply restore within TWRP given the original filename, recovery.emmc.win.

Or within a terminal using dd (aka Data Destroyer);

dd if=/dev/block/mmcblk0p19 of=/sdcard/stockrecovery.img

TWRP for MT2-L03​

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.

​

CHANGELOG for 2.8.0.0:

-Add MTP support to recovery thanks mostly to bigbiff with a little help from Dees_Troy

-Add command line capabilities - you can now execute various TWRP features via adb instead of the touchscreen

-Add support for color in the console and give error, warning, and highlight lines different colors

-Track backup and restore progress based on file sizes to provide a much more accurate indication of progress

-Improve handling of /misc thanks to mdmower

-Improve setting of time on Qualcomm devices thanks to [NUT]

-Allow using images on slidervalue GUI objects thanks to Tassadar

-Allow using variables and addition and subtraction in variables for easier theming

-Add support for 1440x2560, 280x280, and 320x320 resolutions and update 240x240

-Allow ui.xml file to include additional xml files to help break up the theme and make TWRP easier to maintain

-Other minor fixes and improvements

Over the course of the last year or so, bigbiff has worked to migrate various Java functions from Android's MTP implementation to bring you a fully C++ based MTP implementation that allows you to transfer files to both emulated storage and Micro SD cards. It's confirmed to work on various Nexus devices but we may have to make some changes on other devices to keep Windows happy. Windows is very picky about USB IDs and its drivers. We have tested it on Windows 7 and 8 as well as Ubuntu 14.04 Trusty. MTP is enabled by default, but we do toggle it off and on automatically during certain operations such as if you choose to wipe a storage partition. You can enable or disable MTP under the mount menu in TWRP. For more about what MTP is here.

Note: Due to a weird bug with our MTP setup, you cannot copy a zip file to the root of storage with Windows. You can change the .zip to something else like .txt and then copy it to the root and rename the file back to .zip once it's copied to the device. You can also copy the zip into any subfolder.

Command line support is also now available. You can perform various OpenRecoveryScript commands via the adb shell. Depending on what you are doing you may wish to do a "twrp set tw_mtp_enabled 0" and then reboot to prevent the MTP auto toggle from killing your adb interface. You can use this option to create and restore backups, wipe, install zips, and more. Via adb shell, type twrp followed by a space then enter the OpenRecoveryScript command and hit enter. Find more OpenRecoveryScript commands here.

Installation (PC):

- You

MUST

have an

unlocked

Bootloader! /* See Post 2 */

- 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

- Also, a video to demonstrate the process of installing TWRP - Credit goes out to [MENTION=5863839]superbass311[/MENTION]:

[YOUTUBE]sjA4F_TzzwQ[/YOUTUBE]​

Installation (Device)(More Experienced Users Only!):

- You

MUST

have an

unlocked

Bootloader! /* See Post 2 */

- You

MUST

be

rooted

!

- Must have Busybox installed or a properly compiled DD binary

- Download TWRP Recovery

- Install a Terminal Emulator from the Play Store

- Type, then Enter:

su

Followed By:

dd if=/path/to/TWRP.img of=/dev/block/mmcblk0p19

Download:

- TWRP 2.8.0.0

CONTRIBUTORS

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

[MENTION=3266877]xordos[/MENTION]

[MENTION=4802595]Shaky156[/MENTION]

SOURCES

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

- Stock Kernel

- Stock DTB

- TWRP source from Omnirom

- MT2-L03 Device Configuration Folder - My Github

VERSION INFORMATION

- Status: Stable

- Created 2014-09-22

- Last Updated 2014-09-22