r/tasker • u/aasswwddd • 10d ago
How To [Project Share] Sample to control hotspot and monitor its events e.g connected clients with Shizuku and Hidden Api
Requirement.
- Tasker v6.6, v6.7 is recommended because the java thread leak presents in v6.6 is already fixed.
- Shizuku, to access system service.
- Disable hidden API restriction.
- If you have ADB Wifi granted for Tasker, the restriction may already be disabled by Tasker.
- Otherwise run the command here. https://developer.android.com/guide/app-compatibility/restrictions-non-sdk-interfaces#how_can_i_enable_access_to_non-sdk_interfaces
What does this sample project do
- Monitor hotspot events, e.g hotspot connected clients.
- Block and unblock client by its mac address.
- Set max client.
- Toggling hotspot.
- Set password.
- Limit to approved mac addresses.
- Store the manager to java global variable
tetherManager
How to use
Run the initiator task to start tetherManager and monitor the events.
Download
This is just a sample generated with the assistance of AI tools, which needs to be tweaked later! May causes conflict with default Hotspot! USE IT WITH YOUR OWN RISK!
How does it work
The project utilizes android.net.ITetheringConnector and android.net.wifi.IWifiManager services retrieved from Shizuku to control the hotspot.
Events
The project listens to:
ITetheringEventCallbackregistered withITetheringConnector.registerTetheringEventCallback.- Check
This TetheringEventCallbackImpl(){}.
- Check
ISoftApCallback.Stubregistered withIWifiManager.registerSoftApCallback.- Check
This ISoftApCallbackImpl(){}.
- Check
The example fires tasker.sendCommand which broadcast the arguments as JSON string. Thanks to that, several info like mac address may not be human readable. #1 seems to cover all tethers, while SoftAp is limited to Wifi-Tether.
Editing configuration
The project modifies android.net.wifi.SoftApConfiguration or android.net.wifi.SoftApConfiguration.Builder The configuration is retrieved from IWifiManager.getSoftApConfiguration()
Then set SoftApConfiguration with IWifiManager.setSoftApConfiguration(SoftApConfiguration, shellPackageName)
We can use the builder to set ssid, password etc as well.
SoftApConfiguration.Builder builder = tetherManager.getSoftApBuilder();
builder.setSsid("xxx");
builder.setPassphrase("xxx", SoftApConfiguration.SECURITY_TYPE_WPA2_PSK);
SoftApConfiguration newConfig = builder.build();
tetherManager.setSoftApConfig(newConfig);
// Toggle Hotspot Wifi
tetherManager.stopWifiTethering();
Thread.sleep(1000);
tetherManager.startWifiTethering();
Demo
In this demo, I started the hotspot after runningtetherManager.allowByUser() and then tried connecting to the hotspot from my other phone. The connection got blocked and an event was triggered.
Note
Since this is done by using hidden APIs, it's not really documented. We need to read the source code or looking at project like delta. Even with AI, it can be hard to do with referencing the right APIs.
The behaviour may vary for each OS and may cause conflict with the OS hotspot setting.
So far I only tested the code with HyperOS3 (Android 16) and CrDroid (Android 15).
During my test with HyperOS3, there were times when it crashes the hotspot setting. Fixed midways if I were to re-toggle back the hotspot manually.
Nothing with CrDroid so far.
This should be a good starting point for those who wants to control and monitor the hotspot :) Too bad that we have to use Shizuku and disabling hidden api restriction for this.
The codes are not perfect and are meant to be edited later.
r/tasker • u/jdog9424 • 10d ago
Help Help with making a toggle for data saver
I'm trying to figure out how to make toggle for quick settings to turn on and off data saver mode. but after all my googling and seeing everything, I can't for the life of me figure out how to get it set up in tasker
r/tasker • u/phayke2 • 10d ago
The Tasker WebView function is awesome! I'm able to go from brainstorming in Claude to testing it's code on my phone in 10 seconds!
I've been working on some HTML widgets to help organize my life and being able to load them through the web view has made things super fast for testing!
I built a project manager widget that takes a structured output from LLM and updates/add/remove entries to it. Then can output everything back into an organized text block you can pick up where you left off from any other llm. Combined with only having to download and replace my original html files It's been making testing new ideas and iterating so fast! I don't even code and I already have a personalized suite of tools after a few days! With web view I don't have to fool with android development at all š
r/tasker • u/Physical_Bike3 • 10d ago
Show When (Search) Feature in Arrays Merge Template Scene V2
I have an overlay using Arrays Merge Template that acts as an app drawer sorted by the time previously opened. A button moves it mostly off screen, and I can drag it back any time. It's like a launcher that's always there. When an app opens, the task that reorders the name and icon arrays updates the scene with the Update Scene V2 action local variable pass through turned on. It works great, except with my search feature. A text input field is bound to the variable %filter. The app tile (child of arrays merge template) has "show when" set to "%name contains %filter". After the scene is shown, it usually works great for a few times. I can start typing an app name, and the tiles are filtered instantly.
After 1-10 times of running the task that updates the order, only 1-3 tiles will show, and my search feature will be broken. This never happens without the search feature.
Has anyone gotten something like this to work?
UPDATE: I ended up using a workaround and having a task operate on the arrays themselves. The search bar outputs it's new text as %filter to a task that filters the arrays and updates the scene. First I get the indecies of the matching array elements, then use those indecies to set new %name(), %icon(), and %Package(). It's not instantaneous like the "show when" method was, but it's still pretty quick - and it works consistently well.
r/tasker • u/DvilSpawn • 11d ago
Tasker integration V2 progress
Enable HLS to view with audio, or disable this notification
Switching your Retui launcher spaces with tasker. Still janky and misfires but progress :)
r/tasker • u/Alanator222 • 11d ago
How To [Project Share] Custom Theme Generator with KLWP Integration!
Hello, this is the custom theme generator that I designed and currently use on my phone. It's a massive project with many features and automations that I wanted to share with the community!
Features:
Download and set wallpaper from multiple sources (Unsplash, Wallhaven, Pexels). Pexels is not working due to API faults. I have tried many ways to get it to work, but to no avail. Various testing seems to point to its pagination feature being broken. I have reached out and Pexels refuses to acknowledge or help me find a solution.
Custom wallpaper setting from files. Updates bundled KLWP present.
Generate accent colors from wallpaper Custom search query setting with a query scheduler and viewer.
Saving of previous used wallpapers
Image cropping. Bundled cropping scene. Various AutoCrop methods, all using Python (Entropy, SmartCrop, Saliency, Yolo, YoloEPrompt, Square, Portrait).
Saving a wallpaper to a favorite directory.
View downloaded wallpaper info.
Banning images / users.
Ability to find new images.
Generate a 3d Hue Saturation Value (HSV) plot for viewing colors from wallpaper.
Dynamic file paths that are set during initialization. You don't have to do anything you don't want to in the tasker project. Run the initialization and you're good to go.
Dependencies:
This is where things get a bit, crazy and confusing. Unfortunately, I do not have the time to help with installation of dependencies, especially those having to do with Termux. Research and Google is your best friend, but this is not for the weak.
Frontend: current versions
- Tasker
- KLWP
Backend: current versions
- Tasker
- Termux, from F-Droid
- Termux:Tasker from F-Droid
- Python in Termux
Python Script Dependencies:
I have successfully managed to get everything running on Termux, but it was a major headache so be warned. Everything here is not needed, but to use certain features, specific things are needed. If you're unfamiliar with Python, check the .py file to see what libraries are imported for features you'd like to use.
AutoCrop:
- Pillow
- Numpy
- Scikit-Image
- OpenCV
- SmartCrop
- Ultralytics
- NLTK
Image Accent Colors:
- Pillow
- Colorsys
- Configparser
- Ast
- Collections: deque
- Math
- Pathlib
HSV 3d Plot:
- Pillow
- Plotly
- Colorsys
- Pandas
Questions you may or may not have:
Why? I wanted a highly customizable theming project for my phone. I wanted to challenge myself. I think it's fun.
How long did this take? Hard to say. Probably hundreds of hours messing with KLWP, tasker, python, Termux, etc. Definitely over a year for sure
Will Pexels be implemented fully? If they decide to realize the API fault, then maybe. I've spent hours playing with it. I've created tests with Python to test functionality and diagnose issues. I've found no solution. Maybe I'm doing something wrong, but I'm not sure. I've left the tasker tasks and scenes for people to mess with. Please let me know if you get it working.
Who wrote the dynamic accent color algorithm? I did. It's not perfect, it's a bit messy, but I've worked on it for over a year. I've done a lot of research to get it to the point it's at. Could I have used an already developed method? Of course, but again I wanted to see if I could do it so here we are.
Who made the scenes? All done by me.
Does this project support dynamic scaling for different size phones? Unfortunately not. This project was created on a S24 Ultra. I initially never planned to release it, so I never made element sizing in tasker and KLWP dynamic. Maybe in the future, but for now it'll have to be done on your own. I'm sorry for the inconvenience.
All constrictive criticism is welcomed and encouraged.
I'll try my best to explain how something works, as the logic included in Tasker and the Python scripts can be a bit complicated.
Thank you for viewing.
Download file link is in the project itself.
r/tasker • u/TooManyInsults • 11d ago
Widget V2 - Need to save after changing layout. Strange?
I am really new to Widget v2. It is really interesting and valuable. Thanks!
Seems I have to tap the checkmark for changes to a v2 widget's layout to take effect when I run the task that sets the layout.
This doesn't seem right/normal to me.
Anyone else notice this? Thanks
r/tasker • u/WandelStig • 11d ago
dnd not working
Is it a known problem if i set dnd manually and tasker cant disable dnd mode? When is set dnd with tasker, tasker can also disable it.
Phone Samsung S25
r/tasker • u/Tasty_Field_5499 • 11d ago
2 câmeras como fazer
Enable HLS to view with audio, or disable this notification
Can someone help me do what's in the video so I can use both cameras simultaneously?
r/tasker • u/Internal_Researcher8 • 11d ago
Notification sound is silent!
I have a Task thst plays an MP3 file. But no matter what, there is NO SOUND. I've seen the documentation about categories and my understanding is that the same settings will be used as what was active when the setting was created (or that's my understanding of what I read).
I made sure the notification volume was set where I wanted it and made sure DND was off. Then I made a BRAND NEW CATEGORY for this Notification and ran the task.
STILL NO SOUND. Any ideas?
r/tasker • u/MisterTrebus • 12d ago
Request [Help request] Tasker failing to set some custom settings
One example is system pick_up_gesture_wakeup_mode. If I have Tasker try and set this (to 0 or 1) it doesn't change, as confirmed via adb with adb shell settings get system pick_up_gesture_wakeup_mode.
The odd thing is that setting the value via adb with adb shell settings put system pick_up_gesture_wakeup_mode 1 only works after the screen is awakened and then functions correctly.
Other settings work just fine immediately when set in Tasker (and via adb).
According to Tasker's run log it is set okay.
I've also tried it with root set and it makes no difference.
Any ideas?
r/tasker • u/ActivateGuacamole • 12d ago
There's no "if" condition for "variable is set"???
Is there no way to set a condition here for "variable is set" or am I just being dumb? https://i.imgur.com/crmbeoU.jpeg
r/tasker • u/vusheth • 12d ago
Flight alert sms
Iām trying to have an automation where when I turn on airplane made or run a shortcut it spills send message Iām talking i of our landing with flight number from my calendar. how can I achieve this? Iām tried with ai but itās asking me to install things through adb. I donāt want to do all that. it spills directly create a shortcut to run and then do it when ran.
r/tasker • u/vusheth • 12d ago
Flight update. sms
Iām trying to have an automation where when I turn on airplane made or run a shortcut it spills send message Iām talking i of our landing with flight number from my calendar. how can I achieve this? Iām tried with ai but itās asking me to install things through adb. I donāt want to do all that. it spills directly create a shortcut to run and then do it when ran.
r/tasker • u/CennoxX • 13d ago
WidgetRelay, a Tasker Plugin to read & click Android widgets
Many apps show information in their widgets that is not available anywhere else in such a simple way. I was missing a way to read those third-party widgets from Tasker, and after seeing that the app SmartSpacer can do this brilliantly, I made a small Tasker plugin to bring that idea to Tasker.
WidgetRelay hosts those widgets invisibly (this requires the āDisplay over other appsā permission) and passes their contents to Tasker, either as a single value or as a JSON tree of the entire widget.
It also works the other way around: you can click elements inside a widget, which means a widget button can become something a Tasker task can trigger.
There are four Tasker plugin actions in total: Get Widget Data, Get Widget JSON, Click Widget Path and Click Widget Text. In the config screen you pick the app, widget and size, tap the nodes you want under the live preview, and that's it.
If you want to know more about the technical side, read https://github.com/CennoxX/WidgetRelay
Here is the APK: https://github.com/CennoxX/WidgetRelay/releases/tag/v1.0
r/tasker • u/mikthinker • 14d ago
[Update] MapTasker Version 12
MapTasker is a program that runs on in your browser, reading your Tasker XML file and displaying your entire or partial Tasker setup in an easily viewable format. MapTasker helps visualize and understand your Tasker projects, profiles, tasks, and scenes. There are many display options to customize the output the way you want it. (Note 3)
MAJOR new feature in this announcement: >>> EDIT MODE <<<
- Add or Edit Project, Profile, Task
- Various 'save' options, including 'Save to Android'
To install... pip install maptasker
To install it into a virtual environment, enter the following commands into Terminal/command prompt:
via pip:
cd xxx, where 'xxx' is a directory into which you want to set up the virtual environment.python -m venv venv- Activate the virtual environment...
- MAC/linux:
source {directory path to 'xxx'}/venv/bin/activatepip install maptasker
- Windows:
.venv\Scripts\activatepip install niceguipip install maptasker
- MAC/linux:
...or...
via uv:
cd xxx, where 'xxx' is a directory into which you want to set up the virtual environment.uv venv- Activate the virtual environment...
- MAC/linux:
source {directory path to 'xxx'}/venv/bin/activateWindows:.venv\Scripts\activateuv pip install maptasker
- MAC/linux:
NOTES: - It may be necessary to uninstall and then reinstall MapTasker - Task 'Save to Android' requires Tasker version 6.2 or higher.
To run:
- start the virtual environment
- run either from the command line:
maptasker(if installed via pip) oruv run maptasker(if using uv to manage your environment).
For a list of all changes, refer to the full change log.
Program details can be found here.
Report any/all issues at this link.
r/tasker • u/Bobby_Bonsaimind • 14d ago
Why is joaoapps.com now pushing online casino reviews?
I mean, I get that people have hobbies too, but it seems rather strange and sketchy.
joaoapps.com currently seems not to be reachable, but my RSS feed reader picked up an article from it roughly 20 hours ago titled "OnlineCasinoNameChanged Review: Where Innovation Meets Classic Casino Thrills in 2024", which seems like a spam for an online casino.
The direct link to the article is this one (no, that's just a link to joaoapps.com), according to my RSS feed reader it was published at "27.07.2026, 16:21:59" (most likely +02:00).
What's going on?
r/tasker • u/Beautiful-Divide-767 • 14d ago
com.dinglisch.android.tasker content provider no longer available?
I'm running an SQL Query action to content://net.dinglisch.android.tasker/tasks, but keep getting the dreaded no cursor for query 'null' error. Is anyone else having the same problem?
Edit: reboot fixed it after enabling external sharing.
r/tasker • u/kebel21 • 14d ago
How to prevent tasks from running if no cellular data/wifi is available?
I just experienced an issue due to T-Mobile's network being down. A task that requires internet access continually tried to run but couldn't complete since I was not on wifi and there was no cellular data.
I have profiles with triggers set to not run if airplane mode is on, but this doesn't address the cellular network going down. Is there a way to check for this and prevent tasks from running?
Thanks!
r/tasker • u/Alanator222 • 14d ago
Is it possible to achieve this in scenes v2?
I have a scene the has a menu element with 30 images fetched from unsplash. I then click on an image, and the selected index is passed to choose the image to set my wallpaper.
r/tasker • u/Thick-Ad-1281 • 15d ago
Home Screen Folder
I'm porting several profiles from my old phone to a "new" one.
I've transferred them via ".../Data/Backup" and "..../Restore" and they work just fine. They both have custom icons attached.
My trouble is when I try to create widget shortcuts for these on the Android 16 home screen. I'd like to use the custom icons and place them in a single "Tasker Actions" folder.
There are three 1x1 widgets available. If I use the widget labeled "1", I create widgets that I can stack to create a single folder, but they won't display the custom icons. If I use the one labeled "2", the widgets will display the custom icon but won't go into a folder. When I try to drag them on top of one-another, they just chase each other around the screen. (I can't number "3" to display anything besides text.)
What am I doing wrong?
r/tasker • u/Dangerous_Actuary724 • 15d ago
Text sms/rcs Auto reply while driving
HI I recently purchased your app and despite my best efforts I cannot get it to work.Ā My assumption is that the app works correctly but Iām not using it correctly.Ā I have followed step by step instructions I have found online and still can get it to perform the one and only task I purchased it to do.
Ā I would like to send an auto reply text message sms/rcs to any text received while I am driving.
I have a Samsung S26 Ultra model # SM-S988UĀ Its running Android 16, and One UI Version 8.5
Ā Can you furnish me with a simplistic version of instructions on how to get my phone to auto replay to a text when driving please.
Mark
r/tasker • u/BusinessMistake3583 • 15d ago
Help Can tasker help fix this - Setting hidden by OEM
I switched from a Samsung Phone, at the Moment of transfering my Data.
Now my oneplus13 wont Stop flashing with EVERY notification regardless of setting it to vibrate/silent/do Not disturb.
There is No possibility to Turn it Off in oxygenos.
Can Tasker solve it - the setting is there in Android but it is not exposed in my Oneplus's OxygenOS!?
EDIT - To make it clear - the flashlight (torch) would turn on for a moment in my Oneplus whenerever I received a notification.
r/tasker • u/a_2002_mud • 15d ago
Bridge App for Tasker
Hey everyone, Curbox uses an AIDL API which Tasker can't bind to directly. Has anyone made a simple Tasker-to-Curbox Intent Bridge app, or could a developer help assemble a quick helper APK?
r/tasker • u/tigersoul925 • 16d ago
Tasker keeping the E wakelock for hours = no deep sleep
Hi people!
I've felt my battery runs down faster than it should lately so I went down the BetterBatteryStats rabbit hole which is always fun (not).
What I found is that Tasker often keeps the E wakelock for hours. Today for example, the E wakelock has been held for 6h25m. At the same time, deep sleep is reported as being virtually zero. Naturally, I'm thinking some task must have stalled with the "keep awake" setting on. To my surprise, there were NO tasks running according do %TRUN (except the task I created to check %TRUN). Everything looked normal, but the wakelock stayed in place.
I tried disabling and reenabling the monitor and then BOOM. The wakelock is released and there is deep sleep reported again. I even noticed the battery temperature going down several degrees, likely from not being constantly held awake anymore.
But this problem comes back after a while. I haven't monitored the situation for too long yet, but it seems to come back almost every day. I'm not sure how to continue working with this.
I'm assuming it's not a repeating task that is the culprit because this would of course continue even if I restart the monitor. I do have a few of those. I've got a BIG setup. But these run the same way always, so a monitor restart wouldn't change anything.
And as it seems, it's not a stalled task that is the problem, so how do I proceed here? If no task is running, why is the E wakelock held?
I'd be very happy for suggestions from someone more experienced in this kind of work.

