I have recently changed my Moto G LTE (XT1039) from android 4.x to 5.1.

After the update I have 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 have 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 '15 at 17:09
  • Device is not rooted. I like to turn of data before midnight to minimise charges. – Kelly Thomas Jun 28 '15 at 17:13
  • 1
    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 '15 at 23:57

There appears to be an app/widget on XDA that should do what you are asking.

Link to the thread can be found here - Link to the app in the play store can be found here

The app is paid and requires root. Hope this helps. =)

| improve this answer | |
  • 2
    "Toggle Data 5.0 (root)" is the name of the app, in case someone finds the app link being expired in future. – Firelord Jun 28 '15 at 17:07

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

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

  • Than you can create task in NET > Mobile Data section.

| improve this answer | |
  • 1
    Tasker 4.7u1 trial displays the following message: "Sorry! Mobile Data is not available in Android 5.0+, try the Secure Settings plugin and a rooted device". – Kelly Thomas Jun 28 '15 at 11:48
  • Ok .. I am updating my answer.. – Ash-Ishh.. Jun 28 '15 at 11:55

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.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.