Lock Device locks too good

Post your questions and help other users.

Moderator: Martin

Post Reply
Koelle
Posts: 7
Joined: 22 Nov 2015 21:46

Lock Device locks too good

Post by Koelle » 02 Aug 2019 09:44

Hi,
trying to use the Lock Device action here. Unfortunately, it works too good. After executing it, the device (Galaxy S10e, Pie) can't be unlocked with fingerprint or face recognition anymore but requires to enter the pin. That is really frustrating. Can it be used to just shut down and lock regularly (as if I would have pressed the power button)?
Thanks and best regards
Patrick

User avatar
Desmanto
Posts: 2709
Joined: 21 Jul 2017 17:50

Re: Lock Device locks too good

Post by Desmanto » 02 Aug 2019 17:45

is this the same problem you have with your other thread here : viewtopic.php?f=5&t=8172 ?

Lock device is one way to turn it off, but since Automagic use device admin feature to lock it, you have to unlock it properly using pin/password. Biometric won't work if locked this way. There is workaround using device owner method, but too much hassle.

To lock normally, you have to simulate the power button using execute root command : input keyevent 26
Unfortunately this require root, as you don't have in this new phone.

Other method is to set the screen timeout to a very low value and let the screen automatically turn off as usual. You can use set system setting and find the value using my secure setting logger flow. Set it to as low as possible, usually 5 seconds. Then after the screen is off, you have to set it back to the default value. If not, a very short screen timeout will render your phone unusable. No root is needed, but you have to wait 5 seconds for the flow to works.
Index of Automagic useful thread List of my other useful posts (and others')
Xiaomi Redmi Note 5 (whyred), AOSP Extended v6.7 build 20200310 Official, Android Pie 9.0, Rooted.

Post Reply