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

Search This thread

roohooo

Member
Apr 22, 2020
36
3
Um...stupid question: If I do have a Z5C with stock rom which is simlocked by German O2 or Vodafone, will the phone be un-simlocked if I flash LOS17.1? That is, will there be any issues using a German Telekom sim, for example?

Thanks,
r.
 

tim031

New member
Apr 18, 2021
2
0
Hello, i have a question. I flash the phone with newest version and i noticed that the rotation have no function.
In Settings this function is activate. With sensor App, the App found 0 Sensors :/. Maybe someone can help?
 
Last edited:

TRKARTAL

Senior Member
Jun 21, 2017
148
22
İstanbul
Hello, i have a question. I flash the phone with newest version and i noticed that the rotation have no function.
In Settings this function is activate. Maybe someone can help?
Hello, i resolved it via flashing selinux permissiver zip in twrp and sensors issue fixed. I learned this from @TheVan28 ,thanks to him again; and thanks to that selinux permissiver zip's author:https://forum.xda-developers.com/t/mod-kernel-permissive-patcher-for-android.3506338/

Also, if you dont want to set the selinux to permissive; then you need to flash stock ftf via sony mobile flasher and after, flash twrp and wipe then flash los rom.
 

Berni-0815

Senior Member
Sep 22, 2016
1,969
1,684
Germany
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.
 
  • Like
Reactions: TRKARTAL

Morfran

Member
Feb 12, 2017
13
7
Firstly, thanks, for this ROM. I'd thought that there was no hope for this device getting past Android 7.

Secondly, is there anything that can be done to make Audible app work? It's failing to start at all with a MediaDRM error (logcat attached). It might be SELinux related, but I don't know enough about that to start fishing for a solution.

Regards,

Matt.
 

Berni-0815

Senior Member
Sep 22, 2016
1,969
1,684
Germany
Audible app
Are you talking about the audio book app? I have installed the app and can start it without any problems. However, since I don't have an account (and don't want to have an account!), I can't tell if the app will stop working when there is an account and some content is loading.
 

darkangel32

Member
Mar 26, 2020
49
5
Dead Trigger 2 cant be installed with this rom, anyone else having the same issue? Obviously, the bootloader is unlocked, with a locked bootloader, lineageos wont start the phone.
 

Morfran

Member
Feb 12, 2017
13
7
Are you talking about the audio book app? I have installed the app and can start it without any problems. However, since I don't have an account (and don't want to have an account!), I can't tell if the app will stop working when there is an account and some content is loading.

Not sure how I got that so wrong...

I think that I've sent you a private message with a link to a file.

Thanks,

Matt.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 2
    New version out; see 1st post.
    • Android security patch level: 5 June 2021
  • 45
    Hi all:

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

    Download 2021-06-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 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 June 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 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
    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.