First time I post to a Forum... I'm 99.99% I found the issue, so I'd like to share it with everyone.
Sorry if it's quite long, but I thought a nice summary would be helpful.
For sure, there are conflicts in the lockscreen management between Lollipop (with and without Smart Lock!) and all 3rd party apps (Tasker, Secure Settings, etc).
My configuration:
* Nexus 4, non-rooted, stock Lollipop 5.0 OTA and later 5.01
* Tasker & Secure Settings
* Nova Launcher
I have several Tasker Profiles, that among other things disable the lockscreen (via Secure Settings) when either at Home (Location based), in my Car (Bluetooth) or at Work (Location)
I have the exact same symptoms described in another thread:
The screen will randomly go black except for the 3 soft buttons at the bottom and the notification bar up top. I can pull the notification bar down and see notifications, but a click on one that would normally open another screen just reverts the entire screen to black. I tried rotating the screen, hitting all the buttons available,etc, but the only fix is a reboot.
(My personal note: if I leave the phone unattended for a few hours, or overnight, the phone will even shut down completely!)
I tried several black magic suggestions found around the web, none of which work for me:
A supposedly Chrome memory problem if relegated to the background for a long time. The suggested workaround:
* chrome://flags --> find "Delegated Renderer" and select Enable. Doesn't work
Other suggestions:
* Turn Bluetooth and/or WiFi on & off
* use the notifications pulldown to turn Wi-Fi off and then back on again, or toggle airplane mode
What I did:
1.
* Reverted the Chrome workaround (didn't make any difference)
* Kept all my Tasker/Secure Settings configurations
* Disabled Smart Lock
Didn't fix it: so..... it's NOT Tasker or S.S: conflicting with Smart Lock
2.
* Disabled Tasker/S.S:
* Enabled Smart Lock
Success. No black screens!
3.
* Enabled Tasker & modified my Tasks to avoid locking/unlocking via S.S
* allow Smart Lock to manage screen locking based on location & bluetooth
Now working like a charm for the past 10 days
(btw: I strongly recommend rebooting the phone everytime you make these changes: otherwise some settings sometimes don't seem to take immediate effect).
The caveats with Lollipop:
* when I switch on the display in a Safe Zone, I don't go directly to the home screen anymore, but have to swipe up every time (thank you, Smart Lock! :-()
* I use Greenify to kill background apps and save battery. The app has a nifty softkey, that you can place on the homescreen, that when tapped will 'greenify' AND switch off the display (saving 50% of wear & tear on the power switch). However, when you switch back on and swipe up :-( , you must also re-enter your pin/password! (I found another thread confirming this behaviour). The only way to avoid re-entering the pin/psw is to switch-off via the power switch (therefore partially defeating the scope of the softkey..). Seems like you can't have your cake and eat it...
I tested yesterday with 5.01. and sure enough, the original Tasker/Secure Settings still have the same problems (my phone was completely switched-off this morning).
On a side note, Tasker recently published two updates in just 2-3 days, first removing its native keyguard function, then re-enabling it. I'll try that instead of Secure Settings, and will post the results in the coming days.
Happy holidays to everyone!
UPDATE
* Disabled Smart Lock
* used Tasker's native 'keyguard' command
Got the black screen in less then 2 hours...
Too bad, it was really nice jumping directly to the home screen w/o swiping.... oh well....
Sorry if it's quite long, but I thought a nice summary would be helpful.
For sure, there are conflicts in the lockscreen management between Lollipop (with and without Smart Lock!) and all 3rd party apps (Tasker, Secure Settings, etc).
My configuration:
* Nexus 4, non-rooted, stock Lollipop 5.0 OTA and later 5.01
* Tasker & Secure Settings
* Nova Launcher
I have several Tasker Profiles, that among other things disable the lockscreen (via Secure Settings) when either at Home (Location based), in my Car (Bluetooth) or at Work (Location)
I have the exact same symptoms described in another thread:
The screen will randomly go black except for the 3 soft buttons at the bottom and the notification bar up top. I can pull the notification bar down and see notifications, but a click on one that would normally open another screen just reverts the entire screen to black. I tried rotating the screen, hitting all the buttons available,etc, but the only fix is a reboot.
(My personal note: if I leave the phone unattended for a few hours, or overnight, the phone will even shut down completely!)
I tried several black magic suggestions found around the web, none of which work for me:
A supposedly Chrome memory problem if relegated to the background for a long time. The suggested workaround:
* chrome://flags --> find "Delegated Renderer" and select Enable. Doesn't work
Other suggestions:
* Turn Bluetooth and/or WiFi on & off
* use the notifications pulldown to turn Wi-Fi off and then back on again, or toggle airplane mode
What I did:
1.
* Reverted the Chrome workaround (didn't make any difference)
* Kept all my Tasker/Secure Settings configurations
* Disabled Smart Lock
Didn't fix it: so..... it's NOT Tasker or S.S: conflicting with Smart Lock
2.
* Disabled Tasker/S.S:
* Enabled Smart Lock
Success. No black screens!
3.
* Enabled Tasker & modified my Tasks to avoid locking/unlocking via S.S
* allow Smart Lock to manage screen locking based on location & bluetooth
Now working like a charm for the past 10 days
(btw: I strongly recommend rebooting the phone everytime you make these changes: otherwise some settings sometimes don't seem to take immediate effect).
The caveats with Lollipop:
* when I switch on the display in a Safe Zone, I don't go directly to the home screen anymore, but have to swipe up every time (thank you, Smart Lock! :-()
* I use Greenify to kill background apps and save battery. The app has a nifty softkey, that you can place on the homescreen, that when tapped will 'greenify' AND switch off the display (saving 50% of wear & tear on the power switch). However, when you switch back on and swipe up :-( , you must also re-enter your pin/password! (I found another thread confirming this behaviour). The only way to avoid re-entering the pin/psw is to switch-off via the power switch (therefore partially defeating the scope of the softkey..). Seems like you can't have your cake and eat it...
I tested yesterday with 5.01. and sure enough, the original Tasker/Secure Settings still have the same problems (my phone was completely switched-off this morning).
On a side note, Tasker recently published two updates in just 2-3 days, first removing its native keyguard function, then re-enabling it. I'll try that instead of Secure Settings, and will post the results in the coming days.
Happy holidays to everyone!
UPDATE
* Disabled Smart Lock
* used Tasker's native 'keyguard' command
Got the black screen in less then 2 hours...
Too bad, it was really nice jumping directly to the home screen w/o swiping.... oh well....
Last edited: