First, many thanks to codeworx, for this and everything else!
I switched my OnePlus 5T from OnePlus' OxygenOS to LineageOS 16.0 official for dumpling about two months ago.
Ever since, from time to time, when the screen will turn off either due to a natural timeout, or due to me closing the flip cover, when I turn the screen back on again (either by opening the flip cover, or tapping the power button), the screen will stay frozen at whatever was last displayed on it.
The phone is NOT frozen. It IS sensing and responding to whatever inputs that I'm (dangerously, since I can't see the results) making.
If I tap the power button to turn the screen off and tap it again to turn the screen back on, the screen displays what the phone is really currently doing, and responds normally again.
thanks.
I've been having that exact problem since ages, even before LOS 16, on most if not all of my LOS devices, including OP5T, and never managed to get to the bottom of it.
Some days it's happening a lot, other days not so much, some apps are affected, some are not.
Double tapping the recents button also 'unsticks' the screen for me btw.
Do you by any chance have OpenGapps (Pico?) installed?
Furthermore, did you freeze some or all of the Google Framework system apps?
Because that's what I always do, after I have installed all the apps I normally use, and I only ever unfreeze the Google system apps for updating apps via playstore.
And I got the feeling that it somehow is related to the stuck screen problem.
Do you have root on your device, and/or have you looked at the logcats when this is happening?
If so, did you see 'googlequicksearchbox' being mentioned?
Unfortunately, during my time with LOS 15.1/16.0 I never got around to installing LOS without Gapps, to see if it fixes things.
Also, I never let the Google Play services just run without freezing them, because I value my privacy more than a stuck screen from time to time.
About two weeks ago, I started migrating two of my phones to LOS 17.1, and I decided to ditch Google Play from now on, and so far - no stuck screen. Now that might be just coincidence, or because Android 10, but still...
05-02 18:19:10.606 1323 1349 W BroadcastQueue: Background execution not allowed: receiving Intent { act=android.speech.action.GET_LANGUAGE_DETAILS flg=0x10 } to com.google.android.googlequicksearchbox/com.google.android.voicesearch.intentapi.IntentApiReceiver
Hi droidsometimes,
I flashed either OpenGApps pico or mini - I'm not sure which.
Next time it happens to me, I'll try double tapping 'recents' - depending on exactly what was on the screen (as in some apps those soft buttons do not appear until the screen is tapped somewhere) it may not be so easy to see/remember :-}.
The device is rooted; I had not thought to try a logcat. My developer years are so far in the past that I'm not sure what I'd look for, or notice if I did see something (especially as I wouldn't know what should/n't be there in the log).
I'm feeling like half of my brain is on holiday - I _may_ have frozen some GApps, but then again since I started quite small, I hopefully didn't have any junkware (like Google Play Music, Google Play Movies) TO freeze. How would I see what apps I have frozen? (Sorry for the stupid question).
However, the _Framework_ apps (Google Play Services, Google Pay, ..) I definitely have not frozen.
By the way, back over on the Wileyfox Swift (crackling) thread, we've determined that what the other user is experiencing on his Swift is NOT this issue. He's seeing a single app window freezing, not the whole screen like this.
cheers.
I'm hesitant to post a whole logcat, as I don't know whether it might contain sensitive data.
What might I look for to debug the problem?
thanks,
Maybe do what I did:
Configure the status bar clock to show the seconds, set a short screen timeout, and a long lock timeout.
Then keep using the device normally, but let the screen reach the timeout often, and try to wake up the screen immediately after it goes black - e.g. double tap to wake.
Once the screen gets stuck, memorize or write down the minute and the second of the status bar clock (immediately taking a screenshot might work too) - that way you should get a clue what timestamps to look for in the logcat.
After that has happened several times, compare the relevant sections of the collected logcats, and see if anything sticks out, or is similar across all the collected parts.
Regarding sensitive info in the logcats, for example the app SysLog (F-Droid store) has an option to 'scrub potentially personal information from the logs'.
I've never used that option though, so not sure if it's reliable.
Thanks for the response, Eric. My steps were almost the same, but I hadn't formatted data or used the codeworkx recovery, so figured I'd start over and follow your steps exactly. I installed the codeworkx recovery, formatted data, wiped cache, dalvik, vendor and system. All ext4.
The codeworkx 20090908 recovery wouldn't install the 20200421 nightly; it insisted my phone is cheeseburger, a OnePlus 5, and not a dumpling, 5T! I checked the receipt and even measured the screen; my phone is definitely a dumpling 5T. First time I've ever seen anything like this. (Edit: the back sticker says it's a model A5010.)
I downloaded and installed the twrp.me recovery for the 5T. It installed the 20200421 nightly without problems ... but the phone started acting up again almost immediately, with a 'Phone is starting ...' loop during the boot.
If you have any ideas, I'd love to hear them.
Thanks again for the efforts to help, Eric. I hadn't looked up the PIS issue. I'm not alone.
"About phone" also says that my cell is an A5010 5T, and not a 5. The screen dimensions match the 5T, and not the 5. I think I started with Lineage 15 on this phone before upgrading to 16, and never saw any messages before reporting that I'm actually running a dumpling. So I'm reluctant to install a cheeseburger TWRP or ROM.
I installed a Blu Spark TWRP, did a fresh install that way and will try some other steps on my own.
OnePlus 5T = A5010 ... so your driver is a OnePlus 5T ... dumpling and not cheeseburger !
==> Don't install/flash TWRP and build for cheeseburger (OP5) ... only for dumpling (OP5T) ... of course.
<?xml version="1.0" encoding="UTF-8"?>
<manifest>
<project name="TheMuppets/proprietary_vendor_oneplus" path="vendor/oneplus" remote="github" revision="lineage-16.0" />
<project name="LineageOS/android_device_oneplus_dumpling" path="device/oneplus/dumpling" remote="github" />
<project name="LineageOS/android_device_oneplus_msm8998-common" path="device/oneplus/msm8998-common" remote="github" />
<project name="LineageOS/android_device_oppo_common" path="device/oppo/common" remote="github" />
<project name="LineageOS/android_kernel_oneplus_msm8998" path="kernel/oneplus/msm8998" remote="github" />
<project name="LineageOS/android_packages_resources_devicesettings" path="packages/resources/devicesettings" remote="github" />
</manifest>
#include
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*
*/