How to root Xperia XA2 and install TWRP recovery

In this guide we have explained everything on, how to root Xperia XA2 and install TWRP recovery. Official TWRP recovery for Xperia XA2 is now available, and at the same time we’ll be able to get root access on Xperia XA2 via magisk and TWRP recovery, just read more to see the instructions to root Xperia XA2 and install TWRP recovery.

Xperia XA2 was released in Q1 2018 as a successor to the earlier released Xperia XA1. It is one of the best high end smartphone with top of line hardware and running Oreo firmware at the moment. Sony has already announced to release Android Pie update for the device later this year, even many impatient users are already running Android Pie update on their device via custom ROMs. If you are also planning to flash Android Pie custom ROM on your device or want to perform any kind of customization or modification then it’s mandatory to root Xperia XA2 with TWRP recovery installed on it.

Now you can easily install official TWRP recovery and root Xperia XA2. Once you flash TWRP recovery on your device then all you need to do is just flashing Magisk zip file via recovery to root Xperia XA2. Rooting helps you to perform multiple modifications in the system, including flashing Xposed framework, substratum theme engine or want to modify system apps then root access mandatory for that. Just read the instruction below to root Xperia XA2 via Magisk and install TWRP recovery for Xperia XA2.

You may like to see:

Android Pie: List of LineageOS 16 ROMs

How to root Xperia XA2 and install TWRP recovery


Rooting your device voids warranty so think twice before leaving for the process and don’t process ahead if you have no idea what you are about to do.

Let us tell you that each new device comes with a locked bootloader, so first you need to unlock bootloader on your device and then you can flash TWRP recovery to perform root works.


Download and install Sony’s latest USB drivers on PC, here you go.

Set up adb and fastboot drivers on PC, here is a quick guide

Just head to the official bootloader unlocking page here to unlock bootloader of Xperia XA2.

Once done with the bootloader unlock stuff then process ahead to install TWRP recovery on your device.

Necessary downloads:

TWRP recovery for Sony Xperia XA2: twrp-3.2.2-0-pioneer.img

Download Magisk

How to install TWRP recovery on Xperia XA2

The guide below will lead you to details instructions on how to install TWRP recovery via fastboot on Xperia XA2.

How to install TWRP recovery via Fastboot on Android

Once done with the TWRP recovery installation just see the process below to root Xperia XA2.

How to Root Xperia XA2

  • You can now easily root your Xperia XA2 within a minute.
  • Reboot your device into TWRP recovery mode, and Tap on Install.
  • Now choose the Magisk zip file you copied earlier and confirm on the next screen.
  • Wait for the process to complete and reboot your device when the process is completed.

That’s it! You have successfully installed TWRP recovery and rooted Xperia XA2. If you are facing any issue in the whole guide just let us know by typing your query in the comment below or personally drop us an email at

Rate this post