[ROM][UNOFFICIAL][11][R]LineageOS 18.1 for z5c (suzuran)

Search This thread

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 September 2022
 

Attachments

  • Screenshot_20220912-113014_Settings.png
    Screenshot_20220912-113014_Settings.png
    74.3 KB · Views: 22

android666

Senior Member
Jun 19, 2010
102
19
kind question: how may i fix if during my call, or call init, my screen goes black and proximity senzor works ?
screen is on when, for unknown reason, my call automatically starts with "loud speaker/listening" mode

after new tests, it looks, something is influencing proxi.senzor ... :-(
 
Last edited:

&(*)

Senior Member
May 8, 2020
380
32
Xperia XZ2
kind question: how may i fix if during my call, or call init, my screen goes black and proximity senzor works ?
screen is on when, for unknown reason, my call automatically starts with "loud speaker/listening" mode

after new tests, it looks, something is influencing proxi.senzor ... :-(
I believe you are experiencing a mixer paths issue with the loud speaker defaulting and it can be remedied by clearing all sound modifications cache and disabling/deleting any app (AudioFX) that modifies it at which point after a reboot it will be set with the correct permissions and should resolve the undesired behaviour.
As for the proximity sensor, look around under settings by typing wake and see if there is a switch or two to correct what you're describing with the display.
 

android666

Senior Member
Jun 19, 2010
102
19
I'm not sure where to reset sound modification only, but deactivated AudioFX, all possible MagiSK modules as well. Tested all with Stock-ROM (with factory reset) with no change.
I also replaced sensor, with no change :) . Strange is, that light sensor works and is served by the same sensor: Avago APDS-9910. Also strange is, this proximity sensor worked few weeks ago (according to DevInfo). This situation looks too complicated to me, when even after (difficult) part replacement, no change is visible. So it's no software (Lineage/Stock), no hardware (sensor itself) ... it's kind of magic :) I give up.
 
I'm not sure where to reset sound modification only, but deactivated AudioFX, all possible MagiSK modules as well. Tested all with Stock-ROM (with factory reset) with no change.
I also replaced sensor, with no change :) . Strange is, that light sensor works and is served by the same sensor: Avago APDS-9910. Also strange is, this proximity sensor worked few weeks ago (according to DevInfo). This situation looks too complicated to me, when even after (difficult) part replacement, no change is visible. So it's no software (Lineage/Stock), no hardware (sensor itself) ... it's kind of magic :) I give up.
Our old Z5C in the house behaves like that: black screen during calls, either received or initiated on the phone itself. I suspect the culprit might be microphone. When paired to BT earphones, it behaves as expected.
 
  • Like
Reactions: android666

android666

Senior Member
Jun 19, 2010
102
19
It sounds logical, maybe it's just a contact, or incorrectly inserted mic into the connector. And (also) I have another microphone, but these repairs, it's like a punishment :)

I confirm, with headphone (3,5jack) calling works as it should

Last update to this issue: From my spare parts, I composed 2nd Z5C, loaded TWRP backup from 1st phone and it react the same way. TWRP restore on another phone with pattern screen-lock does not work (unlock will fail). you have to create backup without screen-lock (I know Dr.Fone is also there). In 1st phone I replaced sensor/microphone/3.5 connector - no change with proximity sensor, but now I have 1 spare/backup phone in case.... :cool:
My Workaround is: turn off function when by pressing power-button opened-call is closed, then by pressing it my screen become visible.
 
Last edited:
  • Like
Reactions: casouzaj

1ggn3

Senior Member
Oct 26, 2020
93
19
Sony Xperia Z5 Compact
OnePlus 6
I think I've experienced the same with my Z5C, but the proximity sensor still works according to various test apps. With headphones, all is well. No idea why it could be, but it's not that much of an issue for me.
 

android666

Senior Member
Jun 19, 2010
102
19
strange coincident here , that since some Lineage release, sensors stops working on some (sony) devices (like XZ1C):
"..... In version 1.4 and up, sensors are not working and my T-Mobile data is not working. Now I have installed 1.3, and all look great!. I'm happy for now, but I don't understand...."
 
Last edited:

Erman.c89

Member
Jul 1, 2020
9
1
Hello and thanks for the work you do for this Sony Z5 compact. The ROM is great although the internal memory stopped working when I put a 128GB SD into it and with Lineage 14 it works fine, I have no choice but to stay with Lineage 14
 

steve8x8

Senior Member
Jul 7, 2014
581
178
Samsung Galaxy S4 Mini
OnePlus One
@Berni-0815 is it still true after ~18 months that adopted storage (ie, combining the sdcard with internal storage) doesn't work? I don't trust sdcards too much, and would never rely on them for functionality of the core system, but others may have a different opinion, and fuse can't be that difficult?
 

Top Liked Posts

  • There are no posts matching your filters.
  • 1
    New version out; see 1st post.
    • Android security patch level: 5 September 2023
  • 37
    Hi all:

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

    New: ROM with microG apk's included in priv-app:
    Download 2023-09-19

    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 command 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: 11 (R)
    • Kernel: Linux 3.10
    • Kernel 3.10.108
    • New: Android security patch level: 5 September 2023
    • 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
    • Bluetooth
    • Camera (with the restriction to 8 MP); both built-in camera (Snap) and 3-rd party camera apps.
      Camera2 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
    • Fingerprint
    • FM-Radio (maybe it needs a few restarts before it's working)
    • GApps (MindTheGApps 11 arm64)
    • German app AusweisApp2
    • GPS
    • Headset
    • Hotspot
    • LiveDisplay
    • Location services
    • Notifications
    • Notification LED
    • Offline charging
    • Phone calls
    • Reboot into recovery and bootloader
    • SafetyNet test passed successfully
    • Signed build
    • SMS
    • Sounds
    • Torch
    • WiFi
    • ...please tell me...
    These things are NOT (or badly) working:
    • Encryption
    • Camera focus at low distances.
    • Payment
    • Streaming (mirroring)
    • 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.

    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.
    12
    New version out; see 1st post.
    • Kernel improvements
    12
    New version out; see 1st post.
    • Android security patch level: 1 October 2021
    • DynamicsProcessing library implemented
    12
    I finally managed to increase the write speed on /sdcard partition dramatically:
    Code:
    suzuran:/ $ dd if=/dev/zero of=/sdcard/output count=65536
    65536+0 records in
    65536+0 records out
    33554432 bytes (32 M) copied, 0.706444 s, 45 M/s
    suzuran:/ $
    New version out; see 1st post.
    10
    New version out; see 1st post.
    • Android security patch level: 5 May 2021