[Xiaomi Poco F1 ROMs, Kernels, Recoveries, & Other ] parkiet1:
I did an incremental update from the build of 7 november to 28 november and now my phone constantly restarts.

With logcat I was able to catch this error:

11-29 22:35:31.380 1806 1912 E JavaBinder: *** Uncaught remote exception! (Exceptions are not yet supported across processes.)
11-29 22:35:31.380 1806 1912 E JavaBinder: java.lang.NoSuchMethodError: No virtual method setAllowlistToken(Landroid/os/IBinder;)V in class Landroid/app/Notification; or its super classes (declaration of 'android.app.Notification' appears in /system/framework/framework.jar)
11-29 22:35:31.380 1806 1912 E JavaBinder: at com.android.server.notification.NotificationManagerService$11.sanitizeSbn(NotificationManagerService.java:4411)
11-29 22:35:31.380 1806 1912 E JavaBinder: at com.android.server.notification.NotificationManagerService$11.getAppActiveNotifications(NotificationManagerService.java:4373)
11-29 22:35:31.380 1806 1912 E JavaBinder: at android.app.INotificationManager$Stub.onTransact(INotificationManager.java:2822)
11-29 22:35:31.380 1806 1912 E JavaBinder: at android.os.Binder.execTransactInternal(Binder.java:1280)
11-29 22:35:31.380 1806 1912 E JavaBinder: at android.os.Binder.execTransact(Binder.java:1244)
11-29 22:35:31.381 1806 1912 E AndroidRuntime: *** FATAL EXCEPTION IN SYSTEM PROCESS: binder:1806_2
11-29 22:35:31.381 1806 1912 E AndroidRuntime: java.lang.NoSuchMethodError: No virtual method setAllowlistToken(Landroid/os/IBinder;)V in class Landroid/app/Notification; or its super classes (declaration of 'android.app.Notification' appears in /system/framework/framework.jar)
11-29 22:35:31.381 1806 1912 E AndroidRuntime: at com.android.server.notification.NotificationManagerService$11.sanitizeSbn(NotificationManagerService.java:4411)
11-29 22:35:31.381 1806 1912 E AndroidRuntime: at com.android.server.notification.NotificationManagerService$11.getAppActiveNotifications(NotificationManagerService.java:4373)
11-29 22:35:31.381 1806 1912 E AndroidRuntime: at android.app.INotificationManager$Stub.onTransact(INotificationManager.java:2822)
11-29 22:35:31.381 1806 1912 E AndroidRuntime: at android.os.Binder.execTransactInternal(Binder.java:1280)
11-29 22:35:31.381 1806 1912 E AndroidRuntime: at android.os.Binder.execTransact(Binder.java:1244)

Does anyone have a clue how to fix it? I tried to go back to the build of 14 november, but this did not fix it. I'm afraid to go back even more since the security string is updated in that build and I'm afraid that I have to do a data format if I go back to a version with an older security string.

I have the latest version of magisk on my device, in case it matters. My gut feeling is telling me that certain app notifications are triggering this error.

edit: When the play store is updating a package Android consistently crashes. I expect that it is because of the notification of the play store. I don't have a clue how to fix it. I don't even see a related change in the change log of lineageos.

I already did a format of the cache and system partition. This did not solve it.

This commit seems to remove the setAllowlistToken function: https://github.com/LineageOS/android_frameworks_base/commit/bff0ca9f819aae41f201a5ca5271b15021364f9b

I uninstalled magisk and now the crashing seems to be solved :)