Screen Off and Lock + Trusted Device? - Nexus 5 Q&A, Help & Troubleshooting

I've been using Screen Off and Lock forever to lock my phone using the swipe-up-from-home-nav-button (instead of the default Google Now).
After updating to Lolipop, I started using my Moto 360 as a trusted device and enabled a PIN lock on my phone. When I lock the phone with the power button and my Moto 360 connected, no PIN screen appears when I turn the screen back on.
However, if I lock the phone using the app Screen Off and Lock, the PIN screen always comes on when I go to turn the screen back on. This defeats the whole purpose/convenience of the trusted device bypassing the PIN. Anyone know how to fix this? Or know of an app that will work better?

It hasn't been updated since January so I imagine its just an incompatibility

ragnarokx said:
I've been using Screen Off and Lock forever to lock my phone using the swipe-up-from-home-nav-button (instead of the default Google Now).
After updating to Lolipop, I started using my Moto 360 as a trusted device and enabled a PIN lock on my phone. When I lock the phone with the power button and my Moto 360 connected, no PIN screen appears when I turn the screen back on.
However, if I lock the phone using the app Screen Off and Lock, the PIN screen always comes on when I go to turn the screen back on. This defeats the whole purpose/convenience of the trusted device bypassing the PIN. Anyone know how to fix this? Or know of an app that will work better?
Click to expand...
Click to collapse
I'm on stock rooted Lollipop and I'm running into a similar issue, but with face unlock instead of trusted device.
I have double-tap on Nova Launcher set to system lock using Tasker, and when I lock my phone using that, face unlock doesn't activate, and won't until I put in my PIN password and then re-lock using the power button.

chronostorm said:
I'm on stock rooted Lollipop and I'm running into a similar issue, but with face unlock instead of trusted device.
I have double-tap on Nova Launcher set to system lock using Tasker, and when I lock my phone using that, face unlock doesn't activate, and won't until I put in my PIN password and then re-lock using the power button.
Click to expand...
Click to collapse
I also tried locking my phone using Greenify instead of Screen Off & Lock, sam result. Perhaps there is a way to implement locking the phone that won't trigger the PIN to unlock? Or - and I hope this isn't the case - maybe there is no way to do this in 5.0?

ragnarokx said:
I also tried locking my phone using Greenify instead of Screen Off & Lock, sam result. Perhaps there is a way to implement locking the phone that won't trigger the PIN to unlock? Or - and I hope this isn't the case - maybe there is no way to do this in 5.0?
Click to expand...
Click to collapse
I tried messing around with screen timeout in Tasker, but it doesn't let me set it to 0 seconds (for obvious reasons, I guess haha), since I noticed that letting my screen time out seems to work just fine for triggering face unlock. The lowest I can set it to is 7 seconds though, if I remember right, which is a bit too high for a screen off function.

ragnarokx said:
I've been using Screen Off and Lock forever to lock my phone using the swipe-up-from-home-nav-button (instead of the default Google Now).
After updating to Lolipop, I started using my Moto 360 as a trusted device and enabled a PIN lock on my phone. When I lock the phone with the power button and my Moto 360 connected, no PIN screen appears when I turn the screen back on.
However, if I lock the phone using the app Screen Off and Lock, the PIN screen always comes on when I go to turn the screen back on. This defeats the whole purpose/convenience of the trusted device bypassing the PIN. Anyone know how to fix this? Or know of an app that will work better?
Click to expand...
Click to collapse
Have the same issue, wait for developer to fix it.
Sent from my Nexus 5 using Tapatalk

Not sure this will be "fixed". All apps that are stating to lock the phone will actually do so, whether trusted devices are enabled or not. They act the same way as if you are on the lockscreen with the lock disabled by a trusted device and then press the lock symbol at the bottom, this also locks the device. This has been a problem forever, apps just work differently than the hardware power button.
As a fix you can try the following: Use another app to completely disable the lockscreen or keyguard (whatever your prefer) when a trusted device is connected instead of using the android built in feature.
If you are like me and want to use the new trusted devices feature of lollipop you can use Tasker as a workaround. Create a tasker task with the command "run shell --> input keyevent 26". This also requires root. Then you can use the app Home Button Launcher to set a shortcut to run the new task when swiping up. This is what I'm using and it works without any problem! I hope I could help.

spiderflash said:
Not sure this will be "fixed". All apps that are stating to lock the phone will actually do so, whether trusted devices are enabled or not. They act the same way as if you are on the lockscreen with the lock disabled by a trusted device and then press the lock symbol at the bottom, this also locks the device. This has been a problem forever, apps just work differently than the hardware power button.
As a fix you can try the following: Use another app to completely disable the lockscreen or keyguard (whatever your prefer) when a trusted device is connected instead of using the android built in feature.
If you are like me and want to use the new trusted devices feature of lollipop you can use Tasker as a workaround. Create a tasker task with the command "run shell --> input keyevent 26". This also requires root. Then you can use the app Home Button Launcher to set a shortcut to run the new task when swiping up. This is what I'm using and it works without any problem! I hope I could help.
Click to expand...
Click to collapse
I attached a pic of trying to do what you said in Tasker. When I run the task, nothing happens.

ragnarokx said:
I attached a pic of trying to do what you said in Tasker. When I run the task, nothing happens.
Click to expand...
Click to collapse
Have you installed the latest superSU beta? The previous versions had problems with the new security features introduced by lollipop. If you're not using this latest version my solution won't work.

spiderflash said:
Have you installed the latest superSU beta? The previous versions had problems with the new security features introduced by lollipop. If you're not using this latest version my solution won't work.
Click to expand...
Click to collapse
It worked! SuperSU beta did the trick.
Also, I didn't need a separate app to make a Home key shortcut, I just made a profile: Event -> UI -> Assistance Request -> add the Task with input keyevent 26.
Thanks!

Nothing against Screen Off and Lock as it's just doing what it's designed to do (and Lock after all) but this is a useful work around, thanks.

ragnarokx said:
It worked! SuperSU beta did the trick.
Also, I didn't need a separate app to make a Home key shortcut, I just made a profile: Event -> UI -> Assistance Request -> add the Task with input keyevent 26.
Thanks!
Click to expand...
Click to collapse
Oh yeah I forgot about that. First I tried it that way, but for some reason it didn't work, so thats why I use an external app But I'm glad it works for you!

spiderflash said:
Not sure this will be "fixed". All apps that are stating to lock the phone will actually do so, whether trusted devices are enabled or not. They act the same way as if you are on the lockscreen with the lock disabled by a trusted device and then press the lock symbol at the bottom, this also locks the device. This has been a problem forever, apps just work differently than the hardware power button.
As a fix you can try the following: Use another app to completely disable the lockscreen or keyguard (whatever your prefer) when a trusted device is connected instead of using the android built in feature.
If you are like me and want to use the new trusted devices feature of lollipop you can use Tasker as a workaround. Create a tasker task with the command "run shell --> input keyevent 26". This also requires root. Then you can use the app Home Button Launcher to set a shortcut to run the new task when swiping up. This is what I'm using and it works without any problem! I hope I could help.
Click to expand...
Click to collapse
Thanks you guys. Now I feel more at home with Lollipop with my old habit. I couldn't stand that smart lock was disabled when I used other screen off apps (then again those haven't gotten an update for a while too).
ragnarokx said:
It worked! SuperSU beta did the trick.
Also, I didn't need a separate app to make a Home key shortcut, I just made a profile: Event -> UI -> Assistance Request -> add the Task with input keyevent 26.
Thanks!
Click to expand...
Click to collapse

Yeah, there is no update yet from screen lock app developer regarding this issue ..
guess i have to use tasker trick ..

nsg86 said:
Yeah, there is no update yet from screen lock app developer regarding this issue ..
guess i have to use tasker trick ..
Click to expand...
Click to collapse
There probably won't be. The app is called "... And Lock". Technically, it's doing what its supposed to.

spiderflash said:
Not sure this will be "fixed". All apps that are stating to lock the phone will actually do so, whether trusted devices are enabled or not. They act the same way as if you are on the lockscreen with the lock disabled by a trusted device and then press the lock symbol at the bottom, this also locks the device. This has been a problem forever, apps just work differently than the hardware power button.
As a fix you can try the following: Use another app to completely disable the lockscreen or keyguard (whatever your prefer) when a trusted device is connected instead of using the android built in feature.
If you are like me and want to use the new trusted devices feature of lollipop you can use Tasker as a workaround. Create a tasker task with the command "run shell --> input keyevent 26". This also requires root. Then you can use the app Home Button Launcher to set a shortcut to run the new task when swiping up. This is what I'm using and it works without any problem! I hope I could help.
Click to expand...
Click to collapse
Was searching for a solution and i found this thread! Thanks a lot!

So no hope for people like me who don't use trusted devices/places but use trusted face? Because I think even tasker can't do that with trusted face unlock.

Also looking for a solution to this with trusted faces on lollipop.
Edit: If you're interested, you can follow the defect here: https://code.google.com/p/android/issues/detail?id=79735

Related

Security override?

I have my corperate emails linked with my phone which requires me to have my screenlock password enabled for it to work. I hate having to put in my code every time I look at my phone. Is there any way to bypass this security requirement, like tell the server that I have this feature enabled when it is not? Thanks.
Sent from my Inspire 4G using XDA App
Have you tried the app No Lock? It's free in the Market. Basically it disables the lock screen. It's been a while since I've used it, but if I remember correctly you can still have a security password set. No Lock just never lets the phone actually lock. You can enable/disable it easily with a widget on your homescreen.
I used to use it because I wanted to be able to wake the phone using the volume keys. Since I found a mod to allow that and still have the lock screen enabled, I stopped using the app.
Look I'm the android general forums. They have a way to bypass it, but mind you that if your IT department finds out you can get into trouble for it.
The no lock app prevents the lock from turning on if the screen goes black due to inactivity, and suits my need perfectly. I can push the power button and the lock comes on. Thanks for the help and advice.
Sent from my Inspire 4G using XDA App

Fingerprint unlock problem

With latest firmware (G930FXXU1APD1-G930FDBT1APC5-DBT) Im having problems when unlocking the device with fingerprint. It does not allow me, but instead I get:
“Enter pin instead of using fingerprint recognition because of security policy”
And I have to use the PIN.
This happens when locking the display with “lock wedged”. If the lock is made with button (power) ... or time out display. Then I can normally use the fingerprint.
Does someone also facing the problem?
Is there any solution – setting?
Best.
D.
Yes i had this and tried to reset my fingerprints when i tried that settings error and closed, then i couldnt change anything, pin, fingerprints, couldnt even factory reset. Cause it always asked for my pin and after i entered it settings would error rebooting didnt help. Finally using android device manager from my pc i had to do an erase. My s7 is stock and it had nothing disable at the time this happen.
ducy1 said:
With latest firmware (G930FXXU1APD1-G930FDBT1APC5-DBT) Im having problems when unlocking the device with fingerprint. It does not allow me, but instead I get:
“Enter pin instead of using fingerprint recognition because of security policy”
And I have to use the PIN.
This happens when locking the display with “lock wedged”. If the lock is made with button (power) ... or time out display. Then I can normally use the fingerprint.
Does someone also facing the problem?
Is there any solution – setting?
Best.
D.
Click to expand...
Click to collapse
there might be extra Policy set on ur device.
go to setting > Security > click on Clear Credentials
+ also check what is ur device administrator
:good:
I had that even on my Nexus 6P when using Nova's double tap to lock feature. I think it's something to do with Marshmallow actually.
Sent from my SM-G930W8 using Tapatalk
Geeks Empire said:
there might be extra Policy set on ur device.
go to setting > Security > click on Clear Credentials
+ also check what is ur device administrator
:good:
Click to expand...
Click to collapse
Clear credentials is not active.
Device Admin - APP is added.
So the error is still there.
ducy1 said:
Clear credentials is not active.
Device Admin - APP is added.
So the error is still there.
Click to expand...
Click to collapse
You can try Samsung's Good Lock app from Galaxy Apps store or, if you live outside U.S., from apkmirror.com. It's a System UI update that allows fingerprint unlock with third party locking widgets.
@ avah
This actually works. But ... then I get totally different lock screen display etc... that I actually don’t like.
So ... till now ... no real solution.
Best.
Hay
Question.
Is it possible to flash the phone back to previous ROM version via Odin… and you won’t get Knox void .. or something else??
I'm thinking to go back to previous ROM when lock and fingerprint worked OK.
Best
D.
This is a duplicate of: http://forum.xda-developers.com/galaxy-s7/help/security-policy-prevents-fingerprint-t3354270
You can find details on that thread about this problem.
I'm having the same issue and I must say it is very annoying. Can't really see any reason why this should interfere with the security. Should be my choice to be honest. Would be nice to have a solution to this. Looks like it's been an issue for a long time as well. Found some threads about the 6P for example with the same issue.
Try use other app to pass that policy: https://play.google.com/store/apps/details?id=com.luutinhit.doubletapscreenoff
When using app: https://play.google.com/store/apps/details?id=com.luutinhit.doubletapscreenoff please choose check box show clear view to fix this problem.
ducy1 said:
With latest firmware (G930FXXU1APD1-G930FDBT1APC5-DBT) Im having problems when unlocking the device with fingerprint. It does not allow me, but instead I get:
“Enter pin instead of using fingerprint recognition because of security policy”
And I have to use the PIN.
This happens when locking the display with “lock wedged”. If the lock is made with button (power) ... or time out display. Then I can normally use the fingerprint.
Does someone also facing the problem?
Is there any solution – setting?
Best.
D.
Click to expand...
Click to collapse
A third-party lock screen app call 'Quick Gesture Pro' on google play may work for you
bruce88 said:
A third-party lock screen app call 'Quick Gesture Pro' on google play may work for you
Click to expand...
Click to collapse
Are you aware of that you are answering a post that is almost half a year old?
gerhard_wa said:
Are you aware of that you are answering a post that is almost half a year old?
Click to expand...
Click to collapse
Yes but the problem still remains so it was a good initiative. I've got a brand new S7 and I find this very annoying. If I switch off my screen with Nova, I have to use fingerprint+PIN Code to unlock. If I switch it with physical buttons, I only have to use fingerprints..
Fixed
Search 4 knock on app on playstore.
Instal
Tap on create icon. Turn off the rest options
Fixed by installing a third party screen locker.
Kholargol said:
Fixed by installing a third party screen locker.
Click to expand...
Click to collapse
Which one?
xavier2k3 said:
Which one?
Click to expand...
Click to collapse
Screen Lock Pro
luutinhit.1412 said:
When using app: https://play.google.com/store/apps/details?id=com.luutinhit.doubletapscreenoff please choose check box show clear view to fix this problem.
Click to expand...
Click to collapse
Your app is too many pop-up ads, so bad. I uninstall it quickly.

Is there an app that will shut my screen off?

Is there an app that will shut my screen off? I used one but it forces me to use a pin even if I use the fp reader
What's so difficult about a short press on the Power Button? Or change the Settings / Display / Sleep to less than the default 5 minutes.
In Settings / Fingerprint ID / Fingerprint Management (you will need your PIN here) is Unlock Screen set to On (blue with the circle on the right)?
worldsoutro said:
Is there an app that will shut my screen off? I used one but it forces me to use a pin even if I use the fp reader
Click to expand...
Click to collapse
I use 'Screen Off and Lock' app from play store...
Not sure if it will still ask for pin though...
worldsoutro said:
Is there an app that will shut my screen off? I used one but it forces me to use a pin even if I use the fp reader
Click to expand...
Click to collapse
I actually don't like using the hardware button to close screen. On my previous phone I would double tap to close screen but setting up that action with my launcher conflicts with fingerprint reader. While I normally don't use a flip case I bought one on a lark for my Mate 9. Mine (by Qialino) will close your screen automatically when you close the flap and the fingerprint reader works fine when you open it. You can bend the flip cover back and it will support the phone in landscape although it depends on the surface as it is not really designed for that..
hx4700 user said:
What's so difficult about a short press on the Power Button?
Click to expand...
Click to collapse
Nothing, but Mate 9 is first mobile what I have what this not have. I about 3years not use power button on my mobiles(G2, G4). And I not use power button to wake up. LG have double tap like standard. Not this.... May be better made widget to lock from floating circle.
diablob said:
Nothing, but Mate 9 is first mobile what I have what this not have. I about 3years not use power button on my mobiles(G2, G4). And I not use power button to wake up. LG have double tap like standard. Not this.... May be better made widget to lock from floating circle.
Click to expand...
Click to collapse
I see, sorry. I've never had a phone that didn't need a press on the power button to lock. I had a look at a couple of apps since reading our post - they needed the PIN on wake, which negates the value.
I shall head to the Huawei site and suggest this (putting th ephone face down to lock) for their next update. At present, they suggest you use the "floating dock" to lock your phone without pressing the power button.
http://consumer.huawei.com/en/support/faqs/detail/index.htm?id=121864
Why does fingerprint unlock fail after I lock the screen with a third-party app?
Cause : For security reasons, the fingerprint unlock service does not allow third-party apps to access your fingerprint data.
Solution : Use the lock button in the floating dock, or press the power button to lock the screen.
Click to expand...
Click to collapse
You can enable the floating dock by swiping down with two fingers - it is one of the quick toggles.
hx4700 user said:
You can enable the floating dock by swiping down with two fingers - it is one of the quick toggles.
Click to expand...
Click to collapse
Yes I wrote this. But no one click lock. ZTE Z11 have simple lock screen widget. Huawei have floating circle and double click lock screen. It's not user friendly. But at least something. I very often working from my car. It's not user friendly to lock screen by floating circle by Huawei.
Latest Chinese rom B165SP01 has a default widget to lock screen now. Just have to wait for Huawei to update for other regions if they decide to port the function over.
Huawei added it after a lot of Chinese users complained on the forums. I guess they do look on the Chinese forums and read feedbacks.
Greenify
Skickat från min LON-L29 via Tapatalk
@azukayx Hi. I have that version but don't see how to enable it. Where do you set that widget? Thanks!
mscion said:
@azukayx Hi. I have that version but don't see how to enable it. Where do you set that widget? Thanks!
Click to expand...
Click to collapse
It's in the widgets. Screen lock
azukayx said:
It's in the widgets. Screen lock
Click to expand...
Click to collapse
Ah yes! What a silly place to put a widget! Actually, the reason I didn't see it is that it does not appear on my page of widgets for my launcher (Total Launcher). I checked and it did work with the default launcher as well as Nova.
Is there a way to import that widget to the us version?
A single tap icon to turn off screen would be great. The floating thing is cumbersome. There is a power bar widget in the UK phone but it only turns off wifi etc. There's a reboot widget too. The bit in the middle is missing.
The external app I tried took from 3 up to 15 seconds to fully switch off : it clears the screen immediately but the screen isn't actually off, just very nearly so. In that time, nothing responds.
azukayx said:
It's in the widgets. Screen lock
Click to expand...
Click to collapse
Is it possible to find the system app for this widget and post it here? (you can just copy the apk file from system app set, using Total Commander, for example )
dancrow said:
Is it possible to find the system app for this widget and post it here? (you can just copy the apk file from system app set, using Total Commander, for example )
Click to expand...
Click to collapse
Please this!!!!
dancrow said:
Is it possible to find the system app for this widget and post it here? (you can just copy the apk file from system app set, using Total Commander, for example )
Click to expand...
Click to collapse
It is part of System UI. Using quickshortcutmaker, it shows as com.android.systemui/com.huawei.keyguard.onekeylock.OneKeyLockActivity
I have attached the apk, I guess you can try to install it.
azukayx said:
It is part of System UI. Using quickshortcutmaker, it shows as com.android.systemui/com.huawei.keyguard.onekeylock.OneKeyLockActivity
I have attached the apk, I guess you can try to install it.
Click to expand...
Click to collapse
Thank you! It didn't work, but worth a try
worldsoutro said:
Thank you! It didn't work, but worth a try
Click to expand...
Click to collapse
You will probably need root for that.
I think I found a way to shut the screen off by double tap with this app

making a call with s3

So whenever I make a call with my s3 watch, my phone unlocks in my pocket and then stays unlocked, with the bright screen shining out of my pocket (and vulnerable to accidental key presses), until the lock timer kicks in.
Is there a way to make the phone stay locked if I'm using just the watch to make a call?
kurnis said:
Is there a way to make the phone stay locked if I'm using just the watch to make a call?
Click to expand...
Click to collapse
Genius! I don't know why I didn't think to include such functionality in my Tasker Project.
To achieve what you are looking to do, make a Tasker profile using the Phone Offhook + Proximity Sensor contexts, then, from there, choose one of the three following options for the task:
Run Code>Shell with the command "input keyevent 26" (requires root)
Run Display>System Lock (requires using pin code on next unlock)
Temporarily set screen timeout to 7 seconds, then set it back
MehStrongBadMeh said:
Genius! I don't know why I didn't think to include such functionality in my Tasker Project.
To achieve what you are looking to do, make a Tasker profile using the Phone Offhook + Proximity Sensor contexts, then, from there, choose one of the three following options for the task:
Run Code>Shell with the command "input keyevent 26" (requires root)
Run Display>System Lock (requires using pin code on next unlock)
Temporarily set screen timeout to 7 seconds, then set it back
Click to expand...
Click to collapse
Thanks for the tip! unfortunately I have an s8+ and it isn't rooted yet. Hopefully I can find a way to do it without root in the meantime.
kurnis said:
Thanks for the tip! unfortunately I have an s8+ and it isn't rooted yet. Hopefully I can find a way to do it without root in the meantime.
Click to expand...
Click to collapse
That is why I listed two options that don't require root.
MehStrongBadMeh said:
That is why I listed two options that don't require root.
Click to expand...
Click to collapse
oh my bad. thought they were 123 instructions on using the Tasker. I'll give it a shot, thank you!

Double tap screen to lock

I've always used Nova Prime as my launcher of choice and intend to stay with it.
Where as the oneplus launcher gets better and better with each update it still doesn't compare to Nova.
I've always previously rooted my devices, but I've decided with the new OP6 not to.
I'd like to use double tap to lock screen.
I've been using this option with Nova but without root, I can't unlock with fingerprint as it uses device admin to lock screen so needs pin unlock.
The oneplus launcher permits double tap to lock and then allows unlock with fingerprint sensor.
How can I get this functionality within Nova without rooting?
Sent from my OP6 using Tapatalk
ben_pyett said:
I've always used Nova Prime as my launcher of choice and intend to stay with it.
Where as the oneplus launcher gets better and better with each update it still doesn't compare to Nova.
I've always previously rooted my devices, but I've decided with the new OP6 not to.
I'd like to use double tap to lock screen.
I've been using this option with Nova but without root, I can't unlock with fingerprint as it uses device admin to lock screen so needs pin unlock.
The oneplus launcher permits double tap to lock and then allows unlock with fingerprint sensor.
How can I get this functionality within Nova without rooting?
Sent from my OP6 using Tapatalk
Click to expand...
Click to collapse
1, settings ->security.. -> device administrator.. -> nova launcher
2, If that doesn't´t work google search might bring you there: https://www.google.com/search?clien...ble+tap+to+lock+android+app&ie=UTF-8&oe=UTF-8. I even tried this app before posting. And it works
Thanks for your reply.
Unfortunately, unless I did it wrong when using this app (and all other luck even apps) to lock the screen I can't use my fingerprint to unlock it says locked by device admin and I have to enter a pin.
The double tap to look within the oneplus launcher enables fingerprint unlock.
I suspect it's a Catch 22 either root or use oneplus launcher which I don't really want to.
Hoping that the OP screen lock is an activity which I can call from Nova
Sent from my OP6 using Tapatalk
ben_pyett said:
Thanks for your reply.
Unfortunately, unless I did it wrong when using this app (and all other luck even apps) to lock the screen I can't use my fingerprint to unlock it says locked by device admin and I have to enter a pin.
The double tap to look within the oneplus launcher enables fingerprint unlock.
I suspect it's a Catch 22 either root or use oneplus launcher which I don't really want to.
Hoping that the OP screen lock is an activity which I can call from Nova
Click to expand...
Click to collapse
Open Nova Settings, scroll down to 'Advanced' and click on 'Lock Method' (I think it's called that way in English, but not entirely sure since I use it in Dutch). Then, if you choose the 'wait 5 seconds' option, you can use DT2S without entering pin after unlocking it.
BTW: my phone is unrooted.
Yep, that works, although, do you find, that after unlocking the screen brightness is set to minimum?
Sent from my OP6 using Tapatalk
ben_pyett said:
Yep, that works, although, do you find, that after unlocking the screen brightness is set to minimum?
Click to expand...
Click to collapse
Actually no. I've just tried it, with and without auto brightness...
Excellent... That'll do.. Nicely
That's the reason why I'm using Nova prime, options.
Sent from my OP6 using Tapatalk

Categories

Resources