The popularity of the Huawei P8 is far from that of any Samsung, LG or even Sony flagship device, especially as far as it comes to the rooting communities. Because of this it can be hard to find a working, reliable guide to teach you how to root the Huawei P8. Fortunately we do have a straightforward guide that can be used to root the device. If you’d like to root the Huawei P8, follow the steps we have provided below.
Before we get started, please note that this guide is not for the Huawei P8 Lite. It is strictly for the Huawei P8.
Step 1: Unlock your Bootloader
The first step for this guide will involve unlocking your Huawei P8 bootloader. Thankfully this process can be done fairly easily and the information you need can be received straight from Huawei. To receive the unlock for your bootloader, visit this link.
Go through the terms and conditions and go through the login process. We’ve found that logging in through Facebook can be a lot easier – this method allows you to receive the code immediately.
Once you’ve registered you’ll need to enter the information of your device. Like most bootloader unlocks you’ll need the IMEI and serial number, both of which can be found on the box of the smartphone or within ‘about phone’ in the settings menu.
You will also need your product ID number. This can be found by dialling *#*#1357946#*#* on the dialler of your Huawei H8.
Once you have entered the required information, you’ll need to continue through the process on the Huawei website until the option to receive your unlock key is provided. If you’ve chosen email, your code will be sent to your email address for download. Alternatively connected Facebook accounts will receive a link to download it directly.
Step 2: Downloading TWRP and ADB & Fastboot
For the next step you’ll need to download TWRP so that you can install it onto your device. TWRP is a custom recovery program that can later be used to root your device and prepare backups. Unfortunately the latest version of TWRP causes a bootloop for the Huawei P8, but a member on the XDA Developers forum has provided a working version. It can be downloaded here.
Once you have downloaded TWRP, unzip it and put it in a folder you’ll be able to access quickly.
You’ll now need to install ADB & Fastboot – this is a tool that is necessary for rooting most devices – it can be used via the command window in Windows. You can find the latest download version for ADB & Fastboot here.
The installation process is rather straightforward. Go through the install Wizard but ensure that you save it to an area that you can access easily for the next step.
Once you have installed ADB & Fastboot, you should find the TWRP file you downloaded previously and place it into the same folder as the ADB & Fastboot tool.
Step 3: Installing TWRP with ADB & Fastboot
On your Huawei P8, visit the settings menu and navigate to ‘Device Information.’ Next, find the ‘build number’ option and tap it 10 times. After tapping the option enough times, developer options will be enabled.
You can now find developer options within the settings menu. Navigate to developer options and within the developer options menu, tap to turn on USB Debugging.
Next, connect your Huawei P8 to your PC via USB cable and tap to accept any pop-ups that may appear on the Huawei P8’s display.
On your PC, navigate to the folder that has the ADB & Fastboot tool and the TWRP file. Once in the file, hold shift and right click and click on the ‘open command window here’ option.
Once the command window has opened, ensure your Huawei P8 is still connected to your PC. First type ‘adb devices’ in the CMD window to confirm that your Huawei P8 is connected properly. If no device appears, try disconnecting the device, installing the Huawei P8 drivers and connecting the device again.
Once you have confirmed that your Huawei P8 is connected, type ‘adb reboot bootloader’ into the CMD window. This command will restart your Huawei P8 and bring it to a new screen. Next, type ‘fastboot devices’ into the command window to confirm the device is still connected correctly to the PC. If the device is connected, you’re now ready to install TWRP onto your device. You can do this by typing the following command into the CMD window.
Once the CMD window has confirmed that the process has been completed, take your Huawei P8 and hold the restart button until it restarts.
Step 4: Final Rooting Steps
At this point you’ll be just a few minutes away from a rooted Huawei P8. For the next step you’ll need the latest version of SuperSU from this link. You can save time by accessing this link on your Huawei P8. Otherwise you can download the file onto your PC and then transfer the file over via USB.
The file provided on the link above is an .apk file but it cannot be installed via normal methods. Instead, you’ll need to first switch off your device and then the volume up and power key to reboot the phone into the TWRP recovery. If given the option, choose ‘read only mode.’
Next, navigate to advanced, then navigate to terminal. Tap Select and enter the following code: echo SYSTEMLESS=true>>/data/.supersu. Once you have entered this code, navigate back to the main menu and tap the install option. Use the file browser to find the SuperSU .apk file you downloaded previously and select it to install. Once the .apk file has installed, restart the phone.
Your device should now be rooted!
You can use an app like this to confirm your root privileges.