[ROM][UNOFFICIAL][12][S]LineageOS 19.1 for z5c (suzuran)

Search This thread


Jul 22, 2022
Here's how I did at first install of this ROM, probably I did something wrong then :D With your self built TWRP-version 3.6.2; clean caches, clean data, format data, install ROM, install NickGApps Omni, clean caches, reboot. Setup the phone with Google account, restore apps, settings etc. from some previous backup. Check through the settings of the phone and set those that did not come from the backup. Start your apps one by one to set them up and test if they work or not.
And on update I just booted to TWRP, installed the newer ROM and rebooted.


Senior Member
Sep 22, 2016
Sony Xperia Z5 Compact
The problem may be the NickGApps package. I don't use any GApps.
I'm always wiping these partitions when doing a clean install:


  • Screenshot_1975-08-22-21-50-11.png
    57.8 KB · Views: 30


Jul 22, 2022
On the first post there is GApps in the list of "working" things.... maybe you could try it?

I have thought that if I wipe the System-partition, I need to re-install TWRP. But probably I'm wrong then.


Senior Member
Sep 22, 2016
Sony Xperia Z5 Compact
I've written in my 1st post, that GApps is working; I've never written, that I'm using it. For sure I've tested it and at the point of my test it worked flawlessly.
TWRP is installed in the so called OTA partition, not in /system.
  • Like
Reactions: laakssim
I've written in my 1st post, that GApps is working; I've never written, that I'm using it. For sure I've tested it and at the point of my test it worked flawlessly.
TWRP is installed in the so called OTA partition, not in /system.
I use your TWRP v3.6.2.0-9, installed in the FOTAKernel partition. Might be related to the gapps package. I'm using Nikgapps.


Jul 22, 2022
Tried without Gapps and with very clean install, and still certain apps crash and reboot the phone. At least Instagram and that local banking app did it. I'm giving up as I need these apps.. well at least the banking app.


Senior Member
Jun 19, 2010
yes, it's great, network traffic is visible now.
reboots when some apps started (banking apps, ProtonVPN,...). i'm giving up for a while with 19.x
security lock with pattern (I tried 4x4) after setup returns to un-setuped
(I'm with 19 + magisk 25.2, no gapps)

Top Liked Posts

  • 3
    New version out; see 1st post.
    • Android security patch level: 5 November 2022
    How did you get a banking app to work on a rooted phone? I have tried but seems impossible. Depends of the app of course, some are more thorough in checking about the rooted status.

    Another question I have is about the camera. Did not find a clear answer on this topic. So is it now working in full 21M resolution with a viewfinder and all? Or what does "New: Camera fully working!" mean.

    For using banking app, you have to hide the root, in Magisk settings :

    - Change the name and the icon of Magisk.
    - Activate "zygisk" and you can exclude some apps from root.
    - Use those two modules : "Shamiko" and "SafetyNet".
    what does "New: Camera fully working!" mean.
    I wanted to tell you that the camera is fully working:
    • camera itself
    • flash
    • torch
    • audio/video
    I've never meant, that 23MP does work.
  • 10
    Hi all:

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

    Download 2022-11-12

    New: ROM with microG apk's included in priv-app:
    Download 2022-11-25

    Please pay attention: microG can't coexist with GApps! So decide whether to install microG OR GApps!

    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


    • OS Version: 12 (S)
    • Kernel: Linux 3.10
    • Kernel 3.10.108
    • New: Android security patch level: 5 November 2022
    • 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.
    • Audio
    • Bluetooth
    • New: Camera fully working!
    • Enforced SELinux support
    • Fingerprint (sometimes crashes)
    • FM-Radio (maybe it needs a few restarts before it's working)
    • GApps
    • German App AusweisApp2
    • GPS
    • Headset
    • LiveDisplay
    • Location services
    • Network Traffic Monitoring
    • NFC
    • Notifications
    • Notification LED
    • Offline charging
    • Phone calls
    • Reboot into recovery and bootloader
    • Sensors
    • Signed build
    • SMS
    • Sounds
    • Torch
    • WiFi
    • ...please tell me...
    These things are NOT working (or badly working):
    • Encryption
    • 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.


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


    • 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:
      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:
      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:
        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.
    Dear Bernie-0815,

    Your ROM 19.1 works like a charm. Had it installed two weeks ago and tried all kinds of stuff; nothing failed so far. I just wanted to give you a very huge Thank You! for your efforts and your great work.

    I used the old official Lineage 14.1 until now because I was hesitant to try an 'unofficial' version. But your ROM has breathed new life into this smartphone which I attempt to keep for a number of reasons (small size, headphone jack, not interested in fancy new hardware etc.).

    So, I just wanted to reach out and thank you for making it possible to use older, yet absolutely functional smartphones longer. I recommended your ROM to a friend also using a Z5 compact (still with the stock Sony ROM) and think she'll soon go for it as well.

    Keep up the good work, and be assured that there are people out there still using the Z5 Compact on a daily base and in productive mode!
    New version out; see 1st post.
    • New icon set
    • Switched to Enforced SELinux mode
    • Switched to signed builds
    New version out; see 1st post.
    • Android security patch level: 5 May 2022
    New version out; see 1st post.
    • Updated from android-12.1.0_r7 to android-12.1.0_r11
    • Android security patch level: 5 July 2022