How to Install Lineage OS 15.1 ROM On Sony Xperia XA2


Sony has launched the mid-range Xperia XA2 in February this year with Android 8.0 Oreo. There is no official 8.1 update from Sony yet but you’ll be glad to hear that you can get the latest Android 8.1 update with Lineage OS 15.1 ROM. Apart from the OS upgrade, you’ll get a breath of fresh air with the plethora of OS customizations and clean user interface. In this article, we will show you how to install Lineage OS 15.1 ROM on Sony Xperia XA2.

The device is powered by Qualcomm Snapdragon 630 processor coupled with 3GB RAM but the Sony apps and other bloatware slow down the phone eventually. However, if you’d like to experience stock Android with no bloatware and plenty of OS customizations, Lineage OS is the perfect ROM. The Lineage OS ROM is a continuation to the widely popular CyanogenMod ROM. It comes with minute OS tweaking options along with a beautiful design. You can customize the ROM to your liking in many imaginative ways.

The Android 8.1 update comes in the form of unofficial Lineage OS 15.1 ROM developed by LuK1337

of XDA forums. The ROM comes with the standard Lineage OS features and users reported everything’s working well. So, without any further ado, let’s see how to install the LOS 15.1 ROM on your device.



  1. Your device needs to have at least 60% charge to ensure it doesn’t run out of battery during the installation process.
  2. Enable USB Debugging on your phone. To do this, go to device Settings » Developer options » toggle the “USB Debugging” switch.
  3. Install ADB & Fastboot tools on your PC. You can follow our simple guide which lets you install ADB & Fastboot tools in 15 seconds.
  4. Make sure you have the latest TWRP on Sony Xperia XA2. You can download the latest TWRP from here. Once you’ve downloaded the TWRP image, you can install it using our detailed guide on how to install TWRP using Fastboot.


How to Install Lineage OS 15.1 ROM On Sony Xperia XA2

  1. Download and transfer the Lineage OS 15.1 ROM and Gapps to your device’s internal storage.
  2. Reboot into recovery mode.
  3. Make a nandroid backup of your device in TWRP recovery. To do this, navigate to Backup option, select the partitions available and swipe right to make a backup.
  4. Once the backup is complete, format your device.
  5. In TWRP recovery, click on Wipe » Advanced Wipe. Select data, system, cache and, Dalvik-cache on this page and wipe them.
  6. Go back to TWRP main menu, tap on Install and select the Lineage OS ROM file in your internal storage. Swipe to confirm OS flash.
  7. Now flash the Lineage OS Gapps Zip same as the ROM file.
  8. Reboot your device once both the files are flashed.

It will take some time on the first boot, so don’t panic if it takes 5-10 minutes to boot up. Once the device boots up, you’ll be welcomed with the Lineage OS setup screen.

Source: XDA

Dinesh is responsible for tech tutorials at TechBeasts. Dinesh's expertise are mostly in the Android and iOS ecosystem.

Got a question/query or a suggestion? Drop it below.