TWRP / Root Huawei p9 lite

Search This thread

tonnky

New member
Mar 2, 2010
2
1
Hello,
Seeking to root for a solution to my p9 lite. The bootloader is already unlocked. The TWRP from P9 can be flashed while but it will not boot into the TWRP-mode. Does somebody has any idea? thank you in advance ever.

cu tonnky
 

firepenguin

Senior Member
Aug 14, 2015
61
54
Casale Monferrato
I don't know if it'll work.

You need ADB installed on your computer
First enable USB debug.
  1. Download this (Click on "RAW")
    You also need a superuser apk and su binary
  2. Do the following commands:
    Code:
    adb push psneuter /data/local/tmp
    adb shell
    cd /data/local/tmp
    chmod 777 psneuter
    ./psneuter
    adb kill-server
    adb devices
    adb shell
    mount -o remount,rw system
    exit
    adb push su /system/bin
    adb install Superuser.apk
    adb shell
    chmod 4755 /system/bin/su
    mount -o remount,ro system
    exit
 
  • Like
Reactions: obijankenobi

Miss Montage

Senior Member
Mar 3, 2015
208
156
[Tutorial] How to root Huawei P9 lite

1. Get Unlock-Code for the Bootloader: https://emui.huawei.com/en/plugin.php?id=unlock&mod=unlock&action=apply
I could only succeed by Facebook login, otherwise I got the error message "No European Login" or something along these lines.

2. Install Fastboot: http://forum.xda-developers.com/showthread.php?t=2317790

3. Activate developer options (tap 7x on Build-Nr under "Settings" -> "About phone"), under "Settings" -> "Developer options" enable USB-Debugging.
Also activate OEM Unlock in developer options.

4. Connect the phone to the computer and boot into Fastboot mode, either by
Code:
adb reboot bootloader
per console or by pressing "Vol-" and "Power" simultaneously. Confirm dialog on display.

5. With a Windows computer select "run" and enter:
Code:
fastboot oem unlock 01234567891011 (replace with your code)
Confirm on screen. (Navigate with "Vol+/-" , confirm with "Power" button)

6. Your device will be reset.

7. Download and extract TWRP: https://mega.nz/#!FtB2gZKL!vEa351gkerd9EJC0nhJUHDb4jZKy4zlFdOMGMmucb2g

8. Once again boot into Fastboot mode, navigate to TWRP-folder and enter
Code:
fastboot flash recovery recovery_twrp.img
Wait for success message.

9. Enter
Code:
fastboot reboot
and shut down the phone again.

10. Download - do not extract - SuperSu: http://download.chainfire.eu/supersu
(do not mind the beta, I tried the last stable version first, but if you update the app it will not succeed in updating the binary.)

11. Unplug USB cable, boot into TWRP with "Vol+" and "Power". You find the settings in the main menu on the second button from the bottom on the right side. There you tap on the world symbol and you can change the language to "English". Then you go back to the main menu, select "Advanced" and "ADB Sideload", connect the phone to the computer and enter
Code:
adb sideload path\to\BETA-SuperSU-v2.74-2-20160519174328.zip

If all goes well, your device is rooted and you can reboot the phone.
With Linux you can either begin each fastboot command with "sudo" or add your username to the group "androiddev": http://android.stackexchange.com/questions/36954/fastboot-not-working-on-my-nexus-4/37085#37085
--------------------------------------------------------------------------------------------------------------------------
So far I get error message
Code:
createTarFork( ) process ended with error: 255
when trying to backup the boot partition...
 
Last edited:
  • Like
Reactions: thrl and 2010matej

tonnky

New member
Mar 2, 2010
2
1
Under Advanced in TWRP there is a rootfunktion. So it is not necessary per adb a superuser to install. use Integrated roootfunktion and after reboot just a normal superuser e.g. install chain Faire. ;)
cu tonnky

1. Get Unlock-Code for the Bootloader: https://emui.huawei.com/en/plugin.php?id=unlock&mod=unlock&action=apply
I could only succeed by Facebook login, otherwise I got the error message "No European Login" or something along these lines.

2. Install Fastboot: http://forum.xda-developers.com/showthread.php?t=2317790

3. Activate developer options (tap 7x on Build-Nr under "Settings" -> "About phone"), under "Settings" -> "Devloper options" enable USB-Debugging.

4. Connect the phone to the computer and boot into Fastboot mode, either by
Code:
adb reboot bootloader
per console or by pressing "Vol-" and "Power" simultaneously. Confirm dialog on display.

5. With a Windows computer select "run" and enter:
Code:
fastboot oem-unlock 01234567891011 (replace with your code)
Confirm on screen. (Navigate with "Vol+/-" , confirm with "Power" button)

6. Your device will be reset.

7. Download and extract TWRP: https://www.mega:#!FtB2gZKL!vEa351gkerd9EJC0nhJUHDb4jZKy4zlFdOMGMmucb2g

8. Once again boot into Fastboot mode, navigate to TWRP-folder and enter
Code:
fastboot flash recovery recovery_twrp.img
Wait for success message.

9. Enter
Code:
fastboot reboot
and shut down the phone again.

10. Download - do not extract - SuperSu: http://download.chainfire.eu/supersu
(do not mind the beta, I tried the last stable version first, but if you update the app it will not succeed in updating the binary.)

11. Unplug USB cable, boot into TWRP with "Vol+" and "Power". You find the settings in the main menu on the second button from the bottom on the right side. There you tap on the world symbol and you can change the language to "English". Then you go back to the main menu, select "Advanced" and "ADB Sideload", connect the phone to the computer and enter
Code:
adb sideload path\to\BETA-SuperSU-v2.74-2-20160519174328.zip

If all goes well, your device is rooted and you can reboot the phone.
With Linux you can either begin each fastboot command with "sudo" or add your username to the group "androiddev": http://android.stackexchange.com/questions/36954/fastboot-not-working-on-my-nexus-4/37085#37085
--------------------------------------------------------------------------------------------------------------------------
So far I get error message
Code:
createTarFork( ) process ended with error: 255
when trying to backup the boot partition...
 
  • Like
Reactions: Miss Montage

Schlengge

Senior Member
Sep 11, 2012
916
314
Berlin
Coming from Sony... Is there any need to back up DRM keys before unlocking the bootloader?
With Sony devices unlocking bootloader always made some features unavailable because of losing DRM keys (e.g. worse camera quality).
Is this the case for the P9 Lite?
 

harisyks

Senior Member
Jul 12, 2013
263
58
Sarajevo
Hello everyone. This is my first Huawei phone, the P9 Lite, so:

Can someone tell me if it's possible to root it using kingroot apk? If yes, is it possible to completely unroot it (maybe with the hisuite) so I can restore warranty?

Quote me, please. Thanks :)
 

Schlengge

Senior Member
Sep 11, 2012
916
314
Berlin
Hello everyone. This is my first Huawei phone, the P9 Lite, so:

Can someone tell me if it's possible to root it using kingroot apk? If yes, is it possible to completely unroot it (maybe with the hisuite) so I can restore warranty?

Quote me, please. Thanks :)

Kingroot is not possible (at least not yet).
There is a root method but it requires unlocking of the bootloader and flashing TWRP and this voids your warranty.
 

rann77

Member
Jul 28, 2012
30
17
thanks! Its possible to restore warranty after unlocking bootloader?
The chinese models, like vns-tl00/vns-dl00, have stock roms, and flashing the stock roms can relock the bootloader.
For other models, maybe you have to wait util somebody share a stock rom.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 3
    pan.baidu.com/s/1boY6UcB
    this is a chinese version twrp for root g9 youth
    (p9 lite's chinese version: vns-tl00,vns-dl00) .
    from: club.huawei.com/thread-9591220-1-2.html
    I thinks it should works.
    3
    Please try my tool and report back


    [TOOL] SRK Tool Huawei Bootloader/ROOT/Recovery/Backup/Utility (STABLE - 20160723)


    Update

    Build name : Som-Tum-Thai (Thai Food) 1.6 - 20160723
    - Add TWRP+ROOT Huawei P9 Lite Credit : @Mandrigan
    - Add TWRP+ROOT Huawei Medaipad X2 (Marshmallow,Lollipop)
    Credit : Eennap [email protected] Mediapad X1 & X2 fan page - Thailand
    - Add Changing oeminfo and custom.bin (Huawei P9-AL10) Credit : @raTHiopA
    - Update TWRP for Huawei P9 to the lastest version (2016-05-31 19:38:42 +0100 by Paul O'Brien)
    2
    Does anyone know how to backup the stock recovery? I could do it with ddif, but how do I find out the address and block size?
    Okay, I dared to install the TWRP and it works. I uploaded it here: https://mega.nz/#!FtB2gZKL!vEa351gkerd9EJC0nhJUHDb4jZKy4zlFdOMGMmucb2g
    2
    [Tutorial] How to root Huawei P9 lite

    1. Get Unlock-Code for the Bootloader: https://emui.huawei.com/en/plugin.php?id=unlock&mod=unlock&action=apply
    I could only succeed by Facebook login, otherwise I got the error message "No European Login" or something along these lines.

    2. Install Fastboot: http://forum.xda-developers.com/showthread.php?t=2317790

    3. Activate developer options (tap 7x on Build-Nr under "Settings" -> "About phone"), under "Settings" -> "Developer options" enable USB-Debugging.
    Also activate OEM Unlock in developer options.

    4. Connect the phone to the computer and boot into Fastboot mode, either by
    Code:
    adb reboot bootloader
    per console or by pressing "Vol-" and "Power" simultaneously. Confirm dialog on display.

    5. With a Windows computer select "run" and enter:
    Code:
    fastboot oem unlock 01234567891011 (replace with your code)
    Confirm on screen. (Navigate with "Vol+/-" , confirm with "Power" button)

    6. Your device will be reset.

    7. Download and extract TWRP: https://mega.nz/#!FtB2gZKL!vEa351gkerd9EJC0nhJUHDb4jZKy4zlFdOMGMmucb2g

    8. Once again boot into Fastboot mode, navigate to TWRP-folder and enter
    Code:
    fastboot flash recovery recovery_twrp.img
    Wait for success message.

    9. Enter
    Code:
    fastboot reboot
    and shut down the phone again.

    10. Download - do not extract - SuperSu: http://download.chainfire.eu/supersu
    (do not mind the beta, I tried the last stable version first, but if you update the app it will not succeed in updating the binary.)

    11. Unplug USB cable, boot into TWRP with "Vol+" and "Power". You find the settings in the main menu on the second button from the bottom on the right side. There you tap on the world symbol and you can change the language to "English". Then you go back to the main menu, select "Advanced" and "ADB Sideload", connect the phone to the computer and enter
    Code:
    adb sideload path\to\BETA-SuperSU-v2.74-2-20160519174328.zip

    If all goes well, your device is rooted and you can reboot the phone.
    With Linux you can either begin each fastboot command with "sudo" or add your username to the group "androiddev": http://android.stackexchange.com/questions/36954/fastboot-not-working-on-my-nexus-4/37085#37085
    --------------------------------------------------------------------------------------------------------------------------
    So far I get error message
    Code:
    createTarFork( ) process ended with error: 255
    when trying to backup the boot partition...
    1
    Format. /data.

    Hello, I'm having the same issue as tonnky, I think the stock recovery mode overwrites the flashed TWRP one on reboot.
    Can you please be more elaborate on the steps I need to follow in order to overcome my problem?

    Highly appreciate all of you people's help, thank you in advance!

    Edit: Nevermind, apparently wether you reboot and then go into recovery or booting straight into recovery after flashing TWRP makes a huge difference!
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone