Android rooting is the technique that is used to get permission to access the system partition of your Andriod smartphone. Since your devise system partition has been locked by your device manufacturer to prevent the third-party access and modifications, you cannot access it without unlocking it. After accessing the system partition, you can change your device in appearance and performance.
There are two universal methods to root an Android device. Those are exploiting Android vulnerabilities and flashing root binaries in the recovery method. If you are going to use the flashing method, you have to install custom recovery before flashing root binaries.but if you are a Samsung Galaxy user, you can use Odin to root your device without flashing custom recovery as Odin uses stock recovery. Here we are going to learn about TWRP custom recovery installation
TWRP Custom Recovery Installation
- Download correct TWRP recovery image file for your device on your computer
- Download and Install ADB and Fastboot drivers on your Windows computer
- Next, place the TWRP.img file in the ADB and Fastboot folder
- Enable USB debugging mode on y our Android
- Connect your Android smartphone to the computer
- Now, go to the folder where you downloaded the ADB and Fastboot file
- Open command Window using Shift+Right click on any empty white area
- Type adb reboot bootloader and hit enter to boot your device into stock recovery mode
- You will see "Allow USB Debbuging" message on your Android device screen
- Tap "Accept" and select "Apply Update from ADB Sideload" using volume buttons and power button
- Next, type fastboot flash recovery TWRP.img (Include the name of your TWRP recovery) and hit enter.
- Then Custom recovery will be installed and finally, type fastboot reboot to reboot your device
After installing a custom recovery, you can boot your device into custom recovery mode using the default OEM button combination. Then, you can flash root binaries and have root access. This is the most reliable and most successful method to root your Android device. But make sure to backup your stock recovery before flashing a custom recovery as it is essential to have OTA updates
All Android users know that one-click rooting tools are very simple and easy to use. But most of the one-click tools are not compatible with the higher versions of Android. So, you have to try the PC method in case you cannot use one-click root apps on your device. For that, you must have complete knowledge in fastboot, fastboot commands, and TWRP recovery or another recovery method.