In this guide, I will show you the process on how you can root your android phone. If you don’t know what rooting is - Rooting is the Android equivalent of jailbreaking, a means of unlocking the operating system so you can install unapproved apps, deleted unwanted bloatware, update the OS, replace the firmware, overclock (or underclock) the processor, customize anything and so on.
To unlock Bootloader we need ADB and Fastboot.
What’s ADB ?
ADB stands for Android Debug Recovery. It works when the device is powered on and booted in to OS or Recovery. The Tool helps in sending basic Linux commands and a variety of Android specific commands from PC to connected Android devices.
What’s Fastboot ?
Fastboot is more powerfool tool than ADB and it works only in bootloader/fastboot mode. It allows you to reflash system partitions on your Android Device and requires a device with an unlocked bootloader. Mostly used when you want to update your device manually or in a rare situation when you accidentally soft-brick your device and need to install a clean stock system image.
For this first headover to Platform Tools SDK to download the SDK Platform Tools for Windows -> Download SDK Platform-Tools for Windows
It will download a platform zip file. Extract it locally. It should contain adb and fastboot.
Testing ADB and Fastboot
Connect your Android Phone to PC using USB and Turn the USB Debugging On, it will be inside Developer Options. Also turn on OEM unlocking.This will allow interacting our device with our PC.
Go to the platform-tools folder you downloaded and open a command prompt inside this folder using SHIFT + Right Click , open with command prompt.
(Check ADB) Test your connected devices using this command :
or if it doesnt work try :
It should show a randowm serial number (List of devices attached). That means adb is working fine.
(Check Fastboot) Test your connected devices using this command :
To test Fastboot, we need to reboot our android device in bootloader mode :
adb reboot bootloader
this will restart the android in bootloader mode, then you can type this command to test Fastboot
It should list out the same device serial number, That means fastboot is working fine.
Now we need to unlock our Bootloader, Once your device is in bootloader mode, issue the following command to unlock bootloader (this process will reset the phone, so take a backup first of your data)
fastboot flashing unlock
This will start the bootloader unlocking process, If you get a confirmation screen on your device. Press Volume Up button to highlight Yes and press Power button to slect it. This will begin the unlock process, and select Fastboot
Then once the bootloader is unlocked, your device will reboot in to bootloader mode. You need to boot it in to the system now using the command below :
During reboot your device will go through a factory reset and then finally boot into system.
That’s all Your Android Device’s bootloader is now unlocked !.
Once the device is factory reset. you might again need to setup usb debugging option to On.
Install TWRP Custom Recovery
Head over to TWRP Website to download the image for your Device, Search your model name and download twrp image for your device.
Next move the twrp image you downloaded inside the platform-tools folder and rename it to recovery.img
Now we again need to go to fastboot, to do this connect your phone to pc in usb debugging on:
run the following commands
adb devices adb reboot bootloader
It will go to booloader mode :
next use this commands to flash our twrp recovery image which needs to be run inside platform-tools folder in command prompt : recovery.img is the twrp recovery here
fastboot devices fastboot flash recovery recovery.img fastboot reboot
Now depending on your phone, your phone will either reboot or go to recovery mode : You should checkout which buttons you need to press to go to recovery mode.
There you will find TWRP Recovery. If it dint work you can try other method to get TWRP Recovery - Flash TWRP using SP Flash Tool.
Method 2: Install TWRP using SP Flash Tool
We need to flash our TWRP Recovery using SP Flash Tool , for this we need the twrp recovery image for and the Chipset Scatter file.
I will list the download lists for devices i tried :
Infinix Note 4
Stock ROM (If you want to flash to make phone new)
TWRP Recovery Image
Root Su (Super User)
Download the latest version of SP Flash Tool from here
Flash TWRP using SP Flash Tool :
- Open SP Flash Tool:
- Select the Scatter-loading file for TWRP :
and Press Download, It will take some time to load
- Once Done, switch off your phone and connect it to the pc using USB Cable. The flash should start now in SP Flash Tool automatically.
- Now switch to recovery mode in your Phone - TWRP should come !
- Flash Super user using TWRP, you can do that by loading the Root-su.zip in a SD Card or OTG Pendrive and connect to your phone, TWRP then should detect this file. Once flashed, and the ticks for installing TWRP should be checked. You can Reboot
Your phone will restart and you will be able to find Super User.
Installing Custom ROM
You can download the ROM of OS (supported by your device) you want to use in your phone. and Flash that ROM using TWRP Custom Recovery.
Thats all, you can check your root status using various apps available in play store.