Install TWRP Recovery and Root Sony Xperia XZ1: Sony released Xperia XZ1 smartphone in August 2017. The Xperia XZ1 comes with a 5.2-inch display with a resolution of 1080 x 1920 pixels. It comes with Qualcomm Snapdragon 835 chip with 4GB of RAM. The phone packed with 64GB of internal storage which can be expandable up to 256GB via a microSD card. It includes 19MP primary camera and a 13MP front camera shooter for selfies.
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.
If you are a user of Sony Xperia XZ1, then there is incredibly good news for you. You have the opportunity to easily root your device by installing TWRP. All that is needed is unlocking the bootloader of your device which will grant you the root access on your phone with the assistance of TWRP recovery.
The whole process is fairly simple and can be completed within 10-15 min. We have already mentioned that one of the most preferred uses of TWRP recovery is that you can use it to flash custom ROMs on your device with the help of stock recovery. So let us see How to Install TWRP Recovery and Root Sony Xperia XZ1.
- This guide only for Sony Xperia XZ1.
- Unlocked Bootloader.
- Remember to take a backup of your files before beginning to install TWRP and root your device.
- Your device must have more than battery to prevent the sudden shutdown.
Steps to Install TWRP Recovery and Root Sony Xperia XZ1
Install TWRP Recovery
- Download and Install ADB drivers.
- Now, download Sony Xperia XZ1 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 ADB folder (In C: Drive) and then press “Shift + Right mouse key” and tap on “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
Windows: fastboot flash recovery boot.img
Mac: ./fastboot flash recovery boot.img
Windows: fastboot flash recovery FOTAKernel boot.img
Mac: ./fastboot flash recovery FOTAKernel boot.img
- To Bypass device encryption you have to format user data.
Windows: fastboot format userdata
Mac: ./fastboot format userdata
That’s all! You have rooted your Sony Xperia XZ1 using TWRP recovery. It can be checked by long pressing “Volume down + Power” buttons until your device boots into recovery mode.
Root Sony Xperia XZ1 via TWRP recovery
- Download SuperSU or Latest Magisk Zip from above link and save the downloaded zip file into your device
- Reboot your device into TWRP Recovery.
- Switch off your device.
- Press and hold “Volume down + Power” buttons until you see anything on the screen.
- Now in the TWRP main menu, Click on Wipe and swipe to factory reset on the bottom of the screen.
- Go back to the main menu in TWRP, tap on install and select the SuperSU or Magisk zip file which you have saved in your device.
- After selecting the magisk or SuperSU zip file, do swipe to confirm flash to begin the installation process.
- Once the installation process is completed, You will see Wipe cache/Dalvik option, tap on it and Swipe to wipe.
- After flashing magisk or SuperSU, reboot your device from the main menu.
Hope you have installed TWRP Recovery and Root Sony Xperia XZ1. Let us know if you have any queries in the comment section below.