yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] LeopardSurd:
I've reuploaded the plugin icons. They have the same dimensions as the old one.

I've tested them on a patched Toggle 2G plugin but seems to be a problem with the icons inside of the widget. Somehow, they are zoomed and doesn't look very well. Just check them.

Regards and PM me if you need something else.

L.E. I've attached the big icons for toggle 2G/3G and Toggle 2G Plugins: 500x500 px. Maybe you need them.

Regards.

Feature request: can you add an option for Toggle 2G plugin icon from app drawer for hiding. Somehow, that icon is redundant. Thanks!
[Android Apps and Games] TheMasterBaron:
Thanks again. Plugin should be fixed now with you icons. I like the darker glass look!

the 500px attachment is broken like the other one. No real need for it. I just blew up the 127px one to get it on the market. I'm not sure where the full size of 500px is show. All the images I see on the web are smaller.
[Android Apps and Games] matiza5:
broken links? inside each file there is "not found 404". any mirror? :)
[Android Apps and Games] TheMasterBaron:
Looks like xda was acting up. I have re-uploaded the files and tested them to make sure they are working.
[Android Apps and Games] matiza5:
Thank you!
[Android Apps and Games] LeopardSurd:
Well, I think you need it for Market. I worked for Green Power too, and the requested size is 512x512. As you can ckeck on your descktop, the Toggle 2G Plugin icon is really blurry. You'll need to change it with one wit a better resolution.

It seems that the XDA server corrupts the attachements. Please change the icon from market with the bigger one attached. I'll send you the archive pasword in a PM.
[Android Apps and Games] _symo_:
after updated to last Toggle 2g notification Plugin and reboot (i like new icon!) the situation is the same.. after first mobile data toggle and tap the notification, Toggle 2g does not display any other notification every time i switch On data mobile.. i do not understand why.. (i have already resigned rom)
[Android Apps and Games] Krakataus:
Has anybody succeeded installing this app on FoxHound Rom?

I'm probably too inexperienced to fully understand how to enable toggle2g in ths ROM. I believe it is only a matter to re-sign the certificate for FoxHound, but I don't know what parameter give to ResignUpdate. :confused:

Anybody willing to help?

Thanks in advance!

FoxHound link on XDA:

http://xdaforums.com/showthread.php?t=1162715
[Android Apps and Games] sweetpiggy:
little feature request:

my setup will put my gnex in 2g mode, when data is off; so, when i active the phone, and manually switch on data connection.... the phone still remain on 2g, i have to switch off di screen and reactive the phone... then it switch to 3g.

i think will be usefull putting it on 3g when i manually active the data connection ;)
[Android Apps and Games] onesolo:
This one https://play.google.com/store/apps/...5tYi50b2dnbGUyZy5wbHVnaW4ubm90aWZpY2F0aW9uIl0.

??

But is it going to create any incompatibility with the already installed app?!? The on already installed is 0.2.3 and that is 0.0.8
[Android Apps and Games] albsat:
Great app.

Feature request please.

Is it possible to have the option " Switch to 2g, under a certain network cell" ? This way we can set to 2g automatically when we are at certain areas like home,work, etc.

Thanks
[Android Apps and Games] xelra:
You don't need to use the app that comes along with it.

It integrates with Tasker and Locale. You can script any behavior you like onto it.
[Android Apps and Games] kellermanv:
Does the call drop when the phone is changing connections between 2g and 3g ?

And how do i remove the script ?
[Android Apps and Games] albsat:
How? please teach me. Thanks :)
[Android Apps and Games] jabberwock:
Works perfectly on my rooted HTC One X with leedroid v3 rom.

Just installed the apk.
[Android Apps and Games] Mirceabadea:
Works fine on i9001 aswell.
[Android Apps and Games] xelra:
No sorry. I won't teach you. Have a look at what Tasker is and how to use it.

Once you understand it, you'll also know how to handle Toggle2G with it.

It has quite a steep learning curve, but it's worth it.

You can do it, if you really want to this.

I believe in you, gogo! :thumbup:
[Android Apps and Games] chareos12:
Hi

I can't get it work on i9100 and cm9

Is this a known issue or only me?

(man, tapatalk is pure hell for search)
[Android Apps and Games] fettkraut:
No, same here on my i9100.Toggle is not working properly. Using CM9 latest nightly and Siyah kernel.
[Android Apps and Games] broodplank1337:
Then you have to tell me how you got this working on a samsung based rom
[Android Apps and Games] URINUDNK:
Sorry for just barge in in like a retard here, but I'm wondering... is it really impossible to get to use this without "reinstalling" my rom? I have to do the resign thing since installing it in Recovery doesn't seem work, and that requires full wipe + install of rom?

Is there any alternative to get this? Im on MIUI 2.3.7
[Android Apps and Games] TheMasterBaron:
Android makes it hard to access the 2G/3G toggle. Thus it's not always going to be easy to get around it. You will have to resign and wipe. Use Titanium Backup to same and restore your apps and settings.
[Android Apps and Games] reggiexp:
plz how to uninstall??

i get every where FC now! no phone signal! can i jsut remove from root explorer? or have you a removal.zip ??

---------- Post added at 04:54 PM ---------- Previous post was at 04:52 PM ----------

me FC on cm7 Lastest nightly
[Android Apps and Games] zyrill:
I don't think so!

So basically, your app wants to fully control my phone including placing calls to random numbers and accessing all my data including passwords? *lol* I'm not installing that, I don't care how much battery that saves...
[Android Apps and Games] TheMasterBaron:
Yes, just remove the Toggle2G.apk using root explorer

Toggle2G hooks into the Android OS, that's how it works. XDA is full of custom ROMs and Themes, you are just going to have to trust some people sometimes.
[Android Apps and Games] corgar:
Can't get to work with cm9 on latest nightly. Galaxy s i9000

Inviato dal mio GT-I9000 con Tapatalk 2
[Android Apps and Games] antonellopiu:
It's possible to have the manual toggle just with 2G/3G without "A" position?

Hi, i was searching for your appllication becuase i have a samsung galaxy s plus I9001 and in mt country there is bad 3g signal so often when i'm in a call the phone change to 2G and the call goes down. So after a lot ot changes i decided to use my phone only in 2G and to change to 3G just when i need to surf the web. So you application it's good for me cause all the others are simple shortcut and i have also to change mode manually. Unfortunately your toggle have also a third choice that is "A" ( i think auto mode) that often confuse me when i do it quickly. It's possibile to eliminate that position? Thanks
[Android Apps and Games] Loccy:
No good on Sony Xperia Pro with FreeXperia's FXP115 CM9 I'm afraid. Seems to cut all data rather than switching to 2g then takes an age to give you 3g back when screen turned on (ie minutes rather than seconds)

Not sure what info I can give to help diagnose but if there is, let me know.
[Android Apps and Games] TheMasterBaron:
Without logs I can't troubleshoot the i9000 issue.

You should be using the "Activate With Notification" option as this makes switching to 3G easy as you can switch using the notification bar without leaving the app you are using. Leave Toggle 2G in auto mode so it can switch to 2G automatically to save battery.

Check that the 2G network setting is correct in the Toggle 2G settings. It might be set to a network that your provider doesn't support. Radio change speed is out of my hands :( I set the network and it's up to the radio to do the rest.
[Android Apps and Games] Loccy:
Well I did a bit of looking around. The network settings were on sensible European settings, but I manually changed them and then changed them back again just in case what was in the UI wasn't actually what was being set. I also changed Superuser to let all requests through just in case there was an SU/root type issue.

I'm not sure which of these has made the difference, but it is now changing as you'd expect. I also hooked it up and ran a lolcat while it did its thing. However, while it seems to switch to 2G pretty quickly it takes too long to get back from 2G to 3G to be useful, unfortunately.

So when you turn the screen off you get

I/Toggle2G( 3754): enable 2g delayer

(as an aside, any chance of a one minute or even 30 seconds delay - it would make testing a lot easier if nothing else :D)

then after we get the following. Not sure what is relevant, hopefully this is useful:

I/Toggle2G( 3754): 2g=false (0)

I/Toggle2G( 3754): switching from 0 to 1

I/System.out( 3754): start timeout = 2150948

I/Toggle2G( 3754): 2g=true (1)

D/NetworkLocator( 3701): null cell state delivered

D/NetUtils( 2048): android_net_utils_resetConnections in env=0x1a1f60 clazz=0x33500001 iface=rmnet0 mask=0x3

D/ConnectivityService( 2048): ConnectivityChange for mobile: DISCONNECTED/DISCONNECTED

D/ConnectivityService( 2048): Attempting to switch to wifi

D/ConnectivityService( 2048): Attempting to switch to BLUETOOTH_TETHER

D/ConnectivityService( 2048): resetConnections(rmnet0, 3)

W/Smack/Packet( 3701): notify conn break (IOEx), close connection

D/NetworkLocator( 3701): null cell state delivered

I/Toggle2G( 3754): 2g=true (1)

I/qtaguid ( 3701): Failed write_ctrl(u 76) res=-1 errno=22

I/qtaguid ( 3701): Untagging socket 76 failed errno=-22

W/NetworkManagementSocketTagger( 3701): untagSocket(76) failed with errno -22

D/dalvikvm( 2048): GC_EXPLICIT freed 656K, 16% free 15856K/18695K, paused 3ms+6ms

D/ConnectivityService( 2048): handleInetConditionChange: no active default network - ignore

...

I/Toggle2G( 3754): isMobileDataEnabled=true

I/MediaUploader( 4482): No need to wake up

D/PicasaSyncManager( 4566): active network: null

D/PicasaSyncManager( 4566): background data: true

D/Beautiful Widgets( 4431): CONNECTIVITY_CHANGE

D/ConnectivityService( 2048): ConnectivityChange for mobile: CONNECTED/CONNECTED

I/Toggle2G( 3754): 2g=true (1)

D/NetworkPolicy( 2048): applying policy NetworkPolicy[NetworkTemplate: matchRule=MOBILE_ALL, subscriberId=valid]: cycleDay=14, warningBytes=2147483648, limitBytes=-1, lastSnooze=-1 to ifaces [rmnet0]

D/Tethering( 2048): MasterInitialState.processMessage what=3

I/Toggle2G( 3754): isMobileDataEnabled=true

...so that seems to have gone from 3G to 2G fine. Other times, it just never seems to get that D/ConnectivityService line and data stays dead. Sometimes changing state will wake it up (i.e. screen on and I/Toggle2G(xxx): 2g=false (1) will end up with a network after, or vice versa, but unfortunately it's just not reliable enough on this ROM. :(
[Android Apps and Games] moludo:
nice work! mate. thanx
[Android Apps and Games] slider5000:
I m using MIUI

resign zip by flashing ERROR

update zip worked

but no toggle in app list

and i can only install notification apk

Why? need a better battery life :(
[Android Apps and Games] TheMasterBaron:
Going to need a link to the ROM zip your resigning.
[Android Apps and Games] slider5000:
http://miui-germany.de/wp/?page_id=274

Lg optimus speed (down) 2.4.6 ;)
[Android Apps and Games] DeathmonkeyGTX:
Hey man I'm using your latest on lordclockan's aokp ics port and it works spectacularly well on my desire HD. Cm7 had 2g toggle available in the notification pull down mod but aokp doesn't so this really made my day.

edit; I've noticed that after a reboot in 4.0.4 I must remove the widget and re-add it in Apex launcher, then it works fine. If I don't, it's stuck on no connection display.
[Android Apps and Games] slider5000:
@TheMasterBaron do you did it with MIUI?
[Android Apps and Games] koba:
Is it possible to get app service for the toggle? I mean wen I open tunin radio that the toggle knows that and go back to 3g and wen I close the app back to 2g. So we can select apps to do this. Is this possible?
[Android Apps and Games] TheMasterBaron:
Everything seems to resign correctly. Did you do a factory reset after you flashed the miui-ger_NEXUS-S_2.5.4_FULL_EN_DE_4.0.zip-Toggle2G-resigned.zip?

Since I don't have this phone combined with the very very little information on the errors yore getting, I can only conclude that this ROM just isn't compatible.
[Android Apps and Games] TheMasterBaron:
This is why I made Toggle 2G a Tasker plugin (Search he Market). The Tasker app can tell Toggle 2G to switch to 3G when it detects an app.
[Android Apps and Games] slider5000:
@themasterbaron i have the lg optimus speed, not nexus

what do you meen with factory? I did a backup, then a fullwipe, tried to flash the resign.zip but thrre was directly an error

i also tried it without any wipe
[Android Apps and Games] TheMasterBaron:
Factory reset is the same as a full wipe. What was the error after you flashed the resign.zip? Was the error trying to flash, or were there errors when you booted up the phone?
[Android Apps and Games] slider5000:
..after the flashing. not when i wanna boot. there is directly after try to flash an error.
[Android Apps and Games] TheMasterBaron:
What was the error?
[Android Apps and Games] slider5000:
installing: /sdcard/resignupdateV2.1.3.zip

finding update package..

opening update package..

installing update..

installing aborted.

no more error :D

and i did a fullwipe before. without same problem
[Android Apps and Games] TheMasterBaron:
Ahh, I see what you are doing wrong. resignupdateV2.1.3.zip is not a flashable file. It contains a program that you will need to run on your computer that changes your ROM.

You download your rom.zip, run my program on it, and it makes a new rom.zip that you then flash.

Check out this tutorial: http://xdaforums.com/showpost.php?p=19652050&postcount=614
[Android Apps and Games] slider5000:
first. thanks that you try to help me :):):)

but with CM7 it worked with CWM. hmm.. okey :D

but there is one, big problem i think. i´ll write "my own rom", so i cannot flash my backup again, b´cause that´s another rom, right? or is there a way to save all my settings without the system?
[Android Apps and Games] TheMasterBaron:
Yes, with CM7 you don't need to do this, it's already compatible and you can just flash Toggle2G-0.2.4-Update.zip.

MIUI is not compatible so you need to do this extra work.

I use Titanium Backup when I switch roms. You can backup/restore your apps without the system settings allowing for easy switching between roms. I highly recommend it!

Cheers!
[Android Apps and Games] slider5000:
yep.. titanium backup i ´m useing too :) but now i´m trying to use the MIUI backupper. maybe it works well. maybe not :D:D:D

i will tell you the result from this "Project" :-D

do you have skype for better communication? if yes, you can send me a private message with your username, else you can say here "no" :D
[Android Apps and Games] TheMasterBaron:
Sorry, no Skype. It's better to do it in the forum so other users can benefit from questions and answers from your "Project" :)
[Android Apps and Games] slider5000:
ok no problem.

first problem

http://xdaforums.com/showpost.php?p=19652050&postcount=614

i downloades resign.zip and rom.zip

then i extract the resign zip

now i have the ROM.zip, the data from resign.zip and the old resign.zip in one big folder

4) Open command prompt and change directory to where resign update is.

Example, cd C;\ResignUpdate

"C:\>Downloads\ResignUpdate

Der Befehl "java" ist entweder falsch geschrieben oder

konnte nicht gefunden werden."

translate:

C:\>Downloads\ResignUpdate

Maybe "java" is written wrong or it cannot be found"

whats the problem?
[Android Apps and Games] TheMasterBaron:
Close the command prompt and install java: http://www.java.com

Then try again.
[Android Apps and Games] slider5000:
why does my computer don´t have java :D:D:D

is it silly :D:D:D

ok. now i have a "menu"

but second problem is, my english is not so nice.
[Android Apps and Games] TheMasterBaron:
You should run:

C:\>Downloads\ResignUpdate Downloads\miui-ger_NEXUS-S_2.5.4_FULL_EN_DE_4.0.zip

and when it's done, you will have a file called: Downloads\miui-ger_NEXUS-S_2.5.4_FULL_EN_DE_4.0.zip-Toggle2G-resigned.zip
[Android Apps and Games] slider5000:
i think i´m too silly :-D

first i open cmd and put in

C:\>Downloads\ResignUpdate

and then i put in

C:\>Downloads\miui-ger_OPTIMUSX2_2.4.6_FULL_EN_DE.zip

i think that was wrong :-D

and i tried this "link"

C:\>Downloads\ResignUpdate Downloads\miui-ger_OPTIMUSX2_2.4.6_FULL_EN_DE.zip

doesn´t work too :-D
[Android Apps and Games] TheMasterBaron:
Did you download miui-ger_OPTIMUSX2_2.4.6_FULL_EN_DE.zip to your computer? Where did you download it to? If you downloaded it to your c:\Downloads folder this this should work:

Downloads\ResignUpdate Downloads\miui-ger_OPTIMUSX2_2.4.6_FULL_EN_DE.zip
[Android Apps and Games] slider5000:
now it works! i cannot believe it!

THANKS AGAIN :D:D:D

now i will try on lg :)

---------- Post added at 07:57 PM ---------- Previous post was at 06:57 PM ----------

ITS WORKING!!

I CANNOT BELIEVE IT!!

i m so happy

thank yoooooou
[Android Apps and Games] TheMasterBaron:
Your welcome!

:D
[Android Apps and Games] tonyp:
I absolutely love your app. Great concept, great solution.

One request maybe. I use the option to manually activate 3G, each time I eg turn wifi off there's a white text stating that 2G is still enabled. Could you add an option which would hide the text but keep the icon? :-)
[Android Apps and Games] MatMaul:
Hi,

Thanks for this app.

Could it be possible to have the same behavior as the notification but as a widget ? Currently the widget and tasker plugin allow me to switch between auto mode and 3g enabled, but then the auto mode is disable :(

I would like a widget and/or tasker plugin that can temporarily activate the 3g without overriding the auto behavior, and if possible reflect the current state (3G allowed or not).

Thanks in advance.
[Android Apps and Games] slider5000:
hey, me again :-D

i hope that´s possible:

i only want to have the setting, that 2G is activation automaticly, if the screen is off, and 2g is there too, if the phone is switch on. so that i have to switch to 3g, only if i need it.

but i tried it with some settings, but 3G is activation everytimes, if i unlock the phone :(

why?
[Android Apps and Games] tonyp:
You have to check "manually activate 3G" in the settings.
[Android Apps and Games] xelra:
It would be really great if this was hard-coded into the settings of the Rom. Any chance of seeing you on the cm9 dev team masterbaron?
[Android Apps and Games] slider5000:
@tonyp sure. i did this. but he is switching back currently
[Android Apps and Games] ferotakis:
First of all thks for this! You are God! Im searching for app like this for a entire year and now i find it !!!

Wotk flawlessly on my x10 mini with miniCM by NAa. Save amazing 60%+ battery and from 1 day its grow to 2.5 day +.

I flash it to SGY too with stock GB , rooted and etc but didn't work :/ app is on system but not show on drawer. When try to install its say not installed :/

But really this app its just AMAZING!!!!!!
[Android Apps and Games] alfiemenace:
i'm having error that says unable to access jar file. this happens whenever i try to resignupdate :(
[Android Apps and Games] TheMasterBaron:
That's a function of android showing you the text of a new notification. I don't think there is a way around it.

What you can do in tasker is set the value to 3g followed by setting it to auto. This will force the radio to 3G and then set Toggle 2G back to auto.

I'm not able to replicate this issue and your the only one who has reported it. Are you absolutely sure you have Manually Activate 3G checked?

Are you resigning the ROM using the ResignUpdate tool? With most CM based roms you can just flash the Toggle2G update.zip, but non-CM based ones, you'll need to resign the rom.

Sounds like the jar is corrupt in the archive. Do you have a link to the ROM?
[Android Apps and Games] TheMasterBaron:
As I find less and less time to work on more and more projects, I've decided to release the source for Toggle 2G with the hopes the community can help improve and evolve it!

SOURCE CODE IS AVAILABLE HERE:

Toggle 2G Source

Toggle 2G Plugin Source
[Android Apps and Games] tonyp:
Awesome! :)
[Android Apps and Games] xeigen:
Wow, thanks for source
[Android Apps and Games] alfiemenace:
here it is :) http://xdaforums.com/showthread.php?t=1325640
[Android Apps and Games] TheMasterBaron:
I'm not having any trouble. I'll need to see what command your typing and what is outputted to try and troubleshoot it.
[Android Apps and Games] alfiemenace:
here it is. :)
[Android Apps and Games] TheMasterBaron:
Ahh, it's because you are using a folder with a space in the name. Try renaming "New Folder (3)" to "NewFolder(3)" and try again
[Android Apps and Games] alfiemenace:
that did it! thank youuuuu! :)
[Android Apps and Games] MatMaul:
Thanks for your answer.

I looked quickly at your source code for the notification , it shouldn't be really difficult to implement that in a widget, I will try it when I have some time.

It will then be a good excuse to learn how to send pull request on github :-P
[Android Apps and Games] saiz0313:
I'm a chinese from taiwan, so forgive my English sucks.

I thk this app very much.

The app supports chinese,

But I still don't understand some options.

and my desire can't change the display language.

how do I manually change chinese or english for app?
[Android Apps and Games] TheMasterBaron:
Sounds good! Will keep an eye out for it.

In the opening post there is a download for a file called values.zip. This has all the language translations in it. You should be able to open the English files and read the instructions. Then, if you provide a better translation in the Chinese strings.xml file, I'll be happy to put them into the app.
[Android Apps and Games] saiz0313:
I already translate string.xml

traditional chinese,not simple chinese

but sometext I don't understand

the following text is what?

"Data off to switch"

"Turn data off to switch networks"
[Android Apps and Games] slider5000:
yeah i´m absolutly sure, i tried it 3x. so there is a problem with the resign-miui-rom i created. you know? can i send s.th. you can check?
[Android Apps and Games] TheMasterBaron:
It won't help sending it. Not much I can look at since I don't have the phone. If you know how to collect logs using ADB and logcat, I could look at those.
[Android Apps and Games] TheMasterBaron:
"Data off to switch" means that Toggle 2G will turn off data before it tries to switch. Some phones will not switch if they have data enabled.

"Turn data off to switch networks" is a shorter description of what I just said.
[Android Apps and Games] Skkip:
any information on cm9 compatibility?

On latest cm9 for Galaxy S i9000 it does not work as intended... It only changes when disconnecting from network but most of the time fails to change network mode completely...

Any suggestions?
[Android Apps and Games] TheMasterBaron:
I think the last logs where inconclusive. If you want to post some logcat of it failing I'll look at it.
[Android Apps and Games] yeahtyeaht:
can i use this with aokp roms? galaxy s2
[Android Apps and Games] Shadow128:
Today i tried on Runnymede 6.0.4.3 @ HTC Desire

With Update-zip it doesn't work.

Also resign of the Rom-zip doesn't work.

After pushing the apk with Android Commander it works fine.

Thx for the tool!
[Android Apps and Games] pl_:
For me using CM9 on Galaxy S+ i9001 by Arco installation did work with disabling signature verification in Clockworkmod v5 ('install zip from sdcard' - 'toggle signature verification'). Don't forget to re-enable it after installing ;)

Working flawlessy since then, before installation in CWM has been aborted ("E:signature verfication failed").

Thanks btw for this great tool!