yashsingh1/xdaforums huggingface dataset:
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
1) You must download b300 Transition Pack:

http://consumer.huawei.com/ch/support/products/downloads/detail/p9-chde.htm?id=92743

2) You are on Stock Recovery right now? If yes, unpack update.zip and copy the unzipped files to dload on external SD (other files from previous trying must deleted)

3) Flash it with 3 Button Method (Vol+ Vol- (in the middle press both down) and Power Button at same time. Release Buttons when Emui Software Installing begins.

4) After reboot you are on b300.

5) Download Firmware b182:

http://update.hicloud.com:8180/TDS/data/files/p3/s15/G1079/g104/v63880/f1/full/update.zip

6) unzipp it and copy files to dload (before delete b300 in it) and flash it with 3 Button

7) After download hw_eu data zip:

http://update.hicloud.com:8180/TDS/data/files/p3/s15/G1079/g104/v63880/f1/full/hw/eu/update_data_full_hw_eu.zip

8) same step flashing

9) You should receive an OTA. Install it and install every OTA you get and you should come back to b386.

10) Enable Developer Options and it it: A) OEM Unlock B) ADB Debugging C) USB Debugging (exactly - not USB Debugging before ADB Debugging)

11) Unlock your Bootloader

12) flash latest TWRP from OldDroid

13) If you root, do it with SuperSU 2.82 SR1:

https://download.chainfire.eu/1114/SuperSU/SR1-SuperSU-v2.82-SR1-20170608224931.zip

But if you like to Root with Magisk use latest Version 13.3
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] benjamen50:
That's weird, TWRP should be flashable in bootloader / fast boot mode if phone has bootloader unlocked and shows from lock off in fast boot mode.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] ogisha:
Thank you for your detailed guide. :good:

I will try to do it tonight.

Just few questions. Should I relock my bootloader before and will my oem unlock will not be grayed out after getting back to B386?

Thanks again man!:highfive:
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
You must not relock your Bootloader - it become automatically locked if you downgrade to Android 6.

Backup your stuff from internal memory because it will be wiped with low-level format.

After you are back on b386 you can open your Bootloader (OEM Unlock isn't grayed out)

But after unlock it makes another factory reset with wipe of internal memory. Then OEM Unlock is grayed out again - but ENABLED

So you can flash TWRP
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] ogisha:
I did everything by your instructions. I could not flash hw_eu.zip for B182 which I had unpacked in dload folder. It said that update is not valid.

Nevertheless, I have jumped over that step and went to next steps. Everything passed fine. :laugh: Thanks to you! :good:

Now I have my bootloader unlocked and twrp installed again! I copied back my sdcard contest from computer and restored backup of applications and theirs data from HiSute.

I did not rooting yet. I would like to install Magisk.

So, is it enough to just flesh it from twrp?

Another question, why did you recommend me to install SuperSU 2.79SR1 instead of 2.82SR1?

Thank you again for saving my life!

Danke. :)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Your welcome :)

Btw: sorry, I meant 2.82 SR1 - but I posted the wrong link, the right one is:

https://download.chainfire.eu/1114/SuperSU/SR1-SuperSU-v2.82-SR1-20170608224931.zip

For Magisk do similar steps from

https://xdaforums.com/showpost.php?p=73117036&postcount=311

Beginning with 11)

You must not flash TWRP again (it was a step in another context from this post)

But for Magisk its necessary to enabled 1)ADB Debugging and 2) USB Debugging (USB Debugging is shown first, but it stays not enabled if you don't enable first ADB Debugging)

You should not modify hosts file (Magisk would not bypass safetynet)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] ogisha:
Thank you again. :good:

My phone is working flawlessly for two days. :laugh:

You are real life saviour!
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Coolyou:
Hi mate, thanks for this awesome thread, however, I can't make my phone Read/write system files, therefore I can't edit with ES File manager or any text editor system files for extra features. It just says Read-only system files when I try to edit them.

My phone is:

p9 lite

Nougat vns-l21c432b370

OldDroid TWRP.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] kakolukia:
Thanks for your amazing job!!! :svetius:
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Flash Busybox with TWRP YDS from yashdsaraf:

https://github.com/yashdsaraf/bb-bot/releases/download/v1.27.1-YDS-201707232117/Busybox-1.27.1-YDS-UNIVERSAL.zip
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] kakolukia:
Hi, I'm using p10plus with kangvip's ROM b167, I've unlocked and rooted, the SU version is 2.79 which is shown in SU check app, so I want to update to 2.82 SR1, what should I do?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Coolyou:
Can you write me a bit walkthrough guide please? I tried and nothing happens. Which suspersu you recommend, what to flash first, what second, do i need to reboot after flashing supersu then flashing busybox, do i needt terminal after to write some command for busybox, etc?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
You cannot update to SR1 yet, it would not work I guess.

I can offer you:

Version 6/a - Name: SuperSUv2.82-EMUI5-noverity-Enforcing.zip

https://www.androidfilehost.com/?fid=889764386195906385

You cannot flash this over existing Root!!

KangV Roms from China have a prerooted boot.img (or is it a Custom Rom from xda?)

First step is to find the unmodified boot.img for this Firmware!

If you can't find it, I can help you.

After I can explain you the steps.

Its a bit complicated but if you do wrong steps phone won't boot up or loose Root
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
I answer you after my work :)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Coolyou:
Sure, thank you.

I also read that it must be a system root, SuperSU is now systemless so it won't work.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Okay, once again:

You have p9 lite Nougat vns-l21c432b370 - Nougat must always have systemless Root (Root into system would make your phone unbootable)

Which SuperSU did you use, which version - from my Thread or official one?

Version 2 from my Thread in combination with YDS Busybox should work for your phone!

But if you use another version you can't flash over existing root.

You must search for update-unsu.zip (xda from osmosis) and flash this with TWRP. Immediately after (without Reboot) you must flash (restore) your original unmodified boot.img from your Firmware.

Don't reboot, flash after Version 2 from my Thread and without reboot flash Busybox again.

It will dedect systemless Root and install the Binaries to the right place.

After everything should work.

Has your Phone the possibility to restore Firmware with dload method? If not, do you have the Firmware as update.zip for worst case?

Its really difficult, root is much different on every device.

Alternatively I would recommend Magisk 13.3 - but phone should even unrooted before
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Coolyou:
I had magisk only the version u said phone was rooted but I couldn't edit system files.

About twrp, I have original boot.img as backup can you just link me that file you said mate so I could flash that. I also have dload method ready. I will get back to marshmallow and update to nougat so after that everything will be stock. After that just tell me what I need to flash first and how

---------- Post added at 06:51 PM ---------- Previous post was at 06:44 PM ----------

Please read a post above first and is this a version 2

) SuperSU-v2.82-EMUI5-SELPermissive.zip

Added init.d script and set SELinux permanently to permissive (required for Viper4Android)

Download: https://www.androidfilehost.com/?fid=817550096634775861

MD5: 57a081ba3ba03691c4ffaf9ab141a44e
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] kakolukia:
very thanks !

it's gonna busy today, I'll reply you later, thanks again !
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] fpippo1999:
if i want to root Huawei P9 based on B386 there is a version fully working? And which?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
If you want to Root with SuperSU, take official 2.82 SR1:

https://download.chainfire.eu/1114/SuperSU/SR1-SuperSU-v2.82-SR1-20170608224931.zip

Safetynet will not pass by.

If you want to Root with Magisk, take latest 13.3:

https://xdaforums.com/apps/magisk/official-magisk-v7-universal-systemless-t3473445

Safetynet will pass by.

Magisk and SuperSU can just flashed with latest TWRP from OldDroid (3.1.1-1): https://xdaforums.com/p9/development/twrp-t3565703

SuperSU abort first boot and reboot again to system.

Magisk don't need this loop.

For Magisk enable Developer Options after Rooting and in there 1) ADB Debugging and 2) USB Debugging (not USB before ADB) - after restart phone and then you can open Magisk Manager. If it isn't on Home, install the Manager.

Don't use Adblock like AdAway which modify hosts file - this would break green safetynet.

After Rooting with SuperSU or Magisk flash BusyBox from yashdsaraf (universal zip) : https://github.com/yashdsaraf/bb-bot/releases/tag/v1.27.1-YDS-201707232117

Both Rooting Methods need a clean system - if you have any Root before Unroot your system and restore your unmodified boot.img (from b386) before Rooting
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] ogisha:
I am using AdAway and I am passing safety net!?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Which Phone, which Firmware?

I know in some configuration it is possible with systemless hosts support enabled from Magisk (settings) - but I have seen also it can break safetynet
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] ogisha:
Huawei P9 L09C432B386.

Systemless hosts support is disabled.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Yeah that's the trick..

Because with enabled systemless hosts safetynet would not pass by.

Its different to other phones /firmwares.

Thanks :)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] casley79:
P9 plus with Nougat,what version I have to install in order to have viper4android and Xposed framework?Now I have installed supersu 2.82 permissive, viper4android its ok,xposed does not work.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Xposed Framework is unofficial and works on some devices and on the other not.

Its like Beta...

You can try just with Magisk 13.3 and selinuxP module

https://xdaforums.com/apps/magisk/module-magisk-selinux-permissive-script-t3577549

But there's no guarantee that Xposed will work..

For Root with Magisk you have to Unroot before from SuperSU App and restore after your boot.img and then flash Magisk

After successful Rooting install Permissive Module.

After flash Xposed arm64 latest one from 26-07-17

http://fastkit.org/xposed/classic/SDK24/26-07-17-xposed-v87-sdk24-Xposed-by-PurifyOS.zip

Don't forget wipe Dalvik and Cache after.

For questions about Xposed ask in the Thread:

https://xdaforums.com/xposed/xposed-android-nougat-sdk-25-arm64-t3639221/page159
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] droidbits:
Hi [MENTION=6870018]Tecalote[/MENTION]

Thanks first of all for this thread.

I am new to everything Huawei so therefore I have a doubt please.

In the OP you mention on point #6 that 6/a and 6/b have been tested on P8 Lite 2017 which is what I have (it is actually the P9 Lite 2017 but the phone and specs are exactly the same as Huawei decided to use a different product name for different regions).

You mention that it is for Kirin 960 but P8/P9 Lite 2017 have Kirin 655.

Am I safe to go with 6/a or 6/b please?

Thanks in advance.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
I will answer you soon as possible, at the moment I am working on my Threads for P8 and P9 - if you don't mind
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] droidbits:
Of course I do not mind. Have fun :)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
You must use 5 b - with this you can Root your Phone - tested by [MENTION=7295200]ChinHon[/MENTION] - look at his Thread: https://xdaforums.com/p8lite/p8-lite-2017-discussion/how-to-root-huawei-p8-lite-2017-android-t3582179

Following devices can be rooted with Version 5 b: P8 Lite 2017 - PRA-LX1, LX2, LX3, LA-1 - P9 Lite 2017 - NovaLite - Honor 8 Youth
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] droidbits:
Thanks for your reply and for including the link and the extra info that will also help many others.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Your welcome!

Soon I get time I will update OP even with actual information :)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] krule031:
Hello guys.

Just wanted to ask which version should I use for P10 Lite?

Thanks in advance!
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
I would try 6.a - but make TWRP Backup of original boot.img, system and vendor if possible with your TWRP (I don't know TWRP for p10 lite - can it backup data too? Maybe not cause of encryption)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] krule031:
Thanks for the fast answer!

Well, I got the device like 3 days ago, so now I'm just collecting all the info to root it without problems haha.

As for TWRP, I found this guide: https://xdaforums.com/p10/how-to/twrp-how-to-root-p10-lite-t3617418, it has twrp from some other site -> (https://www.android-hilfe.de/forum/...uawei-p10-lite.3092/p10-lite-root.829200.html), it's on German so I don't understand a thing there xD, but I see you're German so you could translate what's that about :D

Guess it works for basic functions :D
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
I will look after work (tonight) into this Threads and tell you what I think
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
Does SuperSU-v2.82-EMUI5-SELPermissive.zip work with the latest updates b388, b390 for L09 c432?

Btw (sorry, off topic for these theme), what is the best Nougat stock ROM, our old b386 from May, later (IMO, only security updates) b387, b388, b390 or the recent as showing in FirmwareFinder, b383 (Aug 10, FullOTA-MF-PV, 92900)?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] krule031:
Thanks man, waiting for your reply! :)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Hello - b386 is the official Version which is Flashable with dload method, all higher updates are only for some users available by OTA.

B386 can be rooted with official SuperSU 2.82 SR1

https://download.chainfire.eu/1114/SuperSU/SR1-SuperSU-v2.82-SR1-20170608224931.zip

I would not recommend SR2 or SR3 at the moment.

But you can Root it also with version 1 and 2 from OP.

BTW: Have a look to my Custom Rom MagicRainbow v2 based on b386
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Hi, I had read those Threads - the German Forum used my older 2.81 version (which is patched with phh files cause of missing loop support for this Firmwares)

They didn't check that I made same with 2.82 (last final version) - and I think if 2.81 worked, this Version of SuperSU should be good:

https://www.androidfilehost.com/?fid=817550096634776377

TWRP you must look how it does. If possible back up your boot.img before flashing SuperSU.

SuperSU should work.

Only problem is, at the moment a new SuperSU comes released - you can't update it with official SuperSU. Then you must stay on 2.82 because I am not sure if it will be possible to update this EMUI Version to next release...

And be careful and do it at your own risk. Since I have P9 and not your device I can't test and give you guarantee..

Maybe you search on xda for further information how to use this TWRP and what it can or not can...
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
And be careful and do it at your own risk. Since I have P9 and not your device I can't test and give you guarantee..

Maybe you search on xda for further information how to use this TWRP and what it can or not can...
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] rayman95:
chief, do you mean that the b387 and B388 I dl from this site is useless with dl method??????only in TWRP???

How to know if dl method work with a firmware??only by testing on the phone or is there another method???

thank's...
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Hi, I use Firmware Finder on P9 from Playstore. - but I don't use it for doing updates, I use it only for information and download Links.

My experience is - you can use those Firmwares, which has the Name "FullOTA-MF-PV"

If it shows only FullOTA-MF or FullOTA it is useless and cannot be flashed with dload - cause they are not official or only for some devices installable by OTA.

If you go to download, you can check and use "share Firmware" and copy it to clipboard.

Then you have download Link.

You can also check in download section by IMEI if the version is installable for your device.

https://play.google.com/store/apps/details?id=com.teammt.gmanrainy.huaweifirmwarefinder
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] rayman95:
And last question, why you don't use last European firmware B388 to built your ROM??

Sorry for maybe a silly question...
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
[MENTION=1488698]rayman95[/MENTION] BTW: it seems you were not happy with my MagicRaibow Rom v2?

If you use Firmware Finder do it like me, don't use it for updates (it has the possibility) but I have seen several bricked devices from users which has used this app to make an update instead of dload method.

But for Download Links and information it is the Best App this time since you can't find newer Firmware for Huawei anywhere else anymore.

Its a strange OTA political behavior by Huawei :)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Firmware Finder don't show b388 with the Name FullOTA-MF-PV

If haven't seen anywhere else b388 as Full and Flashable Firmware. Did you?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] rayman95:
I doesn't want to offense you.......but just ask.....actually I have not tested V2 yet.....

I just want to congratulate for the work you do for our device......

Thanks again...:good:
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
[MENTION=1488698]rayman95[/MENTION] I use always the official available Firmware which users can flash with dload or TWRP (both possibilities are important for my work) I don't want users making problems going back to Stock if they want I can show them a way.

I test everything on my device.

If I build a Rom it takes about one month. I flash it nearly 20 times or more to see how it works in each direction.

If there comes out between this time a new Firmware I haven't the time to start from beginning.

Cause I can't port same things easily. It has to be completely new configured.

And as I said I haven't seen this time another newer official Firmware.

There are Firmwares with b390 shown, but not usable for my concept.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] krule031:
I think I'll wait a little more, as I don't need the root right now.

Thanks for the lots of info, means a lot!

Poslano sa mog WAS-LX1 koristeći Tapatalk
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
I have to do the same with my L09 c432. Long story...

I have a question about steps 7 and 8. I downloaded and unzipped, but there was no update.app, there are only folders with APK files for the (bloatware) applications. So how to install that package?

And is it really neccessary (NewsRepublic and so are apps I always uninstall from the stock, and apps like Health and similar I just disable)?

But it also contains Themes and Magazine (another bloatware but IMO neccessary for Themes).

At the end I want to obtain (clean) b386 by OTA - maybe missing to install HW EU package would block OTA to b383/386 or I can safely omit HW EU?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
It seems you (also) did not install HW EU but eventually you got back Nougat by OTA. Did you directly obtain by OTA b386 (over b182), or you first got b383 OTA or how?

Thanks
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] ogisha:
I cannot recall now, but I had two OTA's and the last one brought me b386.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
[MENTION=7786725]zgfg[/MENTION] Sorry for late answer, I was on work...

That's right - it's not necessary to flash data.zip for b182. I don't know why Huawei provided this zip. I thought it must be installed, but it must not!

If you are on b182 you should receive an OTA to b383 and after an OTA to b386.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
Thanks for your knowledgeable and excellent instructions (and ROMs), paitently shared to everybody (XDA, Android Hilfe - I pasively read by Google Translator).

So far, so good, installed b300 and b182 by DLOAD as per instructions, now downloading OTA b383.

In the meantime, and before I go to instal TWRP, do you maybe have stock Recovery (for L09 c432 b386) - I'd like to get prepared to easily switch back to pristine stock b386 (I'll backup boot and other partitions from TWRP myself) if/when EMUI 5.01 (b391?) comes by OTA.

PS: If I recall correctly, there was a Fastboot or ADB command to backup stock recovery- I will also try to find myself
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Hello my friend :)

Here is the Huawei P9 Stock Recovery for b386 (L09C432): https://www.androidfilehost.com/?fid=961840155545568280

I am busy, see you

Btw: The Thread for MagicRaibow is also updated for v2 (based on b386):

https://xdaforums.com/p9/development/rom-huawei-p9-magic-rainbow-t3601064
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] zgfg:
Thanks again. Just to note, rollback went smooth (b300 and then b182, without attempting to installl separate HW EU package), OTAs for b383 (cca 2.5 GB) and b386 (cca 480 MB) followed automatically. Installation of b182 cleared all data and my appps, I will easily restore them through HiSuite (actually, unlocking bootloader will force again hard reset, hence I will restore data wnd apps upon unlocking the bootloader).

Regarding your objections on TWRP 3.1.1-1 - do you recommend an older TWRP version (eg., I have old downloads of 3.1.0-2 and 3.1.0-3, but TWRP thread doesn't offer repository of historical versions).

---

Mission accomplished - I also had problem with: FRP locked, bootloader unlocked (as showing on the fastboot screen) while OEM Unlocking option in Off positin and not allowing to enable (like [MENTION=4657522]ogisha[/MENTION] and others had), thus blocking me to re-install TWRP. Upon the rollback, OEM Unlocking option is active again, I will unlock today afternoon and proceed with TWRP and rooting (ATM, not with custom ROMs - thank you).

Btw, incident with FRP happenned some time ago, I don't recall details but remember circumstances:

- I had b386 rooted with SuperSU 2.79, and TWRP 3.1.0-3

- From TWRP I did hard-reset, followed by restoring original b386 partitions (backed-up probably with TWRP 3.1.0-2)

- Rebooted and then hard reset from *#*#2846579#*#*

After all that (maybe it happenned in the meantime) I found FRP locked (not allowing to re-flash TWRP), but OEM Unlocking option dissfunctioned.

Since the hard-reset b386 worked fine, I was busy (?!?) and waiting for EMUI 5.1 never coming, I didn't bother to fix (until now, on vacations)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
You can use this version of TWRP by OldDroid:

https://www.androidfilehost.com/?fid=817550096634785012

Its very good v3.1.1-0

So I am happy that your problem with FRP is fixed now...

If you root, which kind to you prefer - Magisk or SuperSU?