GrapheneOS / os-issue-tracker

Issue tracker for GrapheneOS Android Open Source Project hardening work. Standalone projects like Auditor, AttestationServer and hardened_malloc have their own dedicated trackers.
https://grapheneos.org/
363 stars 21 forks source link

pixel 4 screen on with power button screen crash #4336

Closed kullaniciyiz closed 1 week ago

kullaniciyiz commented 1 week ago

If I turn it on by pressing the power button while the always show time and battery option is on, the device constantly turns on and crashes, cannot be used at all.

short log:

12948 | system_server | 11-14 22:07:43.969 1555 2050 I PowerGroup: Waking up power group from Dozing (groupId=0, uid=1000, reason=WAKE_REASON_POWER_BUTTON, details=android.policy:POWER)... -- | -- | -- 12949 | system_server | 11-14 22:07:43.970 1555 2050 I PowerManagerService: Waking up from Dozing (uid=1000, reason=WAKE_REASON_POWER_BUTTON, details=android.policy:POWER)... 12950 | system_server | 11-14 22:07:43.972 1555 1555 E ActivityManager: Cancel pending or running compactions as system is awake 12951 | android.hardware.sensors@2.0-service.multihal | 11-14 22:07:43.979 1037 1037 I sensors-hal: [hal]batch_physical_sensor:319, com.google.sensor.combo_light/11101, period=250000000, max_latency=0 12952 | android.hardware.sensors@2.0-service.multihal | 11-14 22:07:43.979 1037 1037 I sensors-hal: [sensor]set_config:64, sample_period_ns is adjusted to 0 based on min/max delay_ns 12953 | android.hardware.sensors@2.0-service.multihal | 11-14 22:07:43.979 1037 1037 I sensors-hal: [hal]batch_physical_sensor:328, com.google.sensor.combo_light/11101, period=250000000, max_latency=0 request completed 12954 | android.hardware.sensors@2.0-service.multihal | 11-14 22:07:43.980 1037 1037 I sensors-hal: [hal]activate_physical_sensor:256, com.google.sensor.combo_light/11101 en=1 12955 | android.hardware.sensors@2.0-service.multihal | 11-14 22:07:43.980 1037 1037 I sensors-hal: [ssc_utils]get_qmi_debug_flag:243, support_qmi_debug : false 12956 | android.hardware.sensors@2.0-service.multihal | 11-14 22:07:43.986 1037 1037 I sensors-hal: [hal]activate_physical_sensor:267, com.google.sensor.combo_light/11101 en=1 completed 12957 | rlsservice | 11-14 22:07:43.986 1052 4562 D rlsservice: DisableInternal already in disable state 1681692778 12958 | rlsservice | 11-14 22:07:43.987 1052 4562 I rlsservice: Enable handle 1681692778, mode 1 12959 | com.android.systemui | 11-14 22:07:43.988 2224 2224 D AndroidRuntime: Shutting down VM 12960 |   | --------- beginning of crash 12961 |   | 11-14 22:07:43.989 2224 2224 E AndroidRuntime: FATAL EXCEPTION: main 12962 |   | 11-14 22:07:43.989 2224 2224 E AndroidRuntime: Process: com.android.systemui, PID: 2224 12963 |   | 11-14 22:07:43.989 2224 2224 E AndroidRuntime: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean android.hardware.fingerprint.FingerprintManager.isPowerbuttonFps()' on a null object reference 12964 |   | 11-14 22:07:43.989 2224 2224 E AndroidRuntime: at com.android.wm.shell.TaskView$$ExternalSyntheticLambda5.run(R8$$SyntheticClass:166) 12965 |   | 11-14 22:07:43.989 2224 2224 E AndroidRuntime: at com.android.systemui.shade.NotificationShadeWindowControllerImpl.batchApplyWindowLayoutParams(NotificationShadeWindowControllerImpl.java:6) 12966 |   | 11-14 22:07:43.989 2224 2224 E AndroidRuntime: at com.android.systemui.statusbar.phone.CentralSurfacesImpl$12.onStartedWakingUp(CentralSurfacesImpl.java:15) 12967 |   | 11-14 22:07:43.989 2224 2224 E AndroidRuntime: at com.android.systemui.keyguard.WakefulnessLifecycle$$ExternalSyntheticLambda4.accept(Unknown Source:8) 12968 |   | 11-14 22:07:43.989 2224 2224 E AndroidRuntime: at com.android.systemui.keyguard.Lifecycle.dispatch(Lifecycle.java:15) 12969 |   | 11-14 22:07:43.989 2224 2224 E AndroidRuntime: at com.android.systemui.keyguard.KeyguardLifecyclesDispatcher$1.handleMessage(KeyguardLifecyclesDispatcher.java:259) 12970 |   | 11-14 22:07:43.989 2224 2224 E AndroidRuntime: at android.os.Handler.dispatchMessage(Handler.java:106) 12971 |   | 11-14 22:07:43.989 2224 2224 E AndroidRuntime: at android.os.Looper.loopOnce(Looper.java:201) 12972 |   | 11-14 22:07:43.989 2224 2224 E AndroidRuntime: at android.os.Looper.loop(Looper.java:288) 12973 |   | 11-14 22:07:43.989 2224 2224 E AndroidRuntime: at android.app.ActivityThread.main(ActivityThread.java:7940) 12974 |   | 11-14 22:07:43.989 2224 2224 E AndroidRuntime: at java.lang.reflect.Method.invoke(Native Method) 12975 |   | 11-14 22:07:43.989 2224 2224 E AndroidRuntime: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548) 12976 |   | 11-14 22:07:43.989 2224 2224 E AndroidRuntime: at com.android.internal.os.ExecInit.main(ExecInit.java:49) 12977 |   | 11-14 22:07:43.989 2224 2224 E AndroidRuntime: at com.android.internal.os.RuntimeInit.nativeFinishInit(Native Method) 12978 |   | 11-14 22:07:43.989 2224 2224 E AndroidRuntime: at com.android.internal.os.RuntimeInit.main(RuntimeInit.java:355)

full logcat is attached

pixel4_logcat.txt

An-anonymous-coder commented 1 week ago

The Pixel 4 is no longer supported and will not be receiving software updates. If this is an issue specific to the Pixel 4, it should be closed. Otherwise, it's best to upgrade to a supported device.

thestinger commented 1 week ago

You need to replace it with a supported device. Always-on display isn't going to get a fix for this issue on these devices end-of-life since after October 2022. That's over 2 years ago. They're on Android 13 instead of current GrapheneOS based on Android 15. Something caused a regression near the end of their lifetime for this and it's too late to do anything now. Avoid that feature until replacing it.