Guide - root huawei p9

Search This thread

djeloy

Member
Apr 26, 2012
25
23
First of all I apologize for my bad English

Remember that you have to have the bootloader unlocked to make this process


We started;

1 - DOWNLOAD THIS FILE
Oficial EGTV - http://bit.ly/OficialROOTP9EGTV
-
Mirror - http://bit.ly/Mirror2ROOTp9

2 - Put the phone in fastboot mode
  • Power off device
  • Press the volume button down and keep
  • USB connected to the computer, connect the phone, hold the volume down

3- INSTALL TWRP
Open folder 1
Doble click in windows the .bat file.

4- INSTALL SUPER SU
Open FOLDER 2
Take the .zip in the Micro SD or USB OTG (Internal memory TWRP not mounted)
Enter TWRP turning off the device, turn it on by pressing volume up
Press install
Search the .ZIP file SuperSU

SCREENSHOOT
766f24dfd8265524320c7629ef7d57b8.jpg

fab7e42d74ff751e37462db516ffc487.jpg


NOTE:
2 reboots after installing the SuperSU
TWRP mini bug No internal memory detected
FOLDER 3 IS INSTALL RECOVERY STOCK - EVA-L09 MODEL




Video installation SPANISH
https://www.youtube.com/watch?v=tsE4XWbo5oE


DEVICE TREE: https://github.com/huawei-dev-kirin/android_device_huawei_eva


Sorry my bad English

Regards the ELOYGOMEZ!
 

clouds5

Senior Member
Feb 8, 2011
1,923
507
Thx! This is great :)

Could anyone point me to a guide on how to unlock the bootloader? Also is it possible to relock the bootloader without evidence? Point is to keep warranty intact.

cheers
 

paratox

Senior Member
Feb 18, 2010
1,112
376
Thx! This is great :)

Could anyone point me to a guide on how to unlock the bootloader? Also is it possible to relock the bootloader without evidence? Point is to keep warranty intact.

cheers

this would be really interesting! on P8 and Mate 8 it was possible to unlock and relock with DC-Unlocker and bootloader did not show "RELOCKED", instead it showed "LOCKED" like never unlocked before. i hope this also works on the P9. maybe some brave one could try this.

in response to my e-mail i sent to DC-Unlocker support i got the following answer:

On Tue, Apr 26, 2016 at 10:39 AM, xxxxxxx wrote:

Hello!


Do you know when you will support Huawei P9 bootlaoder unlock / relock (with "LOCKED" in bootloader menu)?


greets
Hello,


Download this HCU tool https://files.dc-unlocker.com/share.html?v=share/B94BAEFE0A754B33AD2D62DBFC609355 detect phone on it and try to read bootloader code from there.
 
Last edited:

paratox

Senior Member
Feb 18, 2010
1,112
376
DC-unlocker has already support for p9 unlocking. or maybe e-mail huawei like on the last models.

Gesendet von meinem EVA-L09 mit Tapatalk
 

ValVK

Senior Member
Dec 15, 2008
493
45
Munich
i got already payed unlock code for bootloader, but if i try to unlock with fastboot oem unlock (and my unlock code),
i got always error msg - "FAILED (remote: Command not allowed)
finished. total time: 0.015s"
What could be here wrong?
 

mahst68

Senior Member
Aug 29, 2010
614
347
Indianapolis
i got already payed unlock code for bootloader, but if i try to unlock with fastboot oem unlock (and my unlock code),
i got always error msg - "FAILED (remote: Command not allowed)
finished. total time: 0.015s"
What could be here wrong?

Did you set the switch to unlock in developer settings? its easy to forget
 

gingermobile

New member
Apr 29, 2016
1
0
If the phone is rooted will this also unlock it from the network?
UK.

02 selling the phone for £369.99 which is way cheaper than £449 from Huawei or CarphoneW.

thus tempted to buy and then root IF this will also unlock phone?

or..

how would I simply unlock the phone for any network ?
 

paratox

Senior Member
Feb 18, 2010
1,112
376
would it be also possible to just boot the twrp (fastboot boot twrp.img) instead on flashing it? for rooting with supersu it should be enough to flash it once with a bootet twrp and the original recovery would be intact. this would be better for OTAs so we don`t have to revert every time to stock recovery.
also interesting would be the fastboot commad to backup the original recovery (and maybe the other partitions too)!

edit: just booting twrp does not work, you have to flash it.

what do we have to do for a OTA update? unroot with supersu and flash back stock recovery?
 
Last edited:
  • Like
Reactions: Corvida

King p1n

Senior Member
Jul 26, 2013
1,634
819
If the phone is rooted will this also unlock it from the network?
UK.

02 selling the phone for £369.99 which is way cheaper than £449 from Huawei or CarphoneW.

thus tempted to buy and then root IF this will also unlock phone?

or..

how would I simply unlock the phone for any network ?

just a heads up I hear O2 phones are usually bootloader locked
 

clouds5

Senior Member
Feb 8, 2011
1,923
507
So with this dc unlocker tool, can I relock the bootloader without leaving evidence of it being unlocked? Seems like the most efficient method to me...
 

King p1n

Senior Member
Jul 26, 2013
1,634
819
Bootloader unlocked and network unlocked are two separate things.
I didn't say they were the same?
Phones from O2 usually have bootloaders that are permanently locked, with no way to unlock

Which I was drawing the person's attention too, as this method requires an unlocked bootloader for example.
 

scook94

Senior Member
Dec 28, 2010
654
124
Stirling, UK
just a heads up I hear O2 phones are usually bootloader locked

I didn't say they were the same?
Phones from O2 usually have bootloaders that are permanently locked, with no way to unlock

Which I was drawing the person's attention too, as this method requires an unlocked bootloader for example.

Okay, I thought you were replying specifically to the OP's query.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 21
    First of all I apologize for my bad English

    Remember that you have to have the bootloader unlocked to make this process


    We started;

    1 - DOWNLOAD THIS FILE
    Oficial EGTV - http://bit.ly/OficialROOTP9EGTV
    -
    Mirror - http://bit.ly/Mirror2ROOTp9

    2 - Put the phone in fastboot mode
    • Power off device
    • Press the volume button down and keep
    • USB connected to the computer, connect the phone, hold the volume down

    3- INSTALL TWRP
    Open folder 1
    Doble click in windows the .bat file.

    4- INSTALL SUPER SU
    Open FOLDER 2
    Take the .zip in the Micro SD or USB OTG (Internal memory TWRP not mounted)
    Enter TWRP turning off the device, turn it on by pressing volume up
    Press install
    Search the .ZIP file SuperSU

    SCREENSHOOT
    766f24dfd8265524320c7629ef7d57b8.jpg

    fab7e42d74ff751e37462db516ffc487.jpg


    NOTE:
    2 reboots after installing the SuperSU
    TWRP mini bug No internal memory detected
    FOLDER 3 IS INSTALL RECOVERY STOCK - EVA-L09 MODEL




    Video installation SPANISH
    https://www.youtube.com/watch?v=tsE4XWbo5oE


    DEVICE TREE: https://github.com/huawei-dev-kirin/android_device_huawei_eva


    Sorry my bad English

    Regards the ELOYGOMEZ!
    2
    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!

    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

    @hakaz great work on SuperSu - just installed (with JRummy's BusyBox too) and it works great, finally :)
    2
    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.

    There are issues in the Huawei kernel, read
    https://forum.xda-developers.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.
    1
    would it be also possible to just boot the twrp (fastboot boot twrp.img) instead on flashing it? for rooting with supersu it should be enough to flash it once with a bootet twrp and the original recovery would be intact. this would be better for OTAs so we don`t have to revert every time to stock recovery.
    also interesting would be the fastboot commad to backup the original recovery (and maybe the other partitions too)!

    edit: just booting twrp does not work, you have to flash it.

    what do we have to do for a OTA update? unroot with supersu and flash back stock recovery?
    1
    Worked perfect. Thanks.

    ---------- Post added at 04:01 AM ---------- Previous post was at 03:55 AM ----------

    This thread needs reworking. I went through all posts in this thread and instead of being guided, I just feel more confused.

    I was lost also for a minute. But the fastest way i just did it was follow this guide and stop at the 7 min mark:

    https://www.youtube.com/watch?v=aT3MODvEoKg


    Then follow djeloy's instructions in this form on the first page:

    4- INSTALL SUPER SU
    Open FOLDER 2
    Take the .zip in the Micro SD or USB OTG (Internal memory TWRP not mounted)
    Enter TWRP turning off the device, turn it on by pressing volume up
    Press install
    Search the .ZIP file SuperSU



    NOTE:
    2 reboots after installing the SuperSU
    TWRP mini bug No internal memory detected
    FOLDER 3 IS INSTALL RECOVERY STOCK - EVA-L09 MODEL