[ROM][UNOFFICIAL][BETA][13][T]LineageOS 20.0 for z5c (suzuran)

Search This thread

Berni-0815

Senior Member
Sep 22, 2016
2,586
2,248
Germany
Sony Xperia Z5 Compact
Hi all:

Here is a LineageOS 20.0 BETA ROM for Z5 compact (suzuran).

New: ROM with microG apk's included in priv-app:
Download 2024-03-18

Please pay attention: microG can't coexist with GApps! So decide whether to install microG OR GApps!

If you want to remove microG, enter these commands line by line in a terminal:
Code:
adb root
adb shell

mount -o remount,rw /

rm /system/priv-app/DroidGuard/DroidGuard.apk
rm /system/priv-app/FakeStore/FakeStore.apk
rm /system/priv-app/GmsCore/GmsCore.apk
rm /system/priv-app/GsfProxy/GsfProxy.apk

exit

Reboot!


Or flash this microG-remover.

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 md5sum checking. The zip file itself is not signed, so you have to disable zip verification.

Kernel sources
Tree sources

Features:

  • OS Version: 13 (T)
  • Kernel: Linux 3.10
  • Kernel 3.10.108
  • New: Android security patch level: 5 March 2024
  • 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.2.1 (pick the version from 2018-02-23!!!)
    OR use my self built TWRP-version 3.7.0!
  • This ROM needs a clean install, old /data may cause problems!
  • This ROM is NOT pre-rooted. For rooting you can use Magisk.
  • It is highly recommended that your device is running (or HAS RUN in the past!) the latest stock ROM from Sony (32.4.A.1.54) before flashing this ROM.
    Otherwise the baseband files may not match.
Working:
  • Audio
  • Enforced SELinux support
  • Fingerprint (sometimes crashes)
  • GApps (tested: MindTheGApps)
  • German App AusweisApp2
  • GPS
  • LiveDisplay
  • Location services
  • NFC
  • Notifications
  • Notification LED
  • Offline charging
  • Phone calls
  • Reboot into recovery and bootloader
  • Sensors
  • Signed build
  • SMS
  • Sounds
  • WiFi
  • ...please tell me...
These things are NOT (or badly) working:
  • Bluetooth
  • Camera
  • Encryption
  • FM-Radio (removed; causes crashes of bluetooth!)
  • Headset
  • Network Traffic Monitoring
  • Payment
  • Streaming (mirroring)
  • Torch
  • VoLTE
Maybe some more things are not working. Please tell me...

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.

Please keep in mind, that this is a BETA version and there are some things not or not fully working. The ROM feels a little bit sluggish too! Please don't expect miracles...

...but it WORKS!


Benefits:

  • Added Aurora-Store, F-Droid and UnifiedNLP! If you don't want this, simply de-install it.
  • I've set maximum speaker volume to a higher value.
  • I've increased microphone gain.
  • I've changed the microfone gain to avoid echo in phone calls.
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:
    Code:
    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:
    Code:
    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:
      Code:
      cd sys/fs/pstore
      cp * /sdcard
    • Send me the copied file(s), if any, via PM.


One last request:

Please, do not ask about problems for which my ROM is not responsible.
From now on I will only react to problems that I can reproduce and that are caused by my ROM.


I'm sorry for that, but I'm developing this ROM in my spare time and I still have a normal life.
 
Last edited:

Berni-0815

Senior Member
Sep 22, 2016
2,586
2,248
Germany
Sony Xperia Z5 Compact
New version (Halloween edition!) out; see 1st post.
  • No crashes any more; therefore I've bumped this version to BETA state
  • Bluetooth crashes no longer. A connection can be established, but it disconnects again immediately after connection; dunno why!
  • FM-Radio removed; it caused crashes of bluetooth
  • GApps are working! I've tested MindTheGApps
 

Berni-0815

Senior Member
Sep 22, 2016
2,586
2,248
Germany
Sony Xperia Z5 Compact
Oh! I've forgotten: Signature spoofing is now working!
 

Attachments

  • Screenshot_20221030-205321_microG Services Core.png
    Screenshot_20221030-205321_microG Services Core.png
    109.1 KB · Views: 68
  • Like
Reactions: username one
Haven`t tested your new release on my old Xperia Z5C yet, but I installed unofficial LOS 20.0 in my Xperia XZ2, by @dtrunk90, and with his ROM, bluetooth A2DP/AVRCP profiles work pretty fine. Don`t know if the kernel plays a critical part on this matter. For Z5C it`s still in version 3.10, whereas for the Tama platform, it`s 4.9. Maybe you guys could chat a little about it. Thanks for giving our old little beast a new life, anyway!
 
  • Like
Reactions: Delfinololo

dtrunk90

Senior Member
Oct 29, 2021
651
340
33
Sony Xperia XZ2 Compact
Xperia XZ2
Haven`t tested your new release on my old Xperia Z5C yet, but I installed unofficial LOS 20.0 in my Xperia XZ2, by @dtrunk90, and with his ROM, bluetooth A2DP/AVRCP profiles work pretty fine. Don`t know if the kernel plays a critical part on this matter. For Z5C it`s still in version 3.10, whereas for the Tama platform, it`s 4.9. Maybe you guys could chat a little about it. Thanks for giving our old little beast a new life, anyway!
Not sure if this helps but check the comments in https://review.lineageos.org/c/LineageOS/android_device_sony_tama-common/+/339303
For some reason switching BtAudio to AIDL breaks a2dp offload for some devices.
 

Berni-0815

Senior Member
Sep 22, 2016
2,586
2,248
Germany
Sony Xperia Z5 Compact
I've tried to reactivate a2dp. Unsuccessfully. It's now realized as a module and that's not the same as before.
For Z5C it`s still in version 3.10, whereas for the Tama platform, it`s 4.9. Maybe you guys could chat a little about it.
Feel free to port the kernel to 4.9 or anything else. We won't, because this really is a pain in the ass and could end in total frustration...
 

Berni-0815

Senior Member
Sep 22, 2016
2,586
2,248
Germany
Sony Xperia Z5 Compact
Los20 with MindTheGApps shows unreproducible random crashes. Until now I dunno why and I'm working on it.
But I think, it's not at my side and has to do with the (so my idea) early beta build of MindTheGApps...
 

Gadoin

Member
Nov 10, 2022
7
2
I've tested on my Z5c with "NikGapps-go" yedterday and it work very well (store, mail, galery, map) without any crash.
MMS working after manual configuration of the APN (SFR).

The ROM is very smooth, more faster than lineage 19. Nice job!
 
  • Like
Reactions: Berni-0815

Gadoin

Member
Nov 10, 2022
7
2
Oops i'm sorry for my english, i mean browser.
"go" apps runs into default browser.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 10
    Hi all:

    Here is a LineageOS 20.0 BETA ROM for Z5 compact (suzuran).

    New: ROM with microG apk's included in priv-app:
    Download 2024-03-18

    Please pay attention: microG can't coexist with GApps! So decide whether to install microG OR GApps!

    If you want to remove microG, enter these commands line by line in a terminal:
    Code:
    adb root
    adb shell
    
    mount -o remount,rw /
    
    rm /system/priv-app/DroidGuard/DroidGuard.apk
    rm /system/priv-app/FakeStore/FakeStore.apk
    rm /system/priv-app/GmsCore/GmsCore.apk
    rm /system/priv-app/GsfProxy/GsfProxy.apk
    
    exit

    Reboot!


    Or flash this microG-remover.

    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 md5sum checking. The zip file itself is not signed, so you have to disable zip verification.

    Kernel sources
    Tree sources

    Features:

    • OS Version: 13 (T)
    • Kernel: Linux 3.10
    • Kernel 3.10.108
    • New: Android security patch level: 5 March 2024
    • 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.2.1 (pick the version from 2018-02-23!!!)
      OR use my self built TWRP-version 3.7.0!
    • This ROM needs a clean install, old /data may cause problems!
    • This ROM is NOT pre-rooted. For rooting you can use Magisk.
    • It is highly recommended that your device is running (or HAS RUN in the past!) the latest stock ROM from Sony (32.4.A.1.54) before flashing this ROM.
      Otherwise the baseband files may not match.
    Working:
    • Audio
    • Enforced SELinux support
    • Fingerprint (sometimes crashes)
    • GApps (tested: MindTheGApps)
    • German App AusweisApp2
    • GPS
    • LiveDisplay
    • Location services
    • NFC
    • Notifications
    • Notification LED
    • Offline charging
    • Phone calls
    • Reboot into recovery and bootloader
    • Sensors
    • Signed build
    • SMS
    • Sounds
    • WiFi
    • ...please tell me...
    These things are NOT (or badly) working:
    • Bluetooth
    • Camera
    • Encryption
    • FM-Radio (removed; causes crashes of bluetooth!)
    • Headset
    • Network Traffic Monitoring
    • Payment
    • Streaming (mirroring)
    • Torch
    • VoLTE
    Maybe some more things are not working. Please tell me...

    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.

    Please keep in mind, that this is a BETA version and there are some things not or not fully working. The ROM feels a little bit sluggish too! Please don't expect miracles...

    ...but it WORKS!


    Benefits:

    • Added Aurora-Store, F-Droid and UnifiedNLP! If you don't want this, simply de-install it.
    • I've set maximum speaker volume to a higher value.
    • I've increased microphone gain.
    • I've changed the microfone gain to avoid echo in phone calls.
    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:
      Code:
      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:
      Code:
      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:
        Code:
        cd sys/fs/pstore
        cp * /sdcard
      • Send me the copied file(s), if any, via PM.


    One last request:

    Please, do not ask about problems for which my ROM is not responsible.
    From now on I will only react to problems that I can reproduce and that are caused by my ROM.


    I'm sorry for that, but I'm developing this ROM in my spare time and I still have a normal life.
    2
    Awesome, thanks for the constant support to z5c!
    2
    The latest Android security patch level updates dated 5 March 2023 causes some issues and I'm currently trying to fix them.
    Please be patient.
    1
    Oh! I've forgotten: Signature spoofing is now working!
    1
    New version availabe; see 1st post.
    • Android security patch level: 5 February 2024