yashsingh1/xdaforums huggingface dataset:
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
I would make a TWRP first of boot, data, system and vendor. If something goes wrong you can restore.

Then extract original boot.img from b380 with Huawei Extractor (you can find on xda)

You can try version 1, 2 from Thread - copy it to external SD. You can also try official SuperSU SR1

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

After flash original boot.img with ADB, don't restart device to system.

You must boot into TWRP and flash SuperSU.

You need latest TWRP for your Device

I wrote the steps in OP:

STEPS IF ROOTING WAS NOT SUCCESFUL OR IF SUPERSU APK CANNOT UNROOT OR RESTORE BOOT.IMG:

Flash original (unmodified) boot.img with Fastboot - or restore boot.img from the Stock TWRP Backup (boot) of same Firmware

- if restored from TWRP Backup, dont restart system, go back and - flash SuperSU

- if flashed instead with Fastboot - disconnect USB from Device and with Power and VOL+ boot to TWRP and flash SuperSU
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Samavb:
Thank you - Succesful SuperSu 2.82 on Kangvip B588

Big Thank you to you!! I am so glad I found your thread. It really helped me. Your knowledge & hardwork deserves lot of appreciation.

TWRP - 3.1.1.0 or twrp-3.1.0.3-next (Was able to flash on this without errors)

Flashed SuperSU-v2.82-EMUI5-KangV-Roms.zip

L29C432B581 -> Kangvip B588

Wanted to let you know that it is working perfectly.

No problems at all.

Developer options are fine :D:D :good::good:

My post in another thread where I mentioned about you :D:D:good::good:

Thank you.:good:
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Amit_C:
My phone is not rooted. Which software should I use? Can't see any link with version 2.81 as suggested.

Thank you
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Which Phone to you have?

Which build number? (Settings /About phone)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Amit_C:
Huawei P9

EVA-L09C900B182
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
So - you are on Marshmallow (Android 6, EMUI 4.01 ), not Nougat (Android 7, EMUI 5.0 ) This Thread is for Nougat, maybe you read next time a little bit more :)

For b182 flash this Kernel with TWRP:

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

After Root your phone by flashing official SuperSU 2.82 SR1: https://download.chainfire.eu/1114/SuperSU/SR1-SuperSU-v2.82-SR1-20170608224931.zip

If it helps, push thanks button :)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] dkionline:
SuperSU 2.82-SR1 has been tested by me. It patches sepolicy without errors on an existing base. That means, i made no fullwipe or unroot, only replaced current 2.82 in my build tool with 2.82-SR1. After starting phone it happens, no root installed.

Now its difficult, is the boot either non patched after, or something has changed to run like faulty signature.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
I think this can be if you used before a SuperSU Version which was patched by phh scriptes/files - have you tried it install over one of the first versions from OP (which are based on official SuperSU code and not modified by phh) - or did you install it over official SuperSU?

I haven't tested SR1 yet
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] dkionline:
First tested your latest build, no success, after flashed build with SR1, also doesn't work.

Actually installed also SU from here, but with fullwipe. Flashing over an existing one is the problem, all the rest should work with official.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Thanks for your feedback! Which version do you use actually (Nr.?)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] dkionline:
Actually B387 and B390.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Okay and which version of SuperSU from OP (Nr.?)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] dkionline:
Nr. 2 and 5b. but i think it doesn't mather. There's a reflash bug to find with logcat.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] hrrossi1:
thank you for this great job.

On Honor 6x BLN-L21C432B360 with Nougat and Emui 5.0 it runs without problems.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Thanks for your feedback - which version from OP did you use? (I collect infos to know which versions working on which phones - cause it's different..)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
You asked this in Mate 9 Thread - I answer you here.

You should complete unroot. Try to do it from SuperSU App /Settings. Let SuperSU boot.img restore (it will two times ask)

A) If it works, Phone reboot.

In that moment press Vol+ until you are in TWRP.

From there flash one of the

first four versions

from OP.

Reboot without wipe Dalvik and phone makes two loops, second start into system and it should be done.

B) If boot.img restore by SuperSU fails -

You must restore first your clean, unmodified boot.img of your firmware (restore with TWRP: boot - if you have, if not - extract boot.img with Huawei Extractor from your firmware update.app and flash it with adb or with TWRP using img to: boot.

After you can flash SuperSU 2.82, reboot phone and it should be done.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] yihua:
Hi Guys, I need help please !!

My P9 version is EVA-L09C636B361,

TWRP version is 3.1.1-0 for eva.

I've tried the following files to root, and get BOOT LOOP.

2.6.SuperSU2.82-EMUI5-SelEnforcing.zip

SuperSU-v2.82-EMUI5-SELEnforcing.zip

SuperSU-v2.82-without-additive.zip

SuperSUv2.82-EMUI5-dm-verity-Enforcing.zip

SuperSUv2.82-EMUI5-noverity-Enforcing.zip

Doses any have rooted?

Any suggestions are accepted.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Hi - I think 2.82 may not work with b361 - but 2.81 should work - you can find downloads for 2.81 in OP.

https://www.androidfilehost.com/?w=files&flid=183923

I would update TWRP to 3.1.1-1 before.

If you tried several times to Root without success - you should also flash or restore unmodified boot.img from your firmware before rooting.

There's a firmware update available for your cust - b380.

With b380 and TWRP 3.1.1-1 SuperSU 2.82 (first 4 Versions should work)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] yihua:
A) Thanks, v2.81 is work; but a bit strange, when I 'adb shell' and 'su', the SuperSU dialog should be prompted immediately for asking privilege, but in P9 it will delay at least 5 seconds.

B) Yes I do, I restore boot.img before each try.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] kilrah:
Mate 8 on NXT-L29C185B560, TWRP 3.1.1-1, trying version 5a, and getting a bootloop. After a few loops it puts me in eRecovery mode. Trying to reboot again just leasds to the same forever.

Reflashing system and boot from bootloader using extracted images from the B560 update.app gets me back running, but of course no root.

Any idea? Also tried the older TWRP 3.1.0, that one crashes/reboots in the middle of the install procedure.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Hello - its very difficult to get 2.82 to work on all different Huawei Phones /Firmwares.

I recommend always make TWRP Backup from boot, data, system und vendor - before trying to Root.

If it fails just restore this four partition and nothing happens.

I would try 2.81 - Link some posts before and in OP (but you can't update)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] kilrah:
Thanks, 2.81 worked fine :)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] German195:
hello, I installed supersu from here before and it worked, but I had some problems and so I deleted supersu app and then went to twrp and recovered the boot.img then installed flashed supersu again but there is no supersu app when I search for it. I tried so many times but still no supersu. and when I install supersu from play store it says there is no root. can someone please help me? :(
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Which device and wich firmware? (Build Number)

Which Version of SuperSU did you use?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] German195:
My device is P10 Lite and build number is WAS-LX1AC432B102

I had used SuperSuv2.82 emui5 noverity enforced and it was working very well. DId you update that file recently by any chance?

---------- Post added at 02:44 PM ---------- Previous post was at 02:27 PM ----------

thank you for answering, I forgot to tell you
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
[MENTION=8361398]German195[/MENTION] You can try first installing 2.81 Version (it's also linked in OP)

If it works, make a complete Unroot from SuperSU App, allow to restore boot.img. (2x)

Phone reboot, don't want, press immediately Vol+ und boot to TWRP and flash then 2.82
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] sabernalmz:
This is the only information I've found about SuperSU and TWRP for the Nougat version of EMUI (5.0), but I haven't found anything for the Honor 6x. Does anyone know if I can install this TWRP and SuperSU on my Honor 6x? Thanks!
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
You need a special TWRP which is for Honor 6, if you have that you can root related to your Firmware - which Firmware to you have - Build Number?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Heavyputr3:
Hi,, ive rooted my p10 lite and almost everything works fine excepte when i plug the headphone (my phone dont find it). I've tried with all 2.82 versions and there's no way to get headphones working with this root :/ when i removed root everything went normal. Please help me and sorry for the bad quality english, thanx
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
This is a bit strange, I have no idea at the moment what the reason might be for this issue.

Haven't heard from Root which make disfunction for headphones
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] A.lemane:
after upgrading to B581

Both SuperSU & Magisk r perfectly working but I went with Magisk to see or rather experience it's features

Mate 8 l29

By both I mean there latest editions Betas
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Heavyputr3:
hi again, this is really messed up :( now my phone only reboots to emui recovery (the installation) and i need to install supersu trought twrp to make my phone work (it seems like a boot problem that is solved after install supersu).

i've tried wiping data and i had to do the same and my heaphones still not working with supersu... i only want to restore all to factory (including stock recovery) to get my p10 back to normal.

please help u.u
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Sorry for the late answer, I was at work.

Please tell me your Build-Number! And is it P10 or P10 Lite?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Heavyputr3:
the build number: was-lx3c605b120. it is p10 lite
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Have you received an OTA Update or is this the Firmware which was shipped with the phone?

There are several problems with this phone.

First - it has not a full working TWRP I think?

Second - the Firmware b120 isn't available for download for c605 (only b100-log, which is beta and not installable)

If the Firmware b120 would be download able you could extract the boot.img with Huawei Extractor and flashing with ADB.

Normally a TWRP Backup from boot, data, system and vendor is necessary before trying to Root. If TWRP can backup and restore it would not be a problem - if rooting fails you could just restore the four partitions.

Have you tried to Root with official SuperSU SR1, it has fixed some issues for Huawei Phones (don't know if it would work with p10 lite.

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

If you search now for a way to restore your system without Root it's really difficult and I have also no idea how to manage this unless there's no Full Firmware for flashing with dload available which is for your phone and cust.

Did you not make a backup of the boot.img before rooting which you could restore.

If not, you can just try to download b100-log with Firmware finder, extract with Huawei Extractor the RECOVERY.IMG and flash this with ADB to look, if it works. And if yes to try a Factoryreset with Stock Recovery. (I would not try installing Firmware directly with Huawei Firmware Finder.)

But you would try such steps at your own risk. I don't know if this could help, because I don't own this device.

Note: If your TWRP can't work correctly and you wipe data with it - you could have following problem too:

TWRP must exclude /data/hw_init from wipe - because there are stored a lot of necessary system apps. If you wipe data and TWRP don't exclude this directory you loose necessary functions
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] lrak019:
it says it cant find or cant mount /data how to fix this issue? thank you
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Heavyputr3:
It seems that now i have 2 problems :/

First, i've done a factory reset without saving the hw.init from data, so now i have a rooted phone with very bad issues (cant download anything, microphone is not working, some apps dont update and have some bugs with office apps).

Second. As i havent make any backup before rooting, now i have to wait until the was-lx3 firmware appears on the internet.

I was thinking that if i can get anoyher hw.init from a p10 lite of another region and do the hard reset saving the hw.init as you say, the phone will not boot, unless i flash supersu. After that, my phone should start normally with headset not working, but at least the mic and the other bugs that i had should dissapear... But i dont know if i can use another hw.init, am i wrong?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
"who" says that? On which device? Which build number?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] dego_:
will this rooting guide work on Lineage 14.1 (eva-l09)?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] fpippo1999:
On Lineage use official addon choose su (arm64) or flash Magisk 12 or Magisk 13 Beta
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] lrak019:
on TWRP, on Huawei P9 Eva l19 Pacific Asia variant.. EVA-L19C636B361. Can you please help me?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
That's a big problem at the moment - before your Firmware is available.

You can't flash another hw_init - it would not work.

If TWRP would work (if it can mount data correctly we could get the Folder from another user perhaps and I could make a zip for flashing with TWRP)

But at the moment we must wait.

I hope your firmware comes for download.

So, all problems you have are not from Root but from wipe of data..
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Do you use this TWRP? :

https://xdaforums.com/p9/development/twrp-t3565703
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] lrak019:
i have used it but it wont flash... i flashed a different one and now i cant seem to boot into recovery and cNt flash anything... only fastboot word.. but it has an error writing "recovery" failed... i guess it has to do with my /data cant be mounted or some sort of encryption..
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] telis_aigina:
Where can I find unmodified b378 boot.img for p9

If anyone has it please post the the link to download it :good: :good:
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] fpippo1999:
Download B378 dload from internet and extract boot.img with Huawei firmware extractor
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] telis_aigina:
Yes I know but o can't find it do you have the link...

[UPDATE] My bad now I understand what you mean thanks
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] fpippo1999:
B378 -> http://update.hicloud.com:8180/TDS/data/files/p3/s15/G753/g104/v74832/f2/full/update.zip
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] telis_aigina:
I lost my root after a fail in update of su binary and I want to root again the method that I follow is right?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
I can upload it in the evening, or you extract it from b378 Firmware with Huawei Extractor from update.app
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Flash Unsu.zip with TWRP:

https://xdaforums.com/showpost.php?p=63615067

Without reboot flash after SuperSU 2.82 SR1:

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

After reboot without wipe Dalvik. Phone boot up two times. Second into system and it should be rooted.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Its not easy in this situation if only fastboot is working and nothing else. And you cannot flash anything. This is a complete soft brick you made.

If you were on Stock Recovery it would be possible to restore your phone with Full Firmware (update.app in dload) But you don't have Stock Recovery installed.

I would try to restore phone with DC Unlocker generic Firmware for EVA in Fastboot Mode.

But you must pay 15 for this..

If you do this you must make every step carefully.

After phone boot into system you must flash Full Firmware for Marshmallow (cause DC will install Android 6)
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] telis_aigina:
my friend it fails :( and system can't recognise SD card
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] telis_aigina:
When I flash back the custom boot img all is good my friend
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] coffer:
Cheers for that which version do we need?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] rayman95:
Arm 64
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
I take always the universal.zip (autodetect which version is needed - cause other devices need maybe arm...)

https://github.com/yashdsaraf/bb-bot/releases/tag/v1.26.2-YDS-201705092106
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] coffer:
Done, many thanks!
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] jaimecaceres2099:
Hello i have a problem , the guide says that i have to put the supersu in the Sdcard but how , if the p9 dont have sdcard just internal memory , i cant find the .zip when i am in twrp
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] michaelwang27:
Hi, thanks for your hardwork. Just a quick question though, is it compatible with android pay?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
The phh versions perhaps, but I would use for Android Pay Magisk 13.3
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] michaelwang27:
Yes I searched for that. Now the thing is I used the unroot function of the supersu 2.82, with both boot.img and recovery back to stock, but after the phone's rebooted, most of the stock apps were gone... No camera, no clock, no music player, etc. Do you have any idea what happened or what should I do?
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
First I need to know your Phone model and Build Number from "about phone"
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] michaelwang27:
It's EVA L09 and EVA-L09C432B386
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Normally this don't occur by unroot. Maybe you has wiped cust or vendor or something.

Anyway - download Full Firmware for your device:

1) Update.zip

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

2) data zip

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

3) be sure you use latest TWRP for P9 from OldDroid

https://xdaforums.com/p9/development/twrp-t3565703

4) Copy update.zip and hw_eu(data) zip to your external SD. (don't unzipp)

5) Flash with TWRP update.zip - don't restart phone!

6) Go back to main menu and flash hw_eu zip - don't restart phone!

7) Go back to main menu and restart RECOVERY (not System!)

8) After restart Recovery - you are now in Stock Recovery!

9) From here make A) Wipe Cache Partition B) Factoryreset

10) Restart phone - everything is restored!

11) Enable A) Developer Options B) in Developer Options 1) ADB Debugging 2) USB Debugging (not USB Debugging before ADB Debugging)

12) Enable unknown sources in security settings (Advanced)

13) download latest Magisk

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

14) Flash again TWRP from [MENTION=4960686]OldDroid[/MENTION]

15) Flash Magisk

16) After flashing and reboot to system - be sure OEM Debugging is enabled (its not greyed out now)

17) Look, if ADB Debugging and USB Debugging is stayed enabled.

18) Don't open Magisk Manager yet - restart your phone again

19) Now open Magisk Manager - should be somewhere on homescreen - if it isn't, download and install Magisk Manager

You should be rooted and bypass Safetynet.

20) To complete Root flash Busybox YDS from yashdsaraf or the one from osmosis
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] michaelwang27:
What a guide! Thanks for the patience and help. I'll give it a try.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
I did it more than 20 times and if you do it that way it works.

Only if you were on Lineage OS before it is small different handling
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] michaelwang27:
One more question, do I need to re-lock the bootloader? If so, when should I do this? Thanks.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
If your Bootloader is open yet - it stays open
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
[MENTION=4744786]michaelwang27[/MENTION] Tell me if you have done and how it looks
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] michaelwang27:
I followed your instruction and it all worked. I thought I need to relock the bootloader to use Android Pay but I was wrong. The bootloader is unlocked and the TWRP is installed while Android Pay is working perfectly. Thanks again for your assistance.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] ogisha:
I have one question. I hope you could help me. It is bit offtopic but I was not able to find proper answer on other forums.

Messing with SuperSU 2.80,81,82, while it was full of bugs, I have lost my root and twrp. Bootloader is unlocked but oem unlock is turned off and grayed out, so I am not able to flash twrp again.

I read on some forums that I have to flash mm rom in order to be able to turn it on again. I tried lots of different mm roms from Huawei forum, xda warehouse, xda back to stock and Firmware Finder application, but I could not manage it. After 5% of flashing I am getting message that the rom is not approved or the rom is damaged!? Roms were saved on new external sdcard in dload directory with update.app unpacked.

I am on EVA-L09C432B386.

Please do you have any solution to this. I have lost my nerves in trying. :crying:

Can I somehow turn oem unlock on or somehow get back to mm on order to try to turn it on.

Thank you very much for your time and patience.
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] Tecalote:
Of course I can help you. But I need your model and Build Number
[Huawei P9 ROMs, Kernels, Recoveries, & Other Devel] ogisha:
Thank you very much! :):good:

My model is EVA-L09,

my build number is EVA-L09C432B386.

Thank you again!