[Nexus 9 Android Development] retiredtab:
New build called lineage-16.0-20231221-UNOFFICIAL-flounder.zip

Since I rarely use my Nexus 9 and given the problems with the Nov and Dec 5th security patches where I've had to spend hours finding out the problems, the next build will be June 2024. If I can't easily get the June 5th 2024 patches to boot and work properly, I will likely cease providing builds.

NOTE: All builds that I upload have been personally tested on my device to boot and function as described in post #1. Having said that, there's still a chance it won't work on your device due to human error, your configuration, your apps, etc. If it won't boot, always start with a complete wipe of everything and format your data in TWRP. This is known has a clean install. Backup your data before a clean install.

Release notes

Dec 21, 2023

1. All UNOFFICIAL 16.0 security patches including Dec 5th, 2023 as per https://review.lineageos.org/q/topic:P_asb_2023-12

More problems with the Dec 5th security patches. This commit 377773

https://review.lineageos.org/c/LineageOS/android_frameworks_base/+/377773

causes com.android.systemui to continually crash as shown below

--------- beginning of crash
12-21 14:19:57.058 4671 4671 E AndroidRuntime: FATAL EXCEPTION: main
12-21 14:19:57.058 4671 4671 E AndroidRuntime: Process: com.android.systemui, PID: 4671
12-21 14:19:57.058 4671 4671 E AndroidRuntime: java.lang.RuntimeException: Unable to instantiate application com.android.systemui.SystemUIApplication: java.lang.ClassNotFoundException: Didn't find class "com.android.systemui.SystemUIApplication" on path: DexPathList[[zip file "/system/priv-app/SystemUI/SystemUI.apk"],nativeLibraryDirectories=[/system/priv-app/SystemUI/lib/arm64, /system/lib64, /vendor/lib64, /system/lib64, /vendor/lib64]]
12-21 14:19:57.058 4671 4671 E AndroidRuntime: at android.app.LoadedApk.makeApplication(LoadedApk.java:1069)
12-21 14:19:57.058 4671 4671 E AndroidRuntime: at android.app.ActivityThread.handleBindApplication(ActivityThread.java:5891)
12-21 14:19:57.058 4671 4671 E AndroidRuntime: at android.app.ActivityThread.access$1100(ActivityThread.java:200)
12-21 14:19:57.058 4671 4671 E AndroidRuntime: at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1656)
12-21 14:19:57.058 4671 4671 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:106)
12-21 14:19:57.058 4671 4671 E AndroidRuntime: at android.os.Looper.loop(Looper.java:193)
12-21 14:19:57.058 4671 4671 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:6718)
12-21 14:19:57.058 4671 4671 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method)
12-21 14:19:57.058 4671 4671 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:491)
12-21 14:19:57.058 4671 4671 E AndroidRuntime: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:858)
12-21 14:19:57.058 4671 4671 E AndroidRuntime: Caused by: java.lang.ClassNotFoundException: Didn't find class "com.android.systemui.SystemUIApplication" on path: DexPathList[[zip file "/system/priv-app/SystemUI/SystemUI.apk"],nativeLibraryDirectories=[/system/priv-app/SystemUI/lib/arm64, /system/lib64, /vendor/lib64, /system/lib64, /vendor/lib64]]
12-21 14:19:57.058 4671 4671 E AndroidRuntime: at dalvik.system.BaseDexClassLoader.findClass(BaseDexClassLoader.java:134)
12-21 14:19:57.058 4671 4671 E AndroidRuntime: at java.lang.ClassLoader.loadClass(ClassLoader.java:379)
12-21 14:19:57.058 4671 4671 E AndroidRuntime: at java.lang.ClassLoader.loadClass(ClassLoader.java:312)
12-21 14:19:57.058 4671 4671 E AndroidRuntime: at android.app.AppComponentFactory.instantiateApplication(AppComponentFactory.java:50)
12-21 14:19:57.058 4671 4671 E AndroidRuntime: at android.support.v4.app.CoreComponentFactory.instantiateApplication(CoreComponentFactory.java:49)
12-21 14:19:57.058 4671 4671 E AndroidRuntime: at android.app.Instrumentation.newApplication(Instrumentation.java:1120)
12-21 14:19:57.058 4671 4671 E AndroidRuntime: at android.app.LoadedApk.makeApplication(LoadedApk.java:1061)
12-21 14:19:57.058 4671 4671 E AndroidRuntime: ... 9 more
12-21 14:19:57.062 306 330 V RescueParty: Disabled because of active USB connection
12-21 14:19:57.062 306 330 W ActivityManager: Process com.android.systemui has crashed too many times: killing!
12-21 14:19:57.064 4671 4671 I Process : Sending signal. PID: 4671 SIG: 9
12-21 14:19:57.081 306 743 I ActivityManager: Process com.android.systemui (pid 4671) has died: pers PER

When it crashes 5 times in a row, it boots back into recovery via RescueParty.

So I had to revert this patch using

$ cd frameworks/base
$ git revert d5238a9581fe4735ae5e3fc0d54c1b57a46a5bf0
[detached HEAD 6dae2b03d260] Revert "Updated: always show the keyguard on device lockdown"
1 file changed, 2 insertions(+), 14 deletions(-)

Without patch 377773, the OS boots.