[ROM][UNOFFICIAL][10][Q]LineageOS 17.1 for z5c (suzuran)

Search This thread

Berni-0815

Senior Member
Sep 22, 2016
1,922
1,631
Germany
Hi all:

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

Download 2021-04-21

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.

Kernel sources
Tree sources

Features:

  • OS Version: 10.0 (Q)
  • Kernel: Linux 3.10
  • Kernel 3.10.108
  • New: Android security patch level: 5 April 2021
  • Using sony blob's from stock version 32.4.A.1.54
  • Memory issues finally fixed!
  • Battery consumption significantly reduced! For further reduction, please follow these instructions.
  • Google Pay does not give an error when starting the app. This does not mean, that payment is working. I can't test it, because I don't use this feature at all. Please report if it's working or not.
  • Updated aptX encoder blobs.
  • P2P-Crashes fixed.

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!!!) There is a version 3.2.3 out there, but with that version I had problems to restore my backups. 3.2.1 is just working perfect for me!
    OR use my self built TWRP-version 3.5.2!
  • This ROM needs a clean install, old /data may cause problems!
  • This ROM is NOT pre-rooted.

Working:
  • Phone calls (see attached screenshot)
  • SMS
  • WiFi
  • Bluetooth
  • Fingerprint
  • GPS
  • Location services
  • Headset
  • LiveDisplay (see attached screenshots)
  • Enforced SELinux support (see attached screenshot)
  • Torch
  • German app AusweisApp2 working (see this post)
  • Offline charging
  • Notification LED
  • GApps (pick this version: ARM64, 10.0, pico [tested])
  • Camera; both built-in camera (Snap) and 3-rd party camera apps.
    Snap may be a little bit laggy, please use 3-rd party camera app instead; for example OpenCamera. If you're running into errors, please report.
  • FM-Radio
  • SafetyNet test passed successfully
These things are NOT working (or badly working):
  • Encryption
  • Camera focus at low distances.
  • Streaming (mirroring)
  • Payment
Maybe some more things are not working.

If you have problems with GApps:
Sometimes the SetupWizard of GApps crashes on and on. Then you have to boot into TWRP, mount system, and go into terminal, where you have to delete SetupWizard (see screenshots):
Code:
cd /system/system/priv-app
rm -rf SetupWizard
Reboot.


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.

Benefits:

  • Added 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 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.
 

Attachments

  • Screenshot_20200315-223118_Settings.png
    Screenshot_20200315-223118_Settings.png
    138.2 KB · Views: 3,277
  • Screenshot_20200530-112635_LineageOS_Settings.png
    Screenshot_20200530-112635_LineageOS_Settings.png
    60 KB · Views: 2,016
  • Screenshot_20200530-112650_LineageOS_Settings.png
    Screenshot_20200530-112650_LineageOS_Settings.png
    52.1 KB · Views: 1,952
  • Screenshot_20200530-112702_LineageOS_Settings.png
    Screenshot_20200530-112702_LineageOS_Settings.png
    49.7 KB · Views: 1,847
  • Screenshot_20200530-112718_LineageOS_Settings.png
    Screenshot_20200530-112718_LineageOS_Settings.png
    47.8 KB · Views: 1,848
  • Screenshot_20200609-112959_LineageOS_Settings.png
    Screenshot_20200609-112959_LineageOS_Settings.png
    74.1 KB · Views: 1,686
  • Screenshot_2020-07-23-10-30-40.png
    Screenshot_2020-07-23-10-30-40.png
    54.1 KB · Views: 1,003
  • Screenshot_2020-07-23-10-30-48.png
    Screenshot_2020-07-23-10-30-48.png
    41 KB · Views: 1,004
  • Screenshot_20210125-133252_SafetyNet_Test.png
    Screenshot_20210125-133252_SafetyNet_Test.png
    97.6 KB · Views: 281
Last edited:

Ryu--X

Senior Member
May 13, 2014
285
79
Paris
Hi Bernie,

First things first : Thank you so much for your amazing work on this device.:highfive:

So hard to find a good, compact and up to date smartphone.


So i tried your Los17.1 and i just noticed another issue : ram usage.
Without nor the gapps neither other apps installed, the system is using 1.6go ram (even the keyboard can take time to appear once you launch an app)


On your Los14.1 (i tried with the last one you created, a few days ago) : it would be something like 0.8go ram (so everything run smoother) still without gapps and other apps / settings.


Maybe, now our days, 3go ram is mandatory for android + gapps + 3rd party ...
 

Berni-0815

Senior Member
Sep 22, 2016
1,922
1,631
Germany
So i tried your Los17.1 and i just noticed another issue : ram usage.
Without nor the gapps neither other apps installed, the system is using 1.6go ram (even the keyboard can take time to appear once you launch an app)
I know about that. I've tried with gapps and I can confirm that ram is running out of free space. Sometimes the system is not responding any more (screen is flickering and it seems that nothing happens) and I have to restart it (press power button quite a long time until power menu appears).

It is indeed far away from being a daily driver... :angel:

Another issue: It seems that location services (gps) are not working.

Does anybody confirm that?
 

casouzaj

Senior Member
Oct 13, 2006
2,238
576
57
Haibara-gum Yoshida-cho Sumiyoshi-shi
Although Bernard warmed us that this ROM is not precisely ready yet, I tried to give it a go, Twice, already. At each time, some variations: with and without gapps (Pico and Nano), via the recommended TWRP and the 3.3.1 one. The result is always the same: after the language selection, my phone reboots on the 'Just a sec', endlessly. I have to restore a nandroid backup, on order to have a working phone again.

Sent from my Xperia Z5 Compact using XDA Labs
 

Ryu--X

Senior Member
May 13, 2014
285
79
Paris
It is indeed far away from being a daily driver... :angel:

Another issue: It seems that location services (gps) are not working.

Does anybody confirm that?

I can confirm that unfortunately GPS isn't working.

By the way, i saw many other good roms on many devices ... that had an alpha rom far worse than this one ;)



Although Bernard warmed us that this ROM is not precisely ready yet, I tried to give it a go, Twice, already. At each time, some variations: with and without gapps (Pico and Nano), via the recommended TWRP and the 3.3.1 one. The result is always the same: after the language selection, my phone reboots on the 'Just a sec', endlessly. I have to restore a nandroid backup, on order to have a working phone again.


Sent from my Xperia Z5 Compact using XDA Labs

i didn't have this behavior on my tests, but i usually let the system start and wait for few minutes before using it (especially on 1st boot).
Also, i always reboot once after the 1st boot.

Hope it will help :)
 
Last edited:

Berni-0815

Senior Member
Sep 22, 2016
1,922
1,631
Germany
I can confirm that unfortunately GPS isn't working.
You have to enable google's location service in location settings. With that, maps is working with correct location; but I don't know if the location comes from gps, wlan or network. It's raining since many days and I don't want to stand outside in the rain and wait for gps connection... :angel:

I've tried to install f-droid and their location services; no better results...

By the way, i saw many other good roms on many devices ... that had an alpha rom far worse than this one ;)
Yes, I know. The problems are always the closed-source binaries from qualcom and sony that are not properly working on LineageOS versions > 14.1 :(

We're working on it but I'm not able to say if we can fix these issues.
 

Berni-0815

Senior Member
Sep 22, 2016
1,922
1,631
Germany
i tried both calling and receiving a call without issue.

Just a pop up saying mobile network is unavailable ,at the end ,when i hang up (but it's wrong, network is still available)
Weird! At my device this popup comes in the moment when trying to make an outgoing call. And this call is not started! The other end does not ring!
Could you please tell us, which preferred network type is set in *#*#info#*#* "Phone info" and in "Mobile network settings" (see screenshots)?
 

Attachments

  • Screenshot_20200219-185930_Settings.png
    Screenshot_20200219-185930_Settings.png
    133.9 KB · Views: 1,276
  • Screenshot_20200221-120621.png
    Screenshot_20200221-120621.png
    56.4 KB · Views: 1,274

Jelliol

Member
Jul 1, 2013
21
3
I'm not on any aspect a Dev but I give you all my energy on continuing the developpment of this ROM.

Any other support available ?
 
Last edited:
  • Like
Reactions: Ryu--X

Ryu--X

Senior Member
May 13, 2014
285
79
Paris
Weird! At my device this popup comes in the moment when trying to make an outgoing call. And this call is not started! The other end does not ring!
Could you please tell us, which preferred network type is set in *#*#info#*#* "Phone info" and in "Mobile network settings" (see screenshots)?

Here it is !
 

Attachments

  • Screenshot_20200222-105238_Parametres.png
    Screenshot_20200222-105238_Parametres.png
    66.4 KB · Views: 282
  • Screenshot_20200222-105802_Parametres.png
    Screenshot_20200222-105802_Parametres.png
    158.3 KB · Views: 283
  • Screenshot_20200222-105400_Parametres.png
    Screenshot_20200222-105400_Parametres.png
    70.3 KB · Views: 284
Last edited:

Ryu--X

Senior Member
May 13, 2014
285
79
Paris
Hmmm. Then is must be a problem with my german providers (with their apn I think); I've tested two: T-Mobile and O2. With both I can't make outgoing calls... :eek:

Pretty strange, indeed.
The phone i tested with is on another provider than my z5c.
I got to say that i checked the apn before making my tests, and they were good.


I will retry with the new version tonight .

Thanks :)
 

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    New version out; see 1st post.
    • Android security patch level: 5 April 2021
    1
    But with that you're setting SELinux to permissive and to my understanding this is a security leak!
    Or do I misunderstand you?
    1
    Yes. i suggested 2 options; second option is for fix that issue without setting selinux to permissive.
    That's the best way.
    why do you need any "selinux permissiver zip" ?
    last build / 22,1 magisk.,. ,,. no problem
    Because some users reported not working sensors. And that can be fixed by two ways:
    1. Flash latest stock ROM before flashing LineageOS ROM
    2. Set SELinux to permissive.
    The first way is the best.
    1
    New version out; see 1st post.
    • Minor bug fixes
    1
    You don't need to update at all if your installed ROM is working without any problems.
    The new version contains only minor fixes; nothing serious.
  • 45
    Hi all:

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

    Download 2021-04-21

    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.

    Kernel sources
    Tree sources

    Features:

    • OS Version: 10.0 (Q)
    • Kernel: Linux 3.10
    • Kernel 3.10.108
    • New: Android security patch level: 5 April 2021
    • Using sony blob's from stock version 32.4.A.1.54
    • Memory issues finally fixed!
    • Battery consumption significantly reduced! For further reduction, please follow these instructions.
    • Google Pay does not give an error when starting the app. This does not mean, that payment is working. I can't test it, because I don't use this feature at all. Please report if it's working or not.
    • Updated aptX encoder blobs.
    • P2P-Crashes fixed.

    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!!!) There is a version 3.2.3 out there, but with that version I had problems to restore my backups. 3.2.1 is just working perfect for me!
      OR use my self built TWRP-version 3.5.2!
    • This ROM needs a clean install, old /data may cause problems!
    • This ROM is NOT pre-rooted.

    Working:
    • Phone calls (see attached screenshot)
    • SMS
    • WiFi
    • Bluetooth
    • Fingerprint
    • GPS
    • Location services
    • Headset
    • LiveDisplay (see attached screenshots)
    • Enforced SELinux support (see attached screenshot)
    • Torch
    • German app AusweisApp2 working (see this post)
    • Offline charging
    • Notification LED
    • GApps (pick this version: ARM64, 10.0, pico [tested])
    • Camera; both built-in camera (Snap) and 3-rd party camera apps.
      Snap may be a little bit laggy, please use 3-rd party camera app instead; for example OpenCamera. If you're running into errors, please report.
    • FM-Radio
    • SafetyNet test passed successfully
    These things are NOT working (or badly working):
    • Encryption
    • Camera focus at low distances.
    • Streaming (mirroring)
    • Payment
    Maybe some more things are not working.

    If you have problems with GApps:
    Sometimes the SetupWizard of GApps crashes on and on. Then you have to boot into TWRP, mount system, and go into terminal, where you have to delete SetupWizard (see screenshots):
    Code:
    cd /system/system/priv-app
    rm -rf SetupWizard
    Reboot.


    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.

    Benefits:

    • Added 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 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.
    10
    New version out; see 1st post.
    New: Phone calls and SMS fully working! :good:
    9
    New version out; see 1st post.
    • Android security patch level: 5 August 2020
    • Offline charging working
    • Notification LED working
    8
    New version out; see 1st post. Some memory improvements. Device runs smooth without GApps and keeps quite cool and battery loss is low.
    But with GApps the device becomes unusable after quite short time.
    7
    New version out; see 1st post.
    • Battery consumption significantly reduced! For further reduction, please follow these instructions.
    • Google Pay does not give an error when starting the app. This does not mean, that payment is working. I can't test it, because I don't use this feature at all. Please report if it's working or not.
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone