Sony’s first flagship from 2014, the Xperia Z2 doesn’t seem to be getting a lot of love from developers. The device yet does not have a fully working AOSP based Android Marshmallow ROM, and things didn’t look very different regarding Android Nougat on the device. Developer rcstar6696 however, has been working hard for several months now to provide a stable working ROM to the users of Xperia Z2. Today, he has released his latest project, Lineage OS 14.1.

This isn’t the first Android Nougat ROM for the device but its the first that fully works, other than a few possible minor bugs. We’ve tested the ROM, and it works quite fluid like a device with a Snapdragon 801 chip should. The camera quality is also pretty fine, and overall the performance is much better than the stock Sony ROM based on Android 6.0.1 Marshmallow. It also has theme support via Substratum. If you wish to install the Lineage OS ROM, follow the guide below.


Known Bugs

  • USB OTG has some issues and does not always work.


The process described below requires a rooted Xperia Z2 with a custom recovery, and an unlocked bootloader. DroidViews takes no responsibility for anything that happens to your device while following this procedure. Proceed only if you understand the risks involved and take sole responsibility for your actions. That said, we have installed the ROM using the same procedure, and it installs just fine.


  1. Root access.
  2. Unlocked Bootloader.
  3. Custom recovery. TWRP is recommended
  4. USB debugging enabled.


Install Lineage OS 14.1 on Sony Xperia Z2

Also see: How to Fix Status 7 Error While Flashing Lineage OS ROM

  1. Extract the boot.img file from the ROM zip and then transfer all the downloaded files onto your device except the TWRP image file.
  2. Turn off your phone.
  3. On your PC, run the Androxyde Flashtool for Sony devices. If you don’t know what it is or how to set it up, refer to our guide here.
  4. Click on the flash button  and select fastboot mode on the dialogue box that appears.
  5. In the dialogue window that appears next, click Select kernel to flash.
  6. Select the boot.img earlier extracted. The flashing should be quick.
  7. Repeat step 4 and 5 and this time select TWRP-Sirius.img.
  8. Once the flashing completes, unplug your phone and power it on.
  9. Press the Volume Up button as soon as you see the LED turn pink/purple.
  10. The LED color on top should change to orange indicating the recovery mode. This will boot your phone into recovery.
  11. Once in the recovery, we recommend that you select Backup and make a full Nandroid Backup.
  12. When you have taken the backup, or in case you want to skip it, tap Wipe.
  13. Select Advanced Wipe and wipe SYSTEM, DATA, DALVIK, CACHE. Wiping the Xperia Z2 takes a while.
  14. Go back to the TWRP menu and select Install, and then select the ROM, camera fix and gapps and then swipe to flash.
  15. Users of the D6502 variant should also flash the baseband fix.
  16. If you want to have root access on the ROM, flash the SuperSu zip as well.
  17. Reboot.

You should now be seeing the Lineage OS boot animation on your phone’s screen. The first boot will take a while as it does after each fresh install. For more information about the ROM visit the development thread on XDA from the source link below.


  1. he my friend i will very very thanks to the great job ..
    but i have problem when i want to install this room i get an error status 7 i don’t know what problem plz help me and Thanks in advance bro
    see the pictures rs plz

  2. Oh my god, thank you so much for putting this up! There was only one tutorial for Linage + Z2 and it’s download links were down, but you upped them to mega and made nice instructions.
    I’ve spent the last 5 days with getting a decent ROM on my Z2, ended up with Pac-Rom, but it’s pretty unstable and lots of stuff isn’t working.

    Flashing Lineage now, I so much hope this is going to work! Thank you again!

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