I'm also experiencing this issue. I also have regulary wifi disconnection, while the connection is of an execelent quality, and I can't reconnect again.
A clean flash doesn't fix the issue.LiveDisplay: Unable to get LiveDisplayService. The service either crashed, was not started, or the interface has been called to early in SystemServer init
--------- beginning of crash
FATAL EXCEPTION: main
Process: org.lineageos.lineageparts, PID: 10834
java.lang.RuntimeException: Unable to start activity ComponentInfo{org.lineageos.lineageparts/org.lineageos.lineageparts.PartsActivity}: android.view.InflateException: Binary XML file line #80: Error inflating class org.lineageos.lineageparts.livedisplay.PictureAdjustment
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3431)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3595)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:85)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2066)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:223)
at android.app.ActivityThread.main(ActivityThread.java:7664)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)
Caused by: android.view.InflateException: Binary XML file line #80: Error inflating class org.lineageos.lineageparts.livedisplay.PictureAdjustment
at androidx.preference.PreferenceInflater.createItem(PreferenceInflater.java:249)
at androidx.preference.PreferenceInflater.createItemFromTag(PreferenceInflater.java:277)
at androidx.preference.PreferenceInflater.rInflate(PreferenceInflater.java:344)
at androidx.preference.PreferenceInflater.rInflate(PreferenceInflater.java:346)
at androidx.preference.PreferenceInflater.inflate(PreferenceInflater.java:157)
at androidx.preference.PreferenceInflater.inflate(PreferenceInflater.java:109)
at androidx.preference.PreferenceManager.inflateFromResource(PreferenceManager.java:216)
at androidx.preference.PreferenceFragment.addPreferencesFromResource(PreferenceFragment.java:385)
at org.lineageos.lineageparts.livedisplay.LiveDisplaySettings.onCreate(LiveDisplaySettings.java:140)
at android.app.Fragment.performCreate(Fragment.java:2486)
at android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1261)
at android.app.FragmentTransition.addToFirstInLastOut(FragmentTransition.java:1324)
at android.app.FragmentTransition.calculateFragments(FragmentTransition.java:1208)
at android.app.FragmentTransition.startTransitions(FragmentTransition.java:101)
at android.app.FragmentManagerImpl.executeOpsTogether(FragmentManager.java:2202)
at android.app.FragmentManagerImpl.removeRedundantOperationsAndExecute(FragmentManager.java:2160)
at android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:2067)
at android.app.FragmentManagerImpl.dispatchMoveToState(FragmentManager.java:3057)
at android.app.FragmentManagerImpl.dispatchActivityCreated(FragmentManager.java:3004)
at android.app.FragmentController.dispatchActivityCreated(FragmentController.java:184)
at android.app.Activity.performCreate(Activity.java:8002)
at android.app.Activity.performCreate(Activity.java:7978)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1309)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3404)
... 11 more
Caused by: java.lang.reflect.InvocationTargetException
at java.lang.reflect.Constructor.newInstance0(Native Method)
at java.lang.reflect.Constructor.newInstance(Constructor.java:343)
at androidx.preference.PreferenceInflater.createItem(PreferenceInflater.java:242)
... 34 more
Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'java.util.List lineageos.hardware.LiveDisplayConfig.getPictureAdjustmentRanges()' on a null object reference
at org.lineageos.lineageparts.livedisplay.PictureAdjustment.<init>(PictureAdjustment.java:74)
... 37 more
Any build after August 23rd is still disabling the ability to connect to wifi although you can see the access point. I tried both Sept and Oct builds on fresh installs without Gapps or other addons as well as multiple access points. Anyone else having issues? Update to include clean flash of Oct 7th Official Lineage seems to work without Gapps or any addons. Puzzling and so random. I like your build more!
About the WiFi issue: in the last 1-2 months I have applied a couple of patches to our WiFi driver that are not present in Lineage's kernel. Maybe they are causing issues for you two. I'll send you a new kernel to test tomorrow, it would be crucial that you test it thoroughly because you guys are the only ones facing this issue.I'm also experiencing this issue. I also have regulary wifi disconnection, while the connection is of an execelent quality, and I can't reconnect again.
Another issue: since the Septmber update, I'm unable to use LiveDisplay. Pressing the LiveDisplay icon in the quicksettings doesn't do anything. When trying to open the settings of LiveDisplay in the settings makes it crash, with the following error:
A clean flash doesn't fix the issue.
It survived normally for me. I don't know how OTA updates are flashed (never ever tried updating my builds via OTA xD ), but I guess you can see the recovery log with the ouput printed while flashing the zip. Didn't you see the usual Magisk-related lines after the build was flashed?I somehow lost Magisk root on this latest OTA update. Magisk installed fine manually via TWRP though.
WIFI, LiveDisplay and everything else is working fine.
Some time ago (Magisk v22 or v21) Magisk's addon.d was buggy and was never called after updating LineageOS on old arm phones. This was however fixed in Magisk v23, after this release Magisk has always survived for me.Magisk not survived for me too. There's nothing in the TWRP's log about Magisk at all, it's addon.d script just not invoked, I think.
It began some time ago, but I didn't remember when. I have no problem just to install it from TWRP at the same time as I install your ROM.
BTW, I'm using good old TWRP 3.3.1-K1.
Any build after August 23rd is still disabling the ability to connect to wifi although you can see the access point. I tried both Sept and Oct builds on fresh installs without Gapps or other addons as well as multiple access points. Anyone else having issues? Update to include clean flash of Oct 7th Official Lineage seems to work without Gapps or any addons. Puzzling and so random. I like your build more!
Please try this kernel: https://mega.nz/file/QgUWmZaB#_th2QV6LLZZkDdH58Pdm8-LvcStM9IRoj7uPM0BCYQAI'm also experiencing this issue. I also have regulary wifi disconnection, while the connection is of an execelent quality, and I can't reconnect again.
Is Magisk's addon.d script there?I'm using Magisk v23. See that TWRP version is not the reason too.
Also, OpenGapps addon.d is working.
Yes, there's 50-lineage.sh, 70-gapps.sh and 99-magisk.sh files.
I already tried that, it didn't solve the issue.
Thanks, I'm going to try it. I'll report back later.
Sadly, it didn't fix the problem for me, still the same issues.
I'll provide you with new testing material over the next few days.Sadly, it didn't fix the problem for me, still the same issues.
Sadly, it didn't fix the problem for me, still the same issues.
This one almost completely fixes the issues, I had only 1 wifi disconnection yesterday, but maybe that was caused by something else. Today, everything went smooth. Many thanks for the quick fix!
This is very good news. The issue was caused by some code styling fixes which were supposed to fix misleading indentation (or other ambiguities in code logic) detected by the compiler, but it seems that some of these fixes changed the (correct) logic inferred by the compiler with a faulty logic that was not ambiguous but made the WiFi chip misbehave.This one almost completely fixes the issues, I had only 1 wifi disconnection yesterday, but maybe that was caused by something else. Today, everything went smooth. Many thanks for the quick fix!
ro.debuggable=0
by default (fixes root detectors reporting system as rooted when it is not)pm grant com.google.android.gms android.permission.FAKE_PACKAGE_SIGNATURE
pm grant com.android.vending android.permission.FAKE_PACKAGE_SIGNATURE
/proc/last_kmsg
(important: don't turn off or reboot the phone a second time, otherwise it'll be useless).adb logcat > logfile.txt
command.