Device Admin Apps ( Permission )

136 views
Skip to first unread message

edmond

unread,
Jun 9, 2020, 1:29:42 AM6/9/20
to Tasker
Hello , 

As per picture shown , is there a RUN SHELL command can do that the Permission on Device Admin ? 

I found it is easy to overlook if by doing it manually rather than assign a task to do this.

Thank you very much.
edmond.

Screenshot - 6_9_2020 , 1_15_03 PM.jpg


Marta Hintz

unread,
Jun 13, 2020, 12:30:15 AM6/13/20
to Tasker
I don't know of a run shell action, but there is a ADB Wifi action for that

Use accessibility service to detect app launches and other information

adb shell pm grant net.dinglisch.android.taskerm android.permission.BIND_ACCESSIBILITY_SERVICE

The link for other good ADB Wifi actions are here
https://www.reddit.com/r/tasker/comments/e2mjzk/adb_additional_permissions_list/


edmond

unread,
Jun 14, 2020, 3:05:26 AM6/14/20
to Tasker
Thank you for the kind hints and going to try that you suggest as soon as soap washing my hands with potato chips oily ..........

as far as i can see , what you given that already can be a run shell command :

action > run shell > pm grant net.dinglisch.android.taskerm android.permission.BIND_ACCESSIBILITY_SERVICE

use: ROOT

edmond

edmond

unread,
Jun 14, 2020, 4:25:43 AM6/14/20
to Tasker
Need to further check what's going on  ..................

as you see I can run the first few command ( green dot mean run success )
When running the last one as per your suggestion , it's failed.

Anyway , Thank you very much and will see to report back !!

I made quite a few of these things in the task in order to make sure won't sudden miss the permission.
I put these task at device start profile.

edmond.
Screenshot - 6_14_2020 , 4_15_49 PM.jpg
Screenshot - 6_14_2020 , 4_18_12 PM.jpg

Marta Hintz

unread,
Jun 14, 2020, 11:59:53 AM6/14/20
to Tasker
That's pretty much how I run those too, except with adbwifi action as I have no root.
Reply all
Reply to author
Forward
0 new messages