r/tasker • u/joaomgcd ๐ Tasker Owner / Developer • Jul 28 '21
Developer [DEV] Tasker Permissions 0.0.1 - Desktop app to easily grant permissions to Tasker and related apps!
Edit: Released an update with a bunch of new stuff here: https://github.com/joaomgcd/Tasker-Permissions/releases/tag/v0.1.0
Here's a new app for your Desktop PCs to make granting permissions to Tasker and some other of my apps much easier!
Here's a preview: https://i.imgur.com/xjyxFh6.png
Download it here: https://github.com/joaomgcd/Tasker-Permissions/releases/tag/v0.0.1
It's available for Windows, Mac and Linux!
How it Works
Instead of you having to download ADB on your PC and then having to input a bunch of commands to enable some of Tasker's permissions, you can simply
- enable developer mode/USB debugging on your phone
- connect your phone to your PC via USB
- run the new app
- click the buttons related to the permissions you want to enable
- Enjoy all the time and headaches you saved by not having to do this manually ๐
How It Looks
I know the app is super-duper ugly, but at least it should be functional!
If you're feeling inspired, the app is open-source, so you can always re-design it here: https://github.com/joaomgcd/Tasker-Permissions
Send me a pull-request if you want! ๐
Open-Source
As I mentioned, the app is open-source so you can see exactly what it does. Since ADB is a pretty powerful tool that could wreak havoc on your Android device, it's important that everything is out in the open.
If you can, give it a try and let me know how it works!
Thanks in advance! ๐
11
u/agnostic-apollo LG G5, 7.0 stock, rooted Jul 28 '21
Love The Joรฃo going open source! โฅ๏ธ
Btw, speaking of ADB wreaking havoc, you know there is another very dangerous app that also has ADB access and even worse, ROOT access... (teasin') ๐๐๐
8
u/agnostic-apollo LG G5, 7.0 stock, rooted Jul 29 '21 edited Jul 29 '21
Btw, accessibility service is in trouble, as per new google play policy.
3
u/Ratchet_Guy Moderator Jul 28 '21
ย
Wooohooo!! Great stuff!
ย
Since this is the new 'official' thread I'll continue from the other thread here :) You had asked:
ย
ย
Well, in that permissions thread it was always a work in progress, and I remember more and more permissions being added to it like every other day as people chimed in.
ย
So in the future let's say a plugin (maybe even a new AutoApps plugin) needs certain permissions to be granted. It would be easier to open this app and paste it in, than to wait for the "Tasker Permissions" app to be updated, then download and install the update, etc. :)
ย
2
u/nascentt Jul 28 '21
This is great. Far more accessible.
Will have to give it a try.
1
u/Jinther Jul 28 '21
Perfect!!
1
u/Twitchy993 Jul 28 '21 edited Jul 28 '21
Quick attempt was unable to detect device. Samsung S10, developer options enabled. Windows 10 machine.
I'll try again later.
USB debugging was not enabled. Works great!
1
u/NclGeek Jul 28 '21
I suggested this in the other thread but how about the ability to download and sideload the settings app, for WiFi etc
1
u/anuraag488 Jul 28 '21 edited Jul 28 '21
I think USAGE_STATS should be done using appops. pm grant can't set it.
appops set net.dinglisch.android.taskerm GET_USAGE_STATS allowAnd if you want to enable Notification Interception
cmd notification allow_listener net.dinglisch.android.taskerm/net.dinglisch.android.taskerm.NotificationListenerServiceAnd dnd access
cmd notification set_dnd net.dinglisch.android.taskermWRITE_SETTINGS
appops set net.dinglisch.android.taskerm WRITE_SETTINGS allow1
u/EvanMok Jul 29 '21
Thank you for making it easier. I have been using Power Automate Desktop but it is quite troublesome too.
1
u/Halstrop Master of NFC Tasks Jul 29 '21
This is so awesome! I also just got a tablet and haven't set up Tasker yet so it's perfect timing. Can't wait to try it out tonight
1
u/Halstrop Master of NFC Tasks Jul 29 '21
How are you supposed to connect the watch if it can't be connected over USB?
1
u/ALittleYellowSpider Jul 29 '21
The Tasker permissions seem to work fine on Ubuntu 20.04.2 LTS connected to a moto g(6) running Android version 9.
For the benefit those like me who live on the Linux command line:
The binary is /usr/bin/com.joaomgcd.taskerpermissions
which is utterly obvious in retrospect but took me a minute to find. XD
1
u/[deleted] Jul 29 '21
You sir are a god amongst men.
1
u/trassle Jul 29 '21
Not Sure what I'm doing wrong.... usb-debugging is enabled, but no matter which permission I try i get the following error
error
1
u/Gianckarlo Jul 29 '21
Thanks a lot for the app, this is great!. Good job as always Joao.
By the way, there's a little glitch, if you are in a different tab than "Tasker" and click the "Reload devices/permissions" button, the app will take you to the default "Tasker" tab and show a bunch of the permissions as "Revoked". It is solved by changing to another tab and returning to "Tasker" tab, so nothing serious, just a annoyance.
This is on Windows 10, with the 0.0.1 version of the app and a Pixel 3 XL phone.
1
u/Gederasa Jul 30 '21
That is awesome news, thanks.
Might be a beginners question: what do you mean by 'run the new app' ?
I start a server in the main directory with 'http-server' and then go to the according page: http://127.0.0.1:8080
Is that right? But then I get an unexpected error: window.api is undefined
PS: I am on Linux and tried Firefox and Chrome
> http-serverStarting up http-server, serving ./Available on: http://127.0.0.1:8080 http://192.168.2.122:8080Hit CTRL-C to stop the server[2021-07-30T11:03:58.838Z] "GET /" "Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0"(node:23708) [DEP0066] DeprecationWarning: OutgoingMessage.prototype._headers is deprecated[2021-07-30T11:03:58.901Z] "GET /app/app.js" "Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0"[2021-07-30T11:03:58.945Z] "GET /js/eventbus.js" "Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0"[2021-07-30T11:03:58.949Z] "GET /app/adbdevice/adbdevices.js" "Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0"[2021-07-30T11:03:58.950Z] "GET /app/adbpermission/adbpermissions.js" "Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0"[2021-07-30T11:03:58.951Z] "GET /app/androidapps/androidapps.js" "Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0"[2021-07-30T11:03:58.952Z] "GET /app/control.js" "Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0"[2021-07-30T11:03:58.953Z] "GET /app/utildom.js" "Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0"[2021-07-30T11:03:58.977Z] "GET /app/model.js" "Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0"[2021-07-30T11:03:58.978Z] "GET /js/util.js" "Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Firefox/78.0"
1
u/amkbp Jul 30 '21
thanks for the great app. it really helped me alot.
I have a question I hope it's not stupid XD
does autoapps require seperate permissions?
also the phone call permission is not in the app, is it still necessary or it's no longer needed ?
I used to follow this permissions list but the app doesn't cover them as per my humble knowledge.
Thanks again for the great app that ill make me love tasker more and more <3
1
u/jigbits Jul 30 '21
Amazon Fire 5th (Ford) using Lineage 12.1 (Android 5.1.1) doesn't work, sometimes says complete sometimes errors out tried many different toggles in dev settings no changes. Just a heads up, I assume because it's just old.
1
u/dermannvommond Aug 29 '21
I've now downloaded all 3 and tried them. Windows could not find a program to open any of the 3.
Then I downloaded the portable and something opened up.
I then transferred all authorizations and they were all green.
But when I try to use it in Tasker, I get an error message that the authorization is missing.
In the phone I have allowed all authorizations for auttotool and also Tasker. Also battery and autostart.
The error occurs on 2 different telephones.
Samsung S8 Android 9
Xiaomi Redmi Note 10 Pro with Android 11
1
u/brian_acalderon Sep 28 '21
Just found this and noticed it looks like it has a weird name and the Join icon. Shouldn't the app be called "Tasker Permissions" and use that shield icon? Otherwise, this was fantastic. So simple to be able to go and click through the permissions and see there was some I had yet to grant; and grant them instantly with a click!
How it shows up for me: https://imgur.com/a/NfHCnQL
1
u/trassle Oct 26 '21
Hi Guys, I tried installing the App on my Lenovo Ideapad Chromebook but it instantly fails with the following Error
Error A Error B
I never installed an Linux App in Chrome OS,so it won't surprise me If I did something wrong ยฏ_(ใ)_/ยฏ
1
u/Busy-Mud8657 Feb 03 '22
Open tasker for all tasks always?
1
u/Zestyclose-Syrup-863 Apr 15 '24
How to download
1
u/dermannvommond Aug 25 '21
there are 3 files under the download link.
com.joaomgcd.taskerpermissions-0.0.1.AppImage
com.joaomgcd.taskerpermissions-0.0.1.dmg
com.joaomgcd.taskerpermissions-0.0.1.amd64.deb
Which one do I need to download? I am using a PC with Win10.
1
u/ferconex Nov 12 '21
I bow in front of the TaskerGod!
1
u/elephantdance11 Oct 14 '22
This is great! Very promising.
I tested this (and adb) on new Pixel Watch. The app (and adb) connects to the device over WiFi debugging, and the app gives a "Success!" popup.
But trying to grant any of the permissions simply doesn't do anything. Trying directly in adb also doesn't return any success or failure message.
I wonder if these settings (namely Write Secure Settings) is super locked down in the new Pixel Watch or Wear OS version 3.5?
1
u/kauphund Sep 09 '23
Am I to assume that the only way to get "permissions" is via computer + tasker permission.
No other way?
0
u/Azraelkl2 Jul 29 '21
Por favor alguรฉm pode me ajudar, tenho um xiaomi M1 A1 o famigerado androidone e queria dar essas permissรตes, e nรฃo sei como e quais coisas ativar na configuraรงรฃo de desenvolvedor dele, alguรฉm por favor ...
0
u/[deleted] Jul 28 '21
[deleted] โ view deleted comment
0
u/[deleted] Jul 28 '21
[deleted] โ view deleted comment
0
u/[deleted] Jul 29 '21
[deleted] โ view deleted comment
0
u/[deleted] Jul 28 '21
[deleted] โ view deleted comment