After you have unlocked the bootloader on your Huawei P9 Plus, you will probably want to install a custom recovery and root your phone. As you already know, the process of flashing a custom recovery is not that difficult if you just have an unlocked bootloader.
Once you have installed a custom recovery on your phone, you can then use the recovery to flash SuperSU, which will help you gain root on the phone. That way, you will have a custom recovery along with root access on your phone and that is the very thing that you need to be able to play around with the custom Android stuff.
What Is Rooting the Android Operating System?
When you buy a new smartphone, you might not know it, but the Android operating system is in a “locked” state. For the most part, it will not make much difference to you: most apps are still available to use, and there are benefits to this locked state such as better security. When you root the Android operating system, you are gaining full administrative rights over the OS.
Why Would You Want to Root Android?
Gaining full administrative rights over the operating system has some perks to some people. For example, out of the millions of applications available on Google Play, some of them will not be able to run on your device unless it has root access. Until you have a specific need for wanting Android rooted, you probably want to leave Android as it comes out of the box. But if you need to unlock an app, then that is when you want to look into rooting methods. Using more apps is only one example of why you may want root access, here is the full list of benefits:
- Unlock more applications. Some of the apps available for Android cannot run unless you have root access. This is because the app’s features cannot run without the root permissions because the features require the full system access before they can be useful.
- Better battery life. Smartphones are great, but they have one caveat, which is each time you recharge the battery, it loses some of its overall lifespan. That means smartphones, in general, do not make great investments, and if your weekly paycheck is low, you will want to limit the number of smartphones you go through. One of the ways you can do that is by removing bloatware and creating a better battery life.
- Bolster performance. If you are the budget-conscious shopper, you may want to increase the device’s performance. This can be done by removing the bloatware as well. The more processes you have running, the more memory that is used. By removing some of the apps, it can help lighten the load on your hardware.
- Customize Android with themes. With root access, you can download and install any theme that’s at your disposal. That includes any customized theme you can find.
What Are the Risks of Rooting?
If you are buying a smartphone that is not running iOS, then it is probably the Android operating system that you want running as the ideal software to pair with your shiny new hardware. It is, in fact, the Android OS that offers you the chance to customize the OS considerably more than iOS: custom themes, run any app you know about, the works. For many users, the “openness” of an operating system is important, because it offers them more freedom which means running into fewer problems with their investments. But there is a reason iOS likes a far more locked approach: the ability to customize is not for everyone, and if you do not know what you are doing it can lead to a lot of problems which can define your time with the OS rather than freedom.
With power (full admin permissions) comes greater responsibility. Here are some of the main risk factors when it comes to rooting:
- Malware becomes a larger threat. You might read the occasional news article about how new malware is wreaking havoc in parts of the world on Android. But the Android operating system with root access becomes considerably more vulnerable to exploits because applications are no longer prisoned off in their own sandbox environments. This means if you accidentally download malware, it can do more damage because it can spread throughout the operating system and even jump into other applications and potentially view sensitive data.
- You can accidentally brick the smartphone. There is always a chance that you end up bricking the smartphone before you had the opportunity to use it with root access. That is because if you are going to brick it, it is going to happen during the rooting process.
- You may void the warranty. Most manufacturers do not allow you to root the Android operating system and still get to bring it in for repairs under warranty. Whether they are legally meant to do that or not is another question, but it is now common knowledge that most do not want to help you if they find out you have unlocked the OS with root access.
This is what you need to get TWRP Recovery installed on the Huawei P9 Plus smartphone and then get root access to it.
Details You Should Know
- You must have unlocked the bootloader on your phone before you can do this tutorial. If you have not done so yet, please head to our how to unlock the bootloader on the Huawei P9 Plus tutorial and do so first. Then, return here and continue.
- This tutorial uses the Windows version of Fastboot to flash a custom recovery. If you happen to use a computer that runs either Mac or Linux, you will need to install ADB for Mac or ADB for Linux on your computer.
- You should have ADB USB drivers installed on your Windows computer. Install the drivers if they are not already installed.
- The guide should flash a custom recovery called TWRP on your Huawei P9 Plus phone.
- The guide will flash SuperSU to gain root access on the Huawei P9 Plus phone.
- You should only try this on a Huawei P9 Plus. Doing this on any other phone will brick the phone.
Files You Need
- Download Fastboot and save it to your computer. It will be used to send commands to your phone.
- Download TWRP Recovery for Huawei P9 Plus and save it to your computer. It is the custom recovery that will be flashed on your phone.
- Download SuperSU and save it to your computer. It will help you root your phone.
Installing a Custom Recovery on the Huawei P9 Plus
- First off, extract files from Fastboot over to your computer by right-clicking on the Fastboot archive and selecting Extract here. The extracted files can now be used.
- Head to Menu->Settings->About phone on your phone and tap on Build number for 7-8 times and it will say you are a developer. It means it has unlocked the developer menu on your phone.
- Head to the developer menu at Menu->Settings->Developer options and turn on the option that says USB debugging.
- Once USB debugging is enabled on your Huawei P9 Plus phone, connect your phone to your computer using a suitable USB cable.
- Copy TWRP Recovery .img over to the folder where you have extracted Fastboot files. It is the folder where fastboot.exe exists.
- Open a command prompt window in the Fastboot folder by opening the folder, holding down the Shift key on the keyboard, right-clicking anywhere on the screen, and selecting Open command window here.
- When the command prompt window opens, type in the following command and press Enter:
- Ensure your phone appears in the list. If it does not, reinstall the drivers and restart your computer.
- If your phone appears in the list, go ahead and type in the following command into the command prompt window and press Enter:
adb reboot bootloader
- Your Huawei P9 Plus phone should reboot into the bootloader mode, and that is where you can flash a custom recovery on your phone.
- Enter in the following command into the command prompt window and press Enter:
- Make sure your phone appears in the list which indicates your phone is recognized in the bootloader mode by your computer.
- Next up, type in the following command into the command prompt window and hit Enter. In the following command, replace twrp.img with the actual name of the recovery image you have downloaded:
fastboot flash recovery twrp.img
- It will start flashing TWRP Recovery on the Huawei P9 Plus phone. Wait for it to do that.
- When it’s done flashing TWRP Recovery, you need to reboot your phone which can be done using the following command:
- Your phone should reboot.
Cheers, you have successfully flashed a custom recovery on your Huawei P9 Plus and your phone is now all set to be rooted.
Here’s how to do that:
Rooting the Huawei P9 Plus
- Plug in your phone to your computer using a compatible USB cable.
- Copy SuperSU .zip from your computer over to the internal SD card storage on your phone. Place the file in the root directory so it is easily accessible.
- When SuperSU is copied, unplug your phone from your computer.
- Turn off your Huawei P9 Plus phone entirely using the Power button.
- When your phone has completely turned off, hold down Volume UP and Power buttons together on the phone.
- Your Huawei P9 Plus phone should reboot into the recovery mode.
- When TWRP Recovery launches, tap on the option that says Install. The option allows you to install a file on your phone.
- Navigate to the internal SD card storage on your phone and find and select SuperSU .zip to be installed on your phone.
- Tap on Swipe to Confirm Flash to confirm the flashing of SuperSU.
- Wait for TWRP Recovery to flash SuperSU on your phone.
- When it’s done flashing SuperSU, reboot your phone by selecting Reboot followed by System from the recovery menu.
- Your Huawei P9 Plus phone should reboot.
You are all set.
Your Huawei P9 Plus should now be rooted, and you can confirm the same for yourself by downloading and installing Root Checker on your phone.
So, that was all you had to do to be able to enjoy custom developments, such as custom ROMs and custom kernels, on your phone. Now that you have all the tools on your phone go ahead and get some custom things running on your phone. And, if you lack ideas, check out our post that gives some ideas on what can be done with a rooted phone.
Let us know if this worked for you!
You might also be interested in:
- How To Root The Motorola Moto G4 On Android 6.0.1
- How To Unlock The Bootloader On The Huawei P9 Plus
- How To Root The Android N Developer Preview On Nexus Devices
- How To Root And Install A Custom Recovery On The Sony Xperia X Performance
- How To Root And Install A Custom Recovery On The Elephone Vowney
Have something to say? You can contribute to this tech article by leaving a comment below.
Take Into Account:
Team Win often release several TWRP Recovery files for a particular device. They always recommend installing the latest version of TWRP available to avoid compatibility issues. If you have updated the firmware on the device recently and the most recent version of TWRP is not working, then try downgrading the firmware and trying again.
Some custom ROMs that are newer might not be compatible with older versions of TWRP Recovery. You can fix that issue by updating to the latest version of TWRP also.
You can visit the official Team Win Recovery Project home page and scroll down the list to find your device to get the most recent version if the version available in this guide is not working for your device.