I have recently changed my Moto G LTE (XT1039) from Android 4.x to 5.1. The device is not rooted.

After the update, I found that Llama - Location Profiles's toggle mobile data - mobile data off action fails to disable my mobile data.

After checking out a few alternatives, I found that several automation apps have reviews mentioning a similar situation. For example Data ON-OFF has this review:

Not working 5.1 motto 4g Used to work on 4.4.4 uninstalled until it gets an update.

How do I automate the toggling of mobile data on/off in Android 5.1?

Or, has there been a change to the Android API to remove this functionality?

  • How or when exactly do you want to toggle or disable mobile data? Please mention those details. Other than that, is the device rooted?
    – Firelord
    Jun 28, 2015 at 17:09
  • Device is not rooted. I like to turn of data before midnight to minimise charges. Jun 28, 2015 at 17:13
  • 2
    Sorry to be the bearer of bad news: but without root, you won't be able to do that anymore. One of the big "new features" of each Android version is that it takes one of those toggles out of the reach of apps and automation. With Lollipop, that was "mobile data". Only root apps can toggle that now.
    – Izzy
    Jul 26, 2015 at 23:57

3 Answers 3


You can try Tasker which is paid but really powerful app.

  • You can create a profile based on an event, schedule, or according to your preference.

  • Then you can create a task with an action from Net > Mobile Data section.

Note: this action requires either root, ADB WiFi to be enabled, or permission to write secure settings.


Automate can toggle Mobile data, however it require a rooted device since Android 5. It can likely be done on unrooted device as well, using UI automation.


"Toggle Data 5.0" appears to be an app/widget that should do what you are asking.

The app is paid (but free on XDA) and requires root. Hope this helps. =)


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .