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

Search This thread

Berni-0815

Senior Member
Sep 22, 2016
2,601
2,249
Germany
Sony Xperia Z5 Compact
Normally I publish the latest version with december security updates at this place.
But unfortunately this version is so sluggish that it is nearly unusable. Every tap on the screen leads to some seconds of freeze of the whole system!
I have to dig deeper to fix this.
Please be patient!
 
Last edited:
  • Like
Reactions: casouzaj

Berni-0815

Senior Member
Sep 22, 2016
2,601
2,249
Germany
Sony Xperia Z5 Compact
...and unfortunately the device gets quite warm and the battery drains quite fast...
At this state the ROM is not usable as daily driver. I'm sorry... :confused:


I have to correct myself! Something must have been messed up at my running los20.0 system! A clean install works smooth as expected and keeps cool! The battery drains very slow as it should be.
 
Last edited:

Berni-0815

Senior Member
Sep 22, 2016
2,601
2,249
Germany
Sony Xperia Z5 Compact
New version out; see 1st post.
  • Platform version bumped from android-13.0.0_r16 to android-13.0.0_r20
  • Android security patch level: 5 January 2023
 

Attachments

  • Screenshot_20230109-170741_Settings.png
    Screenshot_20230109-170741_Settings.png
    82.3 KB · Views: 17
  • Like
Reactions: casouzaj

1ggn3

Senior Member
Oct 26, 2020
93
19
Sony Xperia Z5 Compact
OnePlus 6
After few days of use (lineage-20.0-20221115 with NikGapps + Root) I have encoutered weird thing :
After boot (<1 minute) the phone just reboot, again and again (Another member have the same issue on lineage 19)

setenforce 0 solve definitively the problem, after that I can boot without using that command again.
So, small update on my issue: I finally gave in and bought a new battery (the Polarcell one), and all my crashes and reboots are gone. It has been running fine for three days now (on LOS 19). Before, it would crash more and more, even when on a charger.

I don't know if SELinux was just an early "canary bird", or if the time spent charging while doing stuff in TWRP helped, but for me it's clear that my issues were just a dying battery.

Maybe your issue is different, who knows. But if I were you, I would at least consider the age/history of the battery.
 

Berni-0815

Senior Member
Sep 22, 2016
2,601
2,249
Germany
Sony Xperia Z5 Compact
New version out; see 1st post.
  • Android security patch level: 5 February 2023
  • Platform-Update: android-13.0.0_r20 -> android-13.0.0_r30
Unfortunately no progress regarding bluetooth and camera.
 

Attachments

  • Screenshot_20230214-110035_Settings.png
    Screenshot_20230214-110035_Settings.png
    82 KB · Views: 18

Berni-0815

Senior Member
Sep 22, 2016
2,601
2,249
Germany
Sony Xperia Z5 Compact
New version out; see 1st post.
  • Bumped platform version from android-13.0.0_r35 to android-13.0.0_r41
  • Android security patch level: 5 April 2023
 

Attachments

  • Screenshot_20230417-193109_Settings.png
    Screenshot_20230417-193109_Settings.png
    81.3 KB · Views: 11

petefoth

Senior Member
Dec 12, 2015
545
422
Whaley Bridge
Sony Xperia Z3 Compact
I am trying to make a build of IodéOS4 (based on lineage-20.0) for this device, using @Berni-0815's source, init-scripts and manifests. I've had to pick and choose from the files because
  1. I don't need most of the stuff in `init-los20.sh`: the signature spoofing patches, and F-Droid and MicroG are already included in the IodéOS sources. So I'm only picking up the patch from `android_hardware_qcom_audio` from that file
  2. Some of the repos removed or changed in the manifests are not present in the IodéOS sources. I have combined the manifests into the attached manifest, which I think has everything I need. But I must be missing something as I am getting a the following errors when building `out/soong/build.ninja`:
Code:
error: device/sony/kitakami-common/camera/libcameraservice/Android.bp:38:1: "libcameraservice_kitakami" depends on undefined module "no_cameraserver_defaults"
error: device/sony/kitakami-common/camera/libcameraservice/Android.bp:38:1: "libcameraservice_kitakami" depends on undefined module "needs_camera_boottime_defaults"

Any ideas where I should be picking up the missing "no_cameraserver_defaults" and "needs_camera_boottime_defaults" modules?

Thanks

EDIT:
nvm. They are in the `build/soong/Android.bp` from the LineageOS-UL/android_vendor_lineage repo. I need to check if there is anything much else from LineageOS-UL that I need that isn't in Iodé's version of that repo
 

Attachments

  • iode-suzuran-4.xml
    1.9 KB · Views: 5
Last edited:

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    New version available; see 1st post.
    • Android security patch level: 5 April 2024
    • Camera sources completely removed due to too much fatal error messages in LOG
  • 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-04-12

    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 April 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 (completely removed due to too much fatal error messages in LOG)
    • 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 available; see 1st post.
    • Android security patch level: 5 April 2024
    • Camera sources completely removed due to too much fatal error messages in LOG