Samsung s20 Android 11 lockscreen on rooted phone gives error

59 views
Skip to first unread message

Lukasz Jodkowski

unread,
Apr 29, 2021, 11:47:04 AM4/29/21
to Automate

On try to unlock phone using screen lock state and enabled option  secure (root) screen locks I always get error message and Automate stops flow. Can I do anything about it?

log:

04-29 17:43:06.379 I 65@1: Flow beginning
04-29 17:43:06.379 I 65@4: Screen lock set state
04-29 17:43:06.384 I 65@2: Flashlight
04-29 17:43:06.608 I 65@3: Notification show
04-29 17:43:06.767 F 65@4: android.os.RemoteException: Remote stack trace:
    at com.android.server.wm.KeyguardDisableHandler.watcherForCallingUid(KeyguardDisableHandler.java:107)
    at com.android.server.wm.KeyguardDisableHandler.disableKeyguard(KeyguardDisableHandler.java:75)
    at com.android.server.wm.WindowManagerService.disableKeyguard(WindowManagerService.java:3429)
    at android.view.IWindowManager$Stub.onTransact(IWindowManager.java:2131)
    at com.android.server.wm.WindowManagerService.onTransact(WindowManagerService.java:1539)

04-29 17:43:06.772 I 65@3: Stopped by failure

thx in advance

narf...@gmail.com

unread,
Apr 29, 2021, 8:37:49 PM4/29/21
to Automate
It may not be possible. This flow will try to use the block at first, and if it fails,uses a UI workaround:

Henrik "The Developer" Lindqvist

unread,
Apr 29, 2021, 10:09:34 PM4/29/21
to Automate
As the documentation say:
Note! The secure option require a rooted device and isn’t officially supported by Android, may not work on all devices.

The secure option is sadly more or less deprecated, and probably haven't worked for a while.

Lukasz Jodkowski

unread,
Apr 30, 2021, 6:24:20 AM4/30/21
to Automate
thx, i just use smart lock feature from phone for now, also part of that flow mentioned by narf...@gmail.com  seems promising in connection with smart lock
Reply all
Reply to author
Forward
0 new messages