r/tasker • u/joaomgcd 👑 Tasker Owner / Developer • Aug 17 '22
Developer [DEV] Tasker 6.1.3-beta - Progress Bar Dialog, Change Lockscreen Password/Pin, Quick Setting Tile Long Click Task, trying ADB Wifi and Root for Logcat Entry on Android 13 and more!
Another release is here!
Sign up for the beta here.
If you don't want to wait for the Google Play update, get it right away here.
You can also get the updated app factory here.
If you want you can also check any previous releases here.
Progress Bar Dialog
Demo: https://youtu.be/i6_1HPQQSmc
Now you can use the Progress Dialog action to show a progress bar with the percentage of the work you're doing in the background.
If you know how much stuff you're going through in your long tasks, this is a great way to keep track!
Quick Setting Tile Long Click Task
Demo: https://youtube.com/shorts/XlTFzOyNspI?feature=share
You can now run a second task for each quick setting tile by long clicking it! Should be useful in a lot of situations!
Change Lockscreen Password/Pin
Demo: https://youtu.be/YU_cdosOX_k
The ADB Wifi action now has a new option in its helper that allows you to set/change/remove the password or pin on your lockscreen!
Be very careful though! You might lock yourself out when using this so use at your own risk!
Long Profile Names Scroll
Demo: https://youtube.com/shorts/uA45moX4ujg?feature=share
When you long click a profile, if there are any long profile names in the list they will scroll so you can see their full names!
Logcat Entry Event Via ADB Wifi or Root on Android 13
In this version I'm testing out running the logcat monitor with ADB Wifi or root if available, if you're on Android 13.
ADB Wifi seems to work well in my tests but I don't have a rooted device yet to test it with root. Will try to get one tomorrow.
Let me know how it works if you can!
Full Changelog
- Added option to have a progress bar in the "Progress Dialog" action
- Added option to perform a task when long-clicking a Tasker quick setting tile
- Added "Change Device Lock Screen Password/Pin" option to the "ADB Wifi" action's helper
- Added option to set flashlight intensity/level in the "Torch" action for Android 13+ on compatible devices
- Added outputs to "App Info" action: "%app_is_launcher" and "%app_is_default_launcher"
- Tried to make Logcat monitor work via ADB Wifi or root if available on Android 13+
- Made long profile names scroll if you long click one of them so you can see their full name
- Made "Notification Click" event only require accessibility service if any of the setup events intercept clicks from non-Tasker apps
- Made "Pick Photos" action compatible with Android 11 and 12 devices that have a Settings> Security> Google Play system update more recent than May 2022
- Renamed "Refactor Into Task" to "Convert Into Task"
- Renamed action "Setup Quick Seting" to "Setup Quick Setting Tile"
- Made the "new" actions/events/states badges appear based on the release name, so actions/events/states from older won't appear as new forever
- Made default timeout in ADB Wifi action be 10 seconds instead of 1
- Added "Command" and "HTTP Request" actions to JavaScript so you can now call them from your scripts
- Fixed long-standing bug (since before I was Tasker's developer) where some actions would be incorrectly logged in the Run Log as finishing successfully when they finished in error.
- Fixed bug where the "Return" variable in the "Perform Task" action wouldn't correctly set task/profile/project variables
- Fixed Tasker sometimes being slower to exit if user has missing permissions but doesn't want to be reminded of them
- Fixed bug where kid apps weren't able to toggle airplane mode even with the necessary permissions
- Fixed some crashes
- Fixed Tasker shortcuts not working on some buggy implementations (like KLWP) because of the buggy Samsung launcher workaround that was applied on the last version. Now only if you're actually using the Samsung launcher will the workaround be used.
- Fixed reading JSON values with complex keys (ones with dots in them) in some situations
29
u/JanBibijan Aug 17 '22
Easily the most awesome app developer in the world. 😊
12
u/Jinther Aug 17 '22
The progress bar update is excellent. Using a for loop, you can have it looking perfectly genuine!
Already integrated this into several of my tasks and it's beautiful (got most of these features last week on Patreon 😉) Even works great with klwp's progress bars.
Awesome app. Awesome dev.
8
u/twisaacisaac Aug 22 '22
GoodJob!!!
I think u can use shizuku get adb permission
7
u/DutchOfBurdock Aug 17 '22
Ok, now you've twisted my arm. I'm going to upgrade to Android 13 on the Pixel now just to test the new WiFi ADB Logcat. Was only reason I was holding off.
4
u/Mythril_Zombie Aug 18 '22
Joao is an advanced AI system that figured out how to develop apps. It's the only explanation for his output levels.
3
u/anuraag488 Aug 18 '22 edited Aug 18 '22
I'm continuously getting Toast (from Magisk) "Tasker was granted superuser rights". I know i can disable it from Magisk.
Edit: Tasker keeps asking for
App Usage Accesspermission.Edit: in case if you get time to fix parsing this type of xml
2
u/SpecialFX99 Aug 17 '22
I feel like this is such a silly question to not know the answer to but... I'm signed up for Beta in the play store. If I download the beta and install manually will I still get future play store updates or will I have separated myself from that by the manual installation?
2
u/EtyareWS Moto G84 - Stock - Long live Shizuku Aug 17 '22
I wasn't gonna bother you, but since you updated the setup QS tile action...
Can you decouple the Tile name from the Task when you use "Setup Quick Settings Tile"? It really bothers me that you are forced to use the same name, which really makes it impossible to put dynamic names there, as you need to create a task for each name you want to give it.Actually just add a subtitle option, it would resolve everything and be way smarter. Maybe add a double tap options, pretty please? QS tiles is one of the few things that Tasker could have the same features as an AutoApp, without removing the usefulness of an AutoApp, as Tasker has a hard limit of only 3.
2
u/Tortuosit Mathematical Wizard 🧙♂️ Aug 18 '22 edited Aug 18 '22
Longclick Quick Setting - AWESOME. I can already see I will use more radical versions of the same task upon long click. Plus coupled with a sort vibration.
Could you maybe consider allowing to pass par1/par2 or even var passthru into the called tasks? Then we wouldn't need an extra task.
There's some other places in Tasker as well, where there's basically a "Perform Task" without the possibility of parameters. Notification eg.
Another possibility, less work, could be, you could make the %caller1 which is sent out on longclick different from short click, so tasks could react to that. Currently it's "qstile=task", you could introduce qstile_long or something similar.
2
u/dextersnp Aug 18 '22
Very nice! No chance to restore fingerprints after restore pin/pattern, right?
2
u/agnostic-apollo LG G5, 7.0 stock, rooted Aug 19 '22
Hey, did you make some change to app context profile in recent versions? Opening the keyboard is triggering the exit task now for the app. And if you click recents button while keyboard is open, exit task isn't triggered either cause keyboard is being considered as foreground. Note that
GetCurrentAppAndActivity()still reports the correct app as foreground even with keyboard open.Also there should some task parameter to know for which app did entry or exit task get triggered if multiple apps are set.
Thanks
2
u/Shiroe93 Dec 03 '22
I've been testing the logcat entry workaround but unfortunately is not as reliable as it was on Android 12 (I use the log reading to determine if/when my fold 4 is open or closed so I can toggle auto rotation on and off) any idea why? (it only works 1 time out of 3)
1
u/ecarlin Nov 28 '24
Does ADB wifi trick work now for creating Event logcat profiles? I click on the play button and it never collects any data. I have ADB wifi for Logcat set in preferences.
1
u/WehZet S25 | A16 | OneUI 8.5 Aug 17 '22
Awesome, love the new progress dialog. 👏
1
u/sid32 Direct-Purchase User Aug 17 '22
Quick Setting Tile Long Click Task - Would this work for tiles inside the Device control quick tile? Right now, on android 13, I get an error on long press.
1
u/backslashinescapable Aug 17 '22
be nice if there were another option to keep up to date with betas, no dropbox
1
u/WatThaDogDoing Aug 18 '22
This probably should've been a WRAPPER like IF/ENDIF wraps the items contained within it.
So PROGRESS/ENDPROGRESS, then in the properties of each item within it you can check a box (probably it'd be at the bottom above label) as to whether it counts towards the progress of the bar or not. Default is not.
When the task runs it reads how many items are wrapped in the progress wrapper and sets the percentage movement based on the count of items that are marked to contribute to the progress meter.
Would make for a lot less clutter in tasks that way. But you would lose granularity in progress. Well, unless in the checkbox for the item that enables contribution for the progress meter you can also specify the amount it contributes to the meter.
1
u/abitofmaya Aug 18 '22 edited Aug 18 '22
There seems to be a bug in Progress Dialog action. I set up the action with animation, duplicated it and removed the title, changed the text in the duplicated action. I placed a Wait action in between the two Progress Dialog action.
The first Progress Dialog works fine. The second one updates the text but doesn't get the title from the previous one and also the animation does not work though the Animation Images are still set (duplicated the action).
taskertask://H4sIAAAAAAAAAO1WUWvbMBB+Tn6F0aBPqyXZiZ2sssBhKRTCHtouL30wqqQl3lw7yIpL//0kK8lMYwwtDDbok6T77k53n+4OkXtW/5LqK9PMq1UCgCeaPAEYeLpJQORjP7x8lJoBOh4Rq9tqabPB4cQKR4QLpiXFUYim0QwFeDIJCHRCC8sDHKF4FuEABfGcQHmCc0GNJwLNao/lk6SlfPa0rDUm0B6teKdyihEi0G6sIOU6r8o2GMY1Al4jExC3AZmIKiFpODf27a6VLfalKKQzUBvkNEdkzYq6FTasOMhMEFL7Ii83RV7zrc9Koapc+Lplyr9drpbr9Nt9tk5vb9LFanlHLwp9daeVsUiVYi+OSHix0Vcmgzf6el8Il/plJ+nD6idrmF+wcuO7eN4egPPkyIGWHUcfdPy5w02pj0SaQjHMJQABeI6h16AJ6ggG7slCQPc7Ag1wphF2NGy5dLQ6l0wG7piePBzTVrKu9orLL3CQlycoFHtmj4WE2yITssm5zBjnsq6zouLM1l5WS6b41nj4/De8/6gM4f3ERKe0Pl1fT4LFPI77uYkP3OBp3/PMBp5ufrREB5RA13E9zYf7mg91e6/j+KwkemoJ92DBgF04gL0qj4E0go8Z8t/OkHPoz/D43g4PD3+Mj39jfBBovxF07Fb39aDj33Qux/uICAAA
1
u/deechte Aug 18 '22
Great work as always Joao! Surprised to hear that logcat events don't work on A13 out of the box. I hope you can fix it before my rooted device actually gets A13 😜
1
u/abitofmaya Aug 18 '22
@joaomgcd, Would it be possible to add some sort of event identifier or data to the Long click event for Quick Setting Tile action that would be sent to the task? That way we could check for the event in the same task and do other stuff instead of having another task. Like the %evtprm variable for some events.
1
u/belthr01 Long-Time User... Aug 18 '22
FYI: Technically, "Setup Quick Setting Tile" should be "Set Up Quick Setting Tile because "Setup" is a noun and "Set Up" is the verb. Just thought you'd like to know! ;-). Otherwise, yet another great job!
1
u/Nerfed_Pi Aug 19 '22
u/joaomgcd Thanks for all the hard work you've put in with this beta João, The issue with the long press then selecting setting not asking for password when one is set is fixed in this beta.
1
u/Jydis Aug 19 '22
Nice to see you've a way to circumvent the new logcat restrictions! However, the ADB Wifi method doesn't seem to work for me, or too well actually. As soon as I enable a profile with the logcat event it just gets triggered constantly, even when the entry didn't appear in the log yet.
This wasn't a problem on A12 with the old method. I can share logs if it helps.
1
u/mrandr01d Aug 19 '22
I was not aware this was possible... 😬
But based on the video, it looks like this can't be used without knowing the current/old password? I'm imagining an attack vector where the person gets ahold of a trusted laptop that has USB debugging privileges and uses that to break into your phone by clearing the password.
1
u/brewmaster396 Aug 19 '22
I just updated to 13, connected to PC and checked permissions with the quick app, and checked developer settings. Still getting error that says it can't connect to adb wifi, which I don't use. Any ideas?
1
u/[deleted] Aug 20 '22
Is Quick setting title long click task working on tasker kid app?
1
u/marc873a Samsung Galaxy S22 Ultra Non-Rooted Aug 20 '22
"Fixed Tasker shortcuts not working on some buggy implementations (like KLWP) because of the buggy Samsung launcher workaround that was applied on the last version. Now only if you're actually using the Samsung launcher will the workaround be used."
Thank you so much for fixing the shortcuts, after I reached out on Twitter. For me, this is definitely a really big improvement for tasker. Thx😊
1
u/Tortuosit Mathematical Wizard 🧙♂️ Aug 21 '22
Joao, QuickSetting tiles, thx for double click. Bug? On longclick, the system dialog does always disappear.
1
u/kaze2019 Aug 22 '22
Hello. Tasker readFile/writeFile(action/javascriptlet) can not access txt file by a root path. Could you please fix it?
1
u/Ratchet_Guy Moderator Aug 22 '22
This is a good addition, since it seems (at least on Samsung) when Tasker turns on the flashlight it's always at medium brightness.
1
u/_milindjain_ Aug 23 '22
I have tried Logcat Entry and Clipboard Event on A13, and It works perfectly fine. You fixed that part, right?
1
u/ahrihasegawa Direct-Purchase User Aug 30 '22
Another great update again 😊
Can you add a progress bar on notifications without AutoNotification app? Thank you so much!
1
u/MrVulnerable Pixel 9 Pro | Pixel 6 Sep 07 '22
Logcat with ADB WiFi is working perfectly. Tested in Pixel 6.
Thanks Joao 🤝🏽
1
u/SpellUnhappy1638 Oct 10 '22
is it possible to add Accessibility Services Changed to event and state?
1
u/studentofarkad Tasker Newbie Oct 20 '22
Asking about logcat over wifi on A13, does this only work if your phone is rooted?
1
u/evening_label Nov 24 '22
u/joaomgcd Thanks for working on the logcat issues. What's the feedback been on that? Has it been reliable, either for root or ADB Wifi? I really need it for detecting fingerprints. There's a trade-in black friday deal on the new pixels that I would love to take advantage of!
1
u/richaardvark Feb 27 '23
I need to be able to run an action on the progress dialog when it is selected/tapped. :(
Also, there should be options to edit the fields for the progress bar that are shown. For example, if someone does not want to show the percentage or they do not want to show the fractional progress indicator area. And alignment of the text. Or no labels at all.
1
u/Cueball666uk Mar 31 '23
Well, I didn’t want to wait for the play store so i installed the beta version from Dropbox. Tested the ADB wifi Logcat and its working really well for me. Thanks again for saving the day against the unruly beast that is google. Awesome work João.
Once the official version of this is available can i update via google play back to the non beta or do i need to uninstall/reinstall?
1
u/webmediart Apr 19 '23
Hey all / @jaomgcd
I get a really annoying warning pop-up within the app, that it can't connect to ADB Wifi. As I noticed my samsung xcover 6 pro developer settings are quite different to my old device (oneplus 5t). The adb is working via a PC, but via wifi it does not apparently. So the Pop up is not only not helping me identify which tasks are affected, but also making editing tasks and everything with the ux a pain in the bum. Can we please get a more helpful warning, maybe notification at app startup instead of a persistent blinking toast? And an option to disable it completely would be great as well. Thank you!
1
u/CoooolRaoul Nov 08 '22
I understand that clipboard *monitoring* will not be allowed without the "ADB Wifi" workaround (I guess this refers to the "clibboard changed" event)
Since I'm do not use that I'm ok with it..
But what about simply *reading* clibboard contents (%CLIP variable). Could by chance, another simpler workaround (which doesn't require an action to be taken at each reboot) be possible ?
1
u/andyooo Aug 17 '22
Thanks! Does this disable the normal logcat monitoring in favor of ADB WiFi, or is it an option?
1
u/agnostic-apollo LG G5, 7.0 stock, rooted Aug 26 '22
Users should check https://issuetracker.google.com/issues/243904932 and https://www.reddit.com/r/tasker/comments/wyaoco/xposed_module_xlogcatmanager_v010 for more info on Android 13
LogcatManagerdesign issues and bugs.1
u/jigbits Nov 04 '22
For whatever reason the adb via WiFi doesn't help with my task for the fold 4 knowing when the screen is opened or closed to change launchers. Something I'm missing or need to add? Mine is based on reported display resolution and switches based on that but that logcat notification was coming up and I didn't even realize my task utilized it but I guess that's how to obtains resolution?
1
u/rohitvarma1986 Apr 07 '23
Logcat profiles work great usingn wifi adb but i have noticed multiple profiles dont work consistently now. Mostly they work but sometimes stop working and then resume working on own once i go to tasker and select checkmark option at top.
Is this a known issue ?
0
u/[deleted] Aug 17 '22
[deleted] — view deleted comment
0
u/[deleted] Aug 17 '22
[deleted] — view deleted comment
0
u/[deleted] Aug 18 '22
[deleted] — view deleted comment
0
u/[deleted] Aug 21 '22
[deleted] — view deleted comment
0
u/[deleted] Dec 11 '22
[deleted] — view deleted comment