[Huawei Mate 9 Pro Guides, News, & Discussion] CrisperNeO:
This thread applies to Huawei Mate 9 Pro only (model LON*, as M9Pro below). For Mate 9 (model MAH*) please go to the corresponding forum.

-----

Disclaimer:

I won't be responsible for bricked phone. Proceed with your own risk, make sure you know what you are doing.

This thread can be seen as a guide if your phone has exactly the same model and build version as mine. Otherwise please consider it as a description of my experiences for unlocking, flashing and rooting the phone.

SUPPORTED DEVICES:

LON-L29

LON-AL00

-----

As a start, this phone is great and I feel that it doesn’t need to be unlocked and rooted for a stable and long lasting daily use. However, unlock and root is almost a religion if you use Android phones ;)

As a piece of info, big thanks to [MENTION=264630]raimondomartire[/MENTION], there is a thread for unlock, flash TWRP and root in the Mate 9 forum https://xdaforums.com/mate-9/development/recovery-huawei-mate-9-pro-unofficial-t3546976, which is however according to my experience not totally applicable for the M9Pro anymore. There are also several other threads on the Mate 9 forum. Many things can be shared between both phones, but not always. Be careful about what you are doing!

-----

General info and attentions:

-	My phone is M9Pro LON-AL00 (All net version from Chinese Mainland); LON-L29 (International version) should also work.

-	This thread applies for build LON-AL00C00B213. Can be also applicable for similar builds, but I couldn’t test. Please report.

-	None of the current builds of TWRP (up to 3.1.0) can decrypt data partition by default, which means you could only format the data partition in TWRP in order to access it in recovery (for backup to and install from internal storage etc.). But after formatting, you have to flash Huawei’s special stock data back to data partition (/data/hw_init), otherwise several functions of Huawei ROM won’t work. Refer to this (https://xdaforums.com/showpost.php?p=71302827&postcount=627) or this (https://xdaforums.com/showpost.php?p=72497328&postcount=204). Thanks to [MENTION=4115953]gm007[/MENTION] and [MENTION=2247733]ante0[/MENTION]

-	There are several root methods which handles encrypted or decrypted data partition. I didn’t format the data partition, i.e. data is still encrypted. If you want to format the data partition, please refer to this thread: https://xdaforums.com/mate-9/how-to/guide-how-to-root-mate-9-decrypt-data-t3569986. Thanks to [MENTION=3564346]eddmecha[/MENTION]

-	If you need stock ROM, refer to useful links below. Use Huawei Update Extractor to extract the individual partitions from the ROM: https://xdaforums.com/showthread.php?t=2433454

-----

Unlock bootloader:

There is enough info in the internet about unlocking M9Pro’s bootloader. Just a few points to mention:

-	Generally, you can follow the steps in [MENTION=264630]raimondomartire[/MENTION] thread (https://xdaforums.com/mate-9/development/recovery-huawei-mate-9-pro-unofficial-t3546976). But unlike he describes in his thread, there is no OEM Unlock options in the developer options anymore. Just use ADB to unlock.

-	FRP unlock is not required!

-	Huawei enables now a 14-day limitation, where you can officially get the bootloader unlock code 14 days after you first activate your Huawei ID on your phone and have logged in using your Huawei ID 14 CONSECUTIVE days.

-	To go around this limitation, you can use dc-unlocker to get the bootloader code immediately. Google yourself ;)

-----

Flash TWRP:

-	Still, you can follow the steps in [MENTION=264630]raimondomartire[/MENTION] thread (https://xdaforums.com/mate-9/development/recovery-huawei-mate-9-pro-unofficial-t3546976).

-	The image from this thread is 3.0.3, which has some bugs built in, especially when flashing SuperSU.

-	You could use TWRP 3.1.0-1 from https://xdaforums.com/mate-9/development/recovery-unofficial-twrp-huawei-mate-9-t3515617, but this one seems to have problem to be recognized as ADB device in recovery.

-	There is a version 3.0.2 for Mate 9, which seems to have problem mounting USB-OTG.

-	If your data partition is encrypted, you can only use ADB sideload or USB-OTG to install anything.

-	If you want to do data wipe in TWRP, you have to flash Huawei’s special stock data back to data partition. See above general info and attentions.

-----

Root:

Firstly, thanks to [MENTION=2247733]ante0[/MENTION] for explaining different flags in the root methods: https://xdaforums.com/showpost.php?p=72504501&postcount=210. Some more discussions between us are also around this post.

I also tried several other root tools on the market (mobilego, vroot, YoRoot, OneClickRoot, iRoot etc.), NONE of them works.

As mentioned, there are different root methods around for unlocking M9Pro, depending on if you want to format your data partition. For me, I didn’t format, and SuperSU works for me. And the mate_9_pro_root.zip from [MENTION=264630]raimondomartire[/MENTION] thread didn’t work for me.

I followed the steps below:

1.	Get TWRP 3.1.0-1 (https://xdaforums.com/mate-9/development/recovery-unofficial-twrp-huawei-mate-9-t3515617)

2.	Disable fingerprint ID (I think it’s probably optional, but have read somewhere that fingerprint stops working after flashing root).

3.	Flash stock boot image for B213D (in download section). I think it’s optional too, but if you have tried other methods before, you can do this step to make sure your boot is stock and clean

4.	Flash TWRP 3.1.0-1

5.	Flash SuperSU-v2.79-MATE9-init.d_support_no_decrypt-signed.zip (in download section) via USB-OTG (in TWRP the device is not recognized as an ADB device, hence no “ADB sideload”). Thanks to [MENTION=2247733]ante0[/MENTION] for building this zip!

6.	Reboot – phone will reboot itself twice and SuperSU.apk will be installed automatically

7.	You could flash back to 3.0.3, if you want the ADB sideload function.

-----

Download:

-	TWRP 3.0.3-1: https://xdaforums.com/mate-9/development/recovery-huawei-mate-9-pro-unofficial-t3546976

-	TWRP 3.1.0-1: https://xdaforums.com/mate-9/development/recovery-unofficial-twrp-huawei-mate-9-t3515617

-	SuperSU modified for M9Pro (thanks to [MENTION=2247733]ante0[/MENTION]): https://mega.nz/#!bR8D2Bab!bIgMLVmoll9R0GFqoFgkLxULrXlQ2710INt3TNbuI0c

-	Boot image from B213D: https://mega.nz/#!LFlGTTZY!AaFq-_quM44YlK_Qdh9PgOjBE3Wtepmyz5OAuo_mabw

-----

Useful links:

-	Stock firmware: http://hwmt.ru/oth/HWFF/info/view.php?find_model=lon

-	Huawei Update (ROM) Extractor: https://xdaforums.com/showthread.php?t=2433454

Enjoy your Mate!