yashsingh1/xdaforums huggingface dataset:
[Huawei P9 Guides, News, & Discussion] The_JooP:
Thank you for the advice, I will try that out.

I did manage to get further but now I'm stuck in a boot loop. Whats happening is:

1. boots to setup

2. setup goes through the motion and it reboots after completing the steps and over again x infinite...

:(
[Huawei P9 Guides, News, & Discussion] detroitdogg:
root

Hi guys,

Can I put this on a p8 Lite??
[Huawei P9 Guides, News, & Discussion] pwoita:
Wondering if someone can help me.

To get into boot loader mode, I connect my phone to my pc, use adb. When I boot into bootloader mode, I get this screen (see first attached file) which says to connect my device and open HiSuite (but it was connected and HiSuite is open and was connected before booting into bootloader).

Power off and holding vol-down and power simultaneously does nothing but turn the phone on.

If I use vol-up and power, it botts into the second image below (and I am not sure what I should be doing there if that is the right screen.

Is anyone able to help?
[Huawei P9 Guides, News, & Discussion] Shymmy:
I think you have bootloader locked ...

"Power off and holding vol-down and power simultaneously does nothing but turn the phone on." - Do that with the phone connected at PC, to enter in Fastboot mode.

http://translate.google.com/transla...//www.gizdev.com/unlock-bootloader-huawei-p9/

Go to bottom, until you find (in the midle of the page) "Download Huawei P9 Unlock Bootloader Tool" ("Huawei P9 Unlock Booloader.zip"). A few lines above you'll find "Preparation", immediately below you'll find "Guide To Unlock Bootloader of Huawei P9". It's easy, I did it last night ...
[Huawei P9 Guides, News, & Discussion] Tris244:
Hey guys, I need a bit of help.

when i put the phone in Fastboot it opens a white screen with the android guy in the middle and above it is the message "please connect USB cable to computer and open Hisuite" but when i follow those instructions, nothing happens. If I ignore it and try run the .bat file anyway it just sits on "waiting for device".
[Huawei P9 Guides, News, & Discussion] donaceli:
Cannot load into System

Hi, I have performed all the steps in the guide and after installing SuperuserSu through TWRP I cannot get past the boot screen. After Huawei logo I end up in EMUI screen where I have options to Download latest version and recovery, which fails, Reboot or Shutdown. When I press reboot, the same thing happens. I would really appreciate any help. Thanks.
[Huawei P9 Guides, News, & Discussion] Velfess:
Can I remove TWRP and relock bootloader but leave root access? I get paranoid, that someone could easily wipe /system via TWRP and remove Cerberus. Can I get back stock recovery without losing root?
[Huawei P9 Guides, News, & Discussion] joyqing:
I can enter into TWRP but can't mount external SD card so can't flash zip. It's unusable. I am sure the sd card can read in EMUI
[Huawei P9 Guides, News, & Discussion] Vij4k:
This toturial can be working on B360 7.0 Official but with new files of recovery and SuperSu from this thread: https://xdaforums.com/p9/how-to/twrp-3-0-2-0-n-t3506947/page35

?
[Huawei P9 Guides, News, & Discussion] inaroom:
i am a bit confused,this guide is about rooting the p9 and you are suggesting an app for already rooted phone..

has anybody a tip for the emui recovery issue?
[Huawei P9 Guides, News, & Discussion] aceclift:
this was a reply to someone who was already rooted - who had trouble booting into TWRP not erecovery (p9 stock recovery) and needed a way to access TWRP and not Erecovery as they are stored on a different partition. please read the post quote and answer more carefully next time
[Huawei P9 Guides, News, & Discussion] inaroom:
well, i read carefully the thread. i may have miscommunicated my problem, which is the exat one this guy has.

i unlocked the bootloader and flashed the twrp, but when i reboot i can only enter the erecovery- hence erecovery issue, as i meant.

i suspect it has to do with the nougat update, as i read somewhere it can only be done on MM, and rooting under nougat is not adviced or not possible at this time( anyone can confirm?)

again, any help with the erecovery issue? i´m on 378 update, as mentioned above
[Huawei P9 Guides, News, & Discussion] aceclift:
does your PC has ADB Fastboot drivers installed (if not use this - https://drive.google.com/file/d/0B0MKgCbUM0itNVB1elljU2NPR0k/view)

in your phone settings, "about phone" tap the model build 7 times to enable developer settings

enable debugging in developer settings and connect your phone to your PC

now on the PC desktop hold down the "shift key" and right click, then select CMD Admin

now type into CMD Admin "fastboot reboot recovery" and if prompted enable the authorisation message that pops up on your P9s screen

This will let you boot into TWRP and flash SU to root

And once you are rooted install the app that i mentioned to the other guy as this will allow you to reboot into TWRP without the use of your PC
[Huawei P9 Guides, News, & Discussion] inaroom:
thanks, i will be trying to boot recovery via adb as soon as i get home, i'm at work right now. is this confirmed to work on nougat (build 378)? is nougat been rooted on the p9 yet?
[Huawei P9 Guides, News, & Discussion] zgfg:
Please confirm if it worked on L09 c432 upgraded to b378. I'm interested to buy the phone with c432 b182 and I want to follow the guide https://xdaforums.com/p9/help/p9-7-0-nougat-update-eva-lo9-b182-t3539754/post70594380 to first upgrade to Nougat b378 and then to root it
[Huawei P9 Guides, News, & Discussion] zgfg:
Sorry guys, I'm little confused, there is also another thread on XDA about rooting Huawei P9, by using SRK Tools::

https://xdaforums.com/p9/development/tool-srk-tool-huawei-bootloader-root-t3374068

Which method is better?

As from the post #1 here, it seems that TWRP here is an old 3.0.0 version, and it seems it only supports USB stick and external SD card, not the internal storage.

AFAIK, SRK Tools provide TWRP 3.0.2 and (I have to carefully read the thread), it supports Internal memory (for installations from, backing-up, etc.), and also it seems that SRK users have no troubles with booting to TWRP.

Does the phone every when rooted by ROOT_HUAWEI_P9, every time when booting displays "This device can't be trusted" (it displays so if rooted by SRK)?

Or maybe it is not the consequence of rooting or TWRP but because of the unlocked bootloader.

Are there advantages for this method/tool/TWRP ROOT_HUAWEI_P9, over SRK?

I'd like to go with the best method, most stable, with less issues (if such a thing exists) - my plan is first to upgrade to c432 b361 and by OTA to b378, then to install TWRP and root.

Once I get TWRP, I will flash the latest available SuperSU ZIP, hence I'm not worried about root, I want to start with the best TWRP (and the best installation method) for P9 L09
[Huawei P9 Guides, News, & Discussion] inaroom:
nope, not working for me( and many other people in this thread). updated to 378, then succesfully unlocked the bootloader, then i'm unable to boot into twrp, only emui recovery pops up. nobody has confirmed rooting directly 378 is possible, but i very likely think at this point is only possible to root on 6.0 MM and then upgrade to 7.1.1 N. anybody confirming this?
[Huawei P9 Guides, News, & Discussion] Atarii:
For TWRP, use this new version here: https://xdaforums.com/p9/development/twrp-t3565703/post71244945

For root on L09 b378, flash my pre-rooted boot image here: https://xdaforums.com/p9/how-to/twrp-3-0-2-0-n-t3506947/post70927601
[Huawei P9 Guides, News, & Discussion] inaroom:
i flashed the b378 pre rooted img yesterday and it is working as titanium backup is able to remove unwanted system apps( not all the apps though),but can't boot into twrp even after flashing..i will be trying this on monday as i will be away from home till the weekend. thanks for the kind support, much appreciated
[Huawei P9 Guides, News, & Discussion] cheeze.keyk:
Hi guys! I'm on L19-B361 and I want to root or install TWRP what procedure should I follow?
[Huawei P9 Guides, News, & Discussion] darrr1:
Hi:) Question: why I can`t do backup by TWRP ? I tried do this but I have a few red alerts " failed to mount / data"

ROM EVA-L09 432b182 TWRP 3.0.2
[Huawei P9 Guides, News, & Discussion] Xkhoax:
How to root Huawei P9 (EVA-L19, B361)

1. Buy Unlock bootloader code at dc-unlocker (4EUR)

+ On windows

• Go to www.dc-unlocker.com, create account and buy 4 credits

• Download software (DC-unlocker client)

• Follow instruction to have phone detected and fill in account info

• Run command to read unlock bootloader

• ...

+ Faster way, install app on Android and buy credits (account created automatcally)

• Return to DC-unlocker client on windows and continue next steps as above

2. Install ADB driver

3. Boot to download mode (press Volume down then power button or plug charge, USB)

Connect to pc via USB, on windows runcommand (number is sample unlock bootloader code) "fastboot oem unlock 0920692696607284"

Important: must alow OEM unlocking on Phone (Developer options / OEM unlocking)

4. Flash recovery img file (twrp-3.1.0-0-eva.img) on windows

fastboot.exe flash recovery twrp-3.1.0-0-eva.img

(full path to fastboot and img file)

5. Boot to TWRP recovery mode (press Volume up then power button)

Do not plug in power or it still booting to stock recovery

6. Flash SuperSU (SuperSU-v2.79-201612051815-EMUI5.0.zip)

------------------------------

Most of files you need

https://drive.google.com/drive/folders/0B9XZ8rEn4I5pZlZjYWtyb2NEdlU?usp=sharing
[Huawei P9 Guides, News, & Discussion] zgfg:
[/COLOR]

Would it also work for L09 c432 b378?
[Huawei P9 Guides, News, & Discussion] Xkhoax:
I think it also works.

PS: just edited the previous post if u care
[Huawei P9 Guides, News, & Discussion] OldDroid:
please remove dc unlocker part, its not needed.

Regards
[Huawei P9 Guides, News, & Discussion] ogisha:
I have tried this on L09 B378 but SuperSU script failed to patch init.rc and some other files. I was rooted with Atarii's prerooted boot.img and phh's superuser. I had unrooted device with UnSU script before I tried supersu.

Is it problem with supersu script or I just need original boot.img? If so, could somebody send me the original boot.img for L09 B378.

Thank you!
[Huawei P9 Guides, News, & Discussion] Xkhoax:
I dont know why you want to reroot,

It's just my experience with exact device so I can't help you.
[Huawei P9 Guides, News, & Discussion] zgfg:
Could you please provide a link where from (which forum or so) is this (modified SU) SuperSU-v2.79-201612051815-EMUI5.0.zip?

I searched and I can find it related Huawei Honor 8, but not to Huawei P9. Have somebody tried, does it really work on Huawei P9 L09 with b378?

Moreover, according to the recent discussions for Huawei P9 on XDA, only the phh.superuser works on L09 b378, it must be installed (as root manager) from Google Play, over the pre-rooted image (pre-rooted image does not include root manager) rooted_b378_boot.img

https://xdaforums.com/p9/development/root-pre-rooted-boot-img-p9-nougat-b378-t3574548

https://xdaforums.com/p9/how-to/twrp-3-0-2-0-n-t3506947/post70927601#post70927601
[Huawei P9 Guides, News, & Discussion] ogisha:
I want to reroot because Atarii's prerooted boot image uses phh's superuser which does not work with well with all of the applications Like SuperSU does. Some do not recognise that you are rooted at all thus not asking for root privileges.
[Huawei P9 Guides, News, & Discussion] zgfg:
There are issues in the Huawei kernel, read

https://xdaforums.com/p9/development/root-pre-rooted-boot-img-p9-nougat-b378-t3574548

Btw, I just followed that procedure and I have successfully rooted my Huawei P9, L09, with c432 b378.

By testing so far, AdAway, Titanium and Reboot app (you can choose to boot into TWRP or fastboot), they all work just fine with this phh's SuperUser

PS: BusyBox is also Ok with phh's SuperUser but I cannot make Viper4Android (v2.5.0.5) working, it fails to install drivers complaining that Android is not rooted.
[Huawei P9 Guides, News, & Discussion] Xkhoax:
It worked for me (B361) so I post here, just remember I downloaded it from some related topic around,

Someone reported it didn't work on B378,
[Huawei P9 Guides, News, & Discussion] Atarii:
B361 is the last version SuperSu worked on P9, using PHH as in my pre-rooted boot images is the only way to root B378 at the minute. Not ideal, but no choice :( Work on SuperSu is still in progress, if we had kernel sources it should be fairly simple :)
[Huawei P9 Guides, News, & Discussion] hakaz:
I can confirm that it works.

Just do a backup in latest TWRP 3.1.0-0 (EMUI 5.x only) and then flash the SuperSU-v2.79-201612051815-EMUI5.0.zip out of this package. At first system start after rooting be aware that you will loop back to boot once, then your phone starts flawlessly.

Cheers!

(Did it several times back and forth: reverting to my unrooted backup and install SuperSU again, no problem occured)
[Huawei P9 Guides, News, & Discussion] zgfg:
Edited, wrong post commented/quated. See new post #105
[Huawei P9 Guides, News, & Discussion] ogisha:
[MENTION=4081738]Atarii[/MENTION]

I would like to have original boot image to try that too.

Thanks!
[Huawei P9 Guides, News, & Discussion] zgfg:
Hmm, unfortunately (?), I didn't make a backup of the original b378 in TWRP (when I flashed TWRP 3.1.0.0). Instead, I immediately installed rooted_b378_boot.img (pre-rooted with phh) as from:

https://xdaforums.com/p9/...-b378-t3574548

I'm afraid that overwriting by Chainsfire' SU might brick the phone.

Do you have IMG of the original boot image, to let me clean of rooted_b378_boot.img and to try with Chainsfire's SU?

Btw, could you please try if Viper4Android works with your SU. You need Busybox (by Stephen, from Google Play), you need to flash ViPER4Android_2.5.0.5_guitardedhero.zip from TWRP. At the end, install ViPERFX_v2.5.0.5.apk

Both the V4A zip and apk for are available from my G-drive:

https://drive.google.com/folderview?...zY2dE9NbzJraUk

PS: Viper4Android is top of the class audio DSP. AFAIK, that v2.5.0.5 is the latest

It works for me perfect on Android 4.4, 5.1, 6 and 7.1.1 devices rooted by Chainsfire's SU

Thx
[Huawei P9 Guides, News, & Discussion] hakaz:
So fortunately here is stock_boot_EVA-L09C432B378.img [Edit: link removed due to reports image not working] (the unmodified boot image I unzipped from the full EVA-L09 package). Just flash it and you should be fine to start unmodified.

Unfortunately Stephen's BusyBox installer fails on my phone (don't know why yet - was perfect on MM with systemless root) so I decided to flash BusyBox through TWRP (worked fine). Here are links to two packages BusyBox-1.26.2-Stericson.zip [Edit: link no longer valid] and BusyBox-1.26.2-YDS-ARM.zip [Edit: link no longer valid] I looked into (both derived here in the forum - just search for - both will be installed to /system/xbin ... if you care about unmodified system ... sorry you have to wait for Stephen modifying his installer). Btw BusyBox-1.26.2-YDS-ARM.zip claims to detect systemless root and to install to /su/xbin but fails to do so (yet I stay with that package for now).

Hope that helps!

Cheers!

Edit: I found an interesting hint about compatibility problems between some SuperSU versions (like 2.79) and Stephen's BusyBox on Google Play - full info is here
[Huawei P9 Guides, News, & Discussion] dkionline:
[MENTION=1772535]hakaz[/MENTION], like again and again, it doesnt work.
[Huawei P9 Guides, News, & Discussion] hakaz:
Excuse me and maybe I am wrong but what exactly would not work?
[Huawei P9 Guides, News, & Discussion] dkionline:
Sorry for my fast answer without checking the results.

I can confirm, that this modded SuperSU working on Nougat.

But theres one necessary step, you guys need TWRP 3.1.0 or it wont work.

It works with stock boot.img, a modded boot isn't tested yet.
[Huawei P9 Guides, News, & Discussion] zgfg:
Thanks, I really like to try, but Huawei P9 is my daily driver, I want to make sure I don't screw up something.

I do have L09 (c432, b378) with TWRP 3.1.0-0 as yours.

I can flash your stock_boot_EVA-L09C432B378.img (to overwrite rooted_b378_boot.img as pre-rooted with phh's SU) and SuperSU-v2.79-201612051815-EMUI5.0.zip.

However, I have also installed JRummy's Busybox (from Google Play) and ViPER4Android_2.5.0.5_guitardedhero.zip + ViPERFX_v2.5.0.5.apk.

I could uninstall BusyBox but it does not let me to uninstall V4A (it says it's system app since the ZIP was flashed through TWRP) - maybe I could try to uninstall V4A by Titanium.

Do I need to uninstall BusyBox and V4A first or may leave them and just go with your stock_boot_EVA-L09C432B378.img and SuperSU-v2.79-201612051815-EMUI5.0.zip?
[Huawei P9 Guides, News, & Discussion] hakaz:
Usage of installed BusyBox does not need rooting (un/installation of BusyBox is another thing). Since V4A is already installed on your phone it shouldn't need rooting to work either (but at this point I'm not sure, never tried that but maximum harm done seems to be stop working till rerooting). So both need su for un/installation but can stay if you unroot through stock boot image.

On the other hand they should never experience an unrooted state because of after flashing stock boot image immediately flash SuperSU-v2.79-201612051815-EMUI5.0.zip in TWRP 3.1.0-0 recovery - so after reboot (and the mentioned one time loop) you should be rooted again ;) .

Cheers!

Note 1: that all comes from my own experience in rooting our P9 and reflects my opinion - it is not buddha's wisdom :angel:

Note 2: and please backup!

Note 3: Btw I switched over to JRummy's BusyBox - installed without any hassle
[Huawei P9 Guides, News, & Discussion] ogisha:
I have tried stock boot image and SuperSU zip for EMUI 5.0 and my phone won't boot. After every reboot it boots in eRecovery. What am I doing wrong!?

When I flash Atarii's phh's boot image, everything backs to normal but with phh's superuser, not with SuperSU. ?
[Huawei P9 Guides, News, & Discussion] hakaz:
What version of TWRP are you using?
[Huawei P9 Guides, News, & Discussion] zgfg:
Same problem with me. I did:

- Wiped Cache and Dalwik

- Installed stock_boot_EVA-L09C432B378.img and SuperSU-v2.79-201612051815-EMUI5.0.zip

I rebooted but it entered eRecovery where I chose Rebot, but it rebooted again to eRecovery.

Before entering eRecovery it offers Power or Volume Up/Down, but it always just boot to eRecovery.

Eventually, I shut down, pressed together and kept pressing Power and Volum Up, released Volume Up and TG it booted to TWRP.

I restored my backed-up Boot image (with phh's SU) and I'm back now in business but with phh.

Yes, I do have TWRP 3.1.0-0 (that was my first and only TWRP installed upon unlocking the bootloader)

---------- Post added at 09:46 PM ---------- Previous post was at 09:40 PM ----------

V4A requires Root - that was my reason being unhappy with phh"s SU, since V4A constantly complains that phone is not rooted (when V4A is started, thus it fails to install its drivers, but without them it cannot do audio DSP).
[Huawei P9 Guides, News, & Discussion] ogisha:
3.1.0—0
[Huawei P9 Guides, News, & Discussion] hakaz:
Sorry to hear that. I will give you access to the TWRP backup of my own unmodified original boot image (not out of the stock ROM package).

You have to use TWRP's Restore obviously ;) - this is the same image l restored every time needed.

Cheers!

Edit: I will PM the link to you!
[Huawei P9 Guides, News, & Discussion] Atarii:
Yea - the boot image you uploaded is corrupted (Huawei Update Extractor doesn't work with the latest N builds). Here's a stock b378 L09 boot image I extracted: https://mega.nz/#!v1RGRSzD!7Z9oKmvEbZHG9UGwxh-iCR_tEw2qjVJ2tHkb1mFSTLk

[MENTION=1772535]hakaz[/MENTION] great work on SuperSu - just installed (with JRummy's BusyBox too) and it works great, finally :)
[Huawei P9 Guides, News, & Discussion] hakaz:
Thank you, I just sticked together what was around yet and tested it!

Btw I checked your image against the image I PMed them ... and they are identical. So either using TWRP Recovery or flashing through TWRP [MENTION=4657522]ogisha[/MENTION] and [MENTION=7786725]zgfg[/MENTION] are on the safe side :D .

Cheers!
[Huawei P9 Guides, News, & Discussion] zgfg:
One last question, Should I uninstall phh's SuperUser apk (SU manager as installed from Google Play) before flashing b378_boot_stock.img and SuperSU-v2.79-201612051815-EMUI5.0.zip through TWRP?

---------- Post added at 11:44 PM ---------- Previous post was at 11:43 PM ----------

Thanks both [MENTION=4081738]Atarii[/MENTION] and [MENTION=1772535]hakaz[/MENTION].
[Huawei P9 Guides, News, & Discussion] Atarii:
You can uninstall it to be safe, but SuperSu installer will uninstall it anyway for you (I left it)
[Huawei P9 Guides, News, & Discussion] zgfg:
Ok, I've also got Chainsfire's SuperSU working now with L09 c432 b378. Thanks again [MENTION=1772535]hakaz[/MENTION] and [MENTION=4081738]Atarii[/MENTION] :)

V4A still does not work, I'll try to pkay with tomorrow
[Huawei P9 Guides, News, & Discussion] zgfg:
Actually, I do have problems with BusyBox:

a) With Stephen's BusyBox (from Google Play):

I open BusyBox, but its installation of applets fails.

b) With JRummy's BusyBox (also from Google Play):

1. I open BusyBox and let it install applets to /su/xbin (default). Root Checker by Clivin and Root Checker by AFEr show that BusyBox is installed.

2. I restart the phone, then Root Checker by AFEr tells that BusyBox is not installed. Even worse, Root Checker by Clivin just crashes and shows nothing.

3. If I open BusyBox again and reinstall the applets, then it is temporarily Ok again (step 1), but upon rebooting the phone BusyBox gets lost again (step 2)

I also tried BusyBox Checker, it shows that BusyBox is installed but under /system/xbin - whereas I did install it under /su/xbin.

Btw, Root Checker by AFEr tells that phone is rooted but that SU is not installed.

I've tried installing the BusyBox (JRummy's) applets to /vendor/xbin, but in that case both Root Checkers (AFEr and Clivin) fail to recognize that BusyBox was installed.

I've tried several times by uninstalling BusyBox, wiping Cache and Dalwik, installing BusyBox again (one or another), testing with different Root Checkers, rebooting, but always got the same result - cannot obtain the persistent and stable BusyBox installation.
[Huawei P9 Guides, News, & Discussion] hakaz:
full info is here

As I mentioned before Stephen's BusyBox fails on Android 7.x/EMUI 5.x, sorry! Stephen himself didn't react on complaints in Google Play (full info is here) so I decided to switch over to JRummy's too ;) .

I experienced the same problem with BusyBox in /su/xbin or /su/bin as temporary working till reboot (obviously won't be transferred/stored to su-injection for next start) . But BusyBox in /system/xbin works without any problem and stays rock-solid after reboot.

On my phone Root Checker by Clivin found both SuperSU and Busybox installed perfectly. I tried AFEr's Root Checker too and found root access ok - couldn't find SuperSU - BusyBox ok (see attachement, might fail to detect SuperSU since no system app in systemless installation?).

That all means to methat rooting works and BusyBox is installed. From my point of view you don't have to reinstall everything from the scratch because:

your phone can be rooted or not, current state is rooted (no doubt)

you can install JRummy's BusyBox to /system/xbin, where it will stay permanently

Have I missed anything else? ;)

Regarding V4A I had no time to check, will do so soon.

Cheers!
[Huawei P9 Guides, News, & Discussion] ogisha:
Guys, thank you very much.

I have tried both methods and both worked. :victory:
[Huawei P9 Guides, News, & Discussion] zgfg:
Yes, thanks, all the same as your findings.

In short, one must use JRummy's BusyBox and configure it to install applets to /system/xbin.

As such, it survives rebooting as well as wiping the Cache and Dalwik.

Also, both Root Checker by Clivin and BusyBox Checker then correctly recognize root, SU, and BusyBox and correctly report that they are installed to /system/xbin

As pointed earlier by [MENTION=4081738]Atarii[/MENTION], Adaway can also be successfully configured but one must set Custom target for hosts files to /vendor/etc/hosts