FORUMS
Remove All Ads from XDA

[Recovery][27.09.2017][3.1.1-0] TWRP for the Huawei Mate 9 (hi3660)

9,055 posts
Thanks Meter: 23,657
 
By Tkkg1994, Recognized Developer / Contributor on 9th December 2016, 12:22 AM
Post Reply Email Thread
Announcement from Tkkg1994: 3.1.1-0 update arrives
Team Win Recovery Project 3.1.1-0


This has been tested and working great on MHA-L29 international dual sim model. It will work probably on all mate 9 devices, however I added a list of supported devices below which can be checked.

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 have not yet fully tested the problems of dm-verity v2.0 introduced in Nougat. So as long as you don't need to modify /system, keep it read only. If you want to edit something inside system, make a backup until I can tell you more about it.

WHAT IS TWRP?

Oh come on, you know what it is - don't try to fool me!
In case you're serious, though...

Team Win Recovery Project is a custom recovery for Android devices.
It allows you to back up and restore your data, flash custom ROMs to your device, repair broken file systems, and root your device.

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! (In my case, I called huawei and received the unlock code 12 hours later)
  • 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 twrp-3.1.1-0-hi3660.img
  • 8. Type: fastboot reboot
  • 9. Now boot into recovery by pressing: power+volume up+volume down at the same time
  • 10. Enjoy twrp

HOW-TO UNLOCK BOOTLOADER
  • 1. Call Huawei in the HiCare app, request the bootloader unlock code there (I had to give my email, IMEI, serial number etc) or register yourself here on this link and get the code immediately!
  • 2. You will receive an email maybe a few days or hours later with the unlock code, when you got it you can go on here
  • 3. Install minimal adb and fastboot drivers from here: ADB and Fastboot drivers
  • 4. Plug in your phone and make sure all huawei drivers got installed
  • 5. Enable developer options in settings as described above.
  • 6. Enable OEM unlock, enable USB debugging (both in developer options)
  • 7. Open the adb tool you installed recently
  • 8. Type fastboot devices (now a device number should show up)
  • 9. Type fastboot reboot-bootloader (your phone will now boot into bootloader, if not, you haven't set up drivers or adb/fastboot correctly)
  • 10. This step will wipe all your data! Type: fastboot oem unlock xxxxxxxxxxxxxxxx (xx is for your unlock code)
  • 11. Ones it's done type: fastboot reboot. Your phone will reboot and you have an unlocked bootloader!
  • 12. You can now go on installing TWRP on your device

HOW-TO ROOT YOUR MATE 9
  • 0. Backup, just in case
  • 1. Have an unlocked bootloader and TWRP installed from above
  • 2. We will use this root method: Phh's superuser
  • 3. Download latest official phh superuser zip r310 version
  • 4. Put the zip on your external sd card of your phone (since we can't access /data in twrp)
  • 5. Boot into twrp and flash the downloaded file
  • 6. Install latest Material phh apk: Release post
  • 7. Now you are rooted, congrats!

SUPPORTED DEVICES
  • MHA-L29 devices
  • MHA-L09 devices
  • MHA-AL00 devices
  • MHA-TL01 devices
  • LON-L29 devices
  • LON-AL00 devices

DOWNLOAD
Download v3.1.1-0

TELEGRAM CHAT
Click on the Invite link

CHANGES
  • v3.0.2-0 - First unofficial release
  • v3.0.2-1 - Added mount options for vendor, version and product. Adjusted partition table sizes. Changed brightness
  • v3.0.3-0 - Switched to Android 7.1 branch, got usb storage working (at least something)
  • v3.0.3-1 - MTP fully working (thanks to @Laststandingdroid's helps), included FBE in boardconfig for future decrypt support, some other cleanups
  • v3.1.0-0 - Official update to the latest TWRP version
  • v3.1.0-1 - Kernel update for loop support
  • v3.1.1-0 - Official TWRP update to latest version, Kernel updated, source updated, small changes in MTP

FEATURES
  • Latest stock kernel included
  • f2fs file system support (read, write, format, backup & restore)
  • exFAT file system support (read, write, format, backup & restore)
  • Full SELinux support
  • Built in android 7.1 tree

KNOWN ISSUES
  • Encryption is not supported yet!
  • Aroma is broken, seems on all other Huawei phones (as mate 8 and p9) as well

CONTACT & SUPPORT

You can find TeamWin on IRC at #twrp on chat.freenode.net.
You can also post in this thread and I will attempt to answer any questions you may have.

SOURCE CODE

TWRP: TWRP source code (7.1 branch)
Device tree (International): generic_a15 (master branch)

CREDITS
  • TWRP master @jcadduono
  • Creator of Mate 8 TWRP for source tree

CONTRIBUTIONS

Gerrit for TWRP: Omni gerrit
Gerrit for officially supported devices: TWRP gerrit

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

Contributors
Tkkg1994
Source Code: https://github.com/Tkkg1994/android_device_hi3660


Version Information
Status: Stable
Current Stable Version: 3.1.1-0
Stable Release Date: 2017-09-27
Current Beta Version: 3.0.3-1
Beta Release Date: 2016-12-28

Created 2016-12-09
Last Updated 2017-10-23
The Following 56 Users Say Thank You to Tkkg1994 For This Useful Post: [ View ]
 
 
9th December 2016, 12:22 AM |#2  
Tkkg1994's Avatar
OP Recognized Developer / Contributor
Flag Coding City
Thanks Meter: 23,657
 
Donate to Me
More
Reserved
The Following 4 Users Say Thank You to Tkkg1994 For This Useful Post: [ View ]
9th December 2016, 12:22 AM |#3  
Tkkg1994's Avatar
OP Recognized Developer / Contributor
Flag Coding City
Thanks Meter: 23,657
 
Donate to Me
More
Reserved
The Following 3 Users Say Thank You to Tkkg1994 For This Useful Post: [ View ]
9th December 2016, 01:26 AM |#4  
Senior Member
Flag 東京☆Улаанбаатар☆Los Angeles
Thanks Meter: 1,152
 
Donate to Me
More
Great work! You got not only TWRP but root too!?
I will try it out later today!
The Following 2 Users Say Thank You to duraaraa For This Useful Post: [ View ] Gift duraaraa Ad-Free
9th December 2016, 01:57 AM |#5  
Tkkg1994's Avatar
OP Recognized Developer / Contributor
Flag Coding City
Thanks Meter: 23,657
 
Donate to Me
More
Quote:
Originally Posted by duraaraa

Great work! You got not only TWRP but root too!?
I will try it out later today!

Yes. I could also disable force encryption as well.
I will probably be able to make a custom rom with aroma options etc in the near future.

Sent from my SuperMan powered SM-G930F
The Following 10 Users Say Thank You to Tkkg1994 For This Useful Post: [ View ]
9th December 2016, 02:31 AM |#6  
opasha's Avatar
Senior Member
Thanks Meter: 375
 
More
Quote:
Originally Posted by Tkkg1994

Yes. I could also disable force encryption as well.
I will probably be able to make a custom rom with aroma options etc in the near future.

Sent from my SuperMan powered SM-G930F

You literally just made my night. Thank you so much!
9th December 2016, 07:16 AM |#7  
5[Strogino]'s Avatar
Senior Member
Flag Moscow
Thanks Meter: 383
 
Donate to Me
More
Can I get root by SuperSU instead of Phh?
9th December 2016, 07:59 AM |#8  
Senior Member
Thanks Meter: 197
 
More
Quote:
Originally Posted by 5[Strogino]

Can I get root by SuperSU instead of Phh?

I don't think so, but you could try and tell us.
9th December 2016, 08:45 AM |#9  
Tkkg1994's Avatar
OP Recognized Developer / Contributor
Flag Coding City
Thanks Meter: 23,657
 
Donate to Me
More
Quote:
Originally Posted by opasha

You literally just made my night. Thank you so much!

No problem, enjoy!
Quote:
Originally Posted by 5[Strogino]

Can I get root by SuperSU instead of Phh?

I'm not a big fan of SuperSU, but you can always try with a backup (haven't tested yet)
The Following User Says Thank You to Tkkg1994 For This Useful Post: [ View ]
9th December 2016, 09:23 AM |#10  
Senior Member
Thanks Meter: 25
 
More
will this method work on MHA-L29C636 variant?

thank you.
9th December 2016, 12:32 PM |#11  
Junior Member
Thanks Meter: 2
 
More
will this method work on MHA-AL00C00B135 variant?
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes