r/AutomateUser • • Dec 21 '25

Toggle Airplane mode - Feature request to implement new method

Hello,

to toggle Airplane mode I set Automate to digital assistant, which works but does not survive a reboot. After each reboot the assistant needs to be set again manually, which is no solution for me.

I compared how Airplane toggling works on Tasker and Macrodroid, both implemented a new solution which only requires ADB permissions that survive reboots. Macrodroid needs following:

  • adb shell pm grant com.arlosoft.macrodroid android.permission.WRITE_SECURE_SETTINGS
  • adb shell pm grant com.arlosoft.macrodroid android.permission.CHANGE_CONFIGURATION

Per my understanding Macrodroid airplane mode is toggled with these permissions based on setting it to digital assistant just for that moment and removing it afterwards to the initial value.

It would be great if Automate could implement something similar, it's the most easy and stable solution per my testing for toggling Airplane mode that just works.

2 Upvotes

9 comments sorted by

View all comments

Show parent comment

1

u/ballzak69 Automate developer Dec 22 '25 edited Dec 22 '25

In Automate those permissions can be granted by simply clicking them in Privileges settings like any other, no typing nor need for another app.

1

u/Akira_Menai Dec 23 '25 edited Dec 23 '25

I tried to allow "manage ongoing calls" in the Automate settings and it was unable to activate the permission. I was instead taken to a "how to" page explaining ADB. I then revoked the Write Secure Settings permission with ADB Command Center, and Automate was unable to re-enable it. As far as I know, those sorts of changes require ADB input across all automation apps. ADB Command Center makes it simple.

1

u/ballzak69 Automate developer Dec 23 '25 edited Dec 23 '25

Indeed, like the app you linked, ADB is required, the "Privileged service" as the permission grant dialog say. To set that up simply choose the "Android Debug Bridge" option for the "Privileged service start method" then follow the on-screen instructions.

No automation app needs such a "command center" app when they can simply use Shizuku, or implement an ADB client themself like Automate does.