yashsingh1/xdaforums huggingface dataset:
[Huawei Mate 9 Guides, News, & Discussion] eddmecha:
error 1 means u stil have a root zip installed in order to remove it completely u may flash stock boot.img of your build.
[Huawei Mate 9 Guides, News, & Discussion] gm007:
https://xdaforums.com/mate-9/how-to/mha-l29c567b167-update-usa-version-t3561355/post71200976
[Huawei Mate 9 Guides, News, & Discussion] Ben_Li:
PLEASE HELP!!! So I flashed these files in the first place and got a bootloop. I factory reset however this caused the internal storage to be encrypted in the device and on TWRP. I sideload flashed the files again with TWRP 3.1.0.1 (not the one here since it won't read device when on recovery) and Adb.

So my entire internal storage is encrypted when I rebooted the phone. When I downloaded Solid Explorer, everything in the internal storage was encrypted and when I put a SD card it was corrupted saying there was something wrong with the partitions.

I tried reflashing the files however it did not work. The entire storage is completely encrypted and have no idea what to do. When I try to download a APK from chrome, it says no space for SD card and it won't read internal storage. When I take a picture and go into gallery it says to clean up space as it reads no internal storage since it's encrypted.

I have no idea what to do and I'm completely lost. I do have the bootloader unlocked and it is rooted with TWRP installed. Installing apps on the Play Store works. PLEASE HELP ME FIX THIS!

I am using MHA-L29C636B110
[Huawei Mate 9 Guides, News, & Discussion] Surfinette:
Hello,

Did you follow EXACTLY all the steps described in the OP ?

For instance, you don't seem to be using the correct recovery (OP says 3.0.2-2 and provides a link to download it).

Then all the files you need to flash with TWRP should be sideloaded on the external SD card, so TWRP should not have any problem reading them.

Lastly, have you used the right Public_data.zip and Full_HW_data.zip ? These files must exactly match your rom version.

Regarding your external SD card being corrupted, you should reformat it from PC before using it.
[Huawei Mate 9 Guides, News, & Discussion] Caguayote:
I got twrp and root but following this developer tread Tkkg1994 but my question is can I flash this recovery and supersu overriding the ones that I got installed the one I have is this twrp 3.1.0-1 and supersu-2. 82-emui5 thanks alot
[Huawei Mate 9 Guides, News, & Discussion] Lace84:
Hi Ben_Li , I suggest u to wipe internal storage and external SD with TWRP , after that restore backup and retry all procedure for obtain root privileges. (I hope you have done a nandroid backup of all partition with TWRP before rooting or immediately later than you have flashed TWRP recovery )

I quote [MENTION=2599254]Surfinette[/MENTION] : pay attention to follow exactly the procedure , especially at flashing Public and HW zips. Point n° 5 and 6 are very important...maybe the procedure is still not completly clare to most user ...like me for example.

About your problem, I think you have flashed wrong Public & HW zip .

I'm so confused about one thinks Surfinette, why TWRP 3.1.0.1 shouldn't works ? It's the last build and maybe the procedure tell to use version 3.0.2 because when the guide was written it was the last build. (I think).

However Ben_Li, try using the 3.0.2-2 v. I suggest you to wipe /data before flash all .zip. (I read it's suggested)

---------- Post added at 03:58 AM ---------- Previous post was at 03:47 AM ----------

I suggest you to delete the Su binary (unroot) using SU app installed on your phone, after this I think you can directly reflash TWRP and new zip without do anything else. New zip will override the previus.

Please, someone correct me if I'd wrong.
[Huawei Mate 9 Guides, News, & Discussion] Caguayote:
Thanks for you help boss

Do I still got to flash public data zip and hw_data zip or like you said just delete the binary and reflash

twrp and supersu?
[Huawei Mate 9 Guides, News, & Discussion] Aziraphale_l:
Apologies for off-topic, how do You find Mate 9 after 6p, I'm considering making the same switch myself.
[Huawei Mate 9 Guides, News, & Discussion] silky62678:
I am on firmware MHA-L29C567B190 . I am not able to find that in the firmware list. Is there another one I can use? If so, can there be benefits to using another one like even greater battery life?
[Huawei Mate 9 Guides, News, & Discussion] ante0:
No. If you want to use another you need to rebrand.

Also: http://update.hicloud.com:8180/TDS/data/files/p3/s15/G1356/g77/v84935/f2/full/filelist.xml

http://update.hicloud.com:8180/TDS/...35/f2/full/public/update_data_full_public.zip

http://update.hicloud.com:8180/TDS/.../v84935/f2/full/hw/usa/update_full_hw_usa.zip
[Huawei Mate 9 Guides, News, & Discussion] silky62678:
Koolbeans, thank you...:D
[Huawei Mate 9 Guides, News, & Discussion] xurdep:
Hi to all!

Can anybody help me?

I have since last week Mate 9 MHA-L09 and I updated to C432 190 version, I flashed Twrp 3.1.0.1 and superuser_310beta, but root doesn't work as expected, for example, If I mount /system partition with write permissions I can create empty file under /system without any problemas, but If I try yo create under /system/etc doesn't work, said "/system is mounted read only"... Adaway doesn't work for this problem..

Any suggestion??

Best regards
[Huawei Mate 9 Guides, News, & Discussion] cofface:
Hi,

can you had tool for unpack/repack boot.img ?
[Huawei Mate 9 Guides, News, & Discussion] ante0:
https://xdaforums.com/showthread.php?t=2073775
[Huawei Mate 9 Guides, News, & Discussion] cofface:
Thx.
[Huawei Mate 9 Guides, News, & Discussion] eddmecha:
[MENTION=2247733]ante0[/MENTION] have answered for me,thanks alot
[Huawei Mate 9 Guides, News, & Discussion] golastic:
Have followed instructions and gotten the data decrypted by flashing public zip and hw zip but I have issues with camera working fully.

1.The icon has change to android green icon

2.It flashes when u open

3. When it opens, capture doesn't work.

Will be glad if someone can share his camera apk here.

Am on L29C185B181 firmware.
[Huawei Mate 9 Guides, News, & Discussion] mermaidkiller:
Are the bold lines with public_data.zip also required for a EU version L29C432 ?
[Huawei Mate 9 Guides, News, & Discussion] st_voss:
Yes, you must flash public_data.zip and Full_HW_data.zip for L29C432 that match your ROM version.
[Huawei Mate 9 Guides, News, & Discussion] benjmiester:
Hi guys. I'm brand new to both the Mate 9 and Huawei in general. I read through the entire into guide to the Mate 9 flashing, partitions, firmware etc. I've already successfully gotten my BL unlock code, and unlocked it. I'm looking to root it now, and ideally try one of the roms available.

I have run into a snag already though, I'm on an L29, L29C567B190 build and I can't get the firmware to get the zips I need to flash after installing TWRP and rooting. The 1st link in the guide by GM007 that's thinked in the OP is dead, goes to a 404 error. Does anyone have them or the firmware for this build? I may have just misunderstood his instructions regarding my rom build.
[Huawei Mate 9 Guides, News, & Discussion] a591858:
强烈支持一下
[Huawei Mate 9 Guides, News, & Discussion] ante0:
http://update.hicloud.com:8180/TDS/...35/f2/full/public/update_data_full_public.zip

http://update.hicloud.com:8180/TDS/.../v84935/f2/full/hw/usa/update_full_hw_usa.zip

Flash public first, then hw.
[Huawei Mate 9 Guides, News, & Discussion] agarth:
Hello [MENTION=2247733]ante0[/MENTION], I'm on RomAur v1.5 and I want to install SuperSU 2.82. First I flashed twrp 3.1.0.1, do I have to format data again before I flash SuperSU and then flash Full_HW_data.zip? I can't find which is the right version of SuperSU. SuperSU2.82-Mate9.zip or SR1, SR2?
[Huawei Mate 9 Guides, News, & Discussion] ubermorgan:
hi guys, i rebranded mate 9 pro al00 to l29c636 and want to root. Ive got all files on otg ready to go. Supersu, twrp, public and hw zip but in twrp, the trwp img is not visable? my twrp is currently 3.0.3 rayglobe. Is the current twrp the problem or what i missing?
[Huawei Mate 9 Guides, News, & Discussion] audioralf:
I don't know details of your current TWRP, so it may be possible that it only shows .zip files to install.

TWRP.IMG has to be flashed via fastboot via PC and USB connection.

Maybe you have stored the other files on internal sd. Be aware that all data will be lost on rooting, because you have to format data which formats internal SD, too. After this install supersu l. Then TWRP will be able to read internal sd.

My device: Mate 9 supersu B190 Mediapad X2 GEM 701->703 B212 KangVIP (AJ mod)
[Huawei Mate 9 Guides, News, & Discussion] ante0:
If you're decrypted now you don't need to format data. You might need to flash back stock boot image. it's in RomAurs zip named boot.img. Flash that and then supersu.

It's either SR1 or SR2. I've been away for a week and didn't know SR2 was released, but it should work too.

Make sure you tap the Install Image button first, else it will only display zips to install.
[Huawei Mate 9 Guides, News, & Discussion] ubermorgan:
At this point in time i'm still not into testing too much which is why im only particially familiar with twrp. All i have really wanted to do in the past is simply root the device for personalisation and minor tweaks. I will probably use adb fastboot for flashing twrp. It somehow feels safer. I'm still not the best with twrp so sorry if this is laughable but how do i know if im decrypted?

Another thing i'd like to run by you guys. I've never been able to back up anything using twrp (this could answer my question above maybe?) Even very early this morning i tried backing up oem, system, vendor info onto otg, it started off fine. When it started to back up system, i was expecting to see "backing up LON -L29C6363" or something like that....instead what i saw was "backing up NRD90M test keys" then i got error 225 or 255 in red and it failed.
[Huawei Mate 9 Guides, News, & Discussion] ante0:
Only /data is encrypted. If you can see your internal sdcard in twrp after Format Data you are decrypted. You will have to flash SuperSU right after though, if you reboot and let it boot up, your phone will re-encrypt.

Your first step is flashing twrp. Reboot to bootloader (easiest way is using 'adb reboot bootloader' when you're booted). After that, open a command prompt and use 'cd' to get into the folder where twrp-3.1.0-1-hi3660.img is located.

Next you use 'fastboot flash recovery twrp-3.1.0-1-hi3660.img', assuming it's named twrp-3.1.0-1-hi3660.img.

After that, reboot phone and go to recovery (would be nice with a fastboot reboot recovery command :P).

When you're back in twrp, go to Wipe and tap the Format Data button, wait til it finishes (this will remove everything including internal storage so be sure to back up anything in internal you wish to keep).

After it's done, go back to twrp start screen using the back button, tap on Reboot then Reboot Recovery.

When you're back in again, tap on Install and check if you can browse internal SD card and that it doesn't contain a lot of weirdly named folders. If it doesn't contain any weird folders/files (you should see a twrp folder at least) continue with flashing SuperSU then public zip and last hw zip.

Edit: are you sure it fails at system? It shouldn't. Try 'adb pull /tmp/recovery.log' after trying a backup and post results here.
[Huawei Mate 9 Guides, News, & Discussion] ante0:
Oh.

That's the phh/supersu hybrid. It's not needed as long as you're on b182+ and twrp 3.1.0-1+
[Huawei Mate 9 Guides, News, & Discussion] agarth:
I see. Thanks, everything is clear now. :victory::good:

After that KangVip settings is no longer working. You said in this thread that kangvip should work with SuperSU. https://xdaforums.com/mate-9/development/rom-romaurb175v1-0-t3575146/post73073192

What can be wrong?
[Huawei Mate 9 Guides, News, & Discussion] ubermorgan:
I will try again tonight and try and take a screenshot or something regarding the backup fail. Tonight meaning approx 1-2 am Melbourne time. Still at work now. Regarding decryption, when you explained it that way it made more sense. Thank you.
[Huawei Mate 9 Guides, News, & Discussion] ubermorgan:
Hi guys, in regards to backing up oem, vendor info and system, i completely forgot to try again and post results here before flashing new twrp through adb but it made no difference anyway. With twrp 3.0.3-1 something similar happens only this time with another message. I've taken a photo of it and posted it. Hope you can see it clearly.

Wrong photo lol.
[Huawei Mate 9 Guides, News, & Discussion] ante0:
I think you posted the wrong photo :P
[Huawei Mate 9 Guides, News, & Discussion] ubermorgan:
These should do :laugh:
[Huawei Mate 9 Guides, News, & Discussion] ezraiil1:
themes and file manager

rom:MHA-L29B185C172

after i did everything exactly as u said in superSu section,I've lost my stock file manager(which i love that) and also i cant change themes.

how can i fix these two ??
[Huawei Mate 9 Guides, News, & Discussion] ante0:
Well, that's because your data is encrypted.

'Backing up Data' means the /data (userdata) partition, which is encrypted by default.

So just back up anything you want to keep in internal storage and/or use Huawei Backup tool, and go to TWRP and tap Wipe, tap Format Data. Type 'yes'.

Wait until it's finished.

Flash SuperSU 2.82 SR2.

Flash Public zip then HW zip.

Reboot.

Done.

---------- Post added at 06:06 PM ---------- Previous post was at 06:03 PM ----------

If you haven't already (you probably didn't), download and flash Public and HW zips for your model.

For MHA-L29C185B172

http://update.hicloud.com:8180/TDS/...39/f1/full/public/update_data_full_public.zip

http://update.hicloud.com:8180/TDS/...f1/full/hw/meafnaf/update_full_hw_meafnaf.zip

Flash update_data_full_public.zip first, then update_full_hw_meafnaf.zip.

They will give errors but it's normal.
[Huawei Mate 9 Guides, News, & Discussion] ubermorgan:
I'm a shocker LOL. Phone is still stock. I'll do the above right now.
[Huawei Mate 9 Guides, News, & Discussion] ante0:
Forgot one step, that might be needed.

After you format, tap the back button until you get to TWRP's start screen, then tap on Reboot and Reboot Recovery.

That's because it might not be able to mount /data after it's formatted. A recovery reboot should fix that.
[Huawei Mate 9 Guides, News, & Discussion] ubermorgan:
Just did the above and ive got apps missing again. Oem is set on unlock but is greyed out. Now down to 105gb out of 128gb which is a bit hmmmm. No supersu logo visable either. What now?
[Huawei Mate 9 Guides, News, & Discussion] ante0:
Which apps are missing?

And OEM should be grayed out, but still enabled. Blue but not tappable.

Did SuperSU installer complain?

And you did flash Public and HW for your model?

Check in TWRP if you're still encrypted. If you go to Advanced then File Manager check if you can browse sdcard.

If it has a TWRP folder in it you're still decrypted, if it looks weird you're encrypted and SuperSU didn't flash properly.
[Huawei Mate 9 Guides, News, & Discussion] ezraiil1:
well,i did it 3 times !!

first one (update_data_full_public.zip) flashed without any errors but second one,after 2 mins finished with an error(corrupted zip) !

should i try b185 and do it again ?

and can u explain how to flash a full rom after download it from http://hwmt.ru?
[Huawei Mate 9 Guides, News, & Discussion] ubermorgan:
so.....Wipe, tap Format Data. Type 'yes'.

Wait until it's finished

tap the back button until you get to TWRP's start screen, then tap on Reboot and Reboot Recovery.

Flash SuperSU 2.82 SR2.

Flash Public zip then HW zip.

Sorry, forgot to ask. How do i reduce the amount storage being used? actually, WHY is so much being used?
[Huawei Mate 9 Guides, News, & Discussion] ante0:
Yes. I forgot to reboot a few times and it didn't complain/not install.

If SuperSU installed it should still be decrypted and you should only need to flash SuperSU, public and hw.

But it doesn't hurt to redo it. :)

Hmm. That's a new one.

It could be a corrupted zip actually. You could try to re-download it.

As for updating, your options are:

Firmware Finder (your IMEI needs to be approved so you should've gotten an OTA update already)

https://xdaforums.com/mate-9/how-to/guide-mate-9-flash-update-package-t3593108

or Funky Huawei (paid)
[Huawei Mate 9 Guides, News, & Discussion] ubermorgan:
Not sure if this normal, but after flashing supersu the phone rebooted into system automatically. Now i'm on the set up stage again with select language on screen.
[Huawei Mate 9 Guides, News, & Discussion] ante0:
Are you using TWRP 3.1.0-1 now?

It reboots and doesn't install anything on 3.0.2 and 3.0.3.
[Huawei Mate 9 Guides, News, & Discussion] ubermorgan:
Nothing gets reinstalled, still on 3.0.3-1 however it automatically prompts if i want to install twrp, i just assume its referring to whats on my otg so i uncheck the 2 boxes and tap don't install. Hmmmm. I think i'm meant to install twrp again?
[Huawei Mate 9 Guides, News, & Discussion] ante0:
That's why then.

Flash this: https://mega.nz/#!M0UQBCbT!K7HBxZOg5I9_Ijztvjvo6X04EZAx9wGwCfrKNlX0dcM

Reboot - Reboot Recovery.

Wipe - Format Data

Reboot - Reboot Recovery

Flash SuperSU 2.82 SR2

Flash Public and HW zips.

The prompt to install TWRP is just for the TWRP app.
[Huawei Mate 9 Guides, News, & Discussion] ubermorgan:
seems to be working, unpacking files now. What happens if you wipe dalvic cache?
[Huawei Mate 9 Guides, News, & Discussion] ante0:
It needs to rebuild dalvik/ART which takes a little longer to boot.

Unless ART is rebuilt when you actually open the app. I'm not sure about this.

It may fix things too if they're broken.
[Huawei Mate 9 Guides, News, & Discussion] ubermorgan:
Ok. Rooted now, supersu logo is there, however i still have a lot of apps missing. Oem unlock cannot be changed either. Did i have to flash public and hw zip in any particular order?
[Huawei Mate 9 Guides, News, & Discussion] ante0:
Public first, then HW. Those are for stock apps, not that many though.

It's because the public zip removes everything in /data/hw_init/ before installing.

For regular apps that you installed you should have a backup as suggested in previous posts :eek:

OEM unlock is for FRP lock, if you turn it off and it should become greyed out you won't be able to use fastboot to flash stuff.

It should always be greyed out but enabled after you've unlocked bootloader and OEM unlocked.

However, it seems to be not greyed out sometimes. For me it's not at the moment...

If it does get disabled and greyed out you'll have to re-lock bootloader, factory reset (most likely) and unlock bootloader again.
[Huawei Mate 9 Guides, News, & Discussion] ubermorgan:
..

---------- Post added at 07:19 PM ---------- Previous post was at 07:11 PM ----------

Your a legend! thank you so much for the help and advice. All good, everything is there now. Oem is still greyed out but at least its unlocked. Now i gotta find out how much bloatware i can get rid of, if this is anything like the mate 8 there won't be much. Still, 20gb is being taken up right now which i think is too much so i want to free some of that up. I was kind of hopeing that wiping the dalvic cache then formating would help but probably better if i avoid that for now. Thanks again brother!
[Huawei Mate 9 Guides, News, & Discussion] ante0:
It's not much. Most is installed to /data/hw_init/ so check there, though those apps can be uninstalled through regular launcher.

The rest is not really bloatware imo, but installed to /system/

You could most likely use Mate 8 as reference as it should use the same or similar apps.

And I *think* the 128gb is shared throughout the phone, it's not just for internal storage.
[Huawei Mate 9 Guides, News, & Discussion] crazyerik:
hi i'm italian guys sorry for my bad enlgish ..so.. i rooted my phone with superSU it's ok but i dont understand the difference between superSU and Superoot ... anyone can explain me with the easy english ? (because i dont understand all world) thanks
[Huawei Mate 9 Guides, News, & Discussion] ezraiil1:
all good

So i downloaded b184 update,update_all_hw and update_data_public.zip.

Then i install a fresh Rom using This ,Then factory reset and wipe cache from phone recovery ,unlocked bootloader again , then i rooted my phone using SuperSu method...

but this time,after i install the SuperSu(Step 5) ,then restarted recovery and then i installed those 2 zips.

Now everything works fine...

one more thing...

how can i update supersu to the latest version ?

btw tnx [MENTION=2247733]ante0[/MENTION] :cool::good:
[Huawei Mate 9 Guides, News, & Discussion] ante0:
Which SuperSU did you use?

If official one you can just update using the SuperSU app.
[Huawei Mate 9 Guides, News, & Discussion] ezraiil1:
SuperSU-v2.79-MATE9-init.d_support.zip from here.

how about update binary ?

what should i do ?
[Huawei Mate 9 Guides, News, & Discussion] ante0:
It's because that one is PHH/SuperSU, not official SuperSU. This was the only way to get SuperSU prior to mate 9 b182

Flash TWRP 3.1.0-1 from the TWRP thread if you haven't yet: https://xdaforums.com/mate-9/development/recovery-unofficial-twrp-huawei-mate-9-t3515617

Flash this boot: https://mega.nz/#!kwFWGKID!mIvOfkF0qj-2reoo8kBaxVRr8Rz-1QDU8ShJdG5LRMc

(Install - Install Image - boot_L29C185B184.img - Boot Partition)

Flash official SuperSU 2.82 SR2: https://xdaforums.com/apps/supersu/2014-09-02-supersu-v2-05-t2868133

(If you're encrypted, you didn't Format Data, use: https://mega.nz/#!xltARTrA!VxkqUDIKzbL-P4TreyDbjR3s5i9gcddhBvNN23-OXQY )

It's just different root binaries. SuperSU in this threads OP is PHH/SuperSU, SuperRoot is PHH superuser.

Most people choose SuperSU because they're more familiar with it. If you're only looking for root it doesn't matter which you pick.

If your firmware is B182 or higher you should pick the official zips instead, as they can be updated normally.

And make sure to flash TWRP 3.1.0-1
[Huawei Mate 9 Guides, News, & Discussion] ezraiil1:
Well,now i have Updated SuperSU ;)

Is there an Xposed Version for Mate 9 or Nougat ?

Thank you Again [MENTION=2247733]ante0[/MENTION]
[Huawei Mate 9 Guides, News, & Discussion] ante0:
There is, but it's unofficial and might not work at all/fc apps/bug apps.

https://xdaforums.com/xposed/xposed-android-nougat-sdk-25-arm64-t3639221
[Huawei Mate 9 Guides, News, & Discussion] crazyerik:
Thanks for the response.. Now I have a problem.. When I rooted my phone with supersu Busybox there isn't.. Now I installed from market but don't work because in installation I got an error.. Solution? It's very important Busybox
[Huawei Mate 9 Guides, News, & Discussion] ante0:
Try the busybox from meefink. The Stericson one can't remount /system as read-write.

Alternatively you can remount manually:

Download Terminal Emulator from the Playstore

issue the following commands:

su
mount -o rw,remount /system

Try busybox installer now.

When done, go back to Terminal Emulator and:

su
mount -o ro,remount /system

Meefinks installer is easier though if you're not used to issuing commands and such.

It's the same busybox binary (I'm not sure if the applets are different).
[Huawei Mate 9 Guides, News, & Discussion] sudd1976:
Total Legend !!

Was scratching my head over how to root my Mate 9, as everything I tried just made the thing bootloop.

Thanks for you really clear guide. :D
[Huawei Mate 9 Guides, News, & Discussion] agarth:
With SuperSU SR2 kangvip settings doesn't work. So I've installed SuperSU2.82-Mate9.zip -the hybrid as you said- and it's working. I'm just curious this is the right way?
[Huawei Mate 9 Guides, News, & Discussion] ante0:
Yeah, it works fine. Kangvip settings are sensitive :P
[Huawei Mate 9 Guides, News, & Discussion] crazyerik:
ok work it thanks
[Huawei Mate 9 Guides, News, & Discussion] darkkesler:
Twrp problem

Hello

I rebranded my mate and I have china rom with b225 build number.I rooted my device of this topic method and I have 2 problems now

One of them is I have problem with mount /system and system apps

Another problem is in twrp

My sd card (internal memory) have many folders with too many numbers and characters.

Please help me guys.

Thank you