How to Root the Huawei P9 Lite
The Huawei P9 Lite is a variant of the original Huawei P9 that also has another variant called P9 Plus. The P9 Lite, as the name implies, is a lightweight competitor phone that comes with some great specs including 2GB and 3GB RAM options, 16GB internal storage, and Android 6.0 Marshmallow on-board.
Even though the phone runs the latest version of Android on-board, there’re still many features that it doesn’t pack with itself and those can be added by rooting it. When you root an Android phone, you allow yourself to load the so-called root-only apps on the phone that utilize the actual power of the phone and let you customize it to a greater extent.
When you root your Huawei P9 Lite, not only can you add new features to it, but you can also remove the existing stock apps from the phone that you don’t use a lot. That way you can reclaim the precious memory space on the phone and use it for something more useful – such as for more root-only apps that actually do something useful for you than just sitting there on your phone’s homescreen.
So, without further ado, here’s how you can go about rooting the Huawei P9 Lite and getting a custom recovery installed on it:
Before You Begin
- This could void the warranty of your device. We won’t be held responsible for anything that happens from doing this tutorial so please proceed at your own risk.
- This procedure uses commands for the Windows version of Fastboot. If you’re on Linux or Mac, the commands will slightly vary for you.
- Since this’ll unlock the bootloader, all the data on your device will be erased. So please go ahead and backup everything that you wish to keep.
- You should have installed ADB on your PC. Install it if you haven’t already.
- This should also flash a custom recovery called TWRP on your device.
- You should only do this procedure on a Huawei P9 Lite.
How to Root the Huawei P9 Lite
To root the device, you’ll first unlock the bootloader, flash a custom recovery, and then use the custom recovery to flash SuperSU to actually root the phone. Here’s how to do that:
Downloading Required Files
- Download P9 Lite Root Package and save it to your desktop.
P9 Lite Root Package
Unlocking the Bootloader on the Huawei P9 Lite
- Head to Menu > Settings > About phone on your device and tap on Build number for 7-8 times and it’ll say you’re a developer. You’ve just unlocked the developer menu by doing that.
- Head to the newly unlocked menu at Menu > Settings > Developer options and turn on USB debugging.
- Head to Menu > Settings > Developer options and enable OEM Unlocking.
- Head to Menu > Settings > About phone > Status and note down the serial number you see on your screen.
- Open the dial-pad on your device and dial *#*#1357946#*#* and you will see your product number. Note it down as you’re gonna use it in the following steps.
- Dial *#06# from the dial-pad of your device and note down the 15-digit IMEI number of your device.
- Open a web browser on your PC and head over to the Huawei’s Bootloader Unlock website and create a new account if you don’t already have one and then sign-in.
- The site will ask you to input your device’s details for it to be able to generate a bootloader unlock code for you. Do so and submit the form.
- You should receive an unlock code on your email address from Huawei.
- Plug in your device to your PC using a USB cable.
- Open the ADB folder located in the C:/ drive of your PC and hold down Shift on your keyboard and right-click anywhere on the screen and select Open command window here.
- When the command prompt window opens, type in the following command and hit Enter:
adb reboot bootloader
- Your device should reboot into the bootloader mode.
- When the device enters the bootloader mode, type in the following command into the command prompt window and hit Enter. Make sure to replace KEY with the unlock code you have received from Huawei.
fastboot oem unlock KEY
- Follow the on-screen instructions for unlocking the bootloader on your device.
- When the bootloader’s unlocked, reboot your device by typing in the following command into the command prompt window and hitting Enter:
fastboot reboot
There you go, you’ve successfully unlocked the bootloader on your Huawei P9 Lite. It’s time to flash a custom recovery on your device and the following section teaches how to do exactly that:
Flashing a Custom Recovery on the Huawei P9 Lite
- Head to Menu > Settings > About phone on your device and tap on Build number for 7-8 times and it’ll unlock the developer menu for you.
- Head to the unlocked menu at Menu > Settings > Developer options and turn on USB debugging.
- Plug in your device to your PC using a USB cable.
- Copy twrp.img from your desktop over to the ADB folder located in the C:/ drive of your PC. It’s the folder where adb.exe and fastboot.exe exist.
- Open the ADB folder and hold down Shift and right-click anywhere on the screen and select Open command window here.
- Type in the following command into the command prompt window and press Enter:
adb reboot bootloader
- Your device should reboot into the bootloader mode.
- When your device enters the bootloader mode, type in the following command into the command prompt window and press Enter:
fastboot flash recovery twrp.img
- It’ll start flashing TWRP Recovery on your device.
- When it’s done flashing a recovery, reboot your device by entering in the following command into the command prompt window and pressing Enter:
fastboot reboot
TWRP Recovery’s now up and running on your Huawei P9 Lite. Let’s see how you can root your device now:
Rooting the Huawei P9 Lite
- Connect your device to your PC using a USB cable.
- Copy Root-SuperSU-v2.65.zip from your desktop over to the internal storage of your device.
- When SuperSU .zip has been copied, disconnect your device from your PC.
- Turn off your device.
- Turn your device back on in recovery mode by pressing and holding down Volume Up and Power buttons together for a few seconds.
- When your device enters the recovery mode, tap on Install to install a new file on your device.
- Navigate to your internal storage and select SuperSU .zip that you copied earlier to be installed on your device.
- Tap on Swipe to Confirm Flash to begin flashing SuperSU on your device.
- Wait for TWRP to flash SuperSU on your device.
- When it’s done flashing SuperSU, reboot your device by tapping Reboot followed by System.
Cheers, your Huawei P9 Lite is now rooted and has a custom recovery also.
Now that your device’s rooted, you can head over to David’s how to load a custom ROM on an Android device tutorial to learn how you can flash a custom ROM on your device. Once you’ve learnt that, you can head to our huge Android custom ROMs repository to find all the available ROMs that you can flash on your device.
Let us know how this worked for you!
Huawei’s Bootloader Unlock site isn’t working; is there any alternative in getting that code?
I had same problems so i re registered and used Hong Kong website and got my bootloader code. this is the only way ive found for the P9 after searching for around a week.
in step 6 (rooting huawei p9 lite), I cannot enter the recovery mode. the phone will enter updating package and then show package not exist.
syedix, did you find other soluction about this problem?
Me too in step 6 (rooting huawei p9 lite), I cannot enter the recovery mode. the phone will enter updating package and then show package not exist.
Is there othe soluction?
C:Program Files (x86)Minimal ADB and Fastboot>fastboot flash recovery twrp.img
target reported max download size of 471859200 bytes
sending ‘recovery’ (28928 KB)…
FAILED (data transfer failure (Unknown error))
finished. total time: 23.308s
I dont know what to do.
step 2 of rooting the p9 lite, it won’t allow me to copy the file over, I can open the phone’s internal memory to view it but it won’t allow me to write to it. Anyone know how I change this permission
step 6 of rooting huawei p9 lite just give me an option to download a recovery and not allow me to install from the internal memory
i have the same problem!
same problem
same problem pls help
anyone found a solution for this !? please !
Hey. When I attempt to go into recovery mode, I only get what I’m showing here (on the second one, it just freezes as shown and stays like that until I hard reset it).Any tips? https://uploads.disquscdn.com/images/737bc671f509bed51aae1265b5d33235c4f75775d4b12d29648e2f0674880571.jpg https://uploads.disquscdn.com/images/897749865cfcc80913b0daea4037c5df725211009daa1c927c4c0378e5a241f0.jpg
I have the same problem. Have you found a fix?
It worked. my phone was rooted without problems. Now, 1 year later I factory reset my phone using advanced twrp method and deleted everything (chach, system ect.) this was accidental. I was wondering if anyone can help me fix my problem. My phone is stuck in boot mode with the ‘your device has been unlocked and cant be trusted’ message and it wont go further. I installed a custom rom called elemental but it didnt work. please help if you can, otherwise ill just throw my phone against a wall since its useless now.
it is work on huawei g9 youth?
“fastboot oem unlock KEY” , * # * # 1357946 # * # * and act.. The question. How much space do you need to press the letters between each other? 1 or 2 space knock down?
“fastboot oem unlock KEY” , * # * # 1357946 # * # * and act.. The question. How much space do you need to press the letters between each other? 1 or 2 space knock down?