[Recovery][2018-11-01][3.2.3-0] TWRP for the Huawei Mate 9 (hi3660)

micky387

Senior Member
Sep 9, 2011
2,740
2,652
183
Lyon
Team Win Recovery Project 3.2.3-0



WARNING #1: Unlocking BL and flashing a custom recovery voids your warranty. Please make sure to contact your carrier/seller if your phone is still under warranty after unlocking the bootloader.

WARNING #2: Make sure you have enabled OEM unlock and unlocked bootloader before trying to flash this. How you can successful root and install TWRP will be described below.

WARNING #3: I'm not responsible if your brick your device,As always, any changes is risky ,so use with caution

HOW-TO INSTALL

0. Make sure you enabled OEM unlock in settings, if you haven't please do that now by tipping 10 times on build number (to activate developer options), than open developer options and go to OEM unlock, enable it
1. Have an unlocked bootloader is required!
2. Download the TWRP recovery from the download section below
3. Make sure you got fastboot drivers installed (I will describe this below in how to unlock your bootloader)
4. Open the adb/fastboot application on your pc and go to the directory where your TWRP img file is downloaded
5. Boot your phone into download mode (First method: fastboot reboot-bootloader while connected to pc. Second method: power off your phone, hit power on and volume down until it boots to download mode)
6. Check again if there is written: unlocked phone!
7. If yes type now into your adb/fastboot terminal: fastboot flash recovery_ramdisk twrp_recovery.img
8. Type: fastboot reboot
9. Now boot into recovery by pressing: power+volume up+volume down at the same time
10. Enjoy twrp

DECRYPTION DATA
you cant perform an backup/restore with this twrp because Decrypting data is not currently supported in EMUI *

You can bypass this with follow this steps:

- For Emui Rom
1/ backup only your /system partiton into your SDCARD
2/ follow this steps it's the same recovery at this time
3/ reboot into recovery
4/ restore /system
5/ reboot system
6 / you have now a decrypt data with EMUI rom

- For AOSP/OTHER rom Roms

follow this How to remove encryption data

Note:
rename my twrp_recovery.img.zip to twrp_recovery.img (remove .zip at the end, it's for upload this files into xda (size files))

Changelog:
* fix lot of mount/unmount partition
* fix backup/restore tool for lineageos rom
* fix issue when perform a format /cache partition
* fix mtp issue
* fix read and write on sdard and ext sdcard
2018-11-01
* Add new MINADBD
* Fix selinux denial with stock kernel
AndroidFileHost Download:
Here

Contributors:
@Dees_Troy

source code:
device tree: (Lineage build for now) HERE and HER
bootable recovery: https://github.com/kirin960-devices/twrp_bootable_recovery

XDA: DevDB Information
TWRP Huawei Mate 9, Tool/Utility for the Huawei Mate 9

Version Information
Status: Stable
Current Stable Version: 3.2.3-0
Stable Release Date: 2018-10-24

Created 2018-08-28
Last Updated 2018-10-24
 

Attachments

Last edited:

micky387

Senior Member
Sep 9, 2011
2,740
2,652
183
Lyon
Tips:

If you have already flashed this recovery , not need to use fastboot tool anymore ,just follow this steps:

1/ reboot into my recovery
2/ choose install
3/ select install image bottom right
4/ select new twrp_recovery.img where you've it stored(be sure you have rename twrp_recovery.img.zip to twrp_recovery.img before)
5/ choose "Recovery Ramdisk" partition
6/ flash it
7/ reboot to recovery
8/ Enjoy
 
Last edited:

_A.T.Omix_

Senior Member
Jan 2, 2012
253
23
18
Is it possible to unlock bootloader now that Huawei doesn't give unlock codes anymore?
Just updated to Oreo on MHA-L29C636 and it seems that my bootloader got locked during the update.
 

mightyblazer

Member
Nov 25, 2015
40
7
28
44
Slickville
Is it possible to unlock bootloader now that Huawei doesn't give unlock codes anymore?
Just updated to Oreo on MHA-L29C636 and it seems that my bootloader got locked during the update.
I was under the impression that your old bootloader unlock code should still work if not you have to pay for DC Unlocker I hear it's like five US Dollars somewhere around there
 

_A.T.Omix_

Senior Member
Jan 2, 2012
253
23
18
I was under the impression that your old bootloader unlock code should still work if not you have to pay for DC Unlocker I hear it's like five US Dollars somewhere around there
Sadly for me I don't have any traces of my old unlock code. Is the DC Unlocker compatible with the Mate 9 tho?
 

mightyblazer

Member
Nov 25, 2015
40
7
28
44
Slickville
Sadly for me I don't have any traces of my old unlock code. Is the DC Unlocker compatible with the Mate 9 tho?
fortunately for me I got mine for free before ended from what I've read I do believe it will work on a mate 9 that's what I have but I didn't have to go that route somebody else might be able to answer it a hundred percent
 

_A.T.Omix_

Senior Member
Jan 2, 2012
253
23
18
https://www.dc-unlocker.com/how-to-read-huawei-bootloader-unlock-code

WARNING:
Huawei P20 EML-xxx all versions not supported
Huawei P20 Pro CLT-xxx all versions not supported
Huawei Mate 10 ALP-xxx upgraded to Android 8x not supported
Huawei Mate 10 Pro BLA-xxx upgraded to Android 8x not supported
Huawei P10 VTR-xxx upgraded to Android 8x not supported
Huawei P10 plus VKY-xxx upgraded to Android 8x not supported
Huawei Mate 9 MHA-xxx upgraded to Android 8x not supported
I'm f****d
Edit: Is there any way to extract unlock codes from NANdroid backups?
 
Last edited:

micky387

Senior Member
Sep 9, 2011
2,740
2,652
183
Lyon
Hello guys.

New version available in OP
Changelog:
* fix lot of mount/unmount partition
* fix backup/restore tool for lineageos rom
* fix issue when perform a format /cache partition
* but issue now with mtp ...

Add tips in second post.