yashsingh1/xdaforums huggingface dataset:
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] Rudolpht:
At end of Post #97 above, I tried to do a verbose Mate 9 unpatched install summary [MENTION=992355]cortez.i[/MENTION] for step by step (Not for Pro Mate 9, but don't have one) with bootloader unlocked I had probs with external_SD in the middle of the process after new recovery install so I used OTG for installation of unpatched boot.img and boot into recovery. CAVEAT EMPTOR: I have not rerun these steps so submit corrections and BE CAREFUL.

TWRP

backup

the Mate 9. (I typically backup all partitions with no MD5 and uncompressed. In prior episodes the backup REALLY saved my day.)

A. On Mate 9: IMPORTANT

disable System Settings/Smart lock and passwords[/U ]lockscreen (on running regular system booted operational Mate 9)

B. On Mate 9:

download

and

install

phh

Superuser

from Google Play Store (while on running regular system booted operational Mate 9)

C. On PC:

download Rayglobe_Recovery.img

and

save

(this is the "Until i go home use this That work for sure https://www.androidfilehost.com/?fid=457095661767133388") (I save it in the fastboot directory )

D. On PC: download unpatched boot.img (lowercase) at https://www.androidfilehost.com/?fid=529152257862700052. Save to OTG (I save to OTG root directory)

E. On PC: download mate_9_pro_root.zip at https://www.androidfilehost.com/?fid=529152257862699355. Save to OTG

F. On Mate 9: insert PC USB to Mate 9 USB-C

G. On PC:

fastboot reboot-bootloader

H. On PC:

fastboot flash recovery Rayglobe_Recovery.img

that was downloaded (C., above) and stored on PC

I. On Mate 9: while PC cord still in, 3 finger (up, down, power) boot into TWRP recovery to Rayglobe_Recovery that was fastboot flashed in step H.)

J. Remove PC USB to Mate 9 USB-C cord

K. On Mate 9: insert OTG stick into Mate 9

L. On Mate 9: from OTG memory stick install unpatched image ( downloaded and transferred to stick, D. above):

TWRP install boot.img

M. Immediately (before reboot)

TWRP Install zip (from E. above) mate_9_pro_root.zip

while still in TWRP recovery from OTG memory

N. On Mate 9: remove OTG stick before reboot applied (may be unnecessary to take out, but I did)

O. [Only IF B" step not done in advance]

download and install phh Superuser from Google Play Store

(while on regular booted operational Mate 9) then

reboot system

. Reenable lock screen.

P. ENJOY!! Install BusyBox and do other rooted stuff. Wait for decrypt to master the universe

Don't try this at home

- Since my apk was still preinstalled (B:) during regular boot on Mate 9. it just worked after reboot.

- My lockscreen was left on but fate liked me, and full rooting still worked with no extra step in System Settings/Smart lock and passwords, no changes and it still booted and came up fine, again maybe because phh Superuser app (not SuperSU or SuperSU Pro) was already installed.

THANK YOU [MENTION=264630]raimondomartire[/MENTION] for great dev and [MENTION=992355]cortez.i[/MENTION] for step by step
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] raimondomartire:
I'm happy that my passion is useful for anyone. Thanks for you test. I'm drink your coffee. Thanks mate :)
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] Rudolpht:
Despite the verbose diatribe I recommend the patched boot.img

More to come
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] raimondomartire:
Next TWRP- Sexy? (Tomorrow in my timezone9 Thanks to [MENTION=3828248]maurydes[/MENTION] for help
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] Rudolpht:
Now that's a set of ROMs
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] raimondomartire:
TWRP WITH SEXY THEME

https://www.androidfilehost.com/?fid=673368273298928836
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] M.KK:
Hay can't support P9 PLUS?
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] raimondomartire:
no mate, there is other dev for this. i can't help without smartphone. blind cook it's stupid:good:
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] bejam:
Great, this worked for me!
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] raimondomartire:
Like I wrote work for sure:p Also themed version must be work. Same build
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] samnahata:
Hi i have the following problems.

I installed minimal adb, but when i type fastboot devices nothing happens, however when i type adb devices it shows my model number. I cannot proceed further as fastboot bootloader doesnt work... please advice. also, when i type fastboot device - it just shows waiting for device then nothing happens.

------------------------

ok so i have done this instead:

adb reboot bootloader

(goes into bootloader)

fastboot devices

(shows device)

fastboot oem unlock XXXX ( i have got the code from huawei website after inputting all the required information)

result:

FAILED (remote: command not allowed)

finished. total time: 0.021s

Please advice - i cant seem to unlock this phone!

Moreover, there was no OEM unlock setting in my developer mode!

mate 9 pro lon-al00
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] 5[Strogino]:
What build number do you have?

What driver did you install? Best way - install HiSuite, then turn it off.
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] samnahata:
i did a reset of the device,

reinstalled everything (minimal adb & hisuite)

use adb reboot-bootlader

fastboot device

fasboot oem unlock xxxx

worked

phone was unlocked

followed all steps for twrp

twrp installed

supersu app installed

everything seems to be okay now... just restoring the data i had backup earlier onto the phone

just 1 question - at boot up, i get a message saying your phone is no longer secure, then 3 options to proceed - do i have to go through this every time i restart the phone now?
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] 5[Strogino]:
Thank you very much for info. It will help if someone will get same error while unlocking.

About message - yes, every time when restarting phone. Need hack fastboot to avoid this, but it is very dangerous to test.
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] samnahata:
thank you! i am well on my way to rebrand my phone - finally!
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] niendorfer:
Hi!

I'm on the way to root my new MHA-L29, Build 138, EU-Version.

I successfully managed to unlock the bootloader and installed TWRP Version 3.0.2-1, but now the Playstore is missing on the device. How can I get it back?

The other TWRP-forum (by TKKG1994) states in post #198 that a factory reset in twrp will bring it back. Here there is a warning by 5[Strogino] to do so. Post #4 claims the risk of the device not booting anymore after a factory reset from twrp.

So - what can/should I do...?!
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] eddmecha:
i guess ur factory reset is not complete when unlock BL,try to factory reset thru settings again,and you should install the mate 9 test.img n flash mate 9 pro root.zip and install phh app thru app store that should give u a full root.
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] tcchuin:
I can do everything except step L

L. On Mate 9: from OTG memory stick install unpatched image ( downloaded and transferred to stick, D. above):

TWRP install boot.img

I can't see the boot.img in TWRP, no idea why.

Probably has systemless root now, but it'd be good if I can achieve complete root.

Does anyone have any idea why I can't see the boot.img?
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] gm007:
Did you change the option to install image instead of zip?
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] tcchuin:
Yeah managed to find the img files after changing the option. However after i flashed the boot.img, and i decided to make another backup before flashing the root.zip.

The phone hung and Now I'm stuck on erecovery now.

Is there a way for me to boot into twrp/bootloader ? I tried different button configuration and they all brought me to erecovery.
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] gm007:
Do you still can access fastboot?

Try to flash twrp again and stock boot.img via fastboot.
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] tcchuin:
I'm recovering now using funkyhuawei.

Just to confirm what's the correct key sequence of getting into fastboot? Thanks for your time :)
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] gm007:
How did you unlock the bootloader without knowing the key combo to go into fastboot mode :p
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] eddmecha:
:confused: i was amazed too ,seems like he is just the type that give up to fast and use money to get fast route.
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] tcchuin:
i got into bootloader from adb. And I'm being serious, I really can't figure out the hardware button configuration to boot into bootloader.

Before I started trying anything, all key configuration brought me into the OS. Volume ++pwr,volume- + pwr, both + pwr. Neither works.

I got the funkyhuawei credit for free, didn't pay for it.
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] gm007:
Boot ur phone while usb plugged by holding volume down.
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] Rudolpht:
Plug in the computer used for fastboot and hold down both volume keys and the power key. I don't know anything about funky but here;s how I got out of eRecovery to get to TWRP. (For whatever reason not plugging, plugging the powercord for just charging with a wallsocket, or the USB at this point did NOT get me back to TWRP.) Keep holding, don't let up, until you get the TWRP screen. You can install the CORRECT boot.img using TWRP.

Do you have an ITG USB stick with the right boot.img? I could NOT see it on the ExternalSD because of permissions, so needed the USB stick that you need know is compatible (where you should have written boot.img and hopefully made a backup to restore the appropriate partitions, e.g., old boot.img, old. recovory.img or all to get back to early state.

---------- Post added at 05:13 AM ---------- Previous post was at 05:10 AM ----------

Confirm this worked with computer plugged in and both down volume + power hit. Had to do it twice so the phone finally recognized it was in fastboot mode and connected. I know you shouldn't need to do that, but I had to. Once with the Green guy and white background then I repeated vol down + power and fastboot worked great.
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] tcchuin:
Managed to get it work.thanks everyone :)
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] niendorfer:
Didn't work...!

The factory reset via device settings seems not to go through: after rebooting it directly goes to TWRP. Rebooting from there and having finished that, some apps I installed are left - which should have been erased by the factory reset, right? Moreover: Still no Playshop.

So I turned off the device again and tried to install the zip-file (in TWRP 3.0.3-RAYGLOBE, downloaded from OP). Leading to the following error:

Updater process ended with ERROR: 1

Error installing zip file '/usb-otg/mate_9_pro_root_zip'
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] 5[Strogino]:
Error 1 means that you have root already
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] samnahata:
If all things fail, have a go at it again by

Contacting funky Huawei, then from e recovery, u should be able to install a new version of your phone model or change region code.

Sorry I know I'm not of much help, but seeing that no one has replied to you in 24hrs, I thought I'd give this suggestion.
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] eddmecha:
are you sure no one replied?
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] samnahata:
Lol that's so strange! On the xda labs it didn't show the replies before

Anyway sorry was just trying to be helpful
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] niendorfer:
Nope...!

Root Checker Basic: "Sorry! Root access is not properly installed on this device."
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] eddmecha:
well i suggest you to dload and start fresh,remember to flash the correct twrp(in my case i use the mate 9 test.img).
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] soky001:
Does this work on Porsche Desing Mate 9?

Did anybody try this version and method on Huawei Porsche Design?
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] cd993:
Hi there,

Going to try again with this with thanks to the instructions in post #101. I failed miserably last time and had to use FunkyHuawei to restore my MHA-L09 (eurpoe).

One thing I stumbled on last time is losing gapps/google play services. Can anyone please advise of what I may have done to do this and importantly what I can do to either avoid or rectify losing google apps?

I did backup using Hisuite but when it restored the apps (Play store, for example) just didn't load.

As a quick summary, am I right in the following steps I'll take:

1. Backup with HiSuite

2. Unlock bootloader (got my code) via fastboot - this will factory reset thus wiping all fingerprints/security?

3. Flash Rayglobe_Recovery.img (or TWRP 3.0.3-1?) via fastboot

4. Reboot to newly flashed Rayglobe/TWRP recovery

5. Flash boot.img that is stored on OTG

6. Immediately then flash mate_9_pro_root.zip that is stored on OTG

7. Reboot and download/install phh Superuser from Google Play Store

8. Install BusyBox and do other rooted stuff

I will be very grateful if someone can confirm that I've got this right, won't be attempting it until I know I'm good to go! I s**t myself when I temporarily bricked my new Mate 9 - literally just bought it to replace my Nexus 6P that died on me for no reason!
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] eddmecha:
hi good day to you,

before we start may i knw if ur current mate 9 is stock or partial root?

if you r not rooted then the steps i would suggest is

1-backup either with hisuite or the backup app to external sd or otg

2-Unlock BL (this will factory reset ur phone,n sometimes it will fail at 99% so u will end up with no keyboard and some of the gapps is gone,but dont panic,just do a manual factory reset from settings>advance settings>backup&reset>factory data reset-this will restore back all your gapps n keyboard)

3-Flash rayglobe twrp(i would suggest the one OP posted at page 3 (the mate9_test.img as this version support external )thru adb.

4-flash mate_9_pro_root.zip thru twrp.

5-reboot to system and install phh superuser from playstore.

6-install busybox,adaway and other rooted apps of your choice.

p/s - remember not to do any wipe thru twrp just to be on the safe side.and good luck.
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] cd993:
Thank you so much!!! These clearly outlined steps worked perfectly and without issue.

I highly recommend anyone struggling to follow these step by step!

I'm now rooted :) Can finally change the DPI haha :)
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] eddmecha:
glad to hear that it help and congrats on having root on your m9,btw you can just change the dpi without rooting,its located at developer option >smallest width (but it will revert back once rebooted)
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] CodeRR:
Hi guys!!

My problem: I had to replace my Nexus 6P with this device...

I unlocked, rooted it and so on. But for some reason i can´t write on /system.. I want to install the Pixel Launcher as a System app so i can use the additional left side... Do I have to do some extra steps?

I installed TWRP and the phh´s supersu (r275+ App) and root access works.

Also the backup function in TWRP is broken...

Thank you in advance
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] eddmecha:
hi first of all,which twrp did u use?and which root.zip did u use?

if you are on mate 9 then you should try to use the mate9_test.img at page 3 for twrp and mate_9_pro_root.zip to root it,and install phh superuser from playstore by that you can get rw at /system.
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] CodeRR:
Thank you for your help! But actually I just saw, i posted in the wrong thread... I'm owner of the "normal" Mate 9 MHA-L29..

But I flashed TWRP 3.0.2-2 and shh' SuperUser r275.

Will I harm the MHA Version if i flash the mate_9_pro_root.zip? Because i actually CAN NOT make a backup in TWRP...

Thank you very much
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] eddmecha:
tbh me myself also using m9 flat n i flashed the m9pro root zip n its working fine,i can make twrp back up except for data folder.but since u have flashed tkk twrp u need to flash to a stock boot.img before u can flssh mate 9 test.img again
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] CodeRR:
haha thats great man, will flash it in a few minutes, thank you
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] eddmecha:
remember ur steps would be

1-flash clean/stock boot.img

2-flash mate 9 test.img(twrp)

3-flash mate 9 pro root.zip

4-reboot to system n install phh superuser from play store
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] CodeRR:
You`r the man! I´m downloading the stock firmware by now and then i´ll start the process! Thank you!
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] eddmecha:
good luck :good:
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] CodeRR:
hmm... sadly no luck for me. bootloop after flashing the mate_9_test und the root zip... to sad..
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] eddmecha:
aw sorry to hear that,btw can u still boot into recovery?
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] CodeRR:
yea sure, just had to flash the stock boot image and everything is back normal :good:
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] eddmecha:
woah glad to hear that.
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] CodeRR:
btw. Huawei's DL-Server are the worst hahah 2,5 hours for a 1,8 Gb file
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] eddmecha:
haha well it depends on network speed if you ask me..anyway you may tried to root again using the modified boot.img without even need to flash root.zip,but beware do disable your pin/fingerprint or any form of security,only after install phh superuser from play store n try the root before set back all the security.

edit - is this recovery u flashed?https://xdaforums.com/mate-9/development/recovery-huawei-mate-9-pro-unofficial-t3546976/post70835912

edit 2 - this is the patched boot that i was talking about

https://xdaforums.com/mate-9/development/recovery-huawei-mate-9-pro-unofficial-t3546976/post70842384
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] CodeRR:
i flashed the image from the first post...

ok, i'm going to try it, will provide update, thank you
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] eddmecha:
ok good luck!!hope you can get full root!!
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] CodeRR:
Soo... SuperSU is working but... no full root. Can´t install busybox or write... to sad. i think i´ll have to wait for proper method... But thank you very very much for your help! I appreciate that!
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] eddmecha:
aw so sad,but i would suggest you install phh instead bcoz with supersu will have issue with pincode iinm
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] CodeRR:
just noticed it haha flashed the stock boot back on, because i can´t to anything without full root...
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] eddmecha:
bro i managed to get adaway/busybox install n working..
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] CodeRR:
After hours of trying I am giving up for now.

I managed to get full root plus BusyBox and SuperSU, but the fingerprint/pin security features are broken. And security is essential for me. So back to Stock, because phh's Supeuser won't recognize the root even if I have access over terminal and the checker app.

After this, i tried phh's Superuser + patched boot images -> no writing permission, and that's the best I can do.

MHA-L29

all the best,

manuel
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] CodeRR:
Hi, i've tried the night shot mode and had no problem. On the patched img and after flashing the zip over stock... eventuelly it's cause i've the dual sim device...
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] cd993:
Many thanks for trying that out for me.

I'm at a loss and have no idea why mine is failing on me :(

I just don't believe it's hardware related!

Going to try flash the newest firmware MHA-L09C185B156 and before rooting or anything will test it out
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] psicrest:
Can we have a separate thread for Mate 9? it's getting confusing if the problems being discussed here are for LON-L29 or for Mate 9.

I just purchased a LON-L29 i believe these are the international version. I called hiCare and they said the bootloader of international version is already unlocked but i'm having problem installing the TWRP.
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] ante0:
Does it say Bootloader unlock in fastboot? And FRP unlock?
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] psicrest:
It doesn't and I have a feeling that the customer support I talked to doesn't have any idea about unlocking bootloader. I called again and asked for a different number that deals with the bootloader code, she gave me a number without any country codes so I googled it and ended up talking to a chinese huawei hotline, I can't understand the menu recordings so i just ended the call.

My next option was to purchase a credit on DC unlocker, but with all the problems I see on this thread and i'm not sure if its for the LON-L29 model, I will probably have to wait before I messed up my phone.
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] Midgaard:
Hear hear! I'm also interested in rooting my LON-L29, but somewhere along the line this thread turned to MHA-L29. Even though they might share the same rooting procedure, these instructions are confusing AF because of different models.

Simple, step by step instructions for LON-L29 would be greatly appreciated.
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] d_bo:
I did exactly this; is there a way to fix it?
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] -Sniper-:
I've a friend and he has Mate 9 also. He setup the twrp's lastest version and when he want to full backup of his rom (C432B156), the backup process failed. He sayed that his devices has 2 recovery ( stock and twrp). What should he do? (I'm sorry for my low knowledge of twrp issue, I try to explain all of his situation..)

MHA-L29 cihazımdan Tapatalk kullanılarak gönderildi
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] ante0:
You need to decrypt /data in order to backup it. In other words, Format Data in TWRP (this wipes userdata/apps) then flash a kernel where the flag fileencrytptioninline is removed in the fstab.

After that you can back up fine.
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] -Sniper-:
Okey thanks a lot my friend , however ; I don't understand the kernel part. Please, can you give me a link of guide article or (If you want) could you tell me what have to we do exactly?

MHA-L29 cihazımdan Tapatalk kullanılarak gönderildi
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] JATCHUHAN:
He means to flash a decrypted boot.img

Have a look in the thread for boot images for your version
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] bscnym:
Great work as usual bro,thanks for your time and job

---------- Post added at 02:37 AM ---------- Previous post was at 02:29 AM ----------

Thanks！！

When can I fix WIPE DATA for TWRP？