How to Install TWRP Recovery and Root Sony Xperia XZs

Install TWRP Recovery and Root Sony Xperia XZs: 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 XZs 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 XZs.

Install TWRP Recovery and Root Sony Xperia XZs


  1. This guide only for Sony Xperia XZs.
  2. Unlocked Bootloader.
  3. Remember to take a backup of your files before beginning to install TWRP and root your device.
  4. Your device must have more than battery to prevent the sudden shutdown.


twrp for Sony Xperia XZs

Magisk with Sony Fix

Kernel G8232only if You want to root with Supersu 2.79

Kernel G8232only if You want to root with Supersu 2.79

ADB Drivers for Windows / Mac

Steps to Install TWRP Recovery and Root Sony Xperia XZs

  1. First, unlock bootloader of Sony Xperia XZs
  2. Download and Install ADB drivers.
  3. Now, download TWRP recovery ZIP.
  4. Move downloaded TWRP ZIP file to ADB folder and rename the zip file to “TWRP”.
  5. Enable the USB debugging on your device after enabling ‘Developer Options’ by going to ‘About phone’ and tapping build number 7 times.
    Usb debugging
  6. Go to the folder you created in Step 3 and then press “Shift + Right mouse key” and tap on “Open command window here.”
  7. Now connect your device to the PC using a USB data cable.
  8. 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.

    fastboot devices

  9. Boot your device into “Fastboot” mode and give the following command reboot bootloader

    adb reboot bootloader

  10. Your device will start booting in fastboot mode. Now to flash recovery image on the device type the following command.

    fastboot flash recovery TWRP.img

That’s all! You have rooted your Sony Xperia XZs Premium using TWRP recovery. It can be checked by long pressing “Volume down + Power” buttons until your device boots into recovery mode.

Root Sony Xperia XZs via TWRP recovery

  1. Download SuperSU or Magisk from above link and save the downloaded zip file into your device
  2. Reboot your device into TWRP Recovery.
    1. Switch off your device.
    2. Press and hold “Volume down + Power” buttons until you see anything on the screen.
  3. Now in the TWRP main menu, Click on Wipe and swipe to factory reset on the bottom of the screen.
  4. 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.
  5. After selecting the SuperSU or magisk zip file, do swipe to confirm flash to begin the installation process.
  6. Once the installation process is completed, You will see Wipe cache/Dalvik option, tap on it and Swipe to wipe.
  7. After flashing SuperSU or magisk, reboot your device from the main menu.
  8. Done!!!

Hope you have installed TWRP Recovery and Root Sony Xperia XZs. Let us know if you have any queries in the comment section below.

  1. Stevo says

    After following your instructions to install Magisk v13.3 I receive the following message:

    – Mounting /system, /vendor, /cache, /data
    ! /system could not be mounted!
    Update process ended with ERROR !
    Error: installing zip file ‘/sdcard/
    Updating partititon details…

    1. Teja says

      You have to download Magisk (v12.0) zip file from above link.

  2. Aravind N V says

    I want to root Xperia XZs GT8232 not XZs Premium.

    1. Teja says

      Hey Aravind N V,

      First, download and Install TWRP Recovery (TWRP Recovery is same for Xperia XZ and XZs)
      Second, Follow the above procedure to Root your device.

      ClickItorNot Team

  3. MrTiem says

    lol. Logo SONY >.<

Leave A Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.