“The best thing to do after buying an Android device is to root it.” If I said this a few years back, people would be so angry at me saying it will compromise warranty and the device can get into issues. Things have changed now, and many Android users liked the taste of freedom after rooting the device. Rooting an Android device has a plethora of advantages – removing bloatware, adding performance boosting scripts, awesome mods and much more. Also, there are plenty of methods to gain back warranty and restore stock firmware.
Huawei Mate 9 is a mammoth device with a screen size 5.9″ and would be the best fit for media lovers. An unofficial build of TWRP recovery is available for Huawei Mate 9, and it can be installed on your device using fastboot commands. Once you have a custom recovery, you can simply flash SuperSU or Magisk systemless interface to root your device. Today, we’ll see how to install TWRP recovery and root Huawei Mate 9.
Must read:ย How to Install Google Apps on Chinese Huawei Mate 9
Prerequisites
- Go toย Settings ยปย About phone ยป Build numberย and tap it 7 times to enable Developer options on your device. Then go back to Settings ยปDeveloper options and enable USB Debugging andย OEM unlocking.
- Download the Minimal ADB and Fasboot Setupย and install it on your computer.
- Install Huawei smartphone drivers on your PC.
- Unlock bootloader on Huawei Mate 9
- Backup important files on your device to a safe placeย as unlocking the bootloader will format your entire device.
- Make sure you have enough charge on your device before starting the process.
Downloads
How to install TWRP recovery and root Huawei Mate 9
- Download the TWRP image from the downloads section.
- Rename the downloaded TWRP image toย recovery.imgย (for your convenience) and place it in the same folder where you have extracted the ADBย &ย Fastboot files.
- Download the SuperSU ZIP and transfer it to your device’s storage.
- Navigate to the folder where youโve extracted the ADB & Fastboot files and open aย command prompt byย pressing Shift + Right clickย on any empty space inside the folder and select Open command window hereย from the context menu.
- Connect your device to PC using a USB cable and boot into the bootloaderย mode using the below command:
adb reboot bootloader
- In the bootloader mode, type the below command to check if the device is detected.
fastboot devices
If your device is detected,ย you should see a serial number as output.
- Now, type the following command to flash the TWRP image to your device.
fastboot flash recovery recovery.img
- Once the flashing is finished, use the below command to reboot the device.
fastboot reboot
- Now, reboot the device into recovery mode. To do this, use the below command in command prompt.
adb reboot recovery
- To root your device, you can follow either of the below methods.
- In TWRP menu, select Installย ยปย SuperSU Zipย file that we have transferred earlier.
- If you want systemless root, follow our step-by-step guide on Magisk systemless root.
- Reboot the device from TWRP main menu after rooting your device.
That’s it. You’ve successfully installed TWRP recovery and rooted your device.
C:Program Files (x86)Minimal ADB and Fastboot>fastboot flash recovery recovery.img
target reported max download size of 471859200 bytes
sending ‘recovery’ (19084 KB)…
OKAY [ 0.657s]
writing ‘recovery’…
FAILED (remote: Command not allowed)
finished. total time: 0.657s๏ปฟ
How can i solve this troube?