In this article, we will guide you on how to Install TWRP Recovery and Root Sony Xperia Z5 Compact. Follow the below step by step guide to install TWRP Recovery and Root Sony Xperia Z5 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 Z5 Compact.
- Unlocked Bootloader.
How to Unlock Bootloader on Sony Xperia Z5 Compact - Remember to take a backup of your files before beginning to install TWRP and root your device.
- Your device must have more than a battery to prevent the sudden shutdown.
Downloads
TWRP recovery zip for Sony Xperia Z5 Compact
Latest Magisk ZIP | Magisk APK
Steps to Install TWRP Recovery and Root Sony Xperia Z5 Compact
How to Install TWRP Recovery
- Download and Install ADB drivers.
- Now, download Sony Xperia Z5 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 rooted your Sony Xperia Z5 Compact using TWRP recovery. It can be checked by long pressing “Volume down + Power” buttons until your device boots into recovery mode.
Root Sony Xperia Z5 Compact via TWRP Recovery
So, we hope that you have understood How to install TWRP Recovery and have also learned to root the Sony Xperia Z5 Compact. Let us know if you have any queries in the comment section below.
sokrates says
first run of the system works. when you first start twrp the phone hangs on the sony logo
Teja Pagidimarri says
once do format the user data and see
sokrates says
Minimal ABD and Fastboot>fastboot format userdata Formating is not supported for filesystem with type
sokrates says
the system always starts until the first time you start twrp, then the system enters the Sony logo
xperia z5 compact E5823
android 7.1.1
32.4.A.1.54
Teja Pagidimarri says
Let me know, how you are entering into twrp recovery mode
sokrates says
power+ (vol-)
sokrates says
the system loads normally before entering twrp. the first time you start twrp, the system no longer loads. (sony logo)
sokrates says
problem solved “after installing twrp you need to upload an unofficial kernel for stock romu / stock 32.4.A.0.160 (v0.9.4) /32.4.A.1.54 (v1.10.28). it is worth mentioning, my friend
Teja Pagidimarri says
Thank You for update
fares says
download link pls