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

Search This thread

sabotage154

Senior Member
Apr 24, 2011
130
10
i flashed this and in my battery is draining at a rate of 10% per hour with screen off. i tried doing a fresh reinstall of stock and then flashed the rom again and im still having the issue. anyone have any ideas what could be causing this.
i beleie i solved this issue. for me battery drain seems to be device specific and not rom based. it appears the battery on my device is bad.
 

roohooo

Member
Apr 22, 2020
46
4
Probably two stupid questions, but:
  1. How do I check "advanced" phone status with LOS17.1 like with the service menu of the stock ROM? For example rooting/unlock status, security config, etc.?
  2. Does installing LOS17.1 replace the stock modem software in any case? How do I check what modem is currently being used?
Thanks!
r.
 

roohooo

Member
Apr 22, 2020
46
4
Thanks, I had already tried the info but as you suspected this does not give me all the info I'm looking for.
 

roohooo

Member
Apr 22, 2020
46
4
Good morning all,

over the last 4 days, I've noticed a severe degradation of my main Z5C's connectivity, which has been running fine with the 20210615 build since July. General signal strength is low and data connection sometimes takes minutes to establish before it shows "LTE" but even then there is no data flow with apps.

This happens with 2 different SIM of different providers. Both SIM are working fine in another Z5C with the older 20210208 build. So, the SIM appear to be ok and a provider issue seems unlikely. I've reset app and WiFi/mobile data settings but no effect.

@Berni-0815 and others: any ideas what I am seeing here? Is my Z5C dying? Anything else I could try without having to do a factory reset and/or fresh LOS install?


Any suggestions are very much appreciated!
Thanks,
r.
A quick update on this one: the issue does not occur when the phone is configured to GSM only. Data transfer via Edge is working...well...'nicely' and I don't have any issues connecting. Meanwhile I suspect the main antenna may have taken a hit during a recent fall of the phone. I'll try to replace it when I find the time and report back.
 

Berni-0815

Senior Member
Sep 22, 2016
2,226
1,991
Germany
Sony Xperia Z5 Compact
New version out; see 1st post.
  • Android security patch level: 5 December 2021
 

Attachments

  • Screenshot_20211216-172220_Settings.png
    Screenshot_20211216-172220_Settings.png
    73.8 KB · Views: 18

petefoth

Senior Member
I have just made an up-to-date unofficial LineageOS for Microg build for suzuran based on Berni's ROM. Available in this folder on AndroidFileHost

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

If you are clean flashing, checkout the Post-install section of the LineageOS for Microg front page

This build should dirty flash OK over earlier versions of LineageOS for Microg , and a quick test indicates it works OK over a non-Microg installation too.

Probably a good idea to backup your current setup before flashing it 🙂
 
Last edited:
  • Like
Reactions: TRKARTAL

Ermann123

Senior Member
Apr 30, 2020
99
16
Since I'm not using docker and I'm not willing to use it, I like to know which changes are necessary for building a microG compatible ROM.
I know about this site, but I'm not sure if my work meets the requirements.
Berni, my latest ROM installatiion experience was rather smooth, with just installing Magisk -> Riru Module + Riru LSPosed (former Xposed) -> FakeGapps and then MicroG Installer Revived from Magisk. (the necessary signature spoofing was running fine from the beginning).
 

Ermann123

Senior Member
Apr 30, 2020
99
16
Berni, my latest ROM installatiion experience was rather smooth, with just installing Magisk -> Riru Module + Riru LSPosed (former Xposed) -> FakeGapps and then MicroG Installer Revived from Magisk. (the necessary signature spoofing was running fine from the beginning).
P.S. I was doing this on 18.1 now, but earlier before the same with 17.1 :)
 

petefoth

Senior Member
Since I'm not using docker and I'm not willing to use it, I like to know which changes are necessary for building a microG compatible ROM.
I know about this site, but I'm not sure if my work meets the requirements.
No changes are required: it's a standard LineageOS build ,except
- Signature spoofing is implemented, set to 'restricted', so only apps that are part of the ROM can spoof
- The components from this repository included as pre-installed `system` apps.

And Docker isn't necessary. I build with a script (based on the /e/ OS dockerfile) adapted to build Lineage0S as well as / instead of /e/OS. That isn't necessary: you can just build however you normally build LineageOS, so long as you include the necessary additions in your manifests and build varaibles
 
  • Like
Reactions: TRKARTAL

benh77

Member
Oct 28, 2012
8
0
For those of you that have issues with Bluetooth dropping continuously, I've found a solution. So far only tested with media player, but assume it will work for calls etc too. I needed to do this action once for each BT device, but then as I reconnect to the devices they are staying stable..

Settings > Developer Options > Bluethooth Audio Codec >> change to Use System Selection (Default)

In my case, the setting was AAC both before and after making the change, but resetting has clearly made a difference.
 

benh77

Member
Oct 28, 2012
8
0
For those of you that have issues with Bluetooth dropping continuously, I've found a solution. So far only tested with media player, but assume it will work for calls etc too. I needed to do this action once for each BT device, but then as I reconnect to the devices they are staying stable..

Settings > Developer Options > Bluethooth Audio Codec >> change to Use System Selection (Default)

In my case, the setting was AAC both before and after making the change, but resetting has clearly made a difference.
Well after a few weeks, I can see that the above isn't working perfectly. I get more stability, but the bluetooth still drop its "Active" status. Seems to happen sometimes randomly, and sometimes when I move the phone (as if there is some kind of motion trigger?). It sometimes improves after doing the steps above, usually improves after charging and sometimes after a restart.

Is anyone else experiencing this? I love listening to music and the issues is frustrating. Not sure if it's just my phone.
 

Top Liked Posts

  • 3
    New version out; see 1st post.
    • Android security patch level: 5 May 2022
  • 2
    New version out; see 1st post.
    • Android security patch level: 5 April 2022
    3
    New version out; see 1st post.
    • Android security patch level: 5 May 2022
  • 47
    Hi all:

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

    Download 2022-05-15

    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: 10.0 (Q)
    • Kernel: Linux 3.10
    • Kernel 3.10.108
    • New: Android security patch level: 5 May 2022
    • 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.6.1!
    • This ROM needs a clean install, old /data may cause problems!
    • This ROM is NOT pre-rooted.
    • 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:
    • Bluetooth
    • 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.
    • Enforced SELinux support (see attached screenshot)
    • Fingerprint
    • FM-Radio
    • GApps (pick this version: ARM64, 10.0, pico [tested])
    • German app AusweisApp2 working (see this post)
    • GPS
    • Headset
    • LiveDisplay (see attached screenshots)
    • Location services
    • Notification LED
    • Offline charging
    • Phone calls (see attached screenshot)
    • SafetyNet test passed successfully
    • Signed build
    • SMS
    • Torch
    • WiFi
    These things are NOT working (or badly working):
    • Camera focus at low distances.
    • Encryption
    • Payment
    • Streaming (mirroring)
    • VoLTE
    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 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.
    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
    Very good! :good:

    Next big thing is memory. The device freezes too fast and I have problems with OpenGApps. I can neither flash the rom and OpenGApps together nor the rom first and OpenGApps after full install. Everytime the device freezes down to zero... :eek:

    Next version is on the way; stay tuned...