yashsingh1/xdaforums huggingface dataset:
[Huawei Mate 9 Guides, News, & Discussion] audioralf:
Once we had a TWRP version on NEXUS 6p where we had to enter the password once. Then the version came where it was not necessary any more. I think twrp can read the key from somewhere. Or is there a dialog box to enter that key?

The advantage on non readable data is that you are able to store data partition in TWRP backup, to be able to restore apps and personal settings. The disadvantage is that your data from sd card is also readable from twrp without entering a password. For this security reason the bootloader is closed normally and deletes all data on opening.

If you flash new stock firmware bootloader closes. If you open for rooting again you loose all data. But then you can restore data from Nandroid if you had followed the instructions of post 1. I think files from internal sd must be saved before on external sd, too.

My device: Mediapad X2 GEM 701->703 B212 KangVIP (AJ mod)
[Huawei Mate 9 Guides, News, & Discussion] eddmecha:
link fixed...sorry for the inconvenience caused
[Huawei Mate 9 Guides, News, & Discussion] eddmecha:
im sorry but superSU is not supported yet hope it will in near future.
[Huawei Mate 9 Guides, News, & Discussion] eddmecha:
ohh i get what u mean now,but since i root this phone i never enter any password nor got any dialog box pop up.and yes when back up u need to select where u wanna save b4 proceed to back up.
[Huawei Mate 9 Guides, News, & Discussion] biggzo:
I need the public_data.zip and full_hw_data.zip for us c567b167. Id appreciate it if someone could help me out. I tried the firmware site it won't let me dl ?
[Huawei Mate 9 Guides, News, & Discussion] Paz9:
is it possible to over-write a file in /system/fonts (to get ios emojis system wide) without rooting on this phone?
[Huawei Mate 9 Guides, News, & Discussion] eddmecha:
im afraid there is no way to do it without root access unless u know how to adb to modify it
[Huawei Mate 9 Guides, News, & Discussion] audioralf:
didn't 'firmware finder' app automatically installed these files?

What did you do before? Did you use firmware finder app, or did you manually install downloaded zip?

My device: Mediapad X2 GEM 701->703 B212 KangVIP (AJ mod)
[Huawei Mate 9 Guides, News, & Discussion] eddmecha:
yes it did but once u format data in twrp u will need to reflash both zips to get the updater,keyboard,themes etc to work again.
[Huawei Mate 9 Guides, News, & Discussion] audioralf:
ah yes I understand now. It is installed, but will be removed when we do the root process.

To reply the question above where to find the public like it es described here:

it should be

http://update.hicloud.com:8180/TDS/...77/v76459/f2/full/hw/eu/update_full_hw_eu.zip

but the patched link doesn't work for the requested version	MHA-L29C567B167

I think this is reason why [MENTION=7541133]biggzo[/MENTION] is asking.

I remember to read that the files are almost the same. So maybe downloadable files for other other branding could work.

copy link from word update until "/full/" and add /hw/eu/update_full_hw_eu.zip or update_data_full_public.zip

Seems this "tick" does not work on all links, but it works definitely for B156

http://update.hicloud.com:8180/TDS/...04/v75974/f2/full/hw/ew/update_full_hw_eu.zip

C432B156 update_data_full_public.zip

http://update.hicloud.com:8180/TDS/...04/v75974/f2/full/update_data_full_public.zip
[Huawei Mate 9 Guides, News, & Discussion] _A.T.Omix_:
...I wiped data, tried. formating as you mentioned and it's decrypted now, but keyboard is gone, only google voice input shows up now whenever i want to type in text. Did i miss something?
[Huawei Mate 9 Guides, News, & Discussion] 5[Strogino]:
You missed options 6 and 7

You must find these files according your localization (C432 or C10 or C567 or anything else)
[Huawei Mate 9 Guides, News, & Discussion] _A.T.Omix_:
I re-flashed a second time and and the keyboard is back, now I've got to find why Titanium Backups hangs at 0% when restoring.
[Huawei Mate 9 Guides, News, & Discussion] calchung:
Can I flash THIS if my phone is updated to L29C636B172?

The dataversion.txt in the zip is for [ro.confg.hw_userdataversion=MHA-L29C636B136_DATA_hw_spcseas]

I also checked http://hwmt.ru/oth/HWFF/info/view.php?find_model= but it doesnt have the a full firmware package for L29C636B172. It has OTA only, and there are 2 L29C636B172 in the list. I am confused which one should I flash.
[Huawei Mate 9 Guides, News, & Discussion] AtarashiiSekai:
My firmware is not listed on that website, I am on L29C635B160, There is a C636 listed though
[Huawei Mate 9 Guides, News, & Discussion] kartalgurhan:
Yes, same problem here. Anybody knows why I get stuck at %0 during Titanium backup?

I followed the OP's instructions successfully. I'm on L29C636B158
[Huawei Mate 9 Guides, News, & Discussion] _A.T.Omix_:
I sent an email to Titanium Backup support regarding this issue, they haven't replied back yet maybe you should do the same.

http://www.titaniumtrack.com/support/product-support.html
[Huawei Mate 9 Guides, News, & Discussion] calchung:
Did you flash the same files as in the intructions 06 and 07?
[Huawei Mate 9 Guides, News, & Discussion] _A.T.Omix_:
I have the same Titanium Backup issue and I am on MHA-L29C636B158, I flashed the files in step 6 and 7.
[Huawei Mate 9 Guides, News, & Discussion] Ckao:
Trying to follow the steps... How do you first unlock bootloader? Does not show in the video

---------- Post added at 04:00 AM ---------- Previous post was at 03:59 AM ----------

Are you supposed to download files first before going to the command prompt?
[Huawei Mate 9 Guides, News, & Discussion] eddmecha:
well the vid is mainly about how to root,for unlock BL i think u can find in utube or google it as it has alot out there,
[Huawei Mate 9 Guides, News, & Discussion] FootSlave:
1. THANKS to @eddmecha for this Guide and Video!!! THANK YOU!!!

2. Have some Little Problems!

I flashed the Mate 9 now 4 times and never got rw on System :(

first time SuperSU way bc I have the PRO Version of it!

Second time with superroot

third time again with SuperSU!

Nothing helped to get rw Access on System (apps, adb etc)

Then I flashed the decrypted boot.img from here with TWRP:

https://xdaforums.com/mate-9/development/boot-force-encryption-boot-images-t3558679

and choosed my Version:

decrypted-boot-MHA-L29C432B156.img

Well I flashed it and then:

FORMAT DATA in TWRP

flashed SuperSU (after deactivating all security (Fingerprint, pin)

then Full_HW_Data

and then Public

reboot

I switched full_data and public (is that wrong?)

Now I can set System to rw, but I realised that some apps are missing (maybe bc of the Switch) and designs app isn't working :(

Should I do it again in the right way? Maybe with a HardReset first to get a "clean" Basis!

How can I get design app to work (I can choose theme but NOTHING happens if I choose set theme button)

And if anything is good for me and I am happy with everything!

Can I LOCK the Bootloader after all to get rid of that warning at boot? Or should it stay UNLOCKED???

Thank you guys!

PS I am very new to Huawei (my first one), coming from Samsung since Note1 but bc of the GREAT Note7 *bomb* that I really wanted I decided to take this one and I am really happy!!!
[Huawei Mate 9 Guides, News, & Discussion] eddmecha:
just flash the public zip and data zip to get everything working such as themes etc
[Huawei Mate 9 Guides, News, & Discussion] FootSlave:
THANKS!!! Will try that first!

!!! EDIT: WORKED like a charm, everything is WOW now !!!

And what is with LOCKING Bootloader after all is done???
[Huawei Mate 9 Guides, News, & Discussion] intruda119:
Probably been asked a milliion times but want to confirm that Im doing things right before bricking my device.

Im using l29 567 usa 183 at the moment. Wanted to try out the kangvip rom.

I have unlocked bootloader and twrp flashed. Trying to figure out step 6 and 7. I cant find a full package for the fw im currently on. Does it matter as long as its 567 for the public and full hw data zip I need to flash?

Would it be easier if I just flashed insecure boot image?

Ultimately trying to decrypt data so I can flash custom rom.
[Huawei Mate 9 Guides, News, & Discussion] bakeback:
Firstly Thanks! rooted exactly like this, works like a charm.

And now I need to upgrade. Couldn't find a definitive answer, so sorry for posting here. Sorry for disturbance.

So, my understanding is I need to revert the recovery to stock first and flash the rom update from Huawei's stock recovery. But I only backed up boot partition as mentioned in the OP. So I don't have recovery backed up. What should I do? Should I use Huawei Update Extractor and extract a RECOVERY.img from my Current Version's image, flash it to recovery partition then upgrade from Huawei's recovery then redo the every step from this threads first post (except wipe data not to lose my data)? Could someone please confirm so I don't mess up the phone or lose data?

Thanks in advance...
[Huawei Mate 9 Guides, News, & Discussion] audioralf:
Yes Huawei extractor is the way you'll get you recovery. I wonder why someone didn't already upload it and made a thread with links to these recoveries. It should make things easier.

Gesendet von meinem MHA-L29 mit Tapatalk
[Huawei Mate 9 Guides, News, & Discussion] bakeback:
Ok, thanks. So basically all I have to do is:

I) I will extract Recovery.img with Huawei extractor from my current image file that I first flashed in OP. (Public_data.zip or Full_HW_data.zip, or update.zip? anyway I'll try all of them)

II) Flash Recovery.img using adb fastboot.

III) reboot into Huawei recovery, flash MHA-L29C185B172 FULLOTA-MF? but I got 3 files from this? (update.zip, udate_data_full_public.zip and update_full_hw_meafnaf.zip) which one(s) to flash?

IV) then finally redo all the steps from OP except fourth step which is Format Data to save all data:

01-UNLOCK YOUR BOOTLOADER

02-FLASH TWRP 3.0.2-2 (thanks to [MENTION=5899304]Tkkg1994[/MENTION]) using ADB

03-Boot into TWRP (HOLD VOL up + POWER)

03(a)-Backup your Boot thru TWRP into your ext SD or OTG(optional)

04-Format Data in TWRP

05-Flash superRoot.zip (thanks to [MENTION=2247733]ante0[/MENTION] for this)

06-Flash Public_data.zip if you are on build L29C636 u can use THIS

07-Flash Full_HW_data.zip(you will get error 7 but it still went thru)if you are on build L29C636 u can use THIS

***how to obtain files for step 6&7 Read THIS thanks to [MENTION=4115953]gm007[/MENTION]

08-Boot into system (setup ur phone)

09-Install PHH superuser from playstore.

am I correct?

Thanks in advance!
[Huawei Mate 9 Guides, News, & Discussion] audioralf:
Sorry not.

Recovery.img is included in update.app of the stock version.

III is also false.

Read the guide again

https://xdaforums.com/showpost.php?p=71804525&postcount=393

Gesendet von meinem MHA-L29 mit Tapatalk
[Huawei Mate 9 Guides, News, & Discussion] Peppus:
Hi, I tried the Romaur and now I'm back to the stock C432B181. All seems to be going right, rootchecker says that I have root access, the apps that had root permission still have it but it doesn't ask me for the new apps. I got a message that binaries need to be updated but I didn't do it, only in case was wrong. Trying to fix it I formatted data and flashed the 3 zips again and uninstall and install again Phh Supersu but didn't work.

Please, how can I root working again? Thanks!
[Huawei Mate 9 Guides, News, & Discussion] audioralf:
I have similar problems on returning to stock. Something is killing my camera and struggling up the boot procedure, so that the blue bubbles are missing.

I already described how I got back a working system via installing the B138 by using Firmware finder proxy method.

At the end I need to unlock again and format sd.

Then install super su and you are rooted again.

But after this I did a mistake and restored the complete nandroid.

I should have checke only the checkbox for "data" on restoring my nandroid.

I am just at the point to do the regular ota to 156 the second time today :(

I think komoot and runtastic need to modify their application for the B182. There may be modifications on using the GPS.

This version is not yet released by Huawei, so I think they have not had the chance to modify their app.
[Huawei Mate 9 Guides, News, & Discussion] Peppus:
Hi, maybe making a hardreset loses root and then I can flash it properly again? The system doesn't allow me to do it, but flashing stock recovery I could do it through it. Or what would be the best method to get rid of root?

Thanks!
[Huawei Mate 9 Guides, News, & Discussion] audioralf:
As I wrote: select b138 from firmware finder

Gesendet von meinem MHA-L29 mit Tapatalk
[Huawei Mate 9 Guides, News, & Discussion] Rudolpht:
Since I didnt go back to stock, which does not have the advantages, like directly take an OTA so isnt the point, is to take the Azur ROM without the Kang framework. Even without flashing public and HW camera works etc. Flash custom SuperSU install and its back.
[Huawei Mate 9 Guides, News, & Discussion] vipivj:
Hi all,

I am rooted with the method explained in this thread. Now that I want to go back to stock what's the easiest way? Please help me with details.

My model is L29- C185B158

---------- Post added at 03:24 PM ---------- Previous post was at 03:12 PM ----------

How to do this step? Can you please explain. Any link will be really helpful. My model is L29 C185B158.

Reading through the thread only increases my confusion. Please help.
[Huawei Mate 9 Guides, News, & Discussion] saurabhg9:
Easiest for me would be to flash stock again.
[Huawei Mate 9 Guides, News, & Discussion] vipivj:
Can you explain the steps please. I am not good at this :crying:
[Huawei Mate 9 Guides, News, & Discussion] eddmecha:
Pardon for my late reply

here are the recovery for your build kindly flash it thru adb by using command fastboot flash recovery c185b158-recovery.img

Hope this is clear
[Huawei Mate 9 Guides, News, & Discussion] vipivj:
Thankyou very much.

Some doubts to clear

1) after flashing stock recovery what to do next?

2) does the BL will be locked back automatically and I can update as a normal phone?

3) internal memory will be erased completely or not?
[Huawei Mate 9 Guides, News, & Discussion] saurabhg9:
After flashing stock, your phone is back to factory condition, all things reset and locked.

You can then proceed with unlocking BL, rooting, recovery etc depending on what you would like to do.
[Huawei Mate 9 Guides, News, & Discussion] eddmecha:
hi

1-after flash stock recovery only u will be able to update FW

2-everything will be stock and locked just like when you take out from box

3-no & yes if you unlock BL again in order to root
[Huawei Mate 9 Guides, News, & Discussion] vipivj:
Hi,

I flashed the stock recovery from link. After the phone is rebooted, it is still unlocked and rooted. Did I do somethig wrong? Or do I need to update fw to get BL locked and unroot?
[Huawei Mate 9 Guides, News, & Discussion] cobaltodaniel:
hi this shows me error why ???

F:\Celulares\ADB TOOL>fastboot flash recovery twrp-3.0.2-2-hi3660.img

target reported max download size of 471859200 bytes

sending 'recovery' (19870 KB)...

OKAY [ 0.540s]

writing 'recovery'...

FAILED (remote: image verification error)

finished. total time: 0.579s
[Huawei Mate 9 Guides, News, & Discussion] jr313:
Yes your phone is still unlocked and rooted, you will need to update your firmware then with the update your bootloader will be locked and you will be unrooted just like stock.

sent from my rotary phone
[Huawei Mate 9 Guides, News, & Discussion] vipivj:
Thankyou.
[Huawei Mate 9 Guides, News, & Discussion] backb0ne5p1d0r:
Was working perfectly fine before.

But apparently it doesn't work on L29C636B180 :C

EDIT: It works perfectly fine, even on L29C636B180. Problem was with my TWRP. Apparently it doesn't work if you use newer versions of TWRP. My bad! Just reflashed TWRP and flashed the zip and it worked fine. Thank you.
[Huawei Mate 9 Guides, News, & Discussion] audioralf:
I got this and could fix it via installing supersu manually via TWRP again. So not via the app, but via selecting the patched zip for for mate9.

My device: Mate 9 supersu b156 Mediapad X2 GEM 701->703 B212 KangVIP (AJ mod)
[Huawei Mate 9 Guides, News, & Discussion] Peppus:
Hi [MENTION=5113515]backb0ne5p1d0r[/MENTION], how did you get the B180 for the C636, by Firmware Finder? Thanks!
[Huawei Mate 9 Guides, News, & Discussion] backb0ne5p1d0r:
Nope. I used this guide

https://xdaforums.com/mate-9/how-to/guide-mate-9-flash-update-package-t3593108
[Huawei Mate 9 Guides, News, & Discussion] spc_hicks09:
Everything worked for me on my C567. I am now unlocked, rooted, and soon to be ROM'd. Thanks OP!

**NOTE**

You might want to add to the OP that the files need to be on an sdcard because MTP file transfer doesn't work in TWRP. Here are the steps I took, broken down a little more:

1. Unlock bootloader (erases all data)

2. Place root zip, hw zip, and data zip on an external sdcard in the phone.

3. Flash TWRP (fastboot flash recovery twrp.img)

4. Boot into TWRP using VOL UP+POWER

5. In TWRP go to "Backup" and only select "Boot."

6. In TWRP go to Wipe, then Advanced Wipe, then "Format Data," but DO NOT REBOOT OR EXIT TWRP. Go back to the main TWRP menu.

7. Go to "Reboot," then select "Recovery."

8. Once back in TWRP flash the root zip that you chose. I chose SuperSU.

9. Flash your devices update_data_full_public.zip

10. Flash your devices update_full_hw_usa.zip

11. Reboot to system.
[Huawei Mate 9 Guides, News, & Discussion] vipivj:
Which ROM and why?
[Huawei Mate 9 Guides, News, & Discussion] spc_hicks09:
This ROM

Because why not?
[Huawei Mate 9 Guides, News, & Discussion] vipivj:
I read in the thread about some annoying bugs. Is it still worth using on a daily driver? I saw they claim excellent battery life and how much it would be, any idea?
[Huawei Mate 9 Guides, News, & Discussion] spc_hicks09:
Not sure but I heard from a couple C567 users that said it works fine for them. I'll try it out eventually and then I'll let you know what I think.
[Huawei Mate 9 Guides, News, & Discussion] Rudolpht:
You don't know until you try it, unfortunately. It took me a few tries but I love it now. Do your nandroids or flashfire backups first before installing. Understand potential of what breaks and how to fix it.
[Huawei Mate 9 Guides, News, & Discussion] vincitechnology:
well, followed the process from the original post and got errors about /data not able to be mounted etc.

It looked like it was going to get stuck in a reboot loop as it was going back and forth a couple of times, not getting past the huawei or EMUI screens.

Somehow it has now rebooted back into the system and going through initial setup again.

Clearly not the best design of these devices when trying to do something simple like gain root access brings up all sorts of errors and questions.

But anyway, thanks to the original post (i shall click back and thank it) as now the Mate 9 seems to be rooted and working.

This is definitely a thumbs down however to 'One Click Root' for their app saying it can be done but then their live chat consultant saying otherwise.

Persistence pays off in the end.
[Huawei Mate 9 Guides, News, & Discussion] franzyroy:
This method looks very much like mine. No problem, I don't disturb you with that. I'm not as certains persons on XDA.

However, I've a way easier for you.

You send me your stock boot.img file

I modify it

You install it via adb or TWRP

You install supersu Emui 5.0.zip or PHH superuser.zip via TWRP

Reboot

If you have installed PHH superuser.zip, then you install PHH superuser app via PlayStore - no need for supersu Chainfire

That's all and you are fully rooted.​
[Huawei Mate 9 Guides, News, & Discussion] eddmecha:
hi guys,thanks for the support but i m selling my mate 9 soon once s8+ is launch in my country so i will not be in this thread that often(even as of the past couple of weeks been bz) so i would be glad if there is any one here wanted to continue what i have started i will be glad to transfer the OP to him/her. Thanks again
[Huawei Mate 9 Guides, News, & Discussion] franzyroy:
Except that I haven't the Mate 9, so I can't.
[Huawei Mate 9 Guides, News, & Discussion] jr313:
Dang seems like everyone is leaving this phone.

sent from my rotary phone
[Huawei Mate 9 Guides, News, & Discussion] franzyroy:
Anyways if someone needs to root his phone, he can send me a PM. I could make a modified boot which enables him to root easily his phone.

B. R
[Huawei Mate 9 Guides, News, & Discussion] vincitechnology:
the original post instructions worked, providing download and flashing of the correct files for the firmware version already installed on the phone.

i'm happy to keep an eye on the threat here and help with the knowledge i have, based on the original instructions.

as despite the fact I got errors during the process, the errors did not actually eventuate to any real problem.

but it was odd seeing them and then everything worked as it should.

I have found Huawei's to be quite unforgiving at times, seems that the encrypted partitions are the biggest part of a lot of the problems?
[Huawei Mate 9 Guides, News, & Discussion] franzyroy:
I confirm it! :(
[Huawei Mate 9 Guides, News, & Discussion] Dioky:
Files missing for Public_

Hi there,

Tried downloading the required files .../full/hw/eu/update_data_full_public.zip but get error that file does not exist :(

The .../update_full_hw_eu.zip worked though.

But it still leaves me with only half of the needed files for rooting...

Regards,
[Huawei Mate 9 Guides, News, & Discussion] ante0:
But both zips does that already. :eek:

Btw, I was sent the supersu-emui5 zip as a pm from dexz, I just modified it to work with Mate 9 (it wasn't looking for BOOT_A).

PHH Superuser zip in this thread was originally made by [5]Strogino, I just modified it a bit.

Both removes encryption by default, that's why you have to Format data, and you need to flash back hw_init zips. Else your phone won't boot

---------- Post added at 09:24 PM ---------- Previous post was at 09:19 PM ----------

For public, path is .../full/public/update_data_full_public.zip

Did you 'reboot recovery' after Format Data?
[Huawei Mate 9 Guides, News, & Discussion] franzyroy:
What do you mean by "both zips does that already"?

With my method, no need to format data. Or install again the data.
[Huawei Mate 9 Guides, News, & Discussion] ante0:
Is /data using fileencryptioninline on the Mate 8?

Because if you simply remove that line or replace it with Encryptable in the fstab, the phone won't boot until you Format Data.

That is of course if you want to decrypt, else you could modify the scripts and keep it encrypted.

Currently twrp for the mate 9 don't handle encryption so we can't backup /data without decrypting.
[Huawei Mate 9 Guides, News, & Discussion] 5[Strogino]:
Really? What thing need to modify to avoid /data encryption? If it is not hard, will make new patch.
[Huawei Mate 9 Guides, News, & Discussion] franzyroy:
I replace forceencrypt by encryptable, yes. But it works on lot of Huawei devices like

- Huawei Mate 8

- Huawei Honor Note 8

- Huawei P9

So I don't see why it will not work on your device.

---------- Post added at 09:09 PM ---------- Previous post was at 09:08 PM ----------

Yes I think it will be possible to make a patch. I didn't take the time to make one.
[Huawei Mate 9 Guides, News, & Discussion] 5[Strogino]:
Yep. Patch in this topic does what you told.

It unpacks boot, changes fileencryptioninline tag in fstab to encryptable, then repacks and flashes.

But when booting into twrp, data is still encrypted

So have to format data to avoid encryption first, then apply patch. Only this method works...

P.s. Mate 9 is first phone with emui 5.0 and android 7.0, many solutions from Mate 8, 7 and Honors are not working.