[Xperia Z5 Compact Android Development] Berni-0815:
Hi all:

This is a thread for my alternative LineageOS 14.1 roms for suzuran.

I'm building these roms from time to time for my own needs and I think other people should participate.

Since the "official" development of LineageOS 14.1 has been stopped, I decided to build a new version only if the Android security patch level has been changed or I've changed anything.

Download 2021-07-19

This is a 7z archive with the zip'ed rom and the md5 file in it. Please unpack this archive, copy the included two files somewhere to your device, reboot into TWRP and flash this zip file. Enable zip verification and md5sum checking. Maybe you have to rename the md5 file to *.md5sum; depending on the TWRP version you are using.

Kernel sources

Tree sources

Features:

OS Version: 7.1.2 Nougat

Kernel: Linux 3.10

New: Android security patch level: 5 June 2021

Using sony blob's from stock version 32.4.A.1.54

Important informations:

You should be familiar with general installation of custom roms.

Required for installation: TWRP 3.1.1 (or newer).

OR use my self built TWRP-version 3.5.2!

No need for making a clean install, but sometimes it helps a lot!

This rom is pre-rooted. For those who want to use magisk or any other rooting tool, you can easily remove this by flashing this file.

Use this rom at your own risk! It comes without any warranty! I'm not responsible for any damage! If you don't agree with that, don't try to flash this rom in any way.

Differences between my version and the "official" one:

Kcal Display Driver - Thanks to @GreyLeshy and @Sony user 16

Voltage Control - Thanks to @GreyLeshy and @Sony user 16

OMS-Support - Thanks to @nathanchance

Added F-Droid and UnifiedNLP! If you don't want this, simply de-install it.

I've included some little extensions like changelog and volume adjustment.

I've set maximum speaker volume to a higher value.

I've increased microphone gain.

I've increased all volume steps from 7 to 15.

I've changed the microfone gain to avoid echo in phone calls.

I've enabled data for MMS.

I've enabled MHL.

Not working:

VoLTE, VoWiFi

If you want to use encryption, you have to disable SIM PIN first!

One (last) request:

Please don't ask for including any app. I won't do this, because I want to keep this rom as clean as possible.

Changelog

Troubleshooting:

If you're running into an error, please search in this thread if this error is already posted, before you post it again!

If not, I need a LOG to see what went wrong. Without a LOG I can't help you!

A LOG can be fetched by connecting the device with an USB cable to your PC and then by typing these commands line by line:

adb root
adb shell logcat -b all -d > logcat

Send my this LOG file via PM.

If you think this could be a SELinux related issue, please try to set the device to permissive mode first.

If the issue is gone, I need the policy file too (plus LOG). Fetch it by typing this line in a terminal:

adb pull /sys/fs/selinux/policy

If you stuck in a bootloop you can fetch a LOG with this trick:

Press the power button and the volume up button together until the device shuts down.

HOLD the power button.

Release the volume up button and press the volume down button immediately after releasing the volmue up button.

The device should start into TWRP recovery.

Tap on "Advanced", then on "Terminal" and enter these commands line by line:

cd sys/fs/pstore
cp * /sdcard

Send me the copied file(s), if any, via PM.