yashsingh1/xdaforums huggingface dataset:
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] ellepicci:
help for translation...

how i can root this phone without external sd?
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] kluczus:
You need otg cable and usb stick. Just put files on it and install from twrp.
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] raimondomartire:
Thanks mate. I drink beer thanks to you. For your vodafone problem look your PM. Nobody here make real custom rom just because apktool don't work on Huawei device. There is only a guy that have a insider tool to make this. As soon as kangvip release chinese rom for mate 9 pro I put my hand on rom.

I'm try to have a full decrypt twrp until now
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] Reb0rn:
Can't u make one for the mate 9? They have KangViP for that one :D
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] raimondomartire:
I made rom only for device that use. If any dev have Mate 9 I can explain how cook. I've script different from kangvip to use for flashing in secure way and I'm sure that work.

I test on mate 9 of friend of mine 1 month ago
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] JATCHUHAN:
Hi tried accessing this file, made an account to gain access but sure says access denied. Is it possible to post this version of twrp for regular mate 9 in this thread please. Many thanks
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] raimondomartire:
Sure no problem

https://www.androidfilehost.com/?fid=457095661767133688

You can search on androidfilehost for dev and device. If you try twrp use my root (it's important to remove dm-verity 2) . I don't release public to respect work of other dev (Tkkg1994) that don't have more mate 9 until now (brick problem) but start to create right github directory
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] JATCHUHAN:
Thank you very much. Will download and flash these files and let you know the results.
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] JATCHUHAN:
Hi I was able to flash your twrp onto the regular mate 9 and it works great. However I am unable to flash your root zip, keep getting error 1. Any idea on what I could be doing wrong. Any help would be appreciated. Thanks in advance
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] ajsmsg78:
KangVIP for the Mate 9 is already released. Here's a link to version 2. You should be able to add the custs from the Regular and Pro version to make it work. I don't have a Mate 9 yet or I would do it.

http://pan.baidu.com/s/1pLPMOOF
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] raimondomartire:
Yes I'm try this. But I've Lon-L29 not chinese version so cook rom it's not so easy. Mate 9 pro have a lot of edge effect that there isn't on mate 9 (flat version). So I need to patch apk

Kangvip have touched a lot of apk and as you now apktool don't work on this apk.

The problem as you know is this

https://github.com/iBotPeaches/Apktool/issues/914

I think that a lot of huawei dev in various thread here on xda, must work around this problem.

Until this on Huawei device modding is almost a joke
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] raimondomartire:
You used my zip over a boot image already patched. Use original one (restore from backup or flash from rom)

As I tell you I know that my twrp work great but I've a lot of respect for dev that open first thread here:good:
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] raimondomartire:
For kindly request in MAte 9 thread

https://www.androidfilehost.com/?fid=529152257862700042 ---> Patched Mate 9 image. Use only supersu.apk to see root (Don't flash any zip with supersu before)

https://www.androidfilehost.com/?fid=529152257862700052 ---> Clean mate 9 image to patch with my zip in first thread
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] eddmecha:
hi so does this means if i flash this on my mate 9 flat also possible?Thanks in advance
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] raimondomartire:
yes it's for mate 9
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] eddmecha:
ok thanks will flash this now and report back.btw after flashing the patched boot.img ,i just need to flash ur version of twrp and install supersu.apk correct?
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] raimondomartire:
You can flash this img with my twrp (install img and not install zip button) and after install only apk. If work there is full chainfire root inside. MAke twrp backup first of boot.img partition
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] eddmecha:
ok thanks!! am doing it now and will report back
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] raimondomartire:
Thanks for share here. [MENTION=992355]cortez.i[/MENTION] ask me this in other thread
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] d.cortez:
[MENTION=264630]raimondomartire[/MENTION] - i installed your patched Mate 9 boot image and, as a test, applied Adaway add block and the settings survived a reboot. also made a small change to my build prop file and it survived a reboot. there is on caveat though: i had to remove my lockscreen security - PIN and fingerprints - before i could access my device after flashing your patched boot image. with the patched image installed, i can't set any lockscreen password nor add fingerprints. Any suggestions to fix? If not, i'll have to go back to the other boot.img. Anyway, thanks for sharing.
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] JATCHUHAN:
Hi I flashed your clean boot image and then your patched boot image. However my phone went into a bootloop on the Huawei logo. I managed to get the phone to boot from a twrp backup but now my camera is missing . What am I doing wrong. Could you explain the steps in a bit more detail please, which files to flash and in what order. Also is it best if I restore my stock recovery and factory reset to start from scratch then install public and hw zips to get my phone back to original state. Any advice would be appreciated
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] raimondomartire:
You are on single sim device? I don't have Mate 9 so i can't help you. As you can read this file is for cortez.i that ask me. He write that can use without problem.

My suggestion is start for your clean boot.img (i've poste mha-al00 boot.img) and apply my root on first thread
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] raimondomartire:
No problem mate. You can try also starting for clean boot.img and after appling my root. In this case you must install phh superuser and not chainfire one. Find your best balance
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] JATCHUHAN:
Yes I am on MHA-L09 single sim. I will extract correct boot image from correct update.app file and flash this to get back to correct original boot and do same for stock recovery. Then I will try again. If I uploaded my boot.img would it be possible to patch it? Thanks again for your help
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] d.cortez:
[MENTION=264630]raimondomartire[/MENTION] - followed your suggestion and it worked. (1) installed Mate 9 clean boot.img, (2) immediately applied Mate_9_pro.zip to root my phone and (3) installed phh Superuser 2.11. i was able to re-add my fingerprints/PIN and Adaway updates and build.prop change is surviving reboot. will report in this thread if i have issues. thanks again, really appreciate you sharing and helping the Mate 9 users.
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] raimondomartire:
I suggest to start from your clean image and after apply my universal root in first thread
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] raimondomartire:
I'm really happy for you. :good:
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] d.cortez:
me too... before i call it a night, wanted to know why the display and time settings with this version of TWRP are being reset at each reboot. screen is very dim and at 100% is still not as bright as the other Mate 9 TWRP. thanks.
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] raimondomartire:
Settings aren't stored just because sdcrad is crypted. I'm working to undertsand how decrypt. Screen is dim just because mate 9 pro it's amoled screen so have different configuration. I don't want kang mate 9 work so I don't really build with right flag but only with right size partitions
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] Rudolpht:
Flashed TWRP & unpatched bootimg

Did not boot but able to get into recovery

Flashed patched boot.img

I am now in eRecovery death spiral, unable to get back to recovery and unable to eRecovery since there is no US software on eRecovery server looped eRecovery) and no US update on server (using the vol up + vol down)

I know, buyer beware. I guess I can possibly rebrand using FunkyHuawei?
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] raimondomartire:
If you don't have right update.app funkyHuawei it's not useful. For thsi reason I want release this tool just because not evry MAte 9 it's equal. Work only on mate 9 mha-al00. But you haven't twrp backup of boot.img? Use your boot.img. You are in loop just because you broke signature on every partitions. Restore your boot.img and flash my root. In this way you loose dm-verity 2 control
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] JATCHUHAN:
Hi I recovered my phone by flashing boot and recovery in fastboot and then factory reset in stock recovery. Phone has booted up but 2 problems. The camera app is missing and nfc keeps turning on and off. Have factory reset again but same problem. Any suggestions? Was thinking of restoring with funkyheawei but wanted to ask that after restoring do I need to flash the public-update and hw zips to get all my stock apps back or are they included in funkyheawei? Thanks in advance
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] gm007:
Try the application in first page https://xdaforums.com/tools/general/huawei-firmware-finder-team-mt-t3469146/page17 install full firmware maybe will fix ur problems.
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] raimondomartire:
Thanks for remember this. Can I ask if you have tested this? work in erecovery or in update menu? Can you explain faster use. Thanks:good:
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] gm007:
It work with update menu,you need to set proxy. On ur phone wifi or 4g.

Server:localhost

Port:8080

It work with signed firmwares.

The new application is available in first page,you need to enable this service in this application settings.
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] raimondomartire:
so it's work only for standard update menu i'm almost sure that overwrite only system partitions.
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] gm007:
No you go to wifi settings on ur phone,click and hold the connected wifi and advanced.scroll down you will see the settings.
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] raimondomartire:
Thanks mate i've understand before your post and edit post. This team use olde charles method on huawei smartphone. They have made great work. thanks for your time
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] gm007:
I will try to rebrand my phone mha-l29 c185 to c432 with this application.

But which twrp to use to backup all the partitions before flashing c432 oeminfo?
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] raimondomartire:
you need omeinfo, custom.bin and other .bin files that you read on data partition (use root explorer).

You need also custom partition. If you have mate 9 you can use my mate 9 twrp but i suggest you to make dd command in adb with superuser. For example

dd if=/dev/block/sdd?? of=/sdcard/nameofpartition.img

sdd?? and nameofpartition use this image
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] raimondomartire:
[MENTION=992355]cortez.i[/MENTION] Very generous donation. Thanks really:good::good:
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] d.cortez:
my pleasure... :good:
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] Rudolpht:
Yes. I have multiple TWRP backups. Actually 3 boot.img backups.

Unfortunately there is no way for me to get to recovery to install one.

I'm in an eRecovery loop.

There is no updateapp use since there is not a full firmware US and there is no way to get it into the phone to get an image or zip in??

It's all on me, I'm not complaining.
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] raimondomartire:
But why you want install with twrp. go in fastboot and write

fastboot flash recovery recovery.img

If you don't know ho convert your backup in a recovery.img send me your backup and i'll make work for you
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] Rudolpht:
I'm a moron, but judt remembered the additional problem is I can't go into fastboot mode. If I could I would try the patchless again or pull off the recovery and/or boot twrp backup from the extsd. Do I have do do anything extra for these backed up files if I can fastboot?

It seemed to go into your recovery prior with the up key plus power buttonb combo to the patched boot.
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] JATCHUHAN:
Thank you so much for this tip. Did as you suggested and reinstalled B126, now everything back to normal. Great app and very useful. Did try to update to B138 but authentication failed, no big deal because at least my phone is now working normal. Once again thanks for the help
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] eddmecha:
btw did u unplug ur phone from power outlet or pc before booting into recovery?iinm if your phone is connected to pc or power outlet it will boot into erecovery instead of normal recovery
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] Rudolpht:
Can you mention the model? I was able to get TWRP back after the fastboot flash with both up and down and power button keys. Just having the cord in allowed me to that, install cleanboot and reboot into TWRP and install Mate_9_pro.zip

Updater error

Seems like deja vu

Can you mention which model you have, assumed US but now doubts?

---------- Post added at 05:21 AM ---------- Previous post was at 04:22 AM ----------

Actually the opposite is my experience. I could only get into recovery (3 button) when plugged into PC. No plug or no otg then it goes to eRecovery. Weird.

Edit: Im back in business after my 1/17/2017 boot and recovery restore after 3 fingered into newer recovery while plugged into computer. It seems like the US variant has more differences than other variants.

So Im back in business​

raimondomartire you are the best and incredibly helpful, but I will probably hang on tkkg1994 to finish exams and update the flat 9 thread or see if the sharky481232 su zip and apk updates (sorry for other name mentions in your thread). What a great group of devs!!!
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] h40st3r:
Thanks for making this promising progress.

I have followed the steps in the op and successfully installed TWRP onto my phone.

However, the rooting process in unsuccessful. Flashing the mate_9_pro_root.zip in TWRP gives me a error message.

I have a screenshot of the log below.

My device is LON-L29C721B138.

Does anyone know a work around?
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] d.cortez:
i have the US Mate 9, MHA-L29C567B138.
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] bejam:
Hi I am also getting error 255 and error 127 with root updater flash. Device LON-L29C636B139.

TWRP is generally behaving strangely e.g. when I try to launch terminal I get "child process exited". Also tried to copy a file from one directory top another on the USB-OTG drive and got error 127. The TWRP backup works fine though, and writes to the USB drive with no problem. Note the TWRP in this thread was the first I tried (no other flashing on clean device).
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] raimondomartire:
Have you download right ver? There is 1.0.2 out until now.

I've your same model and no problem. Consider that until decrypt you can't write on internal sdcard. Please verify your versione of twrp
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] raimondomartire:
Please first screen of twrp . I need to understand your version. Have you 1.0.2?
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] snorkdesign:
error 255 on flash

I have this exact same problem, error 255. My phone is LON-L29C432B139. Would be much appreciated if anyone can help. :fingers-crossed:
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] raimondomartire:
Same reply. VErify your version. For me bad twrp. Last is 1.0.2. Put this version and after explain me what you flash. I make same on my device. same device and same twrp
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] h40st3r:
Yes, i was on 1.0.1.

Now I updated to 1.0.2, however, another error occurred.
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] raimondomartire:
Ok, this is easy you have already patched boot.img.
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] snorkdesign:
I am also geting error 1, I have installed the correct su apk, yet my phone is not rooted?:confused:
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] raimondomartire:
Explain me better. Have you started from clean boot.img (not patched) + my supersu (first post) and after install apk. If you make this step you will have root. You can read above that other user have installed with success
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] Rudolpht:
Your killing me. You are 2 for 2 for both methods and I'm 0 for 2. Did you start from a totally clean state, ie bootloader unlocked but virgin otherwise or did you have another recovery or boot.img before the clean or unpatched boot.img?
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] snorkdesign:
Yes, started from clean boot.img, but I still get error 1
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] raimondomartire:
Sorry. It's my fault. I've upload 1.0.2 test image. I change in 10 minutes form now. Sorry again
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] raimondomartire:
Right one

https://www.androidfilehost.com/?fid=529152257862700322

Sorry again
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] snorkdesign:
No worries, you´re doing a great job and I´m very grateful!
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] h40st3r:
I flashed this new TWRP 1.0.2.

It gave me error 255 again when trying to flash mate_9_pro_root.zip.:crying::crying:
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] snorkdesign:
Yep, same for me w this new one, error 255
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] M.KK:
can working twrp p9 plus ?
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] raimondomartire:
Until i go home use this That work for sure https://www.androidfilehost.com/?fid=457095661767133388
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] h40st3r:
Yes！This one worked!

Flashed root.zip without problem. Now I have Titanium backup working!
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] JATCHUHAN:
Can you also use this recovery on the regular mate 9?
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] raimondomartire:
If you search behind there is a recovery tested on mate 9. Not this link
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] raimondomartire:
[MENTION=5546857]M.KK[/MENTION] No don't use on P9
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] d.cortez:
Bootloader was already unlocked and phone was previously rooted, i.e., stock boot.img was already patched using process in Tkkg1994 TWRP thread.

0. Used fastboot to flash Mate_9_test TWRP from this thread

1. Removed PIN and fingerprints and set lockscreen security to None

2. Booted to TWRP and made a backup of every partition except data

3. Used TWRP to install the unpatched Mate 9 boot.img from this thread

4. Immediately flashed the Mate_9_pro.zip while still in TWRP recovery

5. Rebooted to System (started phone)

6. Installed Phh Superuser_2.0_Beta_11

7. Rebooted phone and opened root apps to verify root.

8. Setup lockscreen security (PIN & fingerprints)

9. Setup Adaway and made a couple of build.prop edits

10. Rebooted phone to confirm Adaway and build.prop edits were still there.

That's it... Hope this helps. ;)
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] JATCHUHAN:
Thank you I already have the mate test recovery just thought this new one might also be compatible. Cheers
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] Rudolpht:
Ok. VERY helpful and one variation different.

A. Test TWRP recovery different than flat mate 9 thread. I'll do fastboot. Initially I just flashed it from within TWRP

B. Unpatched boot.img sounds like it was updated.

C. Pro_Zip seems the same

Phh SuperUser 2.11 confusing. From where? This thread. The phh thread which doesn't call it that?

Thank you. Will jump at it.
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] snorkdesign:
This worked for me too! Thank you so much! :victory:
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] d.cortez:
mistyped reply on Taptalk, correct superuser is Superuser_2.0_Beta_11.apk. i don't believe this is required version; i downloaded it from somewhere and installed over the Superuser that was installed from*Tkkg1994's TWRP thread.
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] pitapart:
Hi, I flashed Patched Mate 9 image. And I got random reboots. Of course, as a newbee I didn't read carefully , my Mate 9 was already rooted thanks to Phh's superuser method.

I tried to flash another boot.img , but my phome is booting in erecovery. Could you help me please ?
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] Rudolpht:
Thank you!!

---------- Post added at 02:14 PM ---------- Previous post was at 02:00 PM ----------

For me I made sure it was plugged into computer, held down up/down and power keys at the same time that got me back to any of the 3 recoverys. . Ultimately I had to go back to a boot.img off an old TWRP backup.

---------- Post added at 02:53 PM ---------- Previous post was at 02:14 PM ----------

Thank you. Thank you. This really did it.

See post 101 for updated patched phh Instructions.

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] eddmecha:
[MENTION=264630]raimondomartire[/MENTION] finally i got full root on my mate 9 flat! thanks for all the hardwork.

i have to dload back to b110 then update to b136 (C636) then unlock BL,flash mate9 test.img,flash supersu.zip from OP,boot into system install phh supersu.apk from play store.everything works ,busybox,adaway,tried cr8 a file in system.
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] M.KK:
p9 plus have not twrp you can make it?:)
[Huawei Mate 9 ROMs, Kernels, Recoveries, & Other D] d.cortez:
my pleasure, glad i could help out. :good: