In this small series of articles we will review the process to follow to root Android phone. With these brief guides we will learn which are the methods used to obtain administrator permissions depending on the brand of our smartphone.
If you have a phone Samsung, Huawei, LG, Sony or Nexus You can check the following article to root your device. In today's post we will see how to root Xiaomi, Moto, HTC and One Plus terminals.
The following indications are general visions of each of the processes. If you want to embark on this interesting adventure that is rooting your device, do not hesitate to use the corresponding specific manual for your specific brand and model (you will find some linked in this tutorial).
How to root any Xiaomi terminal
The truth is that Xiaomi makes it really easy when trying to get administrator permissions on their terminals. The rooting process for any Xiaomi follows the following guidelines:
- Download the Super SU app (it is the tool that we will use to give root permissions).
- Download the recovery corresponding to your mobile phone.
- Once this is done copy the ZIP file of the Super SU on the SD card, and rename the recovery image to recovery.img and relocate it in the folder C: \ Program Files (x86) \ Xiaomi \ MiPhone \ Google \ Android \ from our PC.
Once this is done we enter fastboot mode starting the terminal by pressing Volume down + Power. Next, we open an MS-DOS window from the folder in which we have saved the recovery and we write the command "fastboot boot recovery.img " (without quotation marks).
Once this is done we will enter the TWRP custom recovery, and we will simply have to install the ZIP of the Super SU that we have copied to the SD card to get root permissions on our beloved Xiaomi.
You can see all the details in the following link from the MIUI website. If you have any problem when executing the orders from the PC, remember to have the ADB installed so that Windows recognizes the commands correctly.
How to root a Moto phone
In the case of Motorola / Lenovo phones like the Moto G4, the rooting process is similar to that of Xiaomi, but with a few previous steps:
- First we have to enable OEM unlock from the developer options, in the terminal settings.
- Once this is done we turn off the phone and restart it in fastboot mode by pressing Power + Volume up.
- We connect the device to the PC (let's make sure we have the ADB drivers installed and the corresponding USB drivers so that it recognizes the phone).
- We open a CMD window and execute the following command:
fastbootoemget_unlock_data
- This command will show us a code on the screen. We copy it and go to the page that Motorola has to unlock the bootloader of its terminals. We are going to "Can my device be unlocked " and click on "Request Unlock Code".
- We will receive an email from Motorola with the unlock code.
- We return to the CMD window of the PC and now we will execute the following command:
fastboot OEM unlock MY-UNLOCK-CODE
- The phone will be erased and rebooted, this time, with the bootloader unlocked.
From here, all we have to do is install a custom recovery, such as TWRP, in order to install Super SU and thus obtain the desired root permissions.
You can see the entire process detailed in the following link.
This example is for the Moto G4, but in the rest of Moto models the process is the same: unlock the bootloader and then install a custom recovery that allows us to run the Super SU app.
Root an HTC phone
To obtain administrator privileges, HTC uses the same method as Motorola by making a web page available to the user from where they can unlock the bootloader and then install TWRP and from there be able to launch the Super SU rooting app.
This method works for all HTC phones after 2011:
- We go to the HTC page and unlock the bootloader of our terminal.
- From the PC (with the ADB and USB drivers of the terminal installed) we execute the command "adb reboot download”From a CMD window.
- Flash the TWRP custom recovery using the command "fastboot flash recovery PACKAGE-NAME-TWRP.img”.
- Once inside TWRP we go to "Advanced -> Enable sideload".
- We flash the Super SU app that we have previously downloaded and copied to an SD card inserted in the phone.
You can see more details of the process in this XDA-Developers thread (it is for an HTC Desire, but it should be just as valid with the rest of the models).
Some HTC models can also be rooted with universal rooting apps like RootKHP Pro, KingoRoot and Root Genius.
How to root a One Plus
If we have a One Plus 3 or a One Plus 3T the process will also go through unlocking the bootloader to be able to launch all the heavy artillery on our terminal (TWRP + Super SU):
- The first thing is to go to the phone settings and enable the developer options to be able to unlock OEM.
- We turn off the device and start it by pressing Volume up + Power to enter the bootloader.
- We connect the terminal to the PC and from the ADB folder we open a CMD window and execute the command "fastboot flashing unlock ”. We already have the bootloader unlocked (remember that all stored data will be erased).
From here, as in the rest of the processes, we will simply have to install the TWRP custom recovery and flash the Super SU app. You can see all the details of the rooting process in the following tutorial.
You have Telegram installed? Receive the best post of each day on our channel. Or if you prefer, find out everything from our Facebook page.