- Sony Xperia Z5 Compact, codename suzuran, model no. E5823
Don’t try this one any other device with a model no. different than the one mentioned above!
Important: Check your device’s model no. on free Android app called Droid Info. If you see the model no. and codename mentioned above in the app, then use this recovery, otherwise not. BTW, you can check model no. device’s packaging box too.
Warranty may be void of your device if you follow the procedures given on this page. You only are responsible for your device. We won’t be liable if any damage occurs to your device and/or its components.
Backup important files stored on your device before proceeding with the steps below, so that in case something goes wrong you’ll have backup of all your important files.
Required: Make sure you have unlocked bootloader of your Xperia Z5 Compact. Otherwise, you cannot flash TWRP recovery. For help, see this page about Xperia Z3 bootloader unlock, as the procedure is exactly same.
Step 1. Download the TWRP recovery file from above. Keep it in a separate folder on your PC. Extract this file to get recovery.img file, which is your TWRP recovery.
Step 2. Install required drivers:
Step 3. On your Xperia Z5 Compact, enable USB debugging. For this:
- Go to Settings > About phone, and then tap ‘Build number’ 7 times or until you see the ‘you’re now a developer’ message pop up.
- Go back to Settings, then choose ‘Developer options’. Find the ‘USB debugging’ option and use its toggle button to enable it. Accept warning by tapping on OK button.
Step 4. Connect your Xperia Z5 Compact to PC now.
You will get a pop-up as shown below on your phone when you connect for the first time after enabling USB debugging. Select ‘Always allow from this computer’ checkbox and then tap on OK button.
(It is possible you get this pop-up later on, like when issuing a command.)
Step 5. Now, open command window in the folder where you have the TWRP recovery file (recovery.img). For this:
- Open that folder and then left click on empty white space in the folder.
- Now, while holding shift key, right click on empty white space to get a pop-up as shown below.
- Now choose Open command window here option from that.
You will see a command window open up, with location directed to folder where you have the twrp recovery file.
Step 6. Boot your Xperia Z5 Compact into Bootloader/Fastboot mode.
For this, type adb reboot bootloader into command window and hit enter key. That’s it. Connect the device to PC then.
- Power off your device and wait for 3-4 seconds after screen goes off.
- Press and hold Volume up button and connect the device to PC using USB cable. Then let go of the Volume up button.
That’s it. You should see the LED light light in blue color, which means the Xperia Z5 Compact is in bootloader mode, also called fastboot mode.
Step 7. Test whether fastboot is working alright. For this, run the command given below. (You can also copy paste the command and then use enter key to run it.)
→ Upon running command below, you should get a serial no. with fastboot written after it. If you don’t get fastboot written on cmd window, then it means you need to reinstall adb and fastboot drivers, or change restart PC, or use original USB cable.
Step 8. Let’s first test the TWRP recovery before actually flashing it. Run the following command in the command window.
fastboot boot recovery.img
Your device should boot into recovery mode, and present you TWRP recovery. Now, if you see TWRP is working good then go to next step to actually install it. However, if TWRP isn’t working, then force restart Xperia Z5 Compact if it doesn’t restarts automatically. For that, press and hold Power and Volume Up button together until device vibrates for 3 times.
Step 9. Flash Xperia Z5 Compact TWRP recovery now. If you are sure you want to install TWRP permanently, and that it’s working alright, then boot the device into bootloader mode. To enter bootloader mode directly from TWRP, tap on Reboot button and then on Bootloader.
Then run the following command with device connected to PC in bootloader mode.
fastboot flash recovery recovery.img
Step 10. [Optional] You will see TWRP recovery. Now, you must take a full backup of your phone, including system partition. In TWRP, tap on Backup, and then select all partitions. Then do the swipe action at bottom to start the backup process.
And let us know if you need any help regarding installation of TWRP recovery on your Xperia Z5 Compact. Use the comments section below.
How to boot Xperia Z5 Compact into recovery mode
To enter recovery mode on Xperia Z5 Compact, and thus use the TWRP recovery, do the following.
- Power off the Xperia Z5 Compact.
- Power it on and when you see the LED light blinking while it powers on, press Volume up or down key repeatedly to reboot into recovery mode.
Alternatively, you can use the ADB command provided below. But first make sure that USB debugging is enabled, and device is connected to PC in powered on state.
adb reboot recovery