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

Search This thread

enorrmann

Member
Jul 15, 2016
17
2
I'm having some issues with whatsapp audios, when sending, no audio is recorded (all privileges granted), when listening to audios, audio always sounds through external speaker, even close to my head
 

Berni-0815

Senior Member
Sep 22, 2016
2,516
2,212
Germany
Sony Xperia Z5 Compact
New version out; see 1st post.
  • Android security patch level: 5 May 2022
 

Attachments

  • Screenshot_20220515-201207_Settings.png
    Screenshot_20220515-201207_Settings.png
    73.7 KB · Views: 24

ruicunh79

Member
May 17, 2014
20
3
Anyone from Portugal has been able to work with bank app "activobank" with this rom. Tought it was a magisk problem, mas even after uninstalling magisk cant get the app to work. Perphaps a unlocked bootloader issue?

Other than that, great rom, thanks to the developer
 

Berni-0815

Senior Member
Sep 22, 2016
2,516
2,212
Germany
Sony Xperia Z5 Compact
New version out; see 1st post.
  • Android security patch level: 5 July 2022
  • LiveDisplay - Picture adjustment re-implemented (hopefully it works now!)
 

Attachments

  • Screenshot_20220715-190040_LineageOS_Settings.png
    Screenshot_20220715-190040_LineageOS_Settings.png
    58.6 KB · Views: 16
  • Screenshot_20220715-190054_LineageOS_Settings.png
    Screenshot_20220715-190054_LineageOS_Settings.png
    46.9 KB · Views: 15
  • Screenshot_20220715-190018_Settings.png
    Screenshot_20220715-190018_Settings.png
    72.5 KB · Views: 14

laakssim

Member
Jul 22, 2022
21
4
I am trying to downgrade from 18 to 17.1 beacause of video and microphone issues in 18. But I just can't get the newest 17.1 to work. I install with TWRP 3.6.2 (Berni's self build), and before installing I wipe caches and data. I have tried installin just the 17.1 or with gapps (no difference). When first loading the Andoid it reboots to TWRP when I should select language etc. with message "Factory data reset, Restarting...". Any suggestions what could be the problem?
 

laakssim

Member
Jul 22, 2022
21
4
At least for this time it really helped.

But too bad the downgrade to 17.1 did not solve the low microphone gain problem. The other participant can still just barely hear my voice on whatsapp and messenger video calls.
 

Berni-0815

Senior Member
Sep 22, 2016
2,516
2,212
Germany
Sony Xperia Z5 Compact
Issues with whatsapp audio is well known and not my business. Whatsapp seems to use another audio driver or codec. Please contact whatsapp for further help.
Audio is working flawlessly in the ROM itself and that is what I'm responsible for.
Third party apps are not part of my responsibility. I don't have the time and energy to fix every possible error in third party apps.
Please respect this. ;)
 
  • Like
Reactions: laakssim

laakssim

Member
Jul 22, 2022
21
4
Issues with whatsapp audio is well known and not my business. Whatsapp seems to use another audio driver or codec. Please contact whatsapp for further help.
Audio is working flawlessly in the ROM itself and that is what I'm responsible for.
Third party apps are not part of my responsibility. I don't have the time and energy to fix every possible error in third party apps.
Please respect this. ;)
Sorry to still bother about the mic volume thing, but seems that it is low on every app (tried at least four). And it occurs in video calls where you're supposed to speak further away from the phone. On voice calls with the phone on your ear there's no problem.
Could it still be some issue on these ROMs? On the OEM Sony Android 7 ROM this problem did not occur.
 

Berni-0815

Senior Member
Sep 22, 2016
2,516
2,212
Germany
Sony Xperia Z5 Compact
The audio stuff is very complicated. I've tried a lot of things and there is no way to meet all needs.
Feel free to "play with" the file "/system/vendor/etc/mixer_paths.xml". That's the file where all audio settings are defined.
 
  • Like
Reactions: laakssim

MatthiasHGW

Member
Aug 7, 2017
7
0
This is admittedly a bit off topic, but I am running out of ideas:
During long distance bike rides, I used to charge my Z5C using my bike's dynamo hub via a special circuit (www.forumslader.de). This has worked flawlessly for years, and I had no problems keeping the phone's battery completely charged. This year, the charger barely manages to prevent the battery from discharging, while OsmAnd is running with the screen switched off except for turning instructions; to save power, I always have the phone switched to airplane mode. The phone is very slowly charged when I keep the screen turned completely off for hours, which is not useful, as I need Osmand for navigation.
I have measured voltages from the charger, which are in the normal range, the phone's battery is in good shape, and I have not had any
issues with the battery's endurance.
It just occurred to me that the only change to last year is an upgrade to LineageOS 17.1 (coming from 15, if I remember correctly). I installed Advanced Charging Controller (ACCA), trying to limit the maximum charging current to various levels under the asumption that fast charge mode would request to much power from the dynamo, but to no avail.
Tomorrow is going to be my last day with internet access, so I cannot risk any major updates or flash a new ROM, but I was hoping that people might suggest any tweaks or settings I could try with the existing ROM, or maybe Berni would know if there are any changes to charge management in comparison to older ROMs.

Thank you - Matthias
 

Top Liked Posts

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

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

    Download 2023-07-27

    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 February 2023
    • 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.7.0!
    • 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 (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...