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

Search This thread

Berni-0815

Senior Member
Sep 22, 2016
2,586
2,248
Germany
Sony Xperia Z5 Compact

Attachments

  • Screenshot_20210120-182428_CPU-Z.png
    Screenshot_20210120-182428_CPU-Z.png
    109 KB · Views: 34
  • Like
Reactions: litelinux

baristurunc

Member
Sep 20, 2018
24
9
I can observe this on our device too, the exact same thing.

TcpSocketTracker: Opt-out for TCP info parsing on legacy kernels

This feature requires netlink features that are unsupported on
kernel versions lower than 4.4, therefore opt-out for it in such
cases and avoid constantly crashing TcpSocketTracker.
==================================

I keep getting these periodic crashes/hangs, and /data/system/dropbox gets filled:

====================================================
11-04 17:28:28.471 +0000 1625 4410 E TcpSocketTracker: java.lang.IllegalArgumentException: Bad position 65648/684
11-04 17:28:28.471 +0000 1625 4410 E TcpSocketTracker: at java.nio.Buffer.position(Buffer.java:259)
11-04 17:28:28.471 +0000 1625 4410 E TcpSocketTracker: at java.nio.ByteBuffer.position(ByteBuffer.java:812)
11-04 17:28:28.471 +0000 1625 4410 E TcpSocketTracker: at com.android.networkstack.netlink.TcpSocketTracker.skipRemainingAttributesBytesAligned(TcpSocketTracker.java:427)
11-04 17:28:28.471 +0000 1625 4410 E TcpSocketTracker: at com.android.networkstack.netlink.TcpSocketTracker.parseSockInfo(TcpSocketTracker.java:312)
11-04 17:28:28.471 +0000 1625 4410 E TcpSocketTracker: at com.android.networkstack.netlink.TcpSocketTracker.pollSocketsInfo(TcpSocketTracker.java:245)
11-04 17:28:28.471 +0000 1625 4410 E TcpSocketTracker: at com.android.server.connectivity.NetworkMonitor$ValidatedState.processMessage(NetworkMonitor.java:1050)
11-04 17:28:28.471 +0000 1625 4410 E TcpSocketTracker: at android.net.networkstack.util.StateMachine$SmHandler.processMsg(StateMachine.java:992)
11-04 17:28:28.471 +0000 1625 4410 E TcpSocketTracker: at android.net.networkstack.util.StateMachine$SmHandler.handleMessage(StateMachine.java:809)
11-04 17:28:28.471 +0000 1625 4410 E TcpSocketTracker: at android.os.Handler.dispatchMessage(Handler.java:106)
11-04 17:28:28.471 +0000 1625 4410 E TcpSocketTracker: at android.os.Looper.loop(Looper.java:223)
11-04 17:28:28.471 +0000 1625 4410 E TcpSocketTracker: at android.os.HandlerThread.run(HandlerThread.java:67)
====================================================
 

baristurunc

Member
Sep 20, 2018
24
9
No, nothing else should really happen as far as I know. At least we got rid of redundant nvram writes (crash dumps) which shortens the non-volatile memory's lifespan slightly. In the meantime, we saved some cpu clocks too (thus some energy).
 
Feb 2, 2019
26
2
Thanks a lot for your work! I'm just installing this ROM after having used your 14.1 build as daily driver for the last year. One minor thing: Everytime I insert a new SIM-card the preferred mobile network ("bevorzugter Netzwerktyp") is default 3G and has to be set to 4G manually. Maybe you could set the default to 4G?
 
Feb 2, 2019
26
2
An observation: I could not connect to a WLAN that has PMF (Protected Management Frames) enabled. This is the default setting for example in recent Fritzbox-Routers. My older devices (LOS 15) didn't have that problem. If PMF is disabled in the router I can connect. This might be a general problem with LineageOS 18.1.

Another problem I faced is that I couldn't get cloud-messaging (push) to run with microG. I'm still trying to figure out what the problem might be. Is anyone else using Bernis build with microg? Is cloud-messaging working for you?
 

Berni-0815

Senior Member
Sep 22, 2016
2,586
2,248
Germany
Sony Xperia Z5 Compact
  • Like
Reactions: momomomonsterbill

mlleemiles

Senior Member
Jul 13, 2015
121
22
A few pages back, someone mentioned that current isn't limited when charging without boot. It might be correct - as my phone turned insanely hot (can feel a little burn on my hand after holding for a while) because i forgot to turn it on to charge today.
 

Berni-0815

Senior Member
Sep 22, 2016
2,586
2,248
Germany
Sony Xperia Z5 Compact
Maybe you could set the default to 4G?
No, I can't! But I've kanged the CarrierConfig configuration from nile-common.
Here you can download this version (included in actual build). It is a test version only. Since I don't know when the default network type will be (re)set, I can't say, if this version will fix that. Please test and report.
The "Preferred network type" section is much increased now. For me "GSM/WCDMA/LTE" works best (see attached screenshot).
 

Attachments

  • Screenshot_20210123-152200_Settings.png
    Screenshot_20210123-152200_Settings.png
    65.6 KB · Views: 24
Last edited:
  • Like
Reactions: momomomonsterbill

Ermann123

Senior Member
Apr 30, 2020
128
24
Hello. For MicroG, can you flash latest nanodroid (microg twrp flashable zips) zips ? After flash, please check: (enable)

Settings->System->MicroG Settings->Google Device Registration, Google SafetyNet and Google Cloud Messaging.

Here is guides: https://github.com/Nanolx/NanoDroid

Here is downloads:

So, is it, that you mean, that the out-of-the-box MicroG-Magisk Module since recently does not work anymore? I'm asking because I tried it over and over again with new fresh installation this week, without success.. (No new app connecting to GMS)
 

Top Liked Posts

  • There are no posts matching your filters.
  • 38
    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-10-09

    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: 6 October 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
    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.
    12
    New version out; see 1st post.
    • Android security patch level: 1 October 2021
    • DynamicsProcessing library implemented
    10
    New version out; see 1st post.
    • Android security patch level: 5 May 2021