SOLVED: Slide Screen lock never activates - Nexus 5 Q&A, Help & Troubleshooting

SOLVED: Turns out I'm an ass hound. I have the No Lock app it turns out that it was somehow set so locking was disabled. Re-enabling locking fixed this problem and solved my hours of wasted time.
Original problem:
New, 32GB Nexus 5, rooted, franco kernel (v33) and have GravityBox installed.
This small issue has been bugging me for the last couple of days: It seems that when I have the Screen lock set to Slide, and the phone is powered off or left sleeping (for hours), turning it back on does not present me with the slide lock as it should.
When I got it, it did. (worked fine)
When I rooted, it did.
When I installed GravityBox, it did.
When I installed LightFlow, it did.
When I installed the franco kernel, it did. Then it stopped.
Not being sure if the franco kernel was the issue, the first thing I did was boot into Safe Mode and found that I was having the same problem, allowing me to, I think, exclude the franco kernel as a culprit.
Since then, I've tried all of the following--each of which was followed by a soft reboot:
Deactivated GravityBox (but did not uninstall).
Both froze (w/ TitaniumBackup) and uninstalled LightFlow.
Turned off Accessibility for all apps.
The only hint I have that some app might be causing the issue is this: When I restart/reboot, the slide screen lock is there. Subsequent (quick) screen power off's and on's present the slide screen lock! After about 10 seconds though--and trying to turn off and on the screen and getting the slide screen lock--the screen lock stops working, indicating that some app is starting up a few seconds post-boot, that's causing the slide screenlock from working properly.
It should be noted that if I set another screen lock, like pattern, it works as expected.
I'm completely stumped as to what might be going on and would appreciate any help debugging.
Update
I've been running adb logcat and notice the following when I turn the screen on (when screen lock = slide is set):
V/KeyguardServiceDelegate(24936): onScreenTurnedOn(showListener = [email protected])
D/SurfaceFlinger(24444): Screen acquired, type=0 flinger=0x2a007450
D/qdhwcomposer(24444): hwc_blank: Unblanking display: 0
I/PowerManagerService(24936): Waking up from sleep...
V/KeyguardServiceDelegate(24936): **** SHOWN CALLED ****
I/WindowManager(24936): No lock screen! windowToken=null
Click to expand...
Click to collapse
In contrast, when I have Slide lock = pattern set, I see the following:
V/KeyguardServiceDelegate(24936): onScreenTurnedOn(showListener = [email protected])
D/SurfaceFlinger(24444): Screen acquired, type=0 flinger=0x2a007450
D/qdhwcomposer(24444): hwc_blank: Unblanking display: 0
I/PowerManagerService(24936): Waking up from sleep...
V/KeyguardServiceDelegate(24936): **** SHOWN CALLED ****
I/WindowManager(24936): Lock screen displayed!
Click to expand...
Click to collapse
Update 2:
Solution posted on top.

The only thing I could think of would be in your security/lock screen settings it may be set to only "lock" when you press the power button or something like that.
Sent from my Nexus 5 using Tapatalk

cc16177 said:
The only thing I could think of would be in your security/lock screen settings it may be set to only "lock" when you press the power button or something like that.
Sent from my Nexus 5 using Tapatalk
Click to expand...
Click to collapse
When Screen lock = Slide, that's not even an option. Only applies if you have Screen lock = pattern or another.

Note: Solved. Please see top of original post.

aagha said:
Note: Solved. Please see top of original post.
Click to expand...
Click to collapse
:good: good sharing. thanks a lot mate

Related

REQ: Lock Screen disable with Exchange

I'm ok with entering the pin after the set timeout of 30 minutes. However, if my screen times out and turns off and I press the power button to turn the screen on, I always get the annoying lock screen where I have to swipe the ring up before doing anything. To save battery, the screen shuts off after a minute and then i'm forced to swipe again.
There's apps out there to disable the lockscreen all together but my company exchange policy usually doesn't work with that. Any workarounds or known apps that work?
Mairei said:
I'm ok with entering the pin after the set timeout of 30 minutes. However, if my screen times out and turns off and I press the power button to turn the screen on, I always get the annoying lock screen where I have to swipe the ring up before doing anything. To save battery, the screen shuts off after a minute and then i'm forced to swipe again.
There's apps out there to disable the lockscreen all together but my company exchange policy usually doesn't work with that. Any workarounds or known apps that work?
Click to expand...
Click to collapse
I have installed to many apps from the market that didn't work! I need one too.
Nope no way around it. Its there for a reason anyway.
CyberBlaster said:
Nope no way around it. Its there for a reason anyway.
Click to expand...
Click to collapse
Negative. That's FAIL.
I'm using an app that disables exchange securities. I will try to upload.
In the meantime, Google search for it
Edit
Try this .apk
or click here for another thread
http://forum.xda-developers.com/showthread.php?t=1210355
That was created a week ago LOL didn't have to be so mean cause I didn't know about it.
Sent from my HTC-Z710a using XDA Premium App

CM10.1 lock screen problem

I am using the 20130730 nightly with recommended radio and everything is working perfectly except the lock screen. No matter what I pick (none, password, pin, slide) it always behaves as none. I manually push power button to lock it and then power again so lock screen option is used and it doesn't work. The phone just goes to home screen as if none is picked.
Thanks in advance...
sonuxda said:
I am using the 20130730 nightly with recommended radio and everything is working perfectly except the lock screen. No matter what I pick (none, password, pin, slide) it always behaves as none. I manually push power button to lock it and then power again so lock screen option is used and it doesn't work. The phone just goes to home screen as if none is picked.
Thanks in advance...
Click to expand...
Click to collapse
Mine did this on me yesterday. I just toggled swipe to unlock, rebooted and all was well again.
Sent from my SAMSUNG-SGH-I727 using Tapatalk 2
Hello there,
I have the same problem on my Galaxy S2 (GT-i9100) with latest stable CM10.1.3, I have disabled the Face Lock apk since I don't use it, but I'm sure it is related. I think the problem might be from Handcent SMS, I already had problems with it (in CM9.1, it sometimes didn't run the lockscreen when I was in a chat window, I had to go back to my launcher for my phone to run the lockscreen. It might be related to popup management ?).
I guess a simple reboot is enough, if I have some time I'll ADB that

screen turns on automatically

When I manually turn the screen off it turns it's of on within 30 seconds. Running stock cm11s. How can I fix this?
joefso said:
When I manually turn the screen off it turns it's of on within 30 seconds. Running stock cm11s. How can I fix this?
Click to expand...
Click to collapse
sorry, dont understand what you asking. can you describe/write it better?
joefso said:
When I manually turn the screen off it turns it's of on within 30 seconds. Running stock cm11s. How can I fix this?
Click to expand...
Click to collapse
It sounds like an app is causing screen wakelocks, to fix this you would have to uninstall the app causing it or change its settings to stop it.
It you are rooted, download Wakelock Detector and look at the Screen Wakelocks, then you can see what app is responsible.
Have you got 'pocket mode' and/or 'active display' switched on?
Sorry for the inclear message I will try to re-explain. When I turn off the display with the hardware button on the side the display itself turns itself on automatically without me giving any input.
I decided to factory reset the phone ( before I read the messeges here on the forum ) this has fixed the issue but now the letter "R" on the keyboard seems to not respond. When I press the letter "R" the E or T gets shown it seems as if that part of the screen is not responding anymore.

[Completed] Is there a way to have my sleeping phone be awaken by double tap?

I just successfully flashed my recovery into PhilzTouch Recovery. While installing a custom ROM (since it's a long process), I haven't touched my phone for a few minutes. I saw my screen turned off completely and when I touched the screen, it 'felt' it because it vibrated.
One question is: as some phones support "Smart Screen" wherein they can wake the phone by double tapping or something, is it a software-based algorithm or hardware?
If it's hardware, why am I able to do the same thing in PhilzTouch?
There might be some why to make my phone have a SmartScreen in it. I tried some third-party software like KnockR, but all it does is, when my phone sleeps, it turns the screen on but with a black color all over the screen.
But, what I wanted is, to completely turn off my screen and wake it by double tapping it.
If you have something on your mind, please share it to me! Thank you very much!
Hi,
Thanks for using XDA Assist.
Your screen should auto-dim automatically after one minute and turn off after 3 mn. Was your screen completely off?
Anyway double tap to wake is hardware dependent. It can be done through 3rd party apps like Tap Tap Tap but they are battery-consuming apps... You can also use this feature with custom kernels.
What's the difference between Auto-dim and Sleep?
jptlightx005 said:
What's the difference between Auto-dim and Sleep?
Click to expand...
Click to collapse
Sleep means that your screen is completely off. Auto-dim means that the brightness is lower.

Dimming and screen shut off when on call

Can't for some reason find an option anywhere on the phone to stop this from happening. Every time I'm on a call after about 10 seconds the screen will dim and a few seconds later goes to black. Can tap on screen 2x to wake it up again but I don't want this to ever happen. Not connected to full device shut down that I have turned up to 5 mins so has nothing to do with that setting. Can anyone assist and help me stop this form happening all the time? Many thanks!
jasonrak said:
Can't for some reason find an option anywhere on the phone to stop this from happening. Every time I'm on a call after about 10 seconds the screen will dim and a few seconds later goes to black. Can tap on screen 2x to wake it up again but I don't want this to ever happen. Not connected to full device shut down that I have turned up to 5 mins so has nothing to do with that setting. Can anyone assist and help me stop this form happening all the time? Many thanks!
Click to expand...
Click to collapse
Go to Settings/ Accessibility/ Screen reader/ Under Voice Assistant tap settings then scroll down to Quick Menu, tap it, then look for Dark Screen toggle. Click this setting off.. Let me know if that works for you.
MrMike2182 said:
Go to Settings/ Accessibility/ Screen reader/ Under Voice Assistant tap settings then scroll down to Quick Menu, tap it, then look for Dark Screen toggle. Click this setting off.. Let me know if that works for you.
Click to expand...
Click to collapse
Thank you! I turned it off. Next time I'm on a call I'll see if it did the trick and post back.
MrMike2182 said:
Go to Settings/ Accessibility/ Screen reader/ Under Voice Assistant tap settings then scroll down to Quick Menu, tap it, then look for Dark Screen toggle. Click this setting off.. Let me know if that works for you.
Click to expand...
Click to collapse
No this didnt stop screen from dimming and turning black
jasonrak said:
No this didnt stop screen from dimming and turning black
Click to expand...
Click to collapse
Not sure then because that was the only thing I could find.. Maybe it's a setting that we don't have control over.. I do know that the screen is supposed to shut off when it's close to your face and the reason being is so that your face isn't pressing on stuff and making the phone do things you don't want it to be doing.. My moms face sure does seem to disable a lot of stuff like fast charging and even turning the screen brightness so low that she thought it was broken haha..
MrMike2182 said:
Not sure then because that was the only thing I could find.. Maybe it's a setting that we don't have control over.. I do know that the screen is supposed to shut off when it's close to your face and the reason being is so that your face isn't pressing on stuff and making the phone do things you don't want it to be doing.. My moms face sure does seem to disable a lot of stuff like fast charging and even turning the screen brightness so low that she thought it was broken haha..
Click to expand...
Click to collapse
HA. No, phone is on a desk, not near my face. But yeah most phones nowadays do that. Thanks for trying tho.
Anyone else with any thoughts?
Tried replicating the problem on my end. I called someone, enabled speakerphone and put the phone on the table.
The screen indeed turned dim after 10 seconds and turned black afterwards. It bypassed my screen timeout setting which is 5 minutes. The phone app is in the foreground. Double tapping the screen wakes it up.
I minimized the phone app; the homescreen is now in the foreground. It adhered to the 5 minutes screen timeout setting.
I guess the temporary workaround is that after you answer the call, exit out of the phone app.
Sent from my SM-N950F using Tapatalk
jasonrak said:
Can't for some reason find an option anywhere on the phone to stop this from happening. Every time I'm on a call after about 10 seconds the screen will dim and a few seconds later goes to black. Can tap on screen 2x to wake it up again but I don't want this to ever happen. Not connected to full device shut down that I have turned up to 5 mins so has nothing to do with that setting. Can anyone assist and help me stop this form happening all the time? Many thanks!
Click to expand...
Click to collapse
Hi. I had the same problem and found the solution using third party application: Screen On Call from Google Playstore: https://play.google.com/store/apps/details?id=com.vorlan.screenoncall.free
It is compatible with Samsung dialer. On the top later you have small button to prevent screen going dark or to disable it. Proximity sensor is working without problem when you hold the phone to the ear.
lukaslake2626 said:
Hi. I had the same problem and found the solution using third party application: Screen On Call from Google Playstore: https://play.google.com/store/apps/details?id=com.vorlan.screenoncall.free
It is compatible with Samsung dialer. On the top later you have small button to prevent screen going dark or to disable it. Proximity sensor is working without problem when you hold the phone to the ear.
Click to expand...
Click to collapse
Yaaawhoooooooo!!! This totally works. I have been an Android user for years and could find an answer for this nowhere. Users, be sure to turn on "Appear on top".
Thank you. Life changing.

Categories

Resources