LineageOS 17.1 for Xperia Z2

Search This thread

NeoArian

Recognized Developer
Nov 25, 2017
1,283
2,937
Sony Xperia Z2
Sony Xperia Z3 Compact
2okPze5.png


Introduction
LineageOS, an open-source Android distribution, is available for several devices,
with more being continuously added thanks to the biggest, yet ever growing, Android open-source community.
Join us and breathe new life in your device, be it old or new.
If you don't know LineageOS and would like to read about it before installing it you can take a look at the official Website.

Features
Individuality
Customization is paramount to productivity.
That’s why LineageOS promises to push for user personalization and preference.
Everyone is unique and your device should be too.
Security
Your data, your rules. With powerful tools such as Privacy Guard, you are in control of what your apps can do whenever you want.
Trust will help you understand the security of your device and warn you about possible threats.
We take security very seriously: that’s why we deliver security updates every month to all our supported devices.
And to make your device more secure, lock everything behind an enhanced lock screen.
Longevity
LineageOS extends the functionality and lifespan of mobile devices from more than 20 different manufacturers thanks to our open-source community of contributors from all around the world.

All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit out Gerrit Code Review. You can also view the Changelog for a full list of changes & features.

Downloads
Download LineageOS 17.1 for Xpeira Z2.

Installation instructions
Prerequisites:
  • Unlocked Sony Xperia Z2
  • Fastboot drivers to install TWRP
  • Micro-USB Cable to connect your phone to your computer
Install:
  1. Reboot to TWRP. *
  2. Wipe cache, dalvik cache, data and system.
  3. Format data to get rid of encryption.
  4. Install ROM.
  5. Install 10.0 Gapps for ARM. **
* recommended TWRP: Post #2
** optional

Update:
  • Get the latest build
  • Boot into TWRP
  • Flash the downloaded build
  • Reboot
Note: If you don't wipe system, backuptool will reapply your modifications that support addon.d, for example: GApps.

Reporting bugs
  • DO NOT Report bugs if you're running a custom kernel or you installed Xposed
  • Grab a logcat right after the problem has occurred. (Please include at least a few pages of the log, not just the last few lines, unless you know what you're doing.)
  • If it is a random reboot, grab /proc/last_kmsg. (Do not bother getting a logcat unless you can get it just before the reboot. A logcat after a reboot is useless)
Remember to provide as much info as possible. The more info you provide, the more likely that the bug will be solved. Please also do not report known issues. Any bug not reported in the bug report format below may be ignored.

Code:
What is your--
LineageOS version:
Gapps version:
 
Did you--
wipe:
 restore with titanium backup:
reboot after having the issue:
 
Are you using--
a task killer:
a non-stock kernel:
other modifications:
 
Provide any additional information (observations/frequency of problem/last version it worked on/etc) as needed:


XDA:DevDB Information
LineageOS 17.1 for sirius, ROM for the Sony Xperia Z2

Contributors
NeoArian
ROM OS Version: Android 10
ROM Kernel: Linux 3.4.x
ROM Firmware Required: 23.5.A.1.291

Version Information
Status: Stable

Created 2020-02-21
Last Updated 2020-07-30
 
Last edited:

NeoArian

Recognized Developer
Nov 25, 2017
1,283
2,937
Sony Xperia Z2
Sony Xperia Z3 Compact
Known Issues
  • FM Radio quality is worse then on stock, bit we can't do much without Sony's source probably. I am not working on that right now.
  • Disk Encryption: Disk Encryption is working, however not with the default password (no password). Workaround: Set password first, then start disk encryption, not the other way round!
  • You tell (with logs please)...

TWRP
Download TWRP 3.3.1 for Xperia Z2!
How to install this TWRP
  • Rename the downloaded twrp image to twrp.img
  • Reboot to fastboot by holding volume up while connecting your device to your computer
  • Open a terminal and go to the directory with TWRP in it
  • Type
    Code:
    fastboot flash recovery twrp.img
  • Boot into TWRP; while the device is powered off press the power and volume down button


A big THANK YOU to @OLDST4R for donating the Xperia Z2 to me!
 
Last edited:

@kitokit

Senior Member
Mar 15, 2017
357
68
I'm currently on aex rom pie. How do I install it? Do I need to go back to stock mm? Or I can just wipe system, data, dalvik and then install the rom.?
 

0LDST4R

Senior Member
May 2, 2018
310
224
LE/Germany
I very happy to see our phone live again. Thank you for work in z2 i try it soon
Thank you @OLDST4R for preparing new Android version to our device and thank you to @NeoArian for build this rom


I only spent a device to @NeoArian, i did'nt prepared anything... :)

Credits must go to @NeoArian and all the other devs, rom cooks and testers in the past and now, in Shinano family, like @Myself5, @drakonizer, @rcstar6696, @okij - there are many, many more. Simply be grateful, respect their work, and be happy with new software for our devices. ;)

Greetz,

0LDST4R
 

NeoArian

Recognized Developer
Nov 25, 2017
1,283
2,937
Sony Xperia Z2
Sony Xperia Z3 Compact
Delay and very slow response, sometimes auto restart :(
Problem is fixed, new build is uploading. If someone cares: The problem was because of a mismatching dalvik heap configuration which caused the phone to slow down incredibly.
Sorry for the bad start :eek:
Download: https://osdn.net/projects/ephedrace.../lineage-17.1-20200223-UNOFFICIAL-sirius.zip/
It would be great if someone can confirm that RIL (SIM, Telephony, SMS, Mobile data) works fine because the SIM slot is physically broken on my Z2.

Happy flashing and have a nice day!
 
Last edited:

devilgloom

Senior Member
Sep 25, 2015
108
36
Manhattan
I only spent a device to @NeoArian, i did'nt prepared anything... :)

Credits must go to @NeoArian and all the other devs, rom cooks and testers in the past and now, in Shinano family, like @Myself5, @drakonizer, @rcstar6696, @okij - there are many, many more. Simply be grateful, respect their work, and be happy with new software for our devices. ;)

Greetz,

0LDST4R

Thank you for your great personality,I have great respect for you.

---------- Post added at 01:07 PM ---------- Previous post was at 01:03 PM ----------

Problem is fixed, new build is uploading. If someone cares: The problem was because of a mismatching dalvik heap configuration which caused the phone to slow down incredibly.
Sorry for the bad start :eek:
Download: https://osdn.net/projects/ephedrace.../lineage-17.1-20200223-UNOFFICIAL-sirius.zip/
It would be great if someone can confirm that RIL (SIM, Telephony, SMS, Mobile data) works fine because the SIM slot is physically broken on my Z2.

Happy flashing and have a nice day!

You not bad start you start something awesome i go to flash new build and i check RIL and feedback here
 
  • Like
Reactions: 0LDST4R

devilgloom

Senior Member
Sep 25, 2015
108
36
Manhattan
Hey again
I'm test RIL and that works perfect I test SMS and telephony and I sent this feedback with mobile data all RIL that work perfect thank you.

Edit: I'm call with headset and that work now I test without headset and find a bug speaker and microphone both not working without that.
 
Last edited:

psi78

Senior Member
Feb 22, 2020
109
33
Does anyone know if the camera, camera hardware button, video streaming works?
 

NeoArian

Recognized Developer
Nov 25, 2017
1,283
2,937
Sony Xperia Z2
Sony Xperia Z3 Compact
Hey again
I'm test RIL and that works perfect I test SMS and telephony and I sent this feedback with mobile data all RIL that work perfect thank you.

Edit: I'm call with headset and that work now I test without headset and find a bug speaker and microphone both not working without that.
Great to hear. Can you please describe that Bug more Detailed? I don't understand it.

Does anyone know if the camera, camera hardware button, video streaming works?
The camera and the camera Button Work. What do you mean by Video Stream?
 
  • Like
Reactions: devilgloom

psi78

Senior Member
Feb 22, 2020
109
33
Great to hear. Can you please describe that Bug more Detailed? I don't understand it.


The camera and the camera Button Work. What do you mean by Video Stream?

Good to hear, great work!
With video streaming i meant playing flash videos in a browser on various websites other than youtube (that was broken for me on another device using Lineage OS 14.1).
 

Top Liked Posts

  • There are no posts matching your filters.
  • 48
    2okPze5.png


    Introduction
    LineageOS, an open-source Android distribution, is available for several devices,
    with more being continuously added thanks to the biggest, yet ever growing, Android open-source community.
    Join us and breathe new life in your device, be it old or new.
    If you don't know LineageOS and would like to read about it before installing it you can take a look at the official Website.

    Features
    Individuality
    Customization is paramount to productivity.
    That’s why LineageOS promises to push for user personalization and preference.
    Everyone is unique and your device should be too.
    Security
    Your data, your rules. With powerful tools such as Privacy Guard, you are in control of what your apps can do whenever you want.
    Trust will help you understand the security of your device and warn you about possible threats.
    We take security very seriously: that’s why we deliver security updates every month to all our supported devices.
    And to make your device more secure, lock everything behind an enhanced lock screen.
    Longevity
    LineageOS extends the functionality and lifespan of mobile devices from more than 20 different manufacturers thanks to our open-source community of contributors from all around the world.

    All the source code for LineageOS is available in the LineageOS Github repo. And if you would like to contribute to LineageOS, please visit out Gerrit Code Review. You can also view the Changelog for a full list of changes & features.

    Downloads
    Download LineageOS 17.1 for Xpeira Z2.

    Installation instructions
    Prerequisites:
    • Unlocked Sony Xperia Z2
    • Fastboot drivers to install TWRP
    • Micro-USB Cable to connect your phone to your computer
    Install:
    1. Reboot to TWRP. *
    2. Wipe cache, dalvik cache, data and system.
    3. Format data to get rid of encryption.
    4. Install ROM.
    5. Install 10.0 Gapps for ARM. **
    * recommended TWRP: Post #2
    ** optional

    Update:
    • Get the latest build
    • Boot into TWRP
    • Flash the downloaded build
    • Reboot
    Note: If you don't wipe system, backuptool will reapply your modifications that support addon.d, for example: GApps.

    Reporting bugs
    • DO NOT Report bugs if you're running a custom kernel or you installed Xposed
    • Grab a logcat right after the problem has occurred. (Please include at least a few pages of the log, not just the last few lines, unless you know what you're doing.)
    • If it is a random reboot, grab /proc/last_kmsg. (Do not bother getting a logcat unless you can get it just before the reboot. A logcat after a reboot is useless)
    Remember to provide as much info as possible. The more info you provide, the more likely that the bug will be solved. Please also do not report known issues. Any bug not reported in the bug report format below may be ignored.

    Code:
    What is your--
    LineageOS version:
    Gapps version:
     
    Did you--
    wipe:
     restore with titanium backup:
    reboot after having the issue:
     
    Are you using--
    a task killer:
    a non-stock kernel:
    other modifications:
     
    Provide any additional information (observations/frequency of problem/last version it worked on/etc) as needed:


    XDA:DevDB Information
    LineageOS 17.1 for sirius, ROM for the Sony Xperia Z2

    Contributors
    NeoArian
    ROM OS Version: Android 10
    ROM Kernel: Linux 3.4.x
    ROM Firmware Required: 23.5.A.1.291

    Version Information
    Status: Stable

    Created 2020-02-21
    Last Updated 2020-07-30
    22
    Hi everyone :)
    I am working on Android 11 for sony shinano currently and as some of you might know, my Z2 has a broken SIM-card slot. Hence i need your help to test if RIL works fine on this build: https://sourceforge.net/projects/ep...0/lineage-18.0-20201205-UNOFFICIAL-sirius.zip
    This build is NOT ready to use yet, but most stuff should work fine.
    Greetings, Arian.
    20
    Known Issues
    • FM Radio quality is worse then on stock, bit we can't do much without Sony's source probably. I am not working on that right now.
    • Disk Encryption: Disk Encryption is working, however not with the default password (no password). Workaround: Set password first, then start disk encryption, not the other way round!
    • You tell (with logs please)...

    TWRP
    Download TWRP 3.3.1 for Xperia Z2!
    How to install this TWRP
    • Rename the downloaded twrp image to twrp.img
    • Reboot to fastboot by holding volume up while connecting your device to your computer
    • Open a terminal and go to the directory with TWRP in it
    • Type
      Code:
      fastboot flash recovery twrp.img
    • Boot into TWRP; while the device is powered off press the power and volume down button


    A big THANK YOU to @OLDST4R for donating the Xperia Z2 to me!
    14
    Good evening,
    I'm uploading a new build to https://sourceforge.net/projects/ephedraceae/files/sirius/lineage-17.1/ (should be available witin 15 minutes, sourceforge need to mirror it)
    Since it has been a while i don't have a changelog but D6502 should be supported now and the problem about forgetting time should be resolved.
    Please give feedback about D6502 and happy flashing!
    13
    Good evening.
    I have uploaded a new build: https://sourceforge.net/projects/ep...-17.1-20200514-UNOFFICIAL-sirius.zip/download

    Assisted GPS should work now, that means a way faster fix should be available now as long as you have an internet connection, please report back about this.
    Happy flashing