yashsingh1/xdaforums huggingface dataset:
[Huawei Mate 9 Questions & Answers] zentico:
So, I gave it a shot as well. All went as you described, except I didn't get to the "optimizing apps". Instead it bootlooped about 3 times and then told me there had been a problem and that it suggested a factory reset. Must have been some root app or setting after all these years that tripped the process. Anyway, I was able to then get back to a clean 9.0.1 C432 and luckily I had done a full backup to external storage with the Huawei app. I restored, had to tinker with some apps that didn't get all their settings updated and reenter my Google password, etc. but am back in business in Pie!

I did try to go ahead and update to 9.1 via FF eRecovery and modded HiSuite to no avail. Also, the phone keeps wanting to "update" me to the same firmware by installing a 20kb OTA claiming I have some unauthorized apps (even right after factory reset). So I'm a bit suspicious that I won't be getting OTA to 9.1.

Next step will be to root (I've got several apps that require it), and perhaps try the 9.1 update via EMUIFlasher or some other method in a couple of weeks if I don't get an OTA push.

Thanks for getting my courage up and working on this together. Let's keep this thread active with any updates from either of us. Hopefully this will also help other C567 Mate 9 users get to Pie.

---------- Post added at 08:22 AM ---------- Previous post was at 07:44 AM ----------

Succeeded in rooting with Magisk:

Magisk Manager apk in OP: https://xdaforums.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445

Instructions for EMUI 9: https://topjohnwu.github.io/Magisk/install.html
[Huawei Mate 9 Questions & Answers] jeffrimerman:
That's great news, we're 2 for 2. I had Viper4Android which I never got working, magisk, root checker but not really that many root apps so maybe that helped. I wonder if we can use this same method to get to 9.1 or is that just 1 file now. I think this tool is written for 2 files, not 3 and not 1. I wonder if the "dload" method would work. I could never get the big update.app file onto my sd card. It would always fail but maybe I need to reformat it from exfat to ntfs or something. Welcome to PIE =)
[Huawei Mate 9 Questions & Answers] former_tarheel:
Where is this download?
[Huawei Mate 9 Questions & Answers] jeffrimerman:
FF is Firmware Finder. I think it's an app on the play store. I've always wondered how do we determine if it's for 567 or 432 etc.. I see MHA-LGRP2 OVS 9.1.0.255 dated 7/29. And what is the procedure for installing this single update file? I've googled and haven't seen. I wonder if we remove the update.app file from the zip file and put it on the sd memory in a folder named "dload".
[Huawei Mate 9 Questions & Answers] xiscoPMI:
I contacted Huawei US yesterday to get some official news about 9.1... Here's the answer (basically nothing...)

Thank you for contacting Huawei USA e-mail support. We will be more than happy to assist you regarding your Huawei Mate 9 device inquiry.

Allow us to inform you that the update is not released all at once but in batches and it can take 2-3 months to reach all devices. In relation to the release of it in the USA, we still do not have an official statement regarding the date.

You can also visit our official website, where you can find different troubleshooting options and FAQs about your Huawei device.

https://consumer.huawei.com/us/support/

we hope you find this information useful.

Best regards,
[Huawei Mate 9 Questions & Answers] Aznruffryder13:
I dont mind trying but will need a little bit more clear step by step instructions on how and where to get files. Thanks
[Huawei Mate 9 Questions & Answers] jeffrimerman:
On page 2 of this discussion you'll see all the links posted by me and Zentico. I don't think either of us could be called experts so I won't attempt to make of my own instructions but in the links are the instructions that I read and was able to update to 9.0. Feel free to post questions if there is anything you need to know. You can PM me also and I'll do my best to explain. The cool thing is that "flashy" program you can download actually tells us what to do step by step. Main thing is download the 2 files you need if you're going to update to 432 or 636 yada yada and put them in your root directory. I did noticed for some reason I didn't see them in my root directory when I got to one step so I had to drag them over to the phone while I was in twrp and they successfully dropped into the internal sd memory and I flashed them from there. I don't want to get you confused, just read the articles we posted and you're 99% there.
[Huawei Mate 9 Questions & Answers] phixion35:
As of last I read and heard, they have until November 19th to release it per the latest 90 day extension Huawei was granted by the US government to conduct business in the US, before they are cut off from all US based partners. Just hoping that they can get Pie released here legit OTA before then (without FF trickery). I'm growing more skeptical by the week...
[Huawei Mate 9 Questions & Answers] louslugger15:
From what I understand of the situation with Huawei existing products that were already sold or on the market are exempt from the ban. The only thing the ban involves is future product like the Mate 30 and release of new phones. It could impact their desire to update other phones released before the ban as I'm sure they would want to put more time and effort into their new software.
[Huawei Mate 9 Questions & Answers] jeffrimerman:
I ran across a post from Aug 8. He says how to upgrade to 9.1 using the new files in FF. Maybe I'll try it soon.

https://xdaforums.com/mate-9/how-to/emui-9-1-mate-9-t3922650/page8
[Huawei Mate 9 Questions & Answers] DeyEatDaPooPoo:
Sounds like BS to me, if I'm honest. Didn't they release Android 9 Pie OTA updates to the Europe and Asia variants a few months ago? They've been saying they're gonna release the update for the US unlocked variant for several months now and nothing. Stuck on Android 8.0/EMUI 8.8.8.377 (C567) and have been for a few months now. Apart from that and it lacking a few important LTE bands for T-Mobile and AT&T service still loving the phone otherwise.
[Huawei Mate 9 Questions & Answers] jeffrimerman:
If you read through some of the recent posts. I was able to update to 9.0 and rebrand from 567 to 432 at the same time. There is a cool program someone made called flashy and it helps your phone update. It uses your command prompt to walk you through the instructions step by step. You gotta download the 2 files needed. I got the 432 europe files. I wonder if I'll get the 9.1 update with my 432 phone now or because I'm in the USA will it not.
[Huawei Mate 9 Questions & Answers] daina:
So...

This totally worked. Gathered all my files together last night before I left work, renamed zips, moved them into C:\ level directory...

Walked in this morning, sighed "f**k it," and used the flashy tool. Took less than 15 mins.

Overall, went through like an OTA. Everything was still there, apps, settings, whatnot. Not sure if I'm still rooted, but I haven't seen any ads on webpages so far, so I think AdAway is still working.

There were a couple of weird things in the process. Upon reboot, phone went to the EMUI recovery (not sure if it's actually the recovery -it's the black screen with the circle on it that clocks updates to 100%), and tried to update. Went all the way through before failing. Uh-oh, I thought. But then, it rebooted. Got the different Huawei logo that I think [MENTION=434537]jeffrimerman[/MENTION] mentioned, and got to the Home screen. Yay! Except there was a notification that said "Android System User Data Locked." Uh-oh. But it was still working things out, working, working. Some other update happened, and my device rebooted yet again.

And all was fine.

I'm on EMUI 9, rebranded from C567 to C432. You guys are geniuses.

Think I'm going to go get me some RR goodness now, I've missed my Remix.
[Huawei Mate 9 Questions & Answers] jeffrimerman:
I'm thinking of trying this method to get to 9.1. Seems simple enough.

https://xdaforums.com/mate-9/how-to/emui-9-1-mate-9-t3922650/post80751227#post80751227
[Huawei Mate 9 Questions & Answers] zgfg:
Can't believe that root survived (you must have stock Ramdisk/Recovery now), hence AdAway cannot update hosts file anymore

But if your old hosts file was not reset (by e.g. Factory reset), blacklist is still there and you are 'protected'

Specially, if you updated to EMUI 9.1 which brings EROFS, even once rooted, you must enable Systemless option in Magisk to make the AdAway working
[Huawei Mate 9 Questions & Answers] Okiera29:
It works!!! I am now the fourth! LOL Took most of the evening as I forgot I did not re-root when I rolled back to stock a while ago. Got magisk reinstalled and rooted and this worked like a charm. I am now on 9.0.1.191 Not sure when and if it will update, but this now opens the door to custom 9.0 roms. Thanks for being the trailblazers!!!
[Huawei Mate 9 Questions & Answers] crisismcnoodle:
Hi all, stupid question, but is this going to only work if we have bootloader unlock? I'm completely stock c567 as of now. I'd love to be #5 but I have next to no experience flashing roms.
[Huawei Mate 9 Questions & Answers] Okiera29:
Yes, I believe you must have your bootloader unlocked and be rooted as well. At least the four of us are. Look at the original thread for the tool you use. It doesn't state you have to be unlocked and rooted, but it does say you can not root afterwards.
[Huawei Mate 9 Questions & Answers] zgfg:
Why do you say that it's not possible to root EMUI 9.1?

It is possible, EMUI 9.1 is EROFS, but Magisk (latest v20.1, Canary v20.2) supports the read-only System (systemless root)

You have to patch Recovery (no more Ramdisk) - read Magisk instructions:

https://topjohnwu.github.io/Magisk/install.html#huawei

It means that you won't be using TWRP, but you don't really need it for rooting

For example, read the thread about rooting EMUI 9.1 for P10:

https://xdaforums.com/p10/how-to/guide-magisk-root-huawei-p10-vtr-l09-t3916801

Of course, you will have to use firmware for Mate 9, not for P10 .

And to extract by Huawei Update Extractor stock recovery_ramdisk.img, (when you download firmware from FirmwareFinder and extract the zip)

Google on XDA for similar instructions how to root EMUI 9.1 for P20 Pro, etc, you will see it is always the same procedure, just different firmwares for different devices (for some devices there might be problems with particular stock apps upon rooting, but people always found the fixes)
[Huawei Mate 9 Questions & Answers] crisismcnoodle:
Figured as much. I'm nervous about bricking it as I use my phone for work but maybe it's worth a try anyway if it doesn't say anywhere unlock and root are mandatory. Next time I'll buy a phone that flashes easier. ¯\_(ツ)_/¯
[Huawei Mate 9 Questions & Answers] daina:
How did you get Magisk working on 9.0? Everything I've read makes the process for Magisk rooting seem like a PITA, including having to boot into recovery every time you want root...
[Huawei Mate 9 Questions & Answers] zgfg:
Take a look also two posts above (post #37).

Sorry, I haven't unlocked Bootloader to do it, but if you read here elswhere on XDA, for P10, P20 Pro, etc - it works just fine on those phones with EMUI 9.1 (and it did 6 months ago with EMUI 9.0), hence no reason that the same procedure would not work for Mate 9.

Btw, Magisk developer tests himself on EMUI 9 (among other phones), and as linked two posts above, instructions for installation to EMUI 9 have months ago been incorporated to the Magisk installation guide
[Huawei Mate 9 Questions & Answers] daina:
Yeah, I noticed that right after I posted.

It does sort of look like a pain to do. Is it?

Also, the only reason for me to root anymore (really) is to get Google Pay working, and even then, Magisk wasn't quite up to snuff, had to use a fix suggested by [MENTION=2449699]BostonDan[/MENTION].
[Huawei Mate 9 Questions & Answers] zgfg:
It's not that complicated, I usually install it similarly to P9 with Oreo (patching, but ofc Ramdisk image, then flashing by Fastboot)

But I don't see a big value in root either (ads can be blocked by DNS66, bloatware disabled by ADB), specially considering the cost and complications (Testpoints) to obtain the Bootloader code now (I got this Mate 9 already with EMUI 9, hence could not buy the BL code old way from DC)

Moreover, EMUI 9.1 is EROFS, hence System is read-only, and everything (like AdAway for hosts file) must go in a systemless manner - e.g., you cannot write to the /system partition, hence it's not 'real root' I was accustommed to :)
[Huawei Mate 9 Questions & Answers] daina:
And now, Bootloop...

So... was successful at this, and was successful flashing RR Pie.

Tried to go back to stock, couldn't.

Now am stuck in a bootloop.

How do I properly flash stock firmware (which I'm assuming is region C432 now)? I have access to fastboot, but other than that, bootloop city. Do I take those two files (the same ones you used, [MENTION=434537]jeffrimerman[/MENTION]), and extract what I need? Am I missing something? Partitions seem to be different, for one thing.

Was able to resuscitate it momentarily last night after bootloop by flashing openkirin's Omnirom, but I couldn't leave well enough alone, and tried again today to return to stock. Nothing doing.

Anybody?
[Huawei Mate 9 Questions & Answers] jeffrimerman:
I don't know how to go back to stock and not sure if we can. I just wanted Pie and want to got to 9.1 pie eventually. Are you able to get into recovery? Or stock recovery?
[Huawei Mate 9 Questions & Answers] zgfg:
Did you try eRecovery:

- switch off, connect to charger, press and keep pressing Vol+

-boot and from eRecovery try (in that order) Install latest firmware and recovery, followed by Factory reset (also from eRecovery)

If it ain't working, find out were you really on e.g. c432 and 9.1 from Fastboot:

fastboot oem get-bootinfo
PAUSE
fastboot oem get-product-model
PAUSE
fastboot oem get-build-number
PAUSE
fastboot oem oeminforead-SYSTEM_VERSION
PAUSE
fastboot getvar vendorcountry

If it confirms that it was really on L29, c432 and 9.1, download the corresponding "MHA-L29 9.1.0.252(C432E7R1P8...", unpack - maybe they have instructions in, and flash by DLOAD:

https://support.halabtech.com/index.php?a=downloads&b=folder&id=11769

(Firmwares from that site, as well as from androidhost.ru are applicable for DLOAD - firmwares from FirmwareFinder are not. But on androidhost.ru you will not find 9.1 firmwares for c432)
[Huawei Mate 9 Questions & Answers] daina:
So, first - thanks for these...

This is interesting. I ran all these fastboot commands, and here are the results.

fastboot oem get-product-model
...
(bootloader) MHA-L29

fastboot oem get-build-number
...
(bootloader) :MHA-L29 9.0.1.191(C432E7)

fastboot oem oeminforead-SYSTEM_VERSION
...
(bootloader) :MHA-L29 8.0.0.376(C567)

fastboot getvar vendorcountry
vendorcountry: hw/usa

It looks like I successfully "rebranded," but that parts (or partitions) know that it's still an Oreo Huawei from the USA.

Thoughts?
[Huawei Mate 9 Questions & Answers] zgfg:
I wouldn't worry that much about, I had regular OTA update from 9.0.1.191 to 9.0.1.192 and then to 9.1.0.252, but in Fastboot it's similarly showing:

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot oem get-build-number
(bootloader) :MHA-L29 9.1.0.255(C432E7R1P8)

C:\Program Files (x86)\Minimal ADB and Fastboot>fastboot oem oeminforead-SYSTEM_VERSION
(bootloader) :MHA-L29 9.0.1.191(C432E7R1P8)

Have you tried to download from Halabtech - might be tricky with their free account (there are user's daily limit in GB and file's daily limit in the number of downloads).

Suggesting you to download from PC, not from mobile phone having G-Drive installed (it started for me downloading to my G-Drive, without asking me to choose, and by the end it failed but I was not allowed to try again because of the daily limit; next day I was not allowed to download because of the downloads number by other users)
[Huawei Mate 9 Questions & Answers] daina:
Thanks. I was able to download from Halabtech (that was a pain), but I have the 9.0.1.191(C432E7T1P8T8) file.

Now I just have to figure out how to load these onto my phone, since I only have access to fastboot. Flash TWRP, maybe, and adb push them?
[Huawei Mate 9 Questions & Answers] zgfg:
Don't know how the package looks like, but it must contain something like update_full_base.zip ,(do not unzip that file) or so (maybe more update*.zip files?)

You will need to put it to SD card (by using another phone or SD card reader on the PC) or to USB OTG, to /DLOAD folder.

Then switch the phone off, press and keep pressing Vol+ and Vol- simultaneously (while not being connected to charger or PC) and boot

See also:

https://huaweiflash.com/how-to-flash-huawei-stock-firmware-all-methods/
[Huawei Mate 9 Questions & Answers] daina:
managed to get it onto an SD card, rebooted (VOL + plus VOL - plus POWER), went into recovery and said Install Failed. Didn't even take a second.
[Huawei Mate 9 Questions & Answers] zgfg:
It didn't show a circle, Verifying update?

Are you having stock Recovery during the DLOAD
[Huawei Mate 9 Questions & Answers] daina:
I'm pretty sure there is a circle, and the "Verifying update" lasts, like I said, less than a second before producing "Update Failed!" in red text beneath the circle. And I'm not even sure that stock recovery works on my device, anyway—the couple of times my device hasn't booted into e-recovery, it boots into something that sort of looks like stock recovery, but blank. Have tried to flash recovery partition (recovery_ramdisk) with no luck. Even tried to flash twrp, no luck.

Going to try DLOAD method once more this weekend on a blank, freshly formatted SD card and see what happens. I'm getting nowhere just issuing random (okay, not completely random) partition flashes in fastboot, and all of the HWOTA threads are a completely confusing jumble.
[Huawei Mate 9 Questions & Answers] daina:
Tried to DLOAD this weekend on a brand-new exfat-formatted SD card, using files provided by Halabtech, the 9.0.1.191C432 files (since that's what I "rebranded" to), and nothing doing. Again, took less than a second -I think it's failing some sort of check that the device is doing to make sure it's the right files with the right device... Failed... Running out of ideas, thinking about maybe trying to DLOAD EMUI 8 files, see what happens...
[Huawei Mate 9 Questions & Answers] daina:
This post did the trick. I managed to get EMUI 9.0.0.191 back up and running.

I highly recommend taking note of this post, ESPECIALLY for the people upgrading to PIE via this thread. I followed its instructions to the letter, and the post's author states that they have successully unbricked their device several times using their procedure. Ultimately, it seems to be a variation on a HWOTA method, but hey, it worked for me, too. Obviously, you'll want to substitute the appropriate ROM build, TWRP recoveries, and nocheck.img files.

Aside from that, up and at'em! I'm back, baby!

On a side note, anybody have any advice on locking/re-locking bootloader? I don't give a fig about root anymore, but I do want to be able to use Google Pay. I'm only wary of somehow causing a bootloop in the process...
[Huawei Mate 9 Questions & Answers] zgfg:
For completeness (to help to others) and since the linked post is for Huawei P20, could you please put together the links for TWRP and no-check Recovery for Mate 9, you successfully used

PS: HWOTA methods (in various forms as TWRP or batch scripts, and for various devices) were actually made (to automate) upon the discovery of no-check modifications in stock Recovery:

https://xdaforums.com/p9/development/eva-nocheck-recovery-flash-unapproved-t3705125
[Huawei Mate 9 Questions & Answers] daina:
post edited, thanks!
[Huawei Mate 9 Questions & Answers] zgfg:
Seems there are some dead links above...

Anyway, a no-check Recovery which is also good for Mate 9 (MHA), for Oreo (!):

https://mega.nz/#!UlklhYLD!rzn-ifOYF_HChWuWjYoqvcJQEXsUDE25LcQyfedKM2k
[Huawei Mate 9 Questions & Answers] ewingr:
Posted wrong thread...
[Huawei Mate 9 Questions & Answers] ewingr:
Now this is the right thread :D

The link to HWOTA8 is dead earlier in this thread. It seems there are multiple versions out there.

Any chance someone can link me to the right one? I'm late to the party to upgrade my Mate 9.

Thanks in advance...
[Huawei Mate 9 Questions & Answers] sidliu:
I have MHA-L29 US version as well, and stuck at android 8. After learning the gesture navigation in android pie, i want to upgrade. I follow the posts from page 2, using build 9.0.1.191 C432E7. It is now working properly. One hiccup I want to mention is that at some point during the flash.bat, it asks for su and couldn't find it. I realized that I need to root the device first (I use Magisk). Now it is running the version quite smoothly so far.

Thank you very much for the hard work and discovery. My beloved mate 9 feels new again!
[Huawei Mate 9 Questions & Answers] zgfg:
The latest for MHA-L29 c432 is 9.1.0.252 (almost a year old)

If you don't receive by OTA (you must have working SIM card), you can try:

- checking manually for OTA by opening System Update

- rebooting to eRecovery (plugin to charger, reboot while keeping pressed Vol+) and trying to Install latest

- using HiSuuite, there is an option at the bottom to install/update a firmware

You can also update to b252 by DLOAD method.

Download the following package (official Huawei service repair), untar, find two folders inside, Documentation and Software.

In the Documentation folder there is the official user guide (English) how to use Software to apply DLOAD:

https://androidfilehost.com/?fid=4349826312261725171

For any of the methods as above (except for eRecovery), you must uninstall Magisk and revert to stock Recovery (must not have TWRP)

Actually, eRecovery, if it won't update to b252, it can reinstall b191, thus restoring b191 stock Recovery (before e.g. you go for DLOAD to b252)
[Huawei Mate 9 Questions & Answers] sidliu:
i downloaded MHA-L29 9.1.0.252 C432E7 version from halab tech.

dload does not work. give installed failed error almost immediately. Somehow, it has MHA-L29B in the filename. not sure if this has anything to do with it. No updates available from OTA.

Anyone has success?

---------- Post added at 09:06 AM ---------- Previous post was at 09:05 AM ----------

Just saw this. Thank you. I will try today.
[Huawei Mate 9 Questions & Answers] sidliu:
well, no luck, so far. Doing update directly on the phone or in HiSuite don't update. Keep saying it's up to date. or "your device is not supported for system recovery". erecovery failed. dload also returns failure immediately. I had twrp and Magisk before I upgraded it to pie. However, I think after upgrade, twrp is gone. As doing Vol- & power enters regular fastboot recovery. Vol+ & power enters a recovery mode. Couldn't figure out how to restore stock. will try next.

but even 9.0.1 is good for me now.
[Huawei Mate 9 Questions & Answers] zgfg:
If I'm not mistaken, you did not try DLOAD with Magisk installed (must not be)

Maybe you can try this thing (or ask for help there how to force customized HiSuite to do the update):

https://xdaforums.com/showpost.php?p=82218143&postcount=1541
[Huawei Mate 9 Questions & Answers] sidliu:
I see. The proxy might be to pretend that I am from Europe. Thanks a lot! Will give it another go.
[Huawei Mate 9 Questions & Answers] beastonprowl:
I have updated using this download.Seems to be working good. Had to install Emui9.1 themes later .Thank you.
[Huawei Mate 9 Questions & Answers] sidliu:
Do you mean https://androidfilehost.com/?fid=4349826312261725171 file here? Are you in the US? What method do yuo use to upgrade? Can you describe a bit more?
[Huawei Mate 9 Questions & Answers] beastonprowl:
Yes same file. I did as OP posted.
[Huawei Mate 9 Questions & Answers] sidliu:
Cool thanks. 9.1 ?
[Huawei Mate 9 Questions & Answers] beastonprowl:
Yes this is 9.1.
[Huawei Mate 9 Questions & Answers] sidliu:
Give me hope now. Need to figure out how to clean mine so that all Magisk TWRP etc can be removed. I am not sure how to do it yet. I don't see any trace of them after upgrade to 9.0.1 EU.