• If you are experiencing issues logging in, we moved to a new and more secure software and older account passwords were not able to be migrated. We recommend trying to reset your password, then contacting us if there are issues.
  • Nearly done! Migration cleanup is mostly done. There are a small number of issues left that we continue to work on, but all the heavy lifting is done. We still would love to hear feedback over at this thread and also check out the new XDA app! Thanks and we hope you enjoy the new forums, and thanks for your support of XDA <3

[ROM][UNOFFICAL] LineageOS 14.1 for the Xperia Z5 Premium

Joel16

Senior Member
Sep 3, 2013
976
782
93
LineageOS is a free and open-source operating system for various devices, based on the Android mobile platform.

Disclaimer:
It is your decision to install this software on your device. Neither LineageOS developers nor I take any responsibility for any damage that may occur from installing this software on your device.


Notes:
This rom does not come pre-rooted or bundled with any modifications or apps. The device tree is heavily based off of Sumire's officical lineageOS repo with only the necessary modifications required for Satsuki (Z5 Premium).

Download:
Android File Host: ROM

Prerequisites:
- Make sure you're coming from firmware 32.4.A.1.54 before flashing this rom.
- Bootloader needs to be unlocked.
- Ensure that you have TWRP recovery from here.

Install:
1) Reboot into TWRP Recovery.
2) Select Wipe -> Swipe to factory reset -> Advanced Wipe -> Dalvik /ART Cache, System, Cache and Data -> Swipe to Wipe.
3) Go back to TWRP's main menu -> Select Install -> Locate and choose lineage-14.1-20200507-UNOFFICIAL-satsuki.zip file -> Swipe to confirm flash.

GApps/Root:
- Flash Gapps arm64 7.1 for Google Apps.
- Flash Magisk for root.

Sources:
Kernel
Device Tree (Satsuki | kitakami-common)

Bugs:
Please let me know about any bugs you encounter, I will look into them ASAP. Personally I haven't found any but I've tested the basic features such as brightness, camera, flash, sim detection, WiFi, Bluetooth, fingerprint, sound etc. which are all working fine on my device (E6853).

XDA:DevDB Information
LineageOS 14.1, ROM for the Sony Xperia Z5 Premium

Contributors
Joel16
ROM OS Version: 7.x Nougat
ROM Kernel: Linux 3.10.x

Version Information
Status: Stable
Current Stable Version: 2020-05-07
Stable Release Date: 2019-12-12

Created 2019-12-11
Last Updated 2020-05-07
 
Last edited:

Joel16

Senior Member
Sep 3, 2013
976
782
93
Change-logs:

2019-12-12
- Initial Release

2019-12-23
- Updated security patch to December.
- Fix some missing proprietary blobs. (camera, nfc and qti-iop)
- Add support for aanc tuning mixer controls.
- Updated outdated config files to the ones from 32.4.A.1.54.
- SD Card detection fix on dual sim devices by kv123.

2020-02-16
- Updated Android security patches to Feb 2020.

2020-04-14
- Updated Android security patches to March 2020.
- arm: DT: Satsuki: Lower backlight init value

2020-05-07
- Updated Android security patches to April 2020.
- Fixed NFC toggle.
- Fixed WiFi tethering.
- Fixed SD card not being accessible on dual-sim variants.
 
Last edited:

Mike3009

Senior Member
Jun 22, 2017
72
4
0
Thank you so much! I'm currently using Bernies unofficial lineage os 14.1 from the other thread. Can I just flash to this or do I need to go back to 32.4.A.1.54 first?
 

Joel16

Senior Member
Sep 3, 2013
976
782
93
Thank you so much! I'm currently using Bernies unofficial lineage os 14.1 from the other thread. Can I just flash to this or do I need to go back to 32.4.A.1.54 first?
Flashing firmware 32.4.A.1.54 again is not required. You just need to make sure you were initially on firmware 32.4.A.1.54 before flashing Bernie's builds as well. As long as you wipe data/cache like the install instructions above suggests you should be fine.
 

Joel16

Senior Member
Sep 3, 2013
976
782
93
I've decided to scrap the omnirom idea for now. Anyways a little status update on....



You guessed it, Oreo!
As stated earlier, I cannot guarantee any functionality on any android version > 7.1.2 and I'm also pretty new to Android development so no promises here. Although I have yet to debug anything, initially only WiFi, Bluetooth, Brightness, Double tap to sleep/wake is currently working. Everything else is broken -> camera, flash, sim card detection, speakers, mic, internal storage and unless I missed anything else, just assume its broken. Until/IF I fix majority of these issues I won't be releasing any builds. I'll keep you guys up to date on this thread but for now there won't be any ETAs.
 
Last edited:

Mike3009

Senior Member
Jun 22, 2017
72
4
0
For real????? Man, you are freaking awesome! Really appreciate all the work you're doing! Definitely great to see anyone making progress on this. Best of luck!
 

Joel16

Senior Member
Sep 3, 2013
976
782
93
Another Status Update for Oreo:
Speaker/Mic has been fixed with the Oreo build. All of the minor audio issues (reported by a logcat) have been fixed as well, which allows AudioFX to work. There are a bunch of other issues still that I'll need to fix before I can make a release.

Persisting Issues:
- No sensors are working (proximity, accelerometer, gyroscope, light etc) A lot of functionality such as adaptive brightness, auto rotate will not work until this is fixed.
- Sim detection
- Camera
- Fingerprint

What is currently working:
- WiFi
- Bluetooth
- GPS
- Fingerprint

If I can get the sensors working, I'll release a beta/test build. Camera/Sim service is definitely going to be the hardest, and will be put up last simply because its better to get most of the basic functionality working before I can start working on the difficult stuff. It's worth mentioning again that I'm not a professional android developer, I'm just a recent college graduate that is doing this as a hobby. I'm still learning how all this works so I cannot guarantee anything! So don't hold me to it, but I will give it my best.
 
Last edited:

Mike3009

Senior Member
Jun 22, 2017
72
4
0
Will you be releasing the December security update for lineage os 14.1? Once again, excellent work on your progress on 15.1 and also your 14.1 is the smoothest I've ever used.
 

Joel16

Senior Member
Sep 3, 2013
976
782
93
Will you be releasing the December security update for lineage os 14.1? Once again, excellent work on your progress on 15.1 and also your 14.1 is the smoothest I've ever used.
I will try to update this in the coming week considering this is stable while the other rom isn't. Right now I don't have enough storage for both Oreo and Nougat roms (The sources use up a lot of storage).
 

Joel16

Senior Member
Sep 3, 2013
976
782
93
No mount sd card (model e6833)
It seems to be coming from a dual sim device. Can you please fetch the logs?

- Reboot device
- Connect usb cable with debug on and data transfer on.
- Open terminal:
- adb root
- adb shell dmesg > dmesg.txt
- adb shell logcat > logcat.txt (close/interrupt this after a couple of seconds)

EDIT: Try new version released below.
 
Last edited:
  • Like
Reactions: Patrick Morgan

Joel16

Senior Member
Sep 3, 2013
976
782
93
New release - 2019-12-23

- Updated security patch to December.
- Fix some missing proprietary blobs. (camera, nfc and qti-iop)
- Add support for aanc tuning mixer controls.
- Updated outdated config files to the ones from 32.4.A.1.54.
- SD Card detection fix on dual sim devices by kv123.
@Allex1992 and @yeshuabainz or anyone else with a dual sim variant please test if the SD card detection works now. If it does I can apply the patch for lineage-15.1 and TWRP. If it doesn't work provide logs.