yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] cygery:
Maybe this one: https://play.google.com/store/apps/details?id=com.notifidgets

I haven't tested it though and I'm not affiliated with the developer in any way, just read about it on AP.
[Android Apps and Games] UncleAcid:
AP?

That one is a good fit for now :) Couple things I'd like different, but as an extra thing, anything is great. Surprised this didn't show up when I was looking ... Thanks.
[Android Apps and Games] cygery:
AndroidPolice.
[Android Apps and Games] JoostinOnline:
As some other people have reported, the small icon doesn't change when disabling mobile data. However, The larger one does, which I haven't seen mentioned.

I'm using the latest version (as of this post), and running Lollipop on a Samsung Galaxy 4.
[Android Apps and Games] JoostinOnline:
Does that mean "Look at the original post"? If so, I did.

Maybe I just don't understand the difference between a shortcut and a widget. Doesn't a shortcut open an app? If the rounded corner version opens an app, it must be closing immediately. I assumed you'd added the rounded cornered version as a widget (since it doesn't open an app and is in the widgets menu), but hadn't updated the OP.
[Android Apps and Games] cygery:
Yes.

Yes, the shortcut opens an app. Here, it's directly closed again. When you add the shortcut to your homescreen, you configure an action which happens when you click the shortcut. Since there's nothing more to do, when you click the shortcut the app is opened, the action executed, and the app is closed again. However, it's static so I doesn't reflect whether data is on or not (in contrast to the widget).
[Android Apps and Games] hpt1988:
Sorry for sending a post just for saying THANKS.

I am using NEXUS 4, and after upgrading to android 5.1, secure settings which is a tasker plugin didn't work for toggling data. Therefore, I googled my problem and figured out how to do that.

I do appreciate your great job, specially for it's tasker plugin.

Ich bin auch aus Deutschland ;)
[Android Apps and Games] JoostinOnline:
Could I please have the png files for the on, off, and changing icons? I'd really like to make them smaller, because the giant widget looks so out of place on my screen.

Sent from behind you
[Android Apps and Games] cygery:
The widget size is determined by your launcher/homescreen and not by the icons. Even if you'd add a border around them there's still the bar at the bottom which is independent from that and always extends over the whole width.
[Android Apps and Games] android_patrizian:
[MENTION=5253144]cygery[/MENTION] Thanks a lot for this app. [emoji4]

I'm using it as locale plugin from Llama on CM 12.1 and it works without any problems. [emoji106]

*** Galaxy S4 with Tapatalk ***
[Android Apps and Games] optimummind:
I can confirm this app works on the Galaxy S6 Edge.
[Android Apps and Games] KB2VYZ:
How can I make the widget change colors in its different states? I did set it to custom colors and adjusted the colors to my liking, but the widget doesn't change. Doesn't affect the operation of the widget, which seems to be the ONLY widget around that will turn data on/off. All of the others that actually do anything only take you to the data settings menu.

Sent with my GPE 5.1 HTC DROID DNA using XDA Premium
[Android Apps and Games] cygery:
Can you confirm that you're indeed using the widget (see screenshots in OP) and not the shortcut (static, rounded corners)?

Did you select "custom color" in the type setting at the top for each state?
[Android Apps and Games] KB2VYZ:
I'm definitely using the widget, not the shortcut (I attached a screenshot, you'll see I renamed it data). And I also selected custom color and adjusted all three to the colors of my liking.

Sent with my GPE 5.1 HTC DROID DNA using XDA Premium
[Android Apps and Games] cygery:
That's the shortcut (cf. OP).
[Android Apps and Games] KB2VYZ:
You're absolutely right [MENTION=5253144]cygery[/MENTION], I was using the shortcut, which also works great at switching data on and off lol. I assumed that because it was in my widgets list, that is was a widget (normally shortcuts say they're shortcuts). You would think that instructions with pictures one would do well lol. Thanks again cygery.

Sent with my GPE 5.1 HTC DROID DNA using XDA Premium
[Android Apps and Games] jazzh:
I just found out about this, gonna try it...
[Android Apps and Games] ismailakarim:
thanx

thanx for your program. i am using it with locale. it works good but it works 5-6 times in a minute. In the background it opens and close data so much. I looked the SU log and saw there in a minute it runs 5-6 times.

can you make a change for your program that it will run when locale/tasker need to toggle the data?
[Android Apps and Games] cygery:
No but read OP and disable the SuperSU notifications/logging if you like.
[Android Apps and Games] kemdark:
Working on N910H with automateit app.

Smart volume control+ app doesn't.

Thanks
[Android Apps and Games] Kjc99:
Thanks for this widget finally have a 3rd party data toggle that actually works on my S6...is there a way to use a gesture through Nova launcher to toggle on and off?
[Android Apps and Games] cygery:
Yes, you can use the shortcut feature of this app when creating the gesture.
[Android Apps and Games] Kjc99:
I've tried all of these and always says "invalid action received" and I have checked allow external access.... Any advice to use a Nova gesture to turn on/off my mobile data?

*edit* made it harder than I thought... Went to shortcuts instead of activities and all is working! Great work [MENTION=5253144]cygery[/MENTION]
[Android Apps and Games] eyediver:
Can this work with a non-rooted phone?

Thanks
[Android Apps and Games] -Mr.freeze-:
I have question, why widget work with 2.2+ if you add support to app after v1.3.0
[Android Apps and Games] Cholerabob:
Thank you for making this, works perfectly on Oneplus One for toggling. Only thing i can't get to work is the custom colors for on/off , nothing happens when i slide the bars, colors boxes don't respond and stay greyed out.
[Android Apps and Games] cygery:
Which ROM are you using? Any special (root) tools active?
[Android Apps and Games] Cholerabob:
Stock CM 12s, SuperSu root
[Android Apps and Games] cygery:
I guess your alpha setting is still at zero? Increase that one first.
[Android Apps and Games] Salebro:
Hello,

I haven't found a working solution for switching data/data mode(2G/3G/LTE) since Lolli came out.

You were my last hope, I was so stoked when I found your solutions with M8 in compatible list. It does not work for me tho :(

I am using the latest VipeOneM8 4.3.0 (Android 5.0.1), running their manager Superuser. Also I tried to give it broadcast privileges by Viper tweaks (dunno whether It could affect functioning, but desperate times makes desperate actions :D) with no result.

Neither Toggle Data 5.0 or Toggle Network Type 5.0 does not work for me. Do you think there is something I can do, to make it working properly?

Thank you in advance,

Michal
[Android Apps and Games] cygery:
Regarding Toggle Network Type 5.0: This might be a ROM-related issue, however, I don't know if a different custom ROM would work. There's an issue with the stock ROM (changes to the Android internals by the manufacturer most likely) which appear to be the cause why the app doesn't work there. I guess the custom ROM you're using has the same changes.

Regarding Toggle Data 5.0: What happens when you try to use it? There have been reports that it works on the mentioned device.
[Android Apps and Games] Salebro:
When I try to use widget It's color changes. It appears to be working, yet no changes are made. Interaction using Tasker makes no changes aswell (external access turned on).

Toggle's requests are logged properly, I believe. However I noticed one thing, records are not regular. Sometimes I have 3 records per minute, sometimes 20.
[Android Apps and Games] cygery:
How do you check if "changes are made"? This app toggles mobile data on/off.
[Android Apps and Games] Salebro:
I always check mobile data settings in status bar as well as in general settings.
[Android Apps and Games] cygery:
Please post screenshots of the widget before/after toggling and detailed su logs. Also, try using SuperSU.
[Android Apps and Games] Salebro:
Seems like I identified the problem.

I found out that certain combination of linked tasker profiles was causing Toggle Data not to switch mobile data on/off for some reason. I have no idea why is this happening, because there is nothing that could make such a collision.

My apologies for disturbing with such an issue and thank you for your time and patience :)

I appreciate your work :cowboy:
[Android Apps and Games] cygery:
No problem, thanks for the update :)
[Android Apps and Games] anil2653:
Whenever I am using liquidsmooth rom on my d2tmo, toggle network type 5 is working but with other ROMs it always gives error (all are LP 5.1)

Toggle data is working on all roms without any issues

Hope it may help to identify the cause
[Android Apps and Games] Elaba:
Hello, recently got myself a Dimple.io NFC button sticker for my oneplus and i was wondering if you could make a plugin for this gadget. Would be handy like i currently can toggle wifi and bluetooth with it.

Thanks
[Android Apps and Games] cygery:
No, but that should be possible using Trigger (either with the Locale/Tasker plugin or the shortcut feature of this app).
[Android Apps and Games] Elaba:
I have tried these already, all i can do is open the app, not toggle the widget. The widget is not listed, only the app itself. I tried tasker aswell but same here, only can open the app, not toggle a preset.
[Android Apps and Games] cygery:
You can use Trigger to launch a Tasker task. In this Tasker task, add an action, select "plugin" and then this app. Configure it and save the action, exit Tasker and it should work. Don't launch the app/an activity but use the Locale/Tasker plugin.
[Android Apps and Games] Elaba:
Allright, thanks for the info and good guide, it works ;)
[Android Apps and Games] vyze:
Samsung Galaxy S4 Active AT&T SGH-i537 works!

Thank you so much!

I am running 5.0.1 rooted with build LRX22C.I537UCUCOC6

I only tested vertion 1.5.2.0 but had zero issues. Able to customize icons and have awesome launcher (Nova Launcher Prime) integration.
[Android Apps and Games] Micha_Btz:
For me it sadly didn't work. I use a Sony Z1 compact. With cyanogenmod 12.1.

From 15.6.15

The Widgets ask if root is enabled. But it works for other apps without

problems. I atatch a log from catlog. Any solutions?

Micha
[Android Apps and Games] cygery:
SELinux enforcing/SuperSU installed (cf. OP)?
[Android Apps and Games] Mah8:
I downloaded the app on my Galaxy a7 did not work
[Android Apps and Games] cygery:
Error message/code? SuperSU?
[Android Apps and Games] FdeKlerk:
WOW!

Hi, Using an S6 Edge sm-g925f android 5.0.2 and this worked like a charm, thanks man.:good:
[Android Apps and Games] 97vulcan:
How do I integrate this app into Tasker to run when WiFi is enabled?

Thanks!
[Android Apps and Games] rodaven:
Working great on my Moto X 2013, thanks!

Enviado desde mi XT1058 mediante Tapatalk
[Android Apps and Games] adxuser:
Moto G LTE stock L5.1 :)

Thanks a lot.
[Android Apps and Games] plittlefield:
Nope, does not work for me. CyanogenMod 12.1 running Android 5.1.1 on a Samsung Galaxy S4 Mini GT-I9195 LTE.
[Android Apps and Games] cygery:
Read OP? Error?
[Android Apps and Games] plittlefield:
The app installs fine, but when you run it, It says "you do not have root." I have gone into the settings and when I tick "run as root" it pops up an error saying "no root access". Which ofcourse, is a nonsense, because I do with CM.
[Android Apps and Games] cygery:
-> OP (SELinux/SuperSU)
[Android Apps and Games] plittlefield:
Sorry, I don't know what that means!
[Android Apps and Games] cygery:
Search the thread/online.
[Android Apps and Games] wowee_zowee:
Works fine on Galaxy S2 with CM 12.1, after installing SuperSU.
[Android Apps and Games] N3RO815:
Hi.

Why does every few minutes the message Superuser rights assign?
[Android Apps and Games] Guido83:
+1
[Android Apps and Games] bombadier:
[MENTION=4083739]Guido83[/MENTION]

[MENTION=2819346]OOmatrixOO[/MENTION]

From the first post on the first page, xda's place to keep a secret

"Please note: The widget is passive. Thus, it has to request root every time it is refreshed. Although the battery impact is negligible, this usually results in frequent (Toast) messages indicating that the app was granted root rights. Please refer to your superuser management app if you'd like to disable those messages specifically for this app."
[Android Apps and Games] Racoonator:
Cm 12.1 & Galaxy S4

Hello,

I have cyanogenmod 12.1 installed on my S4, and Toogle Data complains it can't have root access.

Yes, I read the OP but I don't want to install supersu because Cm 12.1 already have its root module.

So I try to change SeLinux mode with the setenforce 0 command, unfortunately I got the same problem.

Any ideas to make toggle data working on CM12.1?

Really I'm thinking to downgrade to kitkat.

Regards.
[Android Apps and Games] cygery:
There are no changes regarding root/SELinux planned from my end at this time.

Did you reboot your device after setting SELinux to permissive? Maybe try an app which can control SELinux permissive/enforcing state (to confirm your command worked)?
[Android Apps and Games] Racoonator:
Hi,

I follow your advice and install selinux mode changer (great app, I don't know her).

With it, when I set mode to permissive Toggle Data works very well !

I'm very happy, thank you very much for your help.

Regards.
[Android Apps and Games] JusTeN_:
Not working for me as tasker plugin 5.1.1 s6.
[Android Apps and Games] cygery:
Error?
[Android Apps and Games] JusTeN_:
Actually, I guess it was a problem in tasker as in an other profile it working great, thanks!
[Android Apps and Games] Alexace11:
not working..

Hi, my phone is HTC M7 running Skydragon GPE 5.1 the widget doesnt work at all (on or off both doesnt work, no matter how many times i tap the widget , or how long i waited ) :confused:though root has been granted/allowed permanently
[Android Apps and Games] cygery:
Any (error) messages? Screenshots please.
[Android Apps and Games] Alexace11:
err..

there's no error messages as such...

just not working.. weird..

my supersu is working correctly, other apps &/ widgets all no problem also
[Android Apps and Games] cygery:
Please post full SuperSU logs of this app and screenshots of the widget before/after trying to toggle.
[Android Apps and Games] Ubertroco:
Just wanted to say thanks! Was looking for something like this! Working flawless using Tasker plugin in Moto Maxx Lollipop 5.0.2
[Android Apps and Games] nebukhepera:
Thank You

New to using Tasker and other programs that give me control over my phones inner workings and was slightly upset when the CM12 official was not allowing me to use the Secure Settings to toggle my data connection. I appreciate the work around you created to allow me to continue to use this custom ROM and the Android 5.1 and still maintain control over my LG G3 VS985. Thanks you so much; it works great!
[Android Apps and Games] jrbmed08:
Thanks for this app! I'd like to use it with tasker to turn off mobile data when I'm on WiFi. Just downloaded this and there are a few problems. Hopefully you can help. It doesn't show up as a tasker plugin for me (the 2G/3G toggle app on the other hand does). There's no app icon in the app drawer either, but I'm not sure if there's supposed to be. Also when I tap the widget it works great to turn off data but won't turn it back on. Turns blue but does nothing. I'm using a Verizon Moto X XT1096 on 5.1 rooted via mofo (no unlocked bootloader and write protection is not disabled).
[Android Apps and Games] cygery:
Sounds like you have an outdated version, check OP to get the latest one.
[Android Apps and Games] jrbmed08:
Thanks! I'm an idiot and assumed that the top one was the most recent.
[Android Apps and Games] jkidz91:
Just want to say thank you very much for this plugin :) it makes my phone run smarter now!
[Android Apps and Games] johnduong1510:
good app, nice job man
[Android Apps and Games] daniu:
Hi,

I installed this app but it does not really satisfy my need:

in KK I used a shell action in tasker to find out wether mobile_data is switched on - it did: "settings get global mobile_data" and returned the value to a variable. This way I got the state of the switch rather than the availability of a mobile_network.

It seems like your plugin does not give me the same value but rather the availablity of mobile_network.

Would there be a way to get what I had before?

regards
[Android Apps and Games] cygery:
Works fine here. The Locale/Tasker plugin reflects the widget state. When data is toggled externally, e.g., via the system settings, it can take some minutes until this app updates its state.
[Android Apps and Games] voodoo.mutt:
nice! works on my HTC One M9
[Android Apps and Games] sirclesam:
Thanks! Working for me on my S6 using both on it's own and as a Tasker Plugin!
[Android Apps and Games] erriperry:
Nice app! Works on my Samsung Galaxy Y.

Sent from my GT-S5360 (Galaxy Y)
[Android Apps and Games] philiptrip:
It doesn't seem to work on LG Magna H500. Su permission is granted, but 3rd party applications still can't toggle data.
[Android Apps and Games] cygery:
Did you enable external access? Any error message?
[Android Apps and Games] philiptrip:
Yes, I've enabled the external access and rebooted the phone to be sure. So far I have tried Tasker and an app called "WiFi/Data-Auto Off|On" and neither of them works unfortunately.
[Android Apps and Games] cygery:
Does the widget work?

Again, any error or other messages?

What exactly happens when you try to toggle?

Do you use the Locale/Tasker plugin or the shortcut feature? How did you configure the app?
[Android Apps and Games] Mac:artur3000:
awesome

Excellent it works great, but if can´t make that the icon change the color to know if mobile data is on or off
[Android Apps and Games] cygery:
OP
[Android Apps and Games] Lottoman:
How to uninstall?

I can not uninstall this app. It seems like it do, but is back when i start ther phone again. Have been using it together with Mobile Radio and that too has the same problem. No problem uninstalling other programs. Thery are listed under user apps, not system app. I am rooted on OPO running CM 12.1. What am I doing wrong? Please help. Tried in the OPO forum but no luck there either. :crying:
[Android Apps and Games] cygery:
Never heard about this issue. Anyone else experiencing this?

You could try to boot into safe mode and then uninstall it.
[Android Apps and Games] Lottoman:
Thanks for answer, but no, unistalling in safe mode did not help. Both prgram are back again when restarting. I am totally lost here...:crying:
[Android Apps and Games] cygery:
Did you install the apk from the thread or got it via Google Play?

"Mobile Radio" means which app exactly?
[Android Apps and Games] Lottoman:
From thread I think. Mobile Radio 1.1. beta2. Toggle Data 1.5.20.
[Android Apps and Games] cygery:
If you find the reason/a solution please post here. I'm unable to help you there, might be an issue with your device, ROM, or another app you've installed.
[Android Apps and Games] Lottoman:
OK, Thanks. Ill try a clean install laster and get rid of them that way. :good:
[Android Apps and Games] Kinto:
Works like a charm on my Moto X XT1053 in Lollipop 5.1 as a LLAMA plugin, with SU permission granted! Thanks

Just one question: is it normal to see quite some toast messages by SU, about TOGGLE DATA was permitted SU access?

Without my request and even when there is no LLAMA event!

Appiccicato con Moto X
[Android Apps and Games] Kinto:
Oh crap! Sorry!!!

I did not read carefully that phrase

My bad

Perfect work then ^_^

(but why does it need so many refreshes? It is not safe enough to let it dormient until a locale/tasker/llama or user event triggers it? Just for info :) )
[Android Apps and Games] cygery:
Could be changed but would require much caution/more complex checks. Changes can be done externally, e.g., via the system settings. Thus, I refresh the state periodically and when a connectivity change occurs. Automatic updates might be optional via a new setting in future, though.
[Android Apps and Games] sabadollah:
Cannot find 2g/3g/lte toggle in app or tasker plugin anymore.

In currently using lollipop 5.1.1.
[Android Apps and Games] cygery:
Wrong thread, lacks info (app version, changes made by you, etc.).
[Android Apps and Games] sabadollah:
I'm sorry for the lack of info.

I'm using note 4 with wanam lite lollipop 5.1.1 rom by wanam. Using toggle data 5.0 v 1.5.2.0.

Can only toggle data on and off with the app.
[Android Apps and Games] cygery:
Can you be more specific? Which problems?
[Android Apps and Games] nickslg:
confirmed working on rooted nexus 4 running loliipop
[Android Apps and Games] trawel:
Nexus 5, using Llama (and locale plugin), working fine, thanks.
[Android Apps and Games] 1iwilly:
actually there is an old thread to this where you simply add the word mobil data using sqlite editor been using it for a few months now. in the quick settings. here is the thread for reference=http://xdaforums.com/showthread.php?t=2721550
[Android Apps and Games] natibongo:
It works flawlessly on my xperia z running on rooted pabx lollipop build.

Toggling data on lollipop is time wasting.You've built a superb app.Thanks so much cygery for this awesome app.More grease to your elbow.
[Android Apps and Games] cygery:
Does this work on Android 5.0?
[Android Apps and Games] MaxNXS:
Working fine on N5 with Tasker.

Thanks.

Are you still looking in adding the 2g/3g/lte toggle option?
[Android Apps and Games] cygery:
Yes, I'm still looking into it but I'd probably implement this in a new app.
[Android Apps and Games] rothod:
thanks

working on my oneplus rooted with both kk 4.4.4 and lollipop 5.0 :D
[Android Apps and Games] tylerdurden83:
nm me
[Android Apps and Games] bradley26:
I have verified that it works running lollipop on Moto X 2014 pure edition.
[Android Apps and Games] methuselah:
nice work

well goona try once ota from motrola. Well reminded me of old days on my wildfire buzz 1 click wifi toggle data...:cowboy:
[Android Apps and Games] jahman42:
works on sideloaded lollipop stock rooted.

Hey SUPER THANKS for the widget! I would like to use your toggle with power widgets and lama is that a possibility? Thanks in advance.
[Android Apps and Games] optimummind:
The custom images function works well, thank you.

What is the ideal size, pixel-wise, for the icons? I chose some icon images but they came out looking very small next to my other icons on the dock.
[Android Apps and Games] CatThief:
It works flawlessly!!! Consider this positive feedback from a happy Nexus 5 user running Lollipop. :)
[Android Apps and Games] arma_esiea:
Thank's you very much !

Can you add an other option to toggle airplane mode in the Local plugin ?
[Android Apps and Games] cygery:
I don't know about power toggles but it should work with Llama via the Locale/Tasker plugin.
[Android Apps and Games] cygery:
Can you post a screenshot? It should work independent from the icon size (I've tested with 10x10 up to mega pixel images). Large images are first downsampled so a large size is no issue. All icons are scaled to fit, preserving aspect ratio. Thus, it's best to use square icons.

Edit: I'm using 240x240 images for the included icons which should look good on all current devices.
[Android Apps and Games] cygery:
Not in this app. I've published a similar (paid) app on Google Play called "Toggle Airplane 5.0" which also includes a Locale compatible plugin.
[Android Apps and Games] gobak:
Aye, it works with Power Toggles...
[Android Apps and Games] cygery:
That's what this app does. I guess you might want to use my other app, Toggle Network Type 5.0, which has its own thread.