yashsingh1/xdaforums huggingface dataset:
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
-Stock firmware includes both ROM and Recovery (you see in update.app all partitions), hence eRecovery flashes all at once (if not failing)

-Even when you install stock firmware, it does not mean it will lock Bootloader (it depends on a flag that may be, or not, included to the update.zip)

Btw, as long as you have TWRP, you should keep with Bootloader unlocked

Unlocked Bootloadre does not prevent OTA - hence no fear about having unlocked Bootloader

If you get Bootloader locked, you can unlock it again with the same Bootloader code from previoys tine

- You flashed (no-check) Recovery, hence you have no more TWRP

As desscribed in earlier answers, you can flash TWRP again from Fastboot (as long your Bootloader is unlocked)

-EMUI Recovery is in partition Recovery (if not replaced by TWRP).

eRecovery is in Recovery2 partition

Hence even with TWRP (in recovery partition), you still have eRecovery

To boot to Recovery/TWRP or eRecovery:

- Power Off, keep pressing Vol+, then Pow On

- For eRecovery phone must be connected to charger, for Rexovery/TWRP must not be charging

- As previously instructed you, you can use HWOTA method from post #3 in this thread for updating (even downgrading, but only among Nougat stock firmwares).

With HWOTA method you cannot change cust, hence you must stay within your cust c150
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
[MENTION=7786725]zgfg[/MENTION] Just additional:

The newest Update/Rebrand Tool for EVA can also be used for changing oeminfo/cust and update Firmware on Nougat.

(it's not only made for User's who wants to rebrand to AL10 and do the unofficial Oreo Update)

Hence he could change the cust to c432 - and ofc he would need then the right Firmware for c432 (instead of c150, which I have posted with the Download Links one post before yours).

But changing cust to c432 is probably to complicated for him as not advanced User. I think that's why you didn't mention.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
I

With HWOTA7 he can go even to Chinese Oreo - but let's not complicate if not needed :)

He does have stock ROM c150b366, but with TWRP.

He did not backup (extract and save, or by any similar means) his Recovery before flashing TWRP.

Now he just wanted to go back to stock Recovery (and probably to lock Bootloader then)

Alas, he has no his stock Recovery.img to flash, and stock firmware c150b366 is no more available to download (to exteact its Recovery)

eRecovery method tried but didn't work.

Hence suggesting to use your good old (and more simple than your advanced HWOTA7) HWOTA method, post #3 in this thread, to update to a newer c150b3xx FullOTA-MF firmware - then he will end up with the full stock firmware (which includes stock Recovery) and if wanted, he can lock Bootloader then (if updating stock would not lock it itself)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tribal123:
i thank you guys, btw actually following this suggestionhttps://xdaforums.com/showpost.php?p=78603065&postcount=669 i have deleted TWRP and i'm with eRecovery, so i suppose i have to re-flash TWRP to follow the procedure at post #3 https://xdaforums.com/showpost.php?p=75787156&postcount=3

The problem is that i have tried but with no luck with ADB, give me an error..

do you know some valid procedure or how to check if the phone is really unlocked?

(in fastboot bootloader screen says :

PHONE UNLOCKED

FRP LOCK
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
Settings / Developer options : OEM Unlock must be On (that corresponds to FRP Unlock)

Both FRP and Bootloader must be unlocked to be able to flash.

If you don't have Developer options menu, go to Settings /About and tqp 7 times to the Android build number
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tribal123:
That's the point… i have OEM unlock option.. but is grey, blocked….not selectable...
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Download this Firmware - its a Firmware that can't be found on FF, a Full Service Repair Firmware:

https://androidhost.ru/52n

Download needs a long time - but if you make an Account (by choosing language English) and open this URL logged in, Download Time is less.

Unzip (extract) the zip file. You will get probaly the folder: Software /inside this folder the subfolder: dload.

Copy only the folder dload to your external SD.

dload must be in the main directory of the external SD.

Leave the folder structure inside the dload folder!

There's probably a zip file named SD Card Upgrade.zip and an additional folder like "update_EVA-L09_full_eu" (similar like that) and inside another zip file. Just leave everything as it is.

Only if there would be an add folder for the other model EVA-L19 you can delete

Shutdown the phone. Press Vol+ and Vol- (in the middle down) and at the same time the power button.

Keep pressing this button combination until phone is rebooted to EMUI Firmware Installing - then release all Buttons and wait until the Update is complete and phone automatically reboot.

Now go to the settings /advanced settings /reset (or Backup/Restore /Factoryreset - sorry I am on Oreo and here it's different) and do Factoryreset with Wipe of internal storage.

This will perform a Low level Reset.

After that your phone should be completely restored to Stock Firmware. ;)

As long the oeminfo on your device is really currently c150, everything will be fine.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
[MENTION=1256290]Tribal123[/MENTION] Did you try and how is the result?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
Do you use Conservative only for Little (to save battery while screen is off) or also for Big (UI is no more smooth then)?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] 3m2vinatohr04:
For big:

I've disabled 2 cores then set governor to power save

For LITTLE:

Set max freq to 1306mhz and conservative governor.

As long as the LITTLE's max freq is set above 1khz UI is not lagging.

Overall got at additional 2hrs SOT since I rarely play games, battery was usually exhausted during LTE + hotspot sessions.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] 3m2vinatohr04:
Just in:

I noticed that ka reborn failed to applied settings on boot. I tried to open magisk manager and it said magisk is not installed. I find it weird since i havent done anything out of the ordinary. I tried to boot to twrp but i was surprised that its on huawei erecovery. I am able to use the phone now but no root access. Anyway re root it without flashing fw again?

I was thinking of:

1. Flash twrp again

2. Flash magisk v18

Will it bootloop?

Update:

I tried to flash TWRP but when booting to recovery, it's showing Huawei's eRecovery instead. Anyone?

Update 2:

Okay.. Looks like if I held Vol+ for too long it'll go straight to eRecovery regardless if TWRP is installed. I was able to reboot via ADB

Update 3:

Managed to install Magisk v18 using zgfg's post.

Now back in business :D
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
So everything ok now, good :)

Just a small note, it should have been EMUI Recovery, not eRecovery.

EMUI Recovery comes in recovery partition (where you also flash TWRP).

eRecovery comes in recovery2 partition (you can, but it's not recommended to flash TWRP there).

eRecovery has an additional option - To (re)Install latest firmware.

EMUI Recovery has only Factory reset, Wipe cache, Reboot, Shutdown.

To boot to eRecovery, you switch off, connect to charger (!), press and keep pressing Vol+, switch on.

To boot to EMUI Recovery (or TWRP), the same but without connecting to the charger (!)

As that, you can still boot to eRecovery (not EMUI Recovety), even upon you successfully install TWRP.

Be carefull, Hard reset with TWRP and custom ROM installed, may brick the phone.

PS: I annotated the first photo as "Huawei Recovery", but I should have better put "Huawei eRecovery"
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] 3m2vinatohr04:
Yeah everything is good now. On a side note, looks like what really happened was I accidentally hit the Uninstall button inside the Magisk App.

It's really easy to hit it specially with it's size is large, as well as the button placement.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
Successfully updated Magic Rainbow v4 with Magisk v18 - for update from v16.x to v18 see

https://xdaforums.com/p9/developmen...rainbow-v4-t3759292/post78410402#post78410402

now to Magisk v18.1 by direct installation

All working fine
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] shinji111hirako:
Hi guys! I am fairly new here. My P9 is a EVA-L19 under b393 build. I read that the requirement is at least on b394 and I cannot seem to see any posts on how to update builds. Apologies for this question, I would like to ask on how to update to b394?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
If you don't receive OTA from b393 (?) then use HWOTA method as desceibed in the post #3 in this thread
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] shinji111hirako:
Thanks for the response. I followed the steps as you suggested in post #3 however I am getting 'NRD90M test-keys' as build number. Is this fine since I will be using a different build?

I flashed with the b394 update.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
You did something wring, not as in the OP post.

You must have used FullOTA-MF, from the same cust.

You must rename zip files exactly as decribed - if eg one zip is not renamed as described, method skips flashing it and it results in NRD90M

Or, people on Windows have hidden extensions, they don't see that zip extension is already there, so they add one more ".zip" - again, wrong file name, method cannot find that file and it does not get flashed

Please do it again, but follow the instructions absolutely carefully
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] shinji111hirako:
I am pretty sure that were no incorrect filenames. It was probably I am choosing an incorrect firmware (which is b394).

I would like to ask the correct firmware to choose to install MagicRainbow v4? My build number before having the 'NRD90M test key' is EVA-L19C363B393.

Also, is my device already bricked? Does flashing to a correct firmware will fix this?

Thank you all in advance for your response and have a great day.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
I am an c432, so don't know exactly for c363

But I see on Firmware Finder b934 and b935 even as FullOTA-MF-PV

As FullOTA-MF-PV they should be eligible also for simple DLOAD flashing
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] shinji111hirako:
still unlucky in removing NRD90m, any chance of having this rolled-up to stock firmware?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
To get help you need to describe what/how were you exactly doing

First when you were flashing by HWOTA, which exact full firmware name and package did you take?

Similarly now when you say "still unlucky" - which again stock firwmare from FF did you use and did you flash by HWOTA or by DLOAD

To know was it FullOTA-MF-PV, FulOTA-MF or OTA-MF

If doing DLOAD, you must not have TWRP.

Also, from the several zip files in the FullOTA-MF-PV package on FF, you must use only three, update.zip, update_data_full_public.zip and for the third, that one with L19 in the name (if your phone was L19)

PS: I thought you were on L19c636, but now when I carefully read your post #693, I see you wrote L19c363

>> My build number before having the 'NRD90M test key' is EVA-L19C363B393

But there is nothing on FF for c363 - was your phone really L19c363 or L19c636?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] shinji111hirako:
Apologies, my phone was L19c636. I managed to rollback to MM. I will try to figure out from here. Thank you for your response.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] 3m2vinatohr04:
Anyone here who managed to update to magisk v18.1?

I tried to update via magisk manager but i lost root instead. Ended up reinstalling v18.0.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
Please use the Search in thread (search for Magisk), to find post #688

https://xdaforums.com/showpost.php?p=78835773&postcount=688

PS: Stay on Magisk v18.1, updating to Magisk v19.1 or v19.2 does not work:

- Upon updating Magisk and rebooting, System asks for Password to decrypt Storage

- PIN, etc, fails and it only offers Factory reset

- TG, rebooting to TWRP works and from TWRP it can be flashed back original MR v4 Boot image, or MR v4 Boot image patched for Magisk v18.1 (last Magisk version that works fine so far with Magic Rainbow v4), available from my Mega:

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

I've tried updating from Magisk v18.1 to v19.1 with Encryption only and with Encryption+AVB checked in.

Tried also fresh installation of Magisk v19.1.

Tried also Magisk v19.2 Canary, always the same problem (asking for Storage password, failing to decrypt, forcing to Factory reset)

Same problems have been reported for various Huawei phones with Nougat firmwares:

https://github.com/topjohnwu/Magisk/issues/1390

https://github.com/topjohnwu/Magisk/issues/1409
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
Have you managed to install MR v4 (and maybe also to update Magisk to v18.1).

Everything all right?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] DanialMus:
Hey thanks for your help on installing the latest stock firmware. Now the phone working well.

Unfortunately, the bootloader is locked again. Too bad i don't have the code with me anymore.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
It's not so expensive, €4,5 with Ministry and €5,00 with DC, I think

https://ministryofsolutions.com/paid-services/amp

https://www.dc-unlocker.com/
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] azakura014:
Anyone had sucess with 19.3?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
Tried last time with Magisk v19.2, it was still the same.

Waiting for the ticket on GitHub to be solved (still Open):

https://github.com/topjohnwu/Magisk/issues/1409

But, no problem on P9 running Oreo AL10 c00 b540, Magisk v19.3 (and all earlier v19.x) works fine
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
Try Magisk Canary v19.4 (19302).

'Decrypton password/corrupted storage/must factory reset', now with 19302 resolved on my MR v4 (just updated Canary v19.4 19302over my v18.1), booting again just fine

Issue on GitHub also closed:

https://github.com/topjohnwu/Magisk/issues/1409

Encouraging the others with Huawei EMUI 5.x devices to try this new Canary Magisk

Edit: Even newer Canary Magisk v19.4 (19303) released today (with Canary MM v7.3.3 (227)), all working fine
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] jeremeel2015:
Bro do you think Magisk v20.0 (20000) could be direct install from magisk manager 7.1.1?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
Probably not if you also have an old version of Magisk

I don't have P9 with Nougat anymore, and I have long ago updated through Magisk 19.4 and 19.5 before 20

You can find in this thread my older posts about updating Magisk, maybe they can help you.

Magisk has also its own Installation guide on GitHub:

https://topjohnwu.github.io/Magisk/

but some additional steps were needed for MRv4 ROM for device fingerprint and V4A (see also to OP posts here, for MRv4)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] 3m2vinatohr04:
Magisk v20.1 confirmed to be working via zip flashing in twrp (download it using magisk manager)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] dewille:
I purchased Mi9T Pro and want to give my P9 to someone else. I need to remove all my data from it so the best way is factory reset. However with custom ROM like Magicrainbow I just can't do that via Settings.... I wanted to boot into TWRP like I did millions of times before I upgraded from Android 6 to 7 but I can't..... I flashed TWRP 3.1.1-0 again and it boots into original recovery. I've found the solution and script which helps boot into TWRP right after flashing (I know now if I don't boot TWRP immediately original recovery overwrite) But I can't.... I flash TWRP, press and keep pressing V+/Pow, enter 'fastboot reboot' then unplugged usb. Keep pressing keys till boot info appears and even longer. Also tried to keep pressing V+ and releasing Power key.... and still can't boot into TWRP. I just need to clean up my data/phone. I don't need to upgrade,back to stock etc. Just want to give my old P9 to my mother because her phone costs few buck and it's more toy than smartphone and P9 is still great piece of smartphone. I can now compare it to Mi9T PRO which has Snapdragon 855 and P9 for normal daily use is very similar (speed not screen etc)

EDIT: EMUI: 5.0.1 , Android 7.0

EDIT2: I've read almost this entire thread and found out I've been using wrong twrp image. I downloaded and flashed twrp-3.1.1-1-eva_extended.img and now I'm able to boot into TWRP recovery but it stuck/freeze on this. TWRP boot screen shows up and nothing happens next

[IMG="TWRP stuck"]https://i.imgur.com/jiUzWRa.jpg?1[/IMG]

EDIT3: It works finally!! Just took longer than I expected to boot into TWRP. TWRP 3.1.1-1 extended is also required in this case. Not 3.1.1-0 from official site.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
It's been discussed in other threads that TWRP for P9 from official TWRP site works only on the old EMUI 4 (Marshmallow).

Unfortunately, for their 'official' TWRP releases (development and testing) they never bothered to update their old P9 from the original MM to N (although EMUI 5/Nougat was released by Huawei back in 2017).

Fortunately, needed adaptations were made by distinguished developers from XDA

(But in the OP instruction in this thread, proper TWRP was properly provided since the beginning)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] dewille:
Correct - I got my TWRP images wrong because I had folder on my external SD with old twrp for my previous/first P9 flash back on Marshmallow end stock EMUI and I thought it's latest from EMUI 5. I finally boot into twrp, wiped data, flashed magicrainbow and had pretty much new clean installation except fingerprints (I already knew reflashing not gonna rid my fingerprints). This is ok but there was no camera app. I downloaded some camera app from store and it's fine now. I not gonna work on this phone anymore. I already passed it to someone else.

Thanks for help
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] -Moorex-:
fingerprint doesnt work anymore

i just got safetynet status to true with the attached comment by NervReaper but now my fingerpringt doesnt work anymore and doesnt even show up in the settings
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] jure482:
Coming from stock to b391, b506

i managed to get stock from new world7 and this is how the update goes: first stock b182 then b210full after that its N7.0 update to b386->b391 and now it suggests b506full, is it posable to go on magic rbV4 from b391 or should i update to b506full and try from that?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
OP posts for Magic Rainbow v4 defines the minimal build number as required
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
[MENTION=4889360]curtricias[/MENTION] If you haven't installed KangV Settings (which has a restart menu directly to Recovery after you use restart button you can choose) - you can always enter TWRP by pressing Vol+ and Power until phone is rebooted to TWRP (only without USB) - except you have flashed it to recovery2 instead of recovery... (in this case you can use in KangV Settings restart to eRecovery..)

The certified Playstore is not necessarily if everything works for you as it should..

Thanks for feedback :)

[MENTION=5901491]scaniathe[/MENTION] Thanks :)

[MENTION=4637945]ferchachi[/MENTION] Thanks for your feedback :)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] csmarino90:
I have the ROM working without issues.

I flashed Advanced Settings immediately after MRv4 without the first setup.

The only think that I can said is that battery life seems to be worse. It's an opinion. I don't have technical arguments.

My ROM before flashing MRv4 was C432B398.

Enviado desde mi EVA-L09 mediante Tapatalk
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] curtricias:
I installed KangV settings immediately after I installed mr4. Without a reboot between te two installations.

I installed TWRP with fastboot. Like this: fastboot flash recovery TWRP..... img. Normally it installs in recovery that way?

With the vol+ and power recovery from Huawei boots. When the USB cable is plugged in TWRP boots?

Play store works but.. it's very slow. Apps do install but it takes long before the download starts!

The message posted in the picture appears frequently after a reboot? I ignore it. Is this a problem?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
shutdown P9 completely and after some reboots this message should be gone.

This can be, cause you didn't reboot between flashing Rom and KangV Settings.

It doesn't occur, if you flash first ROM, make setup (without changing the launcher) and flash after KangV Settings..

With Vol+ and Power eRecovery from Huawei starts only, if you are connected with USB or charging cable, but not if USB Cable is disconnected!

And if you have KangV Settings you can reboot to TWRP by choosing: restart to Recovery!

Do one thing with Playstore - close it in the background.

Open settings /apps /Playstore and in storage (above) clean only Cache (not data)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
That's strange, I don't think it's an issue of the Rom - because on my phone (EVA-L09c431) Maps (and everything else) is working as it should..

I tried MRv4 over b394 and over b398 (on which Rom is based)

I really don't know at the moment why you have that problem.

I only know it's very important that the Firmware Update before my Rom must work properly.

If there's any issue on Stock it will be conflict with the Rom in the Background - that's why I recommend to do on Stock Factoryreset with wipe of internal storage.

BTW: Have you verified the md5 checksum of downloaded ROM?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] diabolo24:
Hello

I have no problems with me. I'm on the Magisk version.

V4 flashed on B398
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] curtricias:
OK. Thanks!

Another question.

You posted this.

"But what I did - what I always do - I made after updating the Firmware Factoryreset from settings /advanced settings /backup restore /data factory reset /reset phone with wipe of internal storage..

(on Stock)

After I made the wipes with TWRP and then flashed the Rom.

If I do Backup with TWRP I restart TWRP after to fix the mount points.

(for Patch zip also recommend)

I didn't flash KangV settings directly after Rom, but after first setup.

I never flash zips in the queue, always one by one."

I want to make a new start. Just to make sure everything is like it should be. But do I have to go back to stock first. Or can I do the steps you wrote from mr4? And make a fresh start from there?