[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] Tux111:
LineageOS 20.0 for Sony Xperia XZ1

View attachment 5726737

RELEASE

This is an alternative ROM for the Sony Xperia XZ1, offering several privacy features.

Please report any issues you observe apart from the ones listed below. Logs are needed for me to fix anything (preferably dmesg and logcat).

DOWNLOAD

You can download the latest releases here:

poplar (G8341):

https://sourceforge.net/projects/yoshino/files/poplar/twrp/

https://sourceforge.net/projects/yoshino/files/poplar/lineage-20.0/

poplar_dsds (G8342):

https://sourceforge.net/projects/yoshino/files/poplar/twrp/

https://sourceforge.net/projects/yoshino/files/poplar/lineage-20.0/

poplar_canada (G8343):

https://sourceforge.net/projects/yoshino/files/poplar/twrp/

https://sourceforge.net/projects/yoshino/files/poplar/lineage-20.0/

poplar KDDI (SOV36)

https://sourceforge.net/projects/yoshino/files/poplar/twrp/

https://sourceforge.net/projects/yoshino/files/poplar/lineage-20.0/

RECOMMENDED GAPPS (others works too)

https://androidfilehost.com/?w=files&flid=322935

INSTALLATION

Before first install: flash and boot into the TWRP provided in this thread,

format

data, reboot to recovery and wipe all internal partitions, then flash the ROM, GApps and root (if needed).

Note: There is not going to be a LOS su addon anymore. If you need root, flash a root manager of your choice. No guaranteed support from LOS for this.

When updating from previous builds, simply dirty flash the ROM is enough, decryption in new TWRP works now ;)

Recommended GApps: MindTheGapps provided in this thread.

KNOWN ISSUES

Stock camera is not working anymore due to incompatibility of stock library (libimageprocessorjni.so) with new libgui

Currently, LOS isn't feature complete yet, so some things, buttonn, advanced menù etc. may be still missing

You tell me...

Contributors

derf elot, modpunk, Rooted_Ansh

Source Code

poplar: https://github.com/whatawurst/android_device_sony_poplar

poplar_dsds: https://github.com/whatawurst/android_device_sony_poplar_dsds

poplar_canada: https://github.com/whatawurst/android_device_sony_poplar_canada

poplar_KDDI: https://github.com/whatawurst/android_device_sony_poplar_kddi

kernel: https://github.com/whatawurst/android_kernel_sony_msm8998

Rom Information

ROM OS Version: Android 13

ROM Kernel: Linux 4.4

Version Information

Status: Stable

Current Stable Version: 1.5

Stable Release Date: 2023-12-27

ALL CREDITS TO DERF ELOT AND THE OTHER DEVS BEHIND THE ROM, I'M ONLY POSTING IT.

---------------------------------------

Changelogs:

v1.5 (2023-12-27):

- Updated to December 2023 Security updates & any LineageOS changes

- Updated kernel with LineageOS updates

- NOTE: This will be the last update for A13/LineageOS 20. A14/LineageOS 21 will be next.

v1.4 (2023-08-13):

Updated to August 2023 Security updates

Rebased kernel onto Lineage msm8998 common kernel - this also contains EAS changes/updates we didn't have

Removed several unused Sony kernel modifications and drivers

CIP kernel updates are not included currently until wired mic audio issues can be figured out

v1.3 (2023-07-15):

Updated to T QPR3 release (LineageOS upstream)

Updated to July 2023 Security updates (both ROM and kernel)

Updated kernel to CIP tag st42 - thanks also to Flamefire for some help

Fixed audio issue in kernel - thank to Flamefire

Fixed issue in kernel leading to inaccessible su in recent Magisk versions

Updated kernel sdfat driver (for external sdcard)

Updated implementation for Lineage battery charge control

v1.2 (2023-05-10):

- Updated to T QPR2 release (LineageOS upstream)

- Updated to May 2023 Security updates (both ROM and kernel)

- Our kernel now includes updates by CIP and is up-to-date with tag st40 - thanks also to Flamefire for help with some of these (1)

- Reduced zram size to 25% (1gb) of out total RAM to have more to use freely

- Updated BT stuff for QPR2 (maybe offloading is working again? needs confirmation)

- Added the option to reflash the mbn via OpenCS (see Xperia Parts) - thanks also to shank03 & Flamefire (2)

- Fully enabled IMS on Congstar Germany via overlay on lilac

- Possibly some battery/performance optimizations here and there

- Fixed Android Auto support

- Added new LineageOS "Charging control hal" for battery charging care (3)

- Maybe more I forgot...

(1) The CIP kernel includes fixes for issues and security vulnerabilities from 4.14 kernel (see https://git.kernel.org/pub/scm/linux/kernel/git/cip/linux-cip.git)

(2) A somehwat lengthy explanation: This option is off by default on fresh installs. When upgrading, this should be enabled because we enforced this for everybody previously. However, this option is only required for certain carrier mbns that enable IMS. Personally, I know that the O2/Telefonica Germany mbn needs this, otherwise you get a crashing modem at every boot (unless you switch to 3g before rebooting and back to LTE after boot). I generally recommend playing with this option, and if you don't need it (e.g. modem doesn't crash on boot), just keep it off - like mentioned before, this is now the default behavior of OpenCS on fresh installs anyway.

(3) This is not finalized or merged upstream is LineageOS yet, but seems like a nice feature to have and test drive already. Some bugs may be possible.

v1.1 (2023-01-08):

Updated to T QPR1 release (LineageOS upstream)

New default camera app (LineageOS upstream) - yes, we cannot change video fps currently (thanks Sony!)

Any other updates by LineageOS upstream

Kernel security updates (also thanks to Flamefire)

Dropped keyprovd service - it is useless on unlocked BL anyway

Show 4G instead of LTE icon - saves some space too

Enable IMS by default - this still only works if carrier is supported

Fix some selinux denials (also thanks to Flamefire)

Fixup ViLTE dependencies - this might in theory work again, but it's not enabled yet

v1.0 (2022-10-02):

Initial release