yashsingh1/xdaforums huggingface dataset:
[Huawei P9 Guides, News, & Discussion] zgfg:
Sorry, you didn't understand:

- For installing OpenKirin and questions about, please follow their guide, ask questions in their XDA thread or directly over their hot Telegram channel support (read their Support instructions to find about their Telegram channel)

- FaceUnlock patch by [MENTION=6870018]Tecalote[/MENTION] is only for stock Oreo b540, it has nothing with OpenKirin ROMs, please consult OK documentation do they support FaceUnlock in their ROMs.

Please to be understood: Once you migrate to OK=OpenKirin, you are no more on b540

- Network patch will persist when you migrate to OpenKirin, if you exactly follow the OK installation instructions
[Huawei P9 Guides, News, & Discussion] miksly:
Oh yes thats all right...

my question was, if i have b540, and i need to reset to factory into b540 (OREO) i need to reflash the faceunlock and network patch?

i have EVA-b540-EMUI-RECOVERY_RAMDIS.img instead....

thanks a lot

i dont think i put on the OPENKIRIN because im afraid something will go wrong... im not rooted.

thanks
[Huawei P9 Guides, News, & Discussion] zgfg:
All questions about installing, resetting b540, going back to Nougat are instructed in OP posts - did you mind to read them?

I really don't recall every detail (and I will no go to search for them in the OP posts instead of you :)

Btw, if/ever you come to the point that:

- You migrated to b540, installed all patches

- After that you do Factory reset

You will easily see yourself if SIM/IMEIs and Face Unlock still work or not - and if needed you will quickly and easily repeat patches

We shall not waste time on endless hypotethical questions (99% of them are described in OP posts, and you can also search through the thread for e.g. Factory reset and you will find out and learn about its prerequisites, consequences, etc

Edit:

See more about in the next post/answer
[Huawei P9 Guides, News, & Discussion] zgfg:
More about patches:

- If your phone was original L09 (single SIM/), then upon migrating to b540: It will show undefined IMEI and SIM card will not be recognized

- If your phone was original L19/L29 (dual SIM), then upon migrating to b540: SIM will work only from slot #2 (slot shared with SD card), but will not work from slot #1

In both cases you need NW patch to fix it

But NW patch is much more then just a fix for IMEI/SIM: (and for NFC on L09)

- it provides WiFi+ parameters for numerous worldwide operators that are not included in the Chinese stock b540

- it makes WiFi+ and Location sharing working

- it debloates and fixes things for Playstore and GApps

In short, it transforms stock Chinese b540 into the fully international b540 Oreo (Huawei decided to release only Chinese Oreo and witheld international release, this method is how to transform it to the full international firmware)

Upon Factory reset: the fix for IMEI/SIM shall survive, but for other fixes listed above, be strongly advised to reapply NW patch again

Face unlock patch is only for face unlocking, but (because of the way which partitions the two patches affect and in which order) be again strongly advised: whenever you reapply NW patch, then follow also with reapplying Face Unlock patch again

Shortly:

If you ever do Factory reset, then reapply NW and Face patches again (even if SIM and Face work without patches), (and rooting), as first time when you migrated to b540 - follow the same OP instructions.

Besides, flashing the two patches if 5 minutes work, while Factory resetting (with backing up prior and restoring later) will take you an hour or so

----

People think they don't need root and it might be risky/complicated to install Magisk, etc

Unfortunately, even if you don't need rooted phone you still likely need Magisk:

- You can download SafetyNet app from PlayStore and without Magisk, SafetyNet check will fail

- Because of SafetyNet failing, PlayStore will show your device as Not certified and certain Banking apps and so will not work on b540.

To pass SafetyNet (to e.g. mask that your Bootloader is unlocked - upon NW patch you must never re-lock Bootliader because it would wipe the NW patch), you need to install Magisk (hence you do need 'root' even if you personally don't need/know or like root)

All these are the prices for migrating to Chinese Oreo - who doesn't like it, should better stay with the clean, stock, international (Nougat) Lx9 :)
[Huawei P9 Guides, News, & Discussion] virtualflyer:
Hi, I was on chinese oreo, then openkirin, but I wanted to get back to stock.

Unfortunately I did not read properly and messed up. I am not sure what caused the problem, but my situation is now the following:

I can access fastboot, from where I can flash anything properly.

I can access recovery once flashed, TWRP or standard.

If I flash again openkirin from fastboot, standard recovery fails to wipe data (at around 15%) and the system does not boot (it will hang on "your device is booting now"

E-recovery (the right way to do this) cannot be accessed as the system hangs on the same screen.

I believe hwota cannot do anything once in oreo as recovery partitions are different and then again, I can access recovery myself.

Is there anything I can do to try and salvage the phone? I do not care if I cannot have erocevery and go to stock again, but I would like to have a booting phone (openkirin is fine).

Thanks for the help.
[Huawei P9 Guides, News, & Discussion] zgfg:
This is an old guide by [MENTION=7519966]udamster[/MENTION], still valid (however, it wil restore now b540, not b528, how to properly go back from OpenKirin to stock:

https://xdaforums.com/p9/development/rebrand-update-tool-hwota7-p9-eva-t3820849/post77897170

Yeah - but there is HuRupdater method, it is not bound to Nougat (I have no experience with, you may need to search on XDA about)

If you don't flash OK again (?), are you able to boot to eRecovery (not Recovery)?

If so, then did you try Download and install latest firmware and recovery - it would reinstall stock b540 ( you will need to apply NW patch again, etc).

If you cannot boot to eRecovery, are you sure that you didn't flash something by mistake over eRecovery - if so, you will need to restore eRecovery by following Edit 2 ifrom:

https://xdaforums.com/p9/development/rebrand-update-tool-hwota7-p9-eva-t3820849/post78774472

In the same post you can find link to my Mega with the image of b540 stock eRecovery.

If doing that, upon restoring eRecovery, restore also stock Recovery (flash from Fastboot or from TWRP itself in Recovery), before going for Download and install latest firmware from eRecovery

---

Finally, If you cannot reinstall b540 from eRecovery, you can install service repair b528 by DLOAD:

https://xdaforums.com/p9/development/rebrand-update-tool-hwota7-p9-eva-t3820849/post78721851

You will need to use another phone ( connected to PC) or SD card adapter to prepare DLOAD folder on your SD card (or use MTP, but from TWRP).

After that, OTAs shall update you to b540.

(Maybe that is the most safe way to get the phone back with AL10c00 Oreo)
[Huawei P9 Guides, News, & Discussion] virtualflyer:
First, thank you.

I found the guide while I was messing it up, too late! :D

I think it's already flashed, I can reflash it, but it would not change much. I believe I had been applying the update.zip manually from ADB and had to reboot the phone as it was stuck for 10-20 mins. So probably something was misflashed at that point. Most likely some partition that is flashed by that file but not by OK

I will try this and let you know, thanks!

I will try this as well, but I believe it might work from erecovery
[Huawei P9 Guides, News, & Discussion] virtualflyer:
So, flashing erecovery doesn't seem to work (it even seems that flashing a different recovery does not actually flash it, although there is no error and it eems like it has worked).

The service firmware. I have created a dload folder, put update.zip and the AL10_all_cn folder in it (with its zip inside). Then reflashed the stock recovery (it seems like it does not work in TWRP) and booted. I see an "installing update screen" but it turns off almost immediately and then loops this forever.

More so, it has reached a stage where the "you are unlocked not to be trusted blah blah" menu is never the one where you can press up, press power or wait, it's always the "your device is booting" version which leads to recovery.

edit: I believe I am not really entering the dload mode (it does the same thing whatever I do), but the recovery. My idea now is to get it do die (battery) and then try to boot again in something that is not recovery... Any other ideas?

Actually, if I try to enter dload mode by pressing up and down and, when it lights up, connecting the cable, it does that. If the cable is connected from the beginning it says installing update, but with a usb cable shown, it remains stuck at 5% but doesn't bootloop.

Would it be worth it to spend 39€ on DC phoenix, set info back to L09 and reinstall from there? Or should I put those on a new phone as it won't work.?
[Huawei P9 Guides, News, & Discussion] zgfg:
In the service repair package, there is folder Documents or so, with the guide how to flash DLOAD. Please double check do you have to put the two or three zips (it was long ago, I don't remember details now) one by the other in DLOAD folder, or you must have a subfolder in DLOAD folder (as you did)

Also, DLOAD should work without USB cable, switch off, press and keep pressing both Vol+ and Vol-, press Pow

You can also look for HuRupdater method (I have no experience with).

As long as Fastboot shows Bootloader/Phone (and FRP - not displaying on Oreo) open, you can flash from Fastboot

You can chat with DC Phoenix before you buy, maybe it costs less than 39 EU (sounds a lot). It's a credit, you can use (leftover) for any phone, but I don't know if it fails, can you negotiate that you reuse the same credit (spent for unsuccessful repair) for another phone
[Huawei P9 Guides, News, & Discussion] virtualflyer:
My phone is saved.

One of the problems was that the SD had failed in the meantime and become read only... I could write, or at least it seemed like I could, but it was not persistent. So for some reason one of the two dload file was written, while the other one was not but I did not notice. I repeated everything in internal storage and now it started, but said update failed.

I did the same for HuRupdater and it did not work, but it worked from the internal storage and the phone booted. Now I am not sure I have erocevery back, I am not sure I will be able to flash everything, but I am tremendously happy even at this stage.

Please do let me know if I can donate to you to properly say thanks to you as well.
[Huawei P9 Guides, News, & Discussion] zgfg:
Ok, I'm glad you saved (more about below) your phone but also happy that something interesting and worth is going on (sorry for your brick)

So, does your phone boot to the System now?

In About, what version/build does it display?

You can also check what does it display about its build/version in Fastboot:

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

Was your phone originally L09 (single SIM) or L19 (dual SIM)?

Does it recognize SIM card (if it was dual SIM, it should recognize SIM if put to the 2nd slot, the one shared with SD card - even without NW patch)

In your shoes, ,I will first of all try now to reinstall/update the stock firmware, hoping it will fix all things.

For OTA, you need SIM (although it will download over WiFI).

For eRecovery, it can maybe (re)install firmware even without SIM - but make sure you have good WiFI (and if you can boot to System, configure your WiFi connection in the System).

You can also try reinstalling/updating firmware from. HiSuite

Ofc, for OTA and HiSuite, it must boot to the System.

For OTA, it must have stock Recovery, not TWRP (which one do you have?)

Btw, if you plugin to the charger, can you boot to eRecovery?

Formally, NW patch is for b540 but AFAIK, it was confirmed that it worked also for b535, hence maybe it can fix SIM even for b528 (as needed for OTA).

Although, [MENTION=6870018]Tecalote[/MENTION] originally had NW 'patch' for b528 (in fact, instructions which XML files to change on a rooted phone to make it recognize SIM) - I think, he moved that old instructions to some later post when he was preparing NW patch for b535, and there is probably a link to such post in his new OP instructions

Last but not the least, you could probably flash OK ROM from Fastboot (it must not matter for OK ROM are you on b528 or b540), and there is a way to decrypt and erase Data from TWRP (instead of Factory Resetting from eRecovery), to make it to boot to OK, but you will need to fix the SIM card(s) before
[Huawei P9 Guides, News, & Discussion] virtualflyer:
I am sorry, I might have not been clear. I was just happy it booted, so I wrote that post, but I had not tried anything more yet.

It booted to a b540 (the update.zip and other files were all from Tecalote's original post). The recovery was a chinese one (stock) that I do not remember seeing the first time, but I flashed TWRP on it (the turkish does not correctly read /system, but Praetorio works fine).

I flashed the network patch and everything works properly in EMUI 8, which is also where I was hoping to end up. Sim is read, magisk works, recovery works, even erecovery is now back (maybe) and fastboot has always been functional.

If you want I can do all the tests you asked for, but I think my phone is now just like every other phone, as the update files were the ones from Tecalote. It is originally a P9 single sim, european version.

The only things I missed from OK were the navigation gestures without navbar (but that can be solved almost seamlessly) and picture in picture, which does not seem to have an easy solution, even more if you hide navbar. But to have good battery life and great camera back is more than enough.

I think I will keep it like this until its end of life (it was already pretty good in emui 7 for me), but I am so grateful that day is not today! Please let me know if I can thank you somehow.
[Huawei P9 Guides, News, & Discussion] miksly:
EMUI 8 it's very better of 5.

Android 8 have less consuption about battery. it's more responsive and have many funcionality.

im really impressed for example for maps in windows when arrive an whatspp message.

really good.

thank you

i willnot do the root process.

for me it's ok now.
[Huawei P9 Guides, News, & Discussion] davidkejzlar:
How is it with security updates? In teammt database latest VIE-AL10 patches are from december 2018, do you get newer security updates, or is it 'just' Oreo with no more updates?
[Huawei P9 Guides, News, & Discussion] ant0nwax:
No further update method known, officially 540 patch C02 is the latest and yes December 2018 security patches

still face recognition is worth that game :)

at least the Chinese have my face now in their database, isn't that great? I am a star
[Huawei P9 Guides, News, & Discussion] paolig:
Tecalote, can you please upload this modified app? I tried to install different apk, but no one it's working... Thanks.
[Huawei P9 Guides, News, & Discussion] miksly:
i download it from APKpure site or APKMIRROR site...
[Huawei P9 Guides, News, & Discussion] Tecalote:
Sorry for the late response, yes I can upload later.
[Huawei P9 Guides, News, & Discussion] Tecalote:
Netflix moded apk - see attachment
[MENTION=4583313]paolig[/MENTION]
[Huawei P9 Guides, News, & Discussion] paolig:
Thank you so much for your attention! Just another question for you. All application installed manually, like Playstore, need to be updated manually too? No way to make it automatically? Thanks again.
[Huawei P9 Guides, News, & Discussion] Tecalote:
If Playstore is already installed on your phone and working, it will automatically update. Have you working Playstore ?
[Huawei P9 Guides, News, & Discussion] paolig:
Yes, but seems to take care just of applications installed from it.
[Huawei P9 Guides, News, & Discussion] zgfg:
Playstore will update all apps that can be updated from, not only those installed by Playsrore.

Eg, I installed GBoard from apk, it updated once it was available. It also updated Huawei Backup and one more Huawei app.

Btw, you can also enable updates from Huawei stock AppGallery (this is useful app, not a bloatware)
[Huawei P9 Guides, News, & Discussion] Alex91Sc:
How to restore hivoce?

I want the speedy call with the volume button -

instead the device remains uncertified, I run the guides but it doesn't work
[Huawei P9 Guides, News, & Discussion] zgfg:
This is not appropriate way for communication on XDA - do you really expect that such your post deserves any answer or help?!

You can google for paid help from DC Phoenix or Ministry of Solutions
[Huawei P9 Guides, News, & Discussion] PhoneTechShop:
All ok now please add there that user needs to download his OWN 3 files AGAIN and rename it and copy to update folder !!!

Thnx
[Huawei P9 Guides, News, & Discussion] BIGWORM:
Cleaned up thread. We can all ask for help in a polite manner. Also, searching doesn't hurt if the solution to a specified problem has already been found. Thanks.
[Huawei P9 Guides, News, & Discussion] xxxvego:
How to enable Huawei Cloud when I have login error message?
[Huawei P9 Guides, News, & Discussion] PhoneTechShop:
Reset storage
[Huawei P9 Guides, News, & Discussion] seitentaisei:
Hi, Can I do this on a non-European model? I'm using an EVA-L19c636 and not sure if there's a network patch I can use when I rebrand my phone. Thank you!
[Huawei P9 Guides, News, & Discussion] zgfg:
You will rebrand to AL10c00, and NW patch for L19 will be good for you
[Huawei P9 Guides, News, & Discussion] Courage2000:
Well...

I followed the tutorial and it worked great, but I need to reset the device and here is where all got downhill.

After the resets, the phone was stuck in a boot boop.

I've used the HiSuite to download and install the firmware, but to my surprise, it was the Chinese version, Oreo and the warning about the phone being unlocked disappeared.

The problem is that I cannot connect to the network. Can I apply the network patch?
[Huawei P9 Guides, News, & Discussion] zgfg:
Once you rebranded, OTA, HiSuite and eRecovery will give you rebranded (Chinese) firmwares.

If you want to go back to e.g. c432 Nougat, please read OP instructions how to do.

Please be specific, what is exactly your full firmware name and build number, as it appears in System About.

Edit: Factory reset with TWRP, root/Magisk or Eco Kernel causes boot-loop.

All those partitions (Recovery, eRecovery, Ramdisk, Kernel) must be flashed back to stock before Factory resetting.
[Huawei P9 Guides, News, & Discussion] Courage2000:
The problem is that I need to unlock the boot again, from what I understand.

I like Oreo, But I tried to apply the TRW and I cannot do it.

Captures attached.
[Huawei P9 Guides, News, & Discussion] zgfg:
Ok, so you are on AL10 c00 b540 and NW patch and Face Unlock add-on apply for b540

In Chinese firmware, you don't have (and didn't have before resetting) OEM/FRP - it must be unlocked.

Check when you boot to Fastboot and just unlock the Bootloader (same code for the particular phone always applies)
[Huawei P9 Guides, News, & Discussion] Courage2000:
On Fastboot, I see Phone Locked (green letters).

I have the unlock code, so I'll try to unlock the boot.
[Huawei P9 Guides, News, & Discussion] xxxvego:
Guys, how to do Factory reset/clean install ROM?
[Huawei P9 Guides, News, & Discussion] zgfg:
You can go to eRecovery, do Install latest and after that Factory reset also from eRecovery.

Then boot to System

You will then probably need to unlock Bootloader again - it will trigger one more Factory reset

Accept OTA Patch 02 and then apply NW patch and Face

---

If you are on OpenKirin, you must flash stock System before all
[Huawei P9 Guides, News, & Discussion] xxxvego:
I have a different problem. After restoring factory settings, I can't add a Google account. When trying to add a google account, the message "Checking data ..." appears and after a while a black screen appears, which turns off after a few seconds. How can I fix it?
[Huawei P9 Guides, News, & Discussion] zgfg:
Make Factory reset

If using any backup/restore, do not restore GApps.

Do not flash any zip for Playstore, just install Google Play app, you can take it eg from my Mega (not the newest, but anyway)

https://mega.nz/#F!JwkVyRya!Rb7OUE0z3PEpXBRxGOM-vQ

Btw, without Magisk, SafetyNet (CTS profile) will fail but it should not prevent you using the Playstore (it only affects paid services).

Although I'm not using Playstore paid services, and I root first by Magisk to have clean SafetyNet, before installing Playstore
[Huawei P9 Guides, News, & Discussion] xxxvego:
I have installed the latest version of Playstore but cannot login / add google account. I do all this immediately after factory reset.

Latest Magisk and magisk manager. CTS Profile true.

Now also after the reset OTG don`t work.
[Huawei P9 Guides, News, & Discussion] zgfg:
Last time I did a week ago, exactly this way, with no problem:

- eRecovery, Install latest, Factory reset

- Boot to System, did not install or configure anything, just enabled Developer Menu and USB ADB

- Fastboot, unlock Bootloader

- Boot to System, did not install anything, just let OTA Patch 02

- Fastboot, flash TWRP

- TWRP, install NW zip

- System (still not installing or logging)

- TWRP, flash patched Ramdisk (latest Magisk Canary)

- Systen, Magisk Manager (Canary), showing SafetyNet ok

- Then I installed Google Play and logged in to my Google acc
[Huawei P9 Guides, News, & Discussion] xxxvego:
Ok, I will try with your steps
[Huawei P9 Guides, News, & Discussion] zgfg:
Patched Ramdisk for b540 and Magisk Manager are also on my Mega, link in previous post
[Huawei P9 Guides, News, & Discussion] sebasmadd:
Hi, I follow all the instructions to rebrand my p9 and update to Oreo, and everything went just fine, I have a couple of troubles here and there but I manage to solve it without much problem. The thing is, I'm from Chile and the only problem I found with this, is that in Google play, some apps that I used before with my P9 when it was on Nougat from Latin America, now it won't let me install it with Oreo, actually there's only 4 apps in particular that doesn't show or won't let me install them, and those are one from my bank, WhatsApp, Instagram and Netflix.. I install all of them via apk but is not the same because it won't update automatically via Google play Everytime there's an updaye, so what can I do?

Thanks!
[Huawei P9 Guides, News, & Discussion] zgfg:
Some apps may not be avilable for Oreo (bank?)

I have WhatsApp on Google Play, no problem

Not using Instagram or Netflix

But heard recently people complaining on Magisk thread, that they have similar problems with Netflix if not on pure, stock ROMs

Maybe, with Magisk and changing device fingerprint, you can trick Netflix - check in Magisk general and Magisk Canary threads, there was discussion last days
[Huawei P9 Guides, News, & Discussion] xxxvego:
After Factory Reset i still have Unlocked Bootloader, it`s normal (in bootloader: "PHONE Unlocked")?

Should I go to next steps ?
[Huawei P9 Guides, News, & Discussion] zgfg:
Even better, few steps less

Are you on AL10 c00 b540?
[Huawei P9 Guides, News, & Discussion] sebasmadd:
So the problem I had is kinda solve (?).. WhatsApp and Instagram even though I installed them via apk an no thru Google play, they're updating normally with Google play.. the app from my bank still doesn't show on Google play but at least I can install it from Huawei personal store (app gallery), is an older version of the app but it works.

The problem I have now, and this one really bothers me, because I have it before I rebrand and updat my phone to Oreo, is that I can use Spotify and then open the camera app because it instantly reboots my phone, it's really annoying.. I think I have my battery damage and probably I will replace it, but that problem is because of the battery, or is it something with this Oreo update?