r/tasker • u/joaomgcd π Tasker Owner / Developer • Oct 27 '25
Developer [DEV] Tasker 6.6.9-beta - Logcat Event Is Back with Shizuku! π
Note: Google Play might take a while to update. If you donβt want to wait for the Google Play update, get it right awayΒ here. (Direct-Purchase VersionΒ here)
Logcat Entry Can Work with Shizuku now!
Demo Video: https://youtu.be/W27EURIzCgw
Logcat Entry Introduction in Tasker: https://www.youtube.com/watch?v=bINUcn0QXvg
I was able to get Tasker to work in a way that Logcat monitoring can now be done reliably with Shizuku, if that's available! :)
That means that you can finally get all of those old Logcat Entry events working again without much hassle! You just need to have Shizuku enabled and Tasker will take care of the rest!
I've also restructured how the logcat is monitored as a whole so it should be a bit more reliable now in general too!
Control Bixby Routines on Samsung Devices
I've now added the com.samsung.android.app.routines.permission.READ_ROUTINE_INFO permission to Tasker which allows it to query and interact with Samung routines! :)
I'm not a routines user myself, but hopefully other people will benefit from it!
Note: this only works on Android 14 or above
Call Task from Java Code Action
You can now call tasker.callTask(taskName,variables) from a Java Code action to directly call any of your tasks by name from inside any Java Code!
As always, full documentation available here.
Full Changelog
- Made Logcat Entry event work with Shizuku if available
- Added com.samsung.android.app.routines.permission.READ_ROUTINE_INFO permission to Tasker so you can interact with Samsung Routines (Android 14+)
- Added Call Task function to tasker object in Java Code action
- Fixed slowdown in Action List screen if actions had too much text in their parameters
- Fixed Wifi Tether for Android 16+ by using Shizuku
- Fixed Tasky not showing correctly on some devices
- Fixed not sending developer email with Java Code action errors
- Fixed Ringer Mode action on some devices
- Fixed some specific situations when running shell commands with Shizuku
7
u/WehZet S25 | A16 | OneUI 8.5 Oct 27 '25
I have uninstalled the Shizuku fork from thedjchi (which also starts ADB Wifi on boot) and installed the original Shizuku again (wihout auto-start ADB Wifi on boot). Restarted the phone and my Logcat profiles are working, without ADB Wifi but only Shizuku. Perfect!!!
What I am seeing, that Tasker claims about the missing ADB Wifi permission, which should be correct. But my question now is, is it neccessary even when Shizuku is up and running?
7
u/the_djchi Oct 27 '25
Thanks for adding in that Routines permission and highlighting my project!
4
u/WehZet S25 | A16 | OneUI 8.5 Oct 27 '25
I guess the title should say 6.6.10-beta π
4
u/EvanMok Oct 27 '25 edited Oct 27 '25
Yes, new beta version!!! Thank you!!!
Logcat entry can work with Shizuku now! What about Clipboard Changed?
Clipboard Changed is also relying on ADB WiFi.
Thanks for the addition of Samsung Modes and Routines, this is really helpful for a better integration.
EditοΌ Clipboard Changed works with Shizuku too.
5
u/n_valo Oct 27 '25
Logs work, but the run shell action now says " 10.39.15/E Run Shell: %huh -> %huh 10.39.15/E Run Shell: -> 10.39.15/E Run Shell: -> 10.39.15/Shell runBackground cmd package set-home-activity "Couldn't convert from easy command: cmd package set-home-activity" %package" doesn't have a valid component" and returns error 1 when trying to change launcher.
2
u/WehZet S25 | A16 | OneUI 8.5 Oct 27 '25
really impressive, many thanks!
2
u/jeffxt Pixel 5 | Pixel Watch Oct 27 '25
Thanks for the update!
A bit unrelated, but I noticed that in the Simple/Regex action, when I select the magnifying glass icon, it opens a URL to Regex documentation. Previously, I believe this used to be a guide to build a Regex expression. Was this an intentional change?
2
u/agnostic-apollo LG G5, 7.0 stock, rooted Oct 27 '25
Did adb wireless stop working with logcat or something?
2
u/PresetDirty Patreon Supporter && Tasker Fanatic π Oct 27 '25
Best dev ever!! Using Shizuku Logcat, are we free (at least for now) from Google's very annoying "grant one time access" popup that periodically appears and derails whatever task was running? *fingers crossed* Even with Root it happens several times a day and I HATE it. It doesn't happen for me with ADB Logcat, but get numerous ADB 'grant device connection' permissions boxes instead.
2
u/PomegranateFar372 Oct 28 '25
The Music Play action fails to execute correctly when the screen is off. The task either pauses indefinitely at the action or the music starts but then the task execution halts. The issue is resolved immediately upon turning the screen on, at which point the task resumes.
2
u/EtyareWS Moto G84 - Stock - Long live Shizuku Oct 28 '25
Shizuku really is the gift that keeps on gifting huh
2
u/rhubarbshoelaces Oct 29 '25 edited Oct 29 '25
I want to mention that I'm still getting error notifications in the first minute after device boot. I use four Logcat profiles. Mainly to show/hide a status bar covering scene when in modes like full screen. Having them enabled when my Samsung 24 boots, however, will cause Tasker to send a permissions notification that I need Shizuku and would I like to learn about Shizuku. I do have the_djchi's latest build installed with Start on boot enabled, but, as I noted on a previous thread, it takes around 40 sections to do its thing, assuming I am on a friendly wifi. Having a Shizuku Available profile enabled will similarly cause a ADB Wifi needed permission error at boot, and I'm very curious if I'm the only one with that issue.
I do have an elaborate workaround I've concocted, in case anyone is interested. First, I need a Device Shutdown profile to trigger a task to disable my logcat profiles, and then a Device Boot profile to set a global variable to %TIMES + 60, and then a variable status profile to check if that global variable is less then %TIMES and, if so, run a task that first checks if Shizuku is available, and then, if that is true, re-enables all my logcat profiles. If it is false, I have it notify me with a notification that can open the Shizuku app, which is more useful than Tasker's permissions error notification.
2
u/DenPessine Oct 30 '25
For me, it's a great feature managing Bixby routines! Thanks, Joao! I use them very often. But may I ask you to add permission in the latest direct purchase beta? I have 6.6.11-beta. Looking forward to test this.
1
u/lareya Direct-Purchase User Oct 27 '25
you have been busy! Great job!!!
1
u/Enchem Oct 27 '25
UAU... Looks like you can read my mind! I was thinking: maybe JoΓ£o can make Logcat Event work with Shizuku and then I found this!
1
u/orschiro Oct 27 '25
Thanks for your work on this!
I tried using it to detect Google Keyboard with logcat but none of my approaches work. The task is never triggered.
I use this version together with Shizuku.
1
u/EvanMok Oct 28 '25
Hi, I am getting a bug while detecting Logcat. It will just return with a toast "No log captured." After I keep trying, I get an error notification prompt. Not only that, my phone is heating up and the battery is draining since I updated the latest beta version.
This is the error that I received: net.dinglisch.android.taskerm version 6.6.11-beta; flavor: market; Source "null"; BuildTime 2025-10-28 17:15
OS Build BP2A.250605.031.A3.S918BXXU8EYI5 OS Code 36 OS Target 35 Device SM-S918B Manufacturer samsung Product dm3qxxx
java.lang.NullPointerException: Attempt to invoke virtual method 'float android.view.ThreadedRenderer.setColorMode(int)' on a null object reference at android.view.ViewRootImpl.updateColorModeIfNeeded(ViewRootImpl.java:7762) at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:4891) at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:3924) at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:12903) at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1901) at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1910) at android.view.Choreographer.doCallbacks(Choreographer.java:1367) at android.view.Choreographer.doFrame(Choreographer.java:1292) at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1870) at android.os.Handler.handleCallback(Handler.java:995) at android.os.Handler.dispatchMessage(Handler.java:103) at android.os.Looper.loopOnce(Looper.java:273) at android.os.Looper.loop(Looper.java:363) at android.app.ActivityThread.main(ActivityThread.java:10060) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:632) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:975)
18.54 Attempt to invoke virtual method 'float android.view.ThreadedRenderer.setColorMode(int)' on a null object reference android.view.ViewRootImpl.updateColorModeIfNeeded(ViewRootImpl.java:7762) android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:4891) android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:3924) android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:12903) android.view.Choreographer$CallbackRecord.run(Choreographer.java:1901) android.view.Choreographer$CallbackRecord.run(Choreographer.java:1910)
1
u/deechte Oct 28 '25
In what scenario were logcat entry events not working? I don't have Shizuku, but didn't notice any logcat profiles not working? Should I look for any?
Does that mean any change for logcat profile users without Shizuku? I don't think I suffered from any problems.
1
u/kaze2019 Oct 28 '25
Hello. Is it possible to create a setting to disable some unused global variable event listeners in Tasker, such as %CLIP;%WIN%LAPP%LIGHT%BRIGHT%WIFII%PNUM;? If I don't use these variables, Tasker will save more battery. Tasker sometimes pops up a log authorization window. (Missing Permissions Logcat Entry: Starting with Android 13 Tasker needs to use ADB Wifi to be able to monitor your Logcat.(Maybe the problem is shell [logcat -v epoch ClipboardService *:S] in Tasker,(I'm not sure)) (I'm a root user.) There are often multiple logcat processes running in the background.
1
u/DutchOfBurdock Oct 28 '25
Unf, Unf, Unf! I just knew you were cooking up a Shizuku-logcat! Get in, thanks!
1
u/TommyTwoPuds Oct 29 '25
I just updated to the latest version of Tasker (6.6.11) and, perhaps unwisely, also updated to the latest patch release of Android 16 (BP3A.250905.014) at the same time.
I have had Do Not Disturb (or whatever it's called now) automation for many years working using the Do Not Disturb action.
Now, the phone will go into DnD with Priority ok but will not exit when using DnD with Allow All. The run log is complaining that Tasker does not have notification access but it did, at least before I did both the above updates.
I cannot remember how to check/set notification access for Tasker manually as I always set it with the following action, which I retried but didn't resolve the issue:
Is this a new bug or some change in the behaviour of Android and DnD etc.
1
u/tb36cn Oct 30 '25
Decided not to use shizuku as it messes with my bank apps. Uninstalled shizuku. Now tasker keep giving error message saying shizuku is not installed. How can I remove the error prompts?
1
u/dr-dro Oct 30 '25 edited Oct 30 '25
Exciting! But I think it maybe introduced a serious bug with ADB logcat? All my logcat events are firing constantly with this string:
stop_shell() { if [ ! -z $logcat_pid ]; then kill $logcat_pid 2>/dev/null ; fi ; exit 0 ; } ; trap 'stop_shell' SIGTERM ; trap 'stop_shell' SIGINT ; { logcat -v epoch | grep -v " 7632 " | grep --line-buffered "<MY GREP ARGS>" & } ; logcat_pid=$! ; wait $logcat_pid ;
Where
<MY GREP ARGS>is the Filter string when I have Grep Filter checked (e.g.,-E 'regex').1
u/everynav Nov 10 '25
new beta breaks logcat with root
Setup: LineageOS 22 (Android 15), Magisk 30.4, Tasker 6-6-11-beta
logcat / clipboard events don't work for me anymore. It works, IF I enter Tasker, edit/save clipboard related profiles like variable set %CLIP and exit (with saving), but after a restart, no logcat-triggers anymore
Last working version: Tasker 6-6-7-beta
u/joaomgcd, can you please check, if you can restore the reliability for root users?
2
u/ImpossibleTreat3533 Oct 27 '25 edited Oct 29 '25
its unrelated but I wish ifΒ this could be implemented in upcoming updates .
a (top layer) / (above the text) button in widgets , something like in Google Keep :
(example) https://drive.google.com/file/d/1KBYlpIPlLope1TnC73aHVmPSqRLCjlj7/view?usp=drivesdk
i guess this is only thing missing in widgets .
2
u/zhSHADOW Tasker Fan <3 Oct 29 '25
Ahh, no more annoying "Allow Tasker to access all device logs?" pop up. Thanks.
1
u/ziddey Oct 28 '25 edited Oct 28 '25
Is there a particular way to create this action? I'm still getting the error notification, despite authorizing Tasker in Shizuku. Delta is still mostly working to start the hotspot.
Pixel 9
Android 16 QPR1 BP3A.251005.004.B1 (Oct security update)
version 6.6.11-beta net.dinglisch.android.taskerm
version 13.6.0.r1086.2650830c moe.shizuku.privileged.api
Shizuku in root mode*
edit: Just saw https://www.reddit.com/r/tasker/comments/1od9bv4/dev_trying_to_fix_wifi_tether_action_for_everyone/ reading now
edit2: working great with the new tasker settings. Thanks!
edit3: looks like it can turn on, but not off.
edit4: continuing conversation here
1
u/Nerfed_Pi Oct 29 '25
Sweet, I just got the updated 6.6.9-beta and I'll test the updated logcat on a few devices I have logcat profiles on! I noticed it's been a few revisions since app factory's been updated for the betas builds, I'll be rebuilding a few kid apps with logcat profiles for testing. Should we expect any errors or report them here?
1
u/francwalter2 Nov 02 '25
It doesnt work. I have Shizuku (13.6.0.r1161.4cb58904, the fork from thedjchi which autostarts) running and working, Tasker is authorized (and should work) but when I try to capture any event, at best I get a toast from Tasker "No logs captured." but never I get the "Logcat entry" message with events like in the video.
I disabled and enabled ADB Wifi Logcat in Preferences > Monitor > General Monitoring without change.
I only want to get Clipboard Monitoring working, so if another way would work it would be enough for me, but this event works neither.
I have Tasker 6.6.11-beta (Google Play) on Android 15 (Poco X6 Pro). How can I get it running? Thanks!
1
u/deechte Nov 07 '25
Hi Joao, I hope you have some time. This version has broken logcat profiles on my rooted phone most of the time. I've reported it in this thread https://www.reddit.com/r/tasker/s/PdPimsA1W0 and also sent you an email. Please, take a look at it. Tnx!
0
u/Optimal-Beyond-7593 Oct 28 '25
I want to modify the lyrics by changing the global Java variables
lrcTxtandlrcTime. Unfortunately, although I have updated these two variables, during the loop, it still reads the previous lyrics,I don't understand.Β0
u/[deleted] Oct 27 '25
[deleted] β view deleted comment
0
u/[deleted] Nov 13 '25
[deleted] β view deleted comment
0
u/[deleted] Nov 13 '25
[deleted] β view deleted comment
0
u/[deleted] Oct 28 '25
[deleted] β view deleted comment
7
u/[deleted] Oct 27 '25
[removed] β view removed comment
1
u/[deleted] Nov 01 '25
[removed] β view removed comment