yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] cygery:
I'm not using Oxygen OS. Is there maybe anything built-in which disables root apps by default?
[Android Apps and Games] big_kitch:
I don't think so. I have rooted with SuperSU and have other apps that have root?
[Android Apps and Games] cygery:
Which version of this app do you have installed?
[Android Apps and Games] sfs15:
The widget of these apps (toggle mobile data and toggle 3g/4g) are not workign on my N5. I always see the same icon when i press the widget and neither the switch does actually work.
[Android Apps and Games] cygery:
-> OP (you're using the shortcut instead of the widget)

External access enabled?
[Android Apps and Games] sfs15:
External access enabled, i added the widget from my launcher (google now)
[Android Apps and Games] cygery:
Please upload a screenshot.
[Android Apps and Games] big_kitch:
1.0.2.0
[Android Apps and Games] cygery:
Please update to the latest version (1.5.2.0).
[Android Apps and Games] big_kitch:
Thanks. That worked. I blinded assumed the one at the top of the list was the most recent. Doh...
[Android Apps and Games] sfs15:
The screenshot is the default image of the widget when data is on (this one you posted: http://i.cygery.com/screenshots/apps/android/toggledata/small/phone_toggledata_2.png ) but its edges are a little smoother, and the image does not change when i press it, nor does mobile data turn off/on. The requirements are stock android 5.1 and root access (supersu), aren't they? [ Thank you for your help ]
[Android Apps and Games] cygery:
You're using the shortcut instead of the widget. If the widget doesn't appear next to the shortcut in the widget list then try to reboot your device.
[Android Apps and Games] sfs15:
Probably I'm just a retard .. It works perfectly now (after reboot), thank you very much ;)
[Android Apps and Games] Azlun:
My SuperSU 2.46 Rooted

•Nexus 6 LRX22C

•Nexus 5 LMY47D

both have two problems1,

1 when I press the toggle widget, the root access message do not appear, and the Data setting is not changed.

after about 30 seconds, the meesage comes, but setting still not in control,

such issues is not 100% appears, it is around 80% and more frequirency when I want to turn off a data connections.

2 I can see any widget color change even I have set it green for on, red of off, it is always in gray color no matter how many time I press on it...

any further actions I can make it works?
[Android Apps and Games] cygery:
1. Which message? If it's the dialog to grant root: try granting permanent root rights.

2. Seems that you're using the shortcut instead of the widget. Search this thread for more info.
[Android Apps and Games] jontypine:
When I try and use the app I get error 1. Version 1.5.2.0

See screenshots
[Android Apps and Games] GluulG:
thank u
[Android Apps and Games] cygery:
Read OP? SuperSU or Superuser?
[Android Apps and Games] Azlun:
1 see attachments

2 I think I am clear shortcut and widget different, the shortcut on left of my screen just start app, with full name, am I right?
[Android Apps and Games] Azlun:
OK, I gotten rectangle widget after I reboot it, it can control the switching, but why the 3rd parties app such as Anfo, can not control or read status even I have enable external access in you setting? And Custom colors icon not working?
[Android Apps and Games] cygery:
I can't help you with 3rd-party apps. Please search the thread for using custom colors/images.
[Android Apps and Games] Azlun:
The 3d icon is toggle icon, the middle shortcut from widget list is useless and bring more confuse.... Suggest to remove it from widget list.
[Android Apps and Games] cygery:
The middle icon is from the shortcut and not useless.
[Android Apps and Games] jontypine:
Oops didn't have either installed. Installed SuperSu and now it's working like a charm. Thanks for the help.
[Android Apps and Games] joneshank13:
Toggle not working on S4 lollipop

I have installed the Toggle, but does not work. I have root and the app asks for Superuser permissions and is granted. I placed widget on homepage. I was using Data On-Off and it worked on Kitkat 4.4.4, but does not work for Lollipop.

V 1.5.2.0

I am on AT&T S4 lollipop 5.0.1 and this is the only app not working.

Let me know if you need more info

---------- Post added at 02:08 AM ---------- Previous post was at 01:14 AM ----------

Had to go into Mobile Networks settings and select the Network Operators and then choose your operator and also go into APN settings and make sure it is selected correctly.....then restart phone.
[Android Apps and Games] cygery:
So everything OK now?
[Android Apps and Games] Regys:
Hi,

I have a problem, I have this message

"can't enable wi-fi hotspot, if your device rooted? error 1"

How do it ?
[Android Apps and Games] cygery:
1. This is the wrong thread.

2. Is your device rooted?
[Android Apps and Games] Regys:
Sorry, it's the same thing for "Toggle Data"

And Yes my device is rooted.
[Android Apps and Games] cygery:
Read OP? SuperSU or Superuser? ROM and ROM version?
[Android Apps and Games] Regys:
Rom RESURRECTION REMIX 5.3.9 v5.0.2 - SuperSU
[Android Apps and Games] cygery:
Can you test another custom or stock ROM?
[Android Apps and Games] blax123:
Hello Guys,

I got a problem.

Device: OnePlus One, CM12s (5.0.2), Rooted with Super SU.

I installed this app, and I wanted to gain the feature of 2g/3g switch of tasker again because it lost the feature with lollipop. I activated "allow external access" and made my Tasker Profile WiFi Connected -> switch to 2g, exit task switch to 3g. But it is not working. It always stays on the same network mode. What I'm doing wrong? I'm using latest Tasker and latest Toggle Data Pro from Play Store

Sent from my OnePlus One
[Android Apps and Games] cygery:
Toggle Data 5.0 doesn't change the (preferred) network type. Do you mean Toggle Network Type 5.0? If yes, please post in the thread there.
[Android Apps and Games] Regys:
No I can not. You do not know where that can come ?
[Android Apps and Games] kezzap42:
Unfortunately, didn't Work on p760. My device didn

't open the apk :(
[Android Apps and Games] cygery:
Do you already have Android 5.0?

What exactly happens when you try to open the app? Is there any error shown?
[Android Apps and Games] cygery:
Custom image support will be included in the next update later today. You'll be able to select images for the "normal" (unpressed) states, however, it's not possible to define images for the "pressed" states.
[Android Apps and Games] kezzap42:
No, i don't have a 5.0+ device. I have 4.3 jelly bean. I know need 5.0+ device. But i want try. Whatever, thank you for help.
[Android Apps and Games] gobak:
Works like a charm (Nexus 5, Stock Lollipop with Franco Kernel). Thanks for this!
[Android Apps and Games] cell2011:
Awesome works on n4 ty
[Android Apps and Games] chrismast:
Just tried on my N5 within Tasker (test run), seems to be working very well!
[Android Apps and Games] real_becksaufex:
Works flawlessly for nexus 4, stock image, cf root! Thanks mate!
[Android Apps and Games] modyt:
Would be great of the ability to toggle network modes was added. Like 2G only, 3G Only, 2G/3G etc.

Sent from my Nexus 5
[Android Apps and Games] cygery:
Thanks for the suggestion, I'll check if this is possible. If at all, it'd probably be only possible to select one preferred network type but not multiple like 2G/3G.
[Android Apps and Games] cygery:
I've uploaded a new version (1.2.0.0). It includes support for custom images and some smaller fixes and improvements.

You can select images for the "on", "off" and "changing" state. The "changing" state usually shouldn't appear but might in case of errors.

You don't need to select custom images for all states, if you don't select a custom image for a state the default image is used instead.

PS: Thanks for all the feedback!
[Android Apps and Games] Peksman:
Works like charm. Nexus 5 lollipop franco kernel.
[Android Apps and Games] Mohit12:
YES! Came here to post the same as the guy above said. A 2g/3g toggle would be fantastic. Many custom ROMs on the N4 (I'm assuming on the N5 also, but idk) had this feature as a quick toggle. If you could look into the code for that, it might make it a bit easier for you. The options on the Nexus 4 kitkat ROMs were 2g only, 3g only, 2g/3g (whichever is available). This was the single most used feature by me and I'd love it if you could implement it.

Thanks!
[Android Apps and Games] mayurh:
2g 3g lte
[Android Apps and Games] koboldka:
Working fine, stock root Nexus 4, thanks!
[Android Apps and Games] blusydays:
Works fine here, on my N4 with SimpleASOP.
[Android Apps and Games] Web_E:
Thanks for taking up this, only essential thing (after data toggle) I miss badly from gravitybox. "LTE settings" app does this (WCDMA only/GSM Only) but doesn't expose any activity which can be assigned to custom gesture/tusker/power toogles :(
[Android Apps and Games] kenkiller:
Seconded - 2G, 3G , LTE toggle via locale plugin would be fantastic. Much battery savings could be had in my case.
[Android Apps and Games] albert_htc:
Thanks for this.

Tested as widget on Nexus 5.. Works fine

Also tested as custom toggle via PowerToggles. Works great.

Sent from my Nexus 7 (2013) KitKat 4.4.4
[Android Apps and Games] droidfam7707:
Problems on HTC one m8 GPE 5.0 L after granting external access . but the continuous support and development for this device is booming and any/all tweaks/modifications are always appreciated
[Android Apps and Games] aj38584:
Not working on CyanogenMod 12.1 based rom:confused:
[Android Apps and Games] cygery:
It's an issue with getting/using a root shell. Check in SuperSU that the app is whitelisted.
[Android Apps and Games] cygery:
Error message?
[Android Apps and Games] aj38584:
Error -3 I think..can't connect to this type of network..
[Android Apps and Games] cygery:
Check my answer in the other thread. This is an issue at your end.
[Android Apps and Games] hitesh1:
error 1

It was working fine till recently , I on cm12.1 xt1031.

Device is rooted but wiget can't gain root.
[Android Apps and Games] cygery:
Tried SuperSU?
[Android Apps and Games] hitesh1:
Yes, turn Off cm root from developer options, installed SuperSU. Still same.

Super Su don't popup for asking to grant root access.

But for other apps like root checker and ROM tool box it popups and asks for Root permission.
[Android Apps and Games] hitesh1:
Removed and reinstalled SuperSU, now widget working fine !
[Android Apps and Games] androiduser2011:
Working fine on nexus 6 5.1

Wonderful app, have been trying to do since long time.
[Android Apps and Games] Regys:
It works now, I have to re-install SuperSU.

But It does not exist for the wifi only ?

Thx !
[Android Apps and Games] cygery:
I don't understand what you mean with "But It does not exist for the wifi only ?". What doesn't exist? What's the context for "wifi only"?
[Android Apps and Games] Regys:
I mean open and close the wifi, like the Toggle Data.
[Android Apps and Games] cygery:
I haven't developed a widget to toggle Wi-Fi on/off. However, the standard power control widget includes a Wi-Fi toggle.
[Android Apps and Games] hitesh1:
Best thing I like about this widgets is I can set different image for different buttons.

For ON

For OFF.

In progress -
[Android Apps and Games] coup3z:
Installed on my oneplusone with COS 12 and the toggle works just fine.

But when i click "allow external access" it does not do what it says.

Both "profiles" build in app and trigger app do not turn off mobile app data automatically.

Any ideas what can be done?

Thanks and keep up the good work.
[Android Apps and Games] cygery:
Any error message? SuperSU logs? That's an issue at your end.

Are you using the Locale plugin or the shortcut?
[Android Apps and Games] coup3z:
No error. Attached supersu log. Used both the widgets and they worked.
[Android Apps and Games] cygery:
Which apps do you use to access this app's toggle functionality? How exactly do you configure them?
[Android Apps and Games] jdstrydom:
I use the plugin in tasker to control. The plugin is available when the mobile toggle app is installed
[Android Apps and Games] coup3z:
I use the profiles app which is built in cyanogen os and trigger app. Did not actually find how to configure the toggle data 5.o within those 2 apps. I don't think you can.

It s like my root is not "complete" since i cannot toggle mobile data from these 2 apps but can through your app.

As a mention I unlocked and rooted my OPO with the bacon root toolkit by wugfresh.
[Android Apps and Games] cygery:
I can't help you with those app and I don't know if or how they support Locale plugins or shortcuts.
[Android Apps and Games] guybrush1966:
This app is exactly what I was looking for.....bought it immediately!!

This app is exactly what I was looking for.....bought it immediately!

Thanks for you efforts

SimonC

---------- Post added at 07:28 PM ---------- Previous post was at 07:14 PM ----------

Thanks for this....bought it because it's brilliant and you absolutely deserve it!!

Thanks

SimonC
[Android Apps and Games] theelle:
Hi, the app toggle data works good with supersu installed, but on cm12.1 (bacon) there is the native root, and the app doesn't work. There is a way to workaround this?

Perhaps in this last nightly on the cm12.1 is impossible flash supersu…

Thanks for response.
[Android Apps and Games] cygery:
-> OP (try SuperSU)
[Android Apps and Games] theelle:
Error -3 how can resolve?
[Android Apps and Games] cygery:
Are you getting the error on this app or on Toggle Network Type 5.0?
[Android Apps and Games] theelle:
Toggle network Sorry :) can i resolve?
[Android Apps and Games] cygery:
Check the other thread, especially the last couple of pages.
[Android Apps and Games] joneshank13:
Yes it works now. :D
[Android Apps and Games] Vladtheimp14:
Works like a champ, thanks! I disabled the toast messages, too, because those got exhausting.
[Android Apps and Games] beautifulsun:
Why I can't insert custom icons (Alos)?
[Android Apps and Games] cygery:
Search the thread.
[Android Apps and Games] beautifulsun:
Everything is right set. But when I choose an icon from an icon pack do nothing, and also disappear arrow in the widget.
[Android Apps and Games] cygery:
Please post some screenshots, I'm not sure what you mean.
[Android Apps and Games] hitesh1:
^^^

Custom icons / images working fine for me, this is the main reason for me to use this app !
[Android Apps and Games] poldikater:
I tested it on Cyanogenmod 12

Not working. It says "can't enable toggle data , is your device rooted?"

Yes it is. And I am using SuperSU

Who can help? :(
[Android Apps and Games] beautifulsun:
Ok, see attachments please.

1) "On" settings then Custom Icon (only) and going to set one.

2) Browse to Alos Icon Pack and choose an icon. The Icon doesn't appear.

3) Widget result.

Where's my fault?
[Android Apps and Games] cygery:
Please don't crop the screenshots.
[Android Apps and Games] 666biker:
same for me.. with rooted stock 5.1 works fine, on cm12.1 stops working.. device is rooted, but still saying that is not while toggling.
[Android Apps and Games] cygery:
Error code?
[Android Apps and Games] 666biker:
Error 1

saying that I am not rooted, if device is rooted, but it is rooted, also I confirmed root access for this app
[Android Apps and Games] cygery:
This and OP might help: http://xdaforums.com/android/apps-g...-to-toggle-t2937936/post60212369#post60212369
[Android Apps and Games] loco-cork:
Works fine on OnePlus with cm12s.

Thank you.
[Android Apps and Games] 666biker:
what should I try to fix this issue in cm12.1?

not very clear now
[Android Apps and Games] cygery:
Got SuperSU? Tried to reinstall it?
[Android Apps and Games] 666biker:
i just install supersu, but for root access is asking some kind of internal CM root manager, not supersu.. when i grant full access, supersu is empty
[Android Apps and Games] cygery:
I can't help you with getting SuperSU get to work. Maybe try another thread for CM/SuperSU support.
[Android Apps and Games] 666biker:
fixed.. after installing supersu i update binaries for cwr and now it is toggling.

Thanks for now.
[Android Apps and Games] beautifulsun:
I don't think the point is the cropped screenshot.. btw the data was on and the app correctly working.
[Android Apps and Games] Fortinho:
Works on Xiaomi Mi2S on AOSP Lollipop.
[Android Apps and Games] Antoniv2689:
Thanks very mach!!
[Android Apps and Games] JoshReuben:
Working great on CM12.1 (with Ktoonsez kernel) on my 900W8 without Supersu. Thanks for the awesome work!
[Android Apps and Games] 666biker:
how it works on cm12.1 without SuperSu? it is needed to flash different kernel? not possible to use it without SuperSu on CM12.1 with default CM kernel?
[Android Apps and Games] JoshReuben:
Correct - ktoonsez kernel seems to make it work without supersu.
[Android Apps and Games] cygery:
Do you have SELinux set to permissive?
[Android Apps and Games] 666biker:
what you mean with "SElinux set to permissive" ? what it is doing in this mode and how I can change it if it is needed?
[Android Apps and Games] cygery:
Try searching online for "selinux permissive".
[Android Apps and Games] 666biker:
ok I got app, where I can change it over GUI way, but only small and fast question. has this permissive mode big impact on security of my rooted N4 device?
[Android Apps and Games] cygery:
I don't know. Personally, I'd keep it in enforcing mode, though.
[Android Apps and Games] dean14:
Brilliant thanks

Works a treat on my lgg3, tasker shuts off data when I close my case and puts it back on when I open it. I don't need or want notification thought the day so suits me well.

Thanks
[Android Apps and Games] 513263337:
The color on the widget icon doesn't change along with the state change?

I'm on Samsung Galaxy Note 4.

---------- Post added at 08:29 PM ---------- Previous post was at 08:17 PM ----------

To give a little more information, there are two widgets available, both are 1x1, one is way bigger (occupies entire 1x1 box), another is smaller (same size as any other on screen icon). The bigger widget updates color with state change, but the smaller widget doesn't.
[Android Apps and Games] capdcanoa:
It works great in my Oneplus One.

Thx a lot.
[Android Apps and Games] gl00k:
Thx a lot!!

Thx a lot!!
[Android Apps and Games] 513263337:
I see. I didn't realize that smaller thing is a "shortcut" that's different from the larger "widget". The larger "widget" is four times the size of a regular icon, which looks a bit weird on the home screen.
[Android Apps and Games] suku_patel_22:
[MENTION=5253144]cygery[/MENTION] Could you make an app to toggle between location profiles(battery saving, high accuracy, device only)

Sent from the sixth dimension.
[Android Apps and Games] cygery:
Dunno, at least not in the near future.
[Android Apps and Games] louis0815:
works on Sony Xperia Z1 compact (D5503) with rooted stock Android 5.0.2 (Firmware 14.5.0.A.242) - finally lets me use Smart Connect as time-based profile manager again
[Android Apps and Games] miznor:
Moto G 2015 LTE - XT1072

Running perfectly on Moto G 2015 LTE XT1072 stock ROM, automated toggle every 10' through Llama

thx for this app :good:
[Android Apps and Games] JibbaJoy:
Installed on OnePlus One today [CM 5.0.2] and it does indeed toggle mobile data on/off. However there's no change in colour for the toggle switch with the large arrows but there is with the one for the smaller arrows (which doesn't display any arrows as a widget).

Tried 3G Battery Saver app to see if would now work but it still can't toggle mobile data even though I enabled 3rd party control.

Getting there :)
[Android Apps and Games] sanguinesaintly:
Working well with one small issue

It's working fine on Blisspop. However if I toggle the state via the notifications, the widget does not change colour to reflect that. Not a deal breaker since I don't need to do it that way any more - just an observation. Thanks for a really useful tool.
[Android Apps and Games] cygery:
It takes a while (up to 15min) until the state is updated.
[Android Apps and Games] oo0:
[MENTION=5253144]cygery[/MENTION]

seems like it gives constant ConnectivityService wakelock - using it with tasker. State Screen on/off toggles data, wifi, wifi scanning, autosync. Any advice on that?
[Android Apps and Games] cygery:
How do you check the wakelock? I'm not aware of such an issue caused by this app. Try removing the actions one by one from your profile tasks, maybe you can narrow it down this way.
[Android Apps and Games] oo0:
with betterbattery and wakelock detector. and on my device it's when gsm data disabled. wakelock lasts for hours. will test and report with updated tasker.
[Android Apps and Games] cygery:
OK, I haven't much experience with those tools. Can they link the wakelock to this app?
[Android Apps and Games] PoloB49:
Doesn't work on my rooted Oneplus one with cm12.1 nightlies
[Android Apps and Games] cygery:
Read OP, search thread.
[Android Apps and Games] PoloB49:
I updated the binary system of SuperSU and now everything's okay, i forgot to do it since i updated the latest nightly today. :D

Thanks a lot for this widget, way faster than enable 4g from the lollipop notification bar
[Android Apps and Games] igoryan94:
Looks like my device Samsung Galaxy Tab 3 8.0 3G (SM-T311) running on CyanogenMod 12.1 is fully compatible with your great app. Thanks!)
[Android Apps and Games] stdly:
How to restore data toggle and I don't know if this has been posted in this thread yet. I found this a few months ago on XDA and don't know who the author is but it works you need root though.

1) Download sqlite editor app.

2) Open the app and give it root permissions. It should populate a list.

3) Scroll and Tap the "Settings Storage"

4) Tap "Settings.db"

5) Tap "System"

6) Scroll down until you find "notification_panel_active_app_list", tap to highlight it

7) Once it is highlighted tap the phones menu button.

8) Tap "Edit Record"

9) You'll see a list of all the toggles that are currently enabled to show in notification area.

10) At the bottom of the list add ; and the words MobileData then another ; so it will look like this at the end. ;AirplaneMode;MobileData; Then press Save.

11) Reboot and you should have a data toggle now. You can now use the edit feature and move it anywhere you want in the list of toggles.
[Android Apps and Games] cygery:
I think that's Samsung-specific (for their toggles in the notification area), right?
[Android Apps and Games] stdly:
I don't know about Samsung specific but yes notification area sorry to hijack your post
[Android Apps and Games] ghostENVY:
I've been trying to make this work with tasker.

I've set up a screen off profile and then a task to set up the toggle but it doesnt work when screen is off.

I might need to configure or madd more conditions I'm not aware of.

I'm on lollipop and on a samsung edge any advice would be appreciated.
[Android Apps and Games] cygery:
Can you confirm that your Tasker task is fired? You could, e..g, add an action to post a notification or similar.
[Android Apps and Games] cygery:
Is anybody with a Samsung device (Android 5.0 or later) experiencing issues using this app?
[Android Apps and Games] Christiancs1969:
No all good here s5 lollypop tw
[Android Apps and Games] UncleAcid:
Works great on my S6 (5.0.2).

Any chance of getting this toggle for the notification panel ? I'd love it if I could toggle it without having to leave my app to go to the widget.

Thanks.
[Android Apps and Games] le_zurdo:
Widget tested in Moto G XT1032 (1st Gen.) running CyanogenMod 12.1. It works perfect :good:
[Android Apps and Games] KB2VYZ:
Confirmed working on an HTC DROID DNA running GPE 5.1. Great work!

Thank you [MENTION=5253144]cygery[/MENTION]

Sent with my GPE 5.1 HTC DROID DNA using XDA Premium
[Android Apps and Games] cygery:
Not planned, but it should be possible to use a third-party app in connection with either the shortcut or Locale/Tasker plugin. If I remember correctly, there's also at least one app which can put widgets into notifications.
[Android Apps and Games] UncleAcid:
Got any names that can add widgets to notification panel ? I'm not finding any. (this is my first Android so I'm still very new to everything). Thanks.