New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Redmi 12 - screen backlight stops working after locking/unlocking the screen for a few times #2622
Comments
Relevant extract
|
also have found a weird bug, working with the flashlight is awful - e.g. i clicked the flashlight quick tile, and after locked the phone. and it wont unlock ever again. however the flashlight is fine after I reboot / kill surfaceflinger |
I noticed one way to bypass Soft Reboot on the same device (Xiaomi Redmi 12 4GB/64GB). I turned off all sensors for the duration of testing using the following algorithm:
In total, the phone works without reboots or freezes. How can you turn off the sensors one by one to identify which one is causing the malfunction? |
Current Behavior:
If I will press the power button for a few times, ~15 times I'd say, the next attempt to unlock I will see very dark text, icons, because the backlight of the screen stops working. Before I thought that the phone itself didn't woke up, however when this happened to me while I was outside and I could see the screen clock, on the lock screen, because of the bright sun. So this has to do something with the backlight.
Also, sometimes I can let's say scroll on the touchscreen and it will scroll, during this weird state, but sometimes it's completely frozen. After a few minutes of being in this weird state the phone just performs a soft-reboot on it's own.
Describe the bug
While the phone is in this state, I can do adb shell pkill surfaceflinger to trigger a soft reboot and everything is working fine until I trigger the bug again.
If in this state, I do adb logcat, I see tons of errors "04-07 16:55:50.262 1003 1060 E android.hardware.sensors@2.0-service.multihal-mediatek: MMCKJ6a 20200831 inVG mag -0.098201 0.186791 -0.454408 acc -0.129286 0.033265 1.006837 ts 0.020004
04-07 16:55:50.262 1003 1060 E android.hardware.sensors@2.0-service.multihal-mediatek: MMCKJ6a 20180831 norm2_VG(acc,3)= 1 norm2_VG(mag,3)=0 StartErrCount=0 ErrCountFlag = 0"
To Reproduce
Lock/unlock the phone for a few times
Smartphone
Additional context
I tried changing various settings related to display/backlight in Phh treble settings however I get the same result.
On stock the issue is not present.
I tried to trigger this issue and let the logcat running until it soft-rebooted on it's own
log.txt
The text was updated successfully, but these errors were encountered: