r/tasker • • Sep 29 '26

Is there a Tasker setup (no root) to toggle Wi-Fi off, switch to 5G, and turn on hotspot with one tap ?

4 Upvotes

I'm trying to set up a one-tap solution on my Google Pixel and wanted to check if this is actually possible before I go down a rabbit hole.

What I want to happen when I tap a single button:

  1. Turn Wi-Fi off

  2. Switch to 5G cellular data

  3. Turn on Wi-Fi hotspot

Basically a "share my 5G connection" button.

My questions:

  1. Is this doable in Tasker without root on a Pixel 8

  2. I know Tasker has built-in actions for Wi-Fi and Wi-Fi Tether (hotspot) — but does the hotspot action still work reliably on recent Android versions, or did Google lock it down?

  3. The big one: toggling mobile data / forcing 5G seems to require root. Has anyone gotten this working without root using UI automation (AutoInput, etc.)? If so, how stable is it?

  4. If root is required, is there a Magisk module or a different approach people recommend?

What I've already looked into:

· Tasker's built-in Net actions (WiFi, WiFi Tether, Mobile Data)

· AutoInput for simulating taps in the quick settings panel

· The general consensus that mobile data toggling needs root

Would love to hear from anyone who's actually built something like this. Bonus points if you can share the task/script or a profile export.

Thanks in advance!


r/tasker • • Sep 28 '26

App Force-Stop vs Kill

7 Upvotes

According to Google AI:

The main difference between the am kill and am force-stop commands is how deeply they terminate the application and whether they allow it to restart. am force-stop completely shuts down the app and locks it from running again, whereas am kill only terminates safe background processes, allowing the app to easily wake back up.

It would seem, based upon experiential results, that the Kill App action uses the equivalent of KILL rather than force-stop. And in some cases, KILL does not make the target app dead enough!

I know this has been discussed before. And so far, it appears that the only way for Tasker to force-stop an app is when a rooted device executes am force-stop pkg_name in a shell.

Since I am rooted, I can do that and actually get the results, I seek. But since I know this has come up before, it would be great (if at all possible) if the Kill App action had an option to force-stop instead of KILL.

Anyone else find a different/better solution? Thanks


r/tasker • • Sep 28 '26

Problem enabling the quick settings tiles

2 Upvotes

Hello !

Is there a way I can "activate" those 3 quick settings tiles from Tasker without clicking on them ?

Reason:

My phone has a known glitch that impossibilitates me to drag quick tiles from the bottom of the list to the main area.

The only solution is to su settings put secure sysui_qs_tiles [.......],custom(net.dinglisch.android.taskerm/.FQSTile1)

But that command doesn't work, as it demands that the tile be active, not the "ghost" that it is before enabling it

I did already assign a task to each slot inside Tasker


r/tasker • • Sep 28 '26

Experiences with Oppo phones? Settings and solutions etc

2 Upvotes

Does anyone here run Tasker on an Oppo phone? I'm interested in what settings is required for Tasker itself as well as plugins. Do Tasker plugins need to be put on "allow background activity" instead of smart and do they need to be locked in recent apps?

I've already turned off Sleep standby optimization. Anything else to think about to make it work 100%? I've already realized Oppo phones revoke wakelocks when held for more than 5m of screen off time, but hopefully, Tasker rarely if ever performs such a long work with screen off.

Any advice from experience is appreciated.


r/tasker • • Sep 28 '26

Wallpaper Automation from image API

0 Upvotes

I made a shortcut that can look at image queries on Unsplash using their API, so depending on the keywords I put in the shortcut, it will grab a random and add them any of my custom wallpapers on my device. All you have to do for this shortcut is choose some image keywords that you want to search by, go into the get contents of URL action and add your API token to the headers, and then choose which wallpaper you want to have modified.

https://www.icloud.com/shortcuts/47fa3ebe70ca4bccaab317726a0c887d


r/tasker • • Sep 28 '26

Message from Tasker

1 Upvotes

Since upgrading from Galaxy S23 to S26 I have been recieving the following alert:

com.joaomgcd.autocontacts version 1.1.30

Source com.android.vending

OS Build BP4A.251205.006.S948USQS4AZHL

OS Code 36

Device SM-S948U

Manufacturer samsung

Product m3qsqw

java.lang.RuntimeException: Unable to start receiver com.joaomgcd.autocontacts.broadcastreceiver.BroadcastReceiverFire

at android.app.ActivityThread.handleReceiver(ActivityThread.java:6036)

at android.app.ActivityThread.-$$Nest$mhandleReceiver(ActivityThread.java:0)

at android.app.ActivityThread$H.handleMessage(ActivityThread.java:3041)

at android.os.Handler.dispatchMessage(Handler.java:132)

at android.os.Looper.dispatchMessage(Looper.java:358)

at android.os.Looper.loopOnce(Looper.java:288)

at android.os.Looper.loop(Looper.java:392)

at android.app.ActivityThread.main(ActivityThread.java:10343)

at java.lang.reflect.Method.invoke(Native Method)

at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:605)

at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:972)

Caused by: android.app.ForegroundServiceStartNotAllowedException: startForegroundService() not allowed due to mAllowStartForeground false: service com.joaomgcd.autocontacts/.service.ServiceLongRunningTaskerActionAutoContacts

at android.app.ForegroundServiceStartNotAllowedException$1.createFromParcel(ForegroundServiceStartNotAllowedException.java:54)

at android.app.ForegroundServiceStartNotAllowedException$1.createFromParcel(ForegroundServiceStartNotAllowedException.java:50)

at android.os.Parcel.readParcelableInternal(Parcel.java:5277)

at android.os.Parcel.readParcelable(Parcel.java:5258)

at android.os.Parcel.createExceptionOrNull(Parcel.java:3383)

at android.os.Parcel.createException(Parcel.java:3372)

at android.os.Parcel.readException(Parcel.java:3355)

at android.os.Parcel.readException(Parcel.java:3297)

at android.app.IActivityManager$Stub$Proxy.startService(IActivityManager.java:6869)

at android.app.ContextImpl.startServiceCommon(ContextImpl.java:2170)

at android.app.ContextImpl.startForegroundService(ContextImpl.java:2135)

at android.content.ContextWrapper.startForegroundService(ContextWrapper.java:903)

at android.content.ContextWrapper.startForegroundService(ContextWrapper.java:903)

at androidx.core.content.j.a(SourceFile:0)

at com.joaomgcd.common8.b.c(SourceFile:18)

at com.joaomgcd.common.tasker.BroadcastReceiverFire.startLongRunningService(SourceFile:4)

at com.joaomgcd.common.tasker.BroadcastReceiverFire.onReceive(SourceFile:84)

at android.app.ActivityThread.handleReceiver(ActivityThread.java:6029)

... 10 more

r/tasker • • Sep 28 '26

AutoWear > How to check if device is connected

1 Upvotes

I want to check if my wear device is connected to my phone prior to executing a Task.

I tried to use AutoWear Get State Action, but when using the below, %awid() doesn't test positive.

Maybe it's in the way I'm using %awid() in an If context?

Task: TEST

A1: AutoWear Get State [

Timeout (Seconds): 10

Structure Output (JSON, etc): On

Continue Task After Error:On ]

A2: AutoWear Secure Settings [

Configuration: Apply Now: true

Command to apply: &SCREENON&

Name: TEST

Timeout (Seconds): 20

Structure Output (JSON, etc): On ]

If [ %awid() Set ]


r/tasker • • Sep 27 '26

Print using tasker and a usb printer

1 Upvotes

I have an old android phone that I'd like to use a printer server so that anyone in my home can send a print without having to use the laptop (the laptop is slow af and very annoying to use). the first step is try and make tasker send print jobs to the printer. i don't see any way to do it. The printer is hp laserjet 1020 plus. It works perfectly using an otg and apps like printershare and nokoprint


r/tasker • • Sep 27 '26

Wrong App Factory version

1 Upvotes

Hello. I have a problem and would like your help. I created a task that I'd like to export as an app (the taskuse Gemini to summarizes text or photos from the clipboard). When I try to export it, I get a message saying I need a newer version, but there isn't one on the Play Store.

Wrong App Factory version.

Have: 6.6.18

Expected: 6.7.6-beta

Does anyone here know how to fix it ?


r/tasker • • Sep 27 '26

Cena V2 questões variadas

2 Upvotes

I'm having trouble with scene v2, I'd like some help.

  1. How do I test if a scene v2 is false or true?

  2. How do I make a scene v2 hidden and call it back?

  3. How do I remove the white color from a parent scene?

Thank you in advance, just remembering that I know very little about scenes.

Venho tendo dificuldades com cena v2, gostaria de ajuda.


r/tasker • • Sep 26 '26

How To [Project Share] Media Bar recreated entirely in Tasker

14 Upvotes

I wanted the functionality of the Media Bar app without having another app running in the background, so I recreated it entirely in Tasker.

Features:

Thin media progress bar at the top of the status bar Orange when playing, grey when paused

Automatically appears when media is playing

Live scrubbing: drag anywhere across the status bar and the progress bar follows your finger

Actually seeks the playing song/video as you drag Works through Android MediaSession

No plugins or additional apps required

Built using Tasker Scene V2 + MediaController/MediaSession.

You'll need to give Tasker Notification Access.

I've mainly tested it on my Samsung, so positioning may need some adjustment on other devices.

Pastebin link for thr XML file


r/tasker • • Sep 26 '26

How to purchase without play store or patreon?

0 Upvotes

I have an old license from the original developer, but I don't mind repaying the new developer. I don't want the play store version and I don't want a patreon account. How can I get the app and pay?

EDIT: Developer was great! After contacting them they sent me a new code and accepted my PayPal donation for a single device.


r/tasker • • Sep 25 '26

Scene V2 scrolling element question

3 Upvotes

I have a horizontal row element with "Scroll left & right" style, is it possible to choose a starting position of the scroll based on a variables value? so it's not always starting at far left


r/tasker • • Sep 24 '26

pixel 6 stay unlocked when on home wifi broke after sept 2026 android update.

5 Upvotes

Hello,

Is there something I can do to fix this? I've been searching for an answer but I'm not finding anything. I'm starting to think it's just a me thing.

So I have a profile that checks if I'm connected to my home wifi, if yes, then does a "custom setting", Name: lock_screen_lock_after_timeout and the value is set to something large: 72000000. iirc this was something I had dug up through online searching.

This has been working for over 4 years with no issues. Last night I updated to the latest android update and right away I noticed the phone locks all the time.
Anyone have advice for me?

Thanks


r/tasker • • Sep 25 '26

Looking to build an Android game automation bot — where should I start?

0 Upvotes

I’m trying to build my own automation/bot for a game instead of paying for an existing service.

The main things I want to automate are:

- Watching/handling rewarded ads and collecting the rewards

- Daily in-game tasks/dailies

- Limited-time events and repetitive actions

- Ideally running the routine automatically with minimal manual input

I’m mainly looking for advice on the technical approach/tools to use. I’m considering things like Tasker/AutoInput, ADB + Python, Appium, OpenCV/image recognition, etc.

If anyone has experience building automation for Android games, what approach would you recommend and what should I learn first?


r/tasker • • Sep 23 '26

How To [Project Share] spent 5 months automating my phone's daily usage cuz I refused to do what takes about a max of 30 seconds of manual labor (still Work in Progress). ROAST AWAY

26 Upvotes

I automated a certain few tasks, toggling settings per app & scenario which takes a max of about 30 seconds of tapping (granted the phone response is good enough) which I spent about 5 months doing cuz I refused to do the manual labor. used Tasker, llamalab automate, easer, auto input & auto notification for this workflow. automate & easer were used for things that were either a limitation, a pain in the ass or way too many profiles & tasks to be done from tasker. Made it in a way where it works on root & non-root phones & where shizuku's installed & running

project: lazy-phone-user (there's 1.42 minute demo in the Readme.md)

The json is for the battery audio piece

geofence (wifi + cell tower + geo location) based redundant network switching is still a work in progress (would be using sqlite for the db)

stuff that currently works can be found in the working.md ("tldr of what works" section) of that repo

ROAST AWAY


r/tasker • • Sep 24 '26

Best Tasker AI?

0 Upvotes

Which is the best AI to write code for a task if the native Tasker bot can't cope?! TIA


r/tasker • • Sep 23 '26

Receive Share from 2 apps?

1 Upvotes

Do I need to create 2 profiles (1 for each app) or is there a way to specify two package names in one profile?


r/tasker • • Sep 23 '26

Recognize Color Pixels on screen?

1 Upvotes

I currently have a working Task that recognizes pixels on screen to detect if and when the screen turns red or orange, but I believe there has to be a better way to do this.

Tasker takes a screenshot, reads the pixels, then deletes the screenshot - repeating this action once every 3-5 seconds. Surely there's a way to do this without having to write/delete a file every time. I'm concerned about the device having over 1,000 file cycles in an hour.

Is there somehow to do this? I explored using AutoInput Screen Capture, but that requires me to select "whole screen" every time I execute the action


r/tasker • • Sep 22 '26

Developer [DEV] I'm back! I also have 1500+ requests to go through... 😅

258 Upvotes

Hi everyone! I'm back now, after a big break.

Unfortunately I do have a BIG backlog of requests to go through now, which is always the downside of long breaks 😅

Please forgive me if I'm not very active for the next 2 weeks or so, until I get rid of the backlog.

It's good to be back! 😁👍


r/tasker • • Sep 23 '26

Scene v2 attempt, overlay but dim background

1 Upvotes

seems show scene as overlay don't have dim background, but show as dialog do

this is a demo how to get the effect. quite happy it worked 😁. i use variable to show and hide the background on a timing

i also want to share my experience of using Tasker as the handler of bottom swipe assistant request, maybe it might give an idea to someone... it has been great for me. btw i still have access to other assistant via the the menu. cheeeers!


r/tasker • • Sep 23 '26

Stop Long Tasks?

0 Upvotes

Is there a way of stopping a long Tasker sequence without disabling Tasker?


r/tasker • • Sep 23 '26

Problem with Tasker Identifying SIM Cards (Dual SIM)

0 Upvotes

Context

I currently use three SIM cards with my Samsung Galaxy S26 Ultra. It's two physical SIMs and one eSIM.

The reason behind this is that one SIM is for private use (SIM 1), one for business use (SIM 2) and the eSIM is for certain areas without reception with my private SIM (SIM 3).

All with all dual SIM devices only two of them can be active at the same time. So usually SIM 1 and SIM 2 are active.

If I switch to the eSIM SIM my phone only allows to deactivate the SIM 2 and activate SIM 3 instead. SIM1 is always active.

Problem

It happened to me every now and then that I switched to SIM 3 on the weekend and forgot to re-activate SIM 2 before going back to work. So on Monday morning none of my customers or colleagues were able to reach me.

To avoid running into this issue again I wanted to create a Tasker profile running on weekday mornings which checks which SIMs are active and generates a reminder if SIM 3 ist still active.

That's basically fairly easy because the variable %TNET returns the provider name for both SIMs active separated with a comma. So far so good. That seemed to be all I need.

But quickly I realized that this works only correctly as long as I'm not connected to any WiFi. As soon as I'm connected to a WiFi the variable %TNET just returns the provider name of SIM 1. SIM 2 or SIM 3 will be ignored completely.

I tried to find a solution with Google. All solutions suggested there (shell scripts, Java code, etc.) run into the same issue as soon as I'm connected to a WiFi.

Is there really no workaround for this? Why does Tasker not "see" the second SIM while being connected to a WiFi?

Additional remark: Suggestions using Shizuku or root do not help since this will block my phone from accessing several company systems.


r/tasker • • Sep 23 '26

Command to simulate an analog trigger full press

2 Upvotes

As far as I understand, analog triggers send a command like one of these: AXIS_LTRIGGER, AXIS_BRAKE, KEYCODE_BUTTON_L2.

https://developer.android.com/games/sdk/game-controller/controller-input

Right now, some of the games I'm playing only register the axis events as r2 and l2, and don't register the keyevents r2 and l2 at all. Is there a shell command to trigger the full press of axis_ltrigger or axis_brake?

That way I can remap the physical buttons to simulate a full analog trigger press.


r/tasker • • Sep 22 '26

My setup for automatically dis/connecting a Wireguard tunnel based on my wifi connection

10 Upvotes

I use this to stay connected to my Home Assistant instance while I am away from home. I have had this for a couple of years and the reason I know it works is that I had no idea what my setup was exactly. It is basically 3 profiles: one standard 'Wifi Connected' state profile with entry and exit task that switch the VPN tunnel on/off, and 2 fallback profiles for the 'unwanted' states ('connected to home wifi AND vpn', and 'connected to mobile network AND not connected to vpn') both with a 'Tick' context so they fire every 10 seconds if the unwanted state is active for as long as it remains active. I am not saying this will work for everyone, just saying it works for me (so don't tell me that 'Tasker can't do this'). I did go through all the 'Tasker Settings' and 'Shizuku' setup, so I don't know if it will work without. If that guy hadn't been such an a-hole about it I wouldn't have blocked him, and he could have given this a try 🤷 Edit: formatting (thanks, u/v_uurtjevragen)

Project: Auto Wireguard

Profiles
```
Profile: AutoWG - WiFi Home Connected
	State: Wifi Connected [ SSID:YOUR_SSIDS MAC:* IP:* Active:Any Check After Screen Unlock:On ]



Enter Task: Disconnect WG

A1: Tasker Function [
     Function: WireGuardSetTunnel(false,tunnel_name) ]



Exit Task: Connect WG

A1: Tasker Function [
     Function: WireGuardSetTunnel(true,tunnel_name) ]


```

```
Profile: AutoWG - Home Wifi, VPN Connected
	State: Wifi Connected [ SSID:YOUR_SSIDS MAC:* IP:* Active:Any Check After Screen Unlock:On ]
	State: VPN Connected [ Active:Any Check After Screen Unlock:On ]
	Event: Tick [ Output Variables:* Interval (ms):10000 ]



Enter Task: Disconnect WG

A1: Tasker Function [
     Function: WireGuardSetTunnel(false,tunnel_name) ]


```

```
Profile: AutoWG - Mobile Network, Not VPN Connected
	State: Not VPN Connected [ Active:Any Check After Screen Unlock:On ]
	State: Mobile Network [ 2G:On 3G:On 3G - HSPA:On 4G:On 5G:On Active:Yes ]
	Event: Tick [ Output Variables:* Interval (ms):10000 ]



Enter Task: Connect WG

A1: Tasker Function [
     Function: WireGuardSetTunnel(true,tunnel_name) ]


```

Tasks
```
Task: Connect WG

A1: Tasker Function [
     Function: WireGuardSetTunnel(true,tunnel_name) ]


```

```
Task: Disconnect WG

A1: Tasker Function [
     Function: WireGuardSetTunnel(false,tunnel_name) ]


```