In this article, we will guide you on how to Install TWRP Recovery and Root Sony Xperia X Compact. Follow the below step by step guide to install TWRP Recovery and Root Sony Xperia X Compact.
TWRP recovery is a custom version of stock recovery which is used to flash custom ROMs. It is highly popular and is one of the most preferred methods used while rooting or installing custom ROMs.
We are using Magisk for this process to maintain the integrity of the safety net. Magisk is a seamless root alternative, which makes the rooting easier and does not compromise the android integrity, such as losing access to Android Pay and Netflix.
Pre-requisites
- This guide only for Sony Xperia X Compact.
- Unlock Bootloader of Sony Xperia X Compact
How To Unlock Bootloader of Sony Xperia X Compact - Remember to take a backup of your files before beginning to install TWRP and root your device.
- Your device must have more than 60% battery to prevent the sudden shutdown.
Downloads
ADB and Fastboot Drivers for Windows | Mac
TWRP Recovery zip for Sony Xperia X Compact
Latest Magisk Zip | Magisk Apk
Steps to Install TWRP Recovery and Root Sony Xperia X Compact
How to Install TWRP Recovery
- Download and Install ADB drivers.
- Now, download Sony Xperia X Compact TWRP recovery .img.
- Move downloaded TWRP .img file to ADB folder (In C: Drive) and rename the file to “TWRP”.
- Enable the USB debugging on your device after enabling ‘Developer Options’ by going to ‘About phone’ and tapping build number 7 times.
- Go to the ADB folder (In C: Drive) and then press “Shift + Right mouse key” and tap on the “Open command window here.”
- Now connect your device to the PC using a USB data cable.
└ Check your device’s screen, if it asks permission for “Allow USB debugging”, accept it by selecting OK or Yes. - Execute the following command to confirm your device is connected. If your device is successfully connected it will return device serial number. If not, then check your drivers are installed or not
Windows: fastboot devices
Mac: ./fastboot devices
- Boot your device into “Fastboot” mode and give the following command reboot bootloader
Windows: adb reboot bootloader
Mac: ./adb reboot bootloader
- Your device will start booting in fastboot mode. Now to flash recovery image on the device type the following command.
Windows: fastboot flash recovery TWRP.img
Mac: ./fastboot flash recovery TWRP.img
- To Bypass device encryption you have to format user data.
Windows: fastboot format userdata
Mac: ./fastboot format userdata
That’s all! You have installed TWRP Recovery on your Sony Xperia X Compact. It can be checked by long pressing “Volume down + Power” buttons until your device boots into recovery mode.
Root Sony Xperia X Compact via TWRP Recovery
FOLLOW THIS GUIDE TO ROOT Sony Xperia X Compact WITH MAGISK
So, we hope that you have understood How to install TWRP Recovery and have also learned to root the Sony Xperia X Compact. Let us know if you have any queries in the comment section below.
Leave a Reply