yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] alexdemonumber3:
does this work on ics roms? My battery is weak and 3g usually drains a lot. Thanks
[Android Apps and Games] torchedlh:
Yea i went ahead and wiped/reflashed the entire ROM. It works now and it was well worth it. Thanks.
[Android Apps and Games] totalcmdext:
I have the following issue....

When i am activating to go to 2G when the screen is of the Data connection is switched to 2G but after some minute the data connection is dropped and when i am activate the screen doesn't show data connection at all!!
[Android Apps and Games] V.Dragos:
I have installed this with no problems but can't tell if it's working or not.

If i turn on WiFi while 3g is on, sure..the wifi symbol replaces the 3g one but that happened without this app.. but i can see that both my 3g and data are still active.
[Android Apps and Games] huuub:
I don't seem to get thus to work with Simple&Clean 2.4.3 :(. Anyone can?
[Android Apps and Games] 4l3gU:
Why don't return to 2g when the screen is off? All the rest its ok..... Thanks

Sgs2
[Android Apps and Games] torchedlh:
The app doesnt seem to be working right on my SGS2 (CheckromHD ROM and Siyah kernel). It never seems to switch back to 3G. Also, i try to manually switch it back to 3G via the widget and the widget briefly displays the "no network" icon then goes back to "E".

When i use the Settings menu within the Mobile networks menu and change the network mode, it informs me that the data connection will be lost during the switch and i have to confirm it. Could that be why Toggle2G cannot switch back to 3G?

EDIT: Interesting...i thought that maybe i forgot to install the notification plugin apk so i went ahead and reinstalled it (turns out it was already installed). However, everything seems to be working great now! Thanks!
[Android Apps and Games] -Happy Feet-:
the same by me. It won't switch back to 3G..
[Android Apps and Games] jocaferlo:
The same happens to me on my SGS2 with Turkbey ROM. The automatic mode doesn't work. But it worked when I used a MIUI ROM.

Perhaps the problem is that it can't change to 3G with the data connected.

With the MIUI ROM if I manually changed in Android settings from 2G to 3G it didn't ask me to turn off data connection. Now yes.

I tried with notification plugin but that doesn't work.

I only could make it works using Tasker, using profiles to change 2G/3G but it works only if connection data is off.
[Android Apps and Games] 4l3gU:
The same by me but with juice def and aosp helper work perfectly but i'd want this apk without program in background... If you can create an apk that is the same of juice def... You are great. Kiss

Inviato dal mio GT-I9100 usando Tapatalk
[Android Apps and Games] jastonas:
Can't wait for an ICS version!
[Android Apps and Games] jastonas:
I tried pushing the apk on CheckROM RevoHD™ V4 (Gingerbread 2.3.6) to system/app and it didn't work. I tried simply installing but again it doesn't install.

I resigned the zip and flash the whole rom again but still Toggle2g.apk remains in /system/app uninstalled and cannot be installed!

any suggestions?
[Android Apps and Games] Vyrlokar:
This is awesome. It has helped me prolong my battery life a lot. I don't need 3g when the phone is sleeping, as I only keep the data connection open to receive emails/push messages.

The only thing I miss is that when tethering (my carrier has no issues with tethering, and I use the phone as a hotspot for my Asus Transformer), I would prefer if it did not switch to 2g. I see it's in the to do list though.
[Android Apps and Games] TheMasterBaron:
Did you do a factory reset when you flashed the rom? It's required to make it work the first time.
[Android Apps and Games] :
nice app. gonna try that.
[Android Apps and Games] kally:
Does this work on miui?
[Android Apps and Games] jocaferlo:
Yes ........
[Android Apps and Games] 4l3gU:
One question: this app work perfecty on GB 2.3.6 but without data network activated... it's normal or there is an error in my installation.When i activate the data network the switch don't work. Thanks for the future reply.
[Android Apps and Games] Ok_Kaleidoscope5109:
does this work with CM7 on a Samsung Galaxy S2?
[Android Apps and Games] KurskS:
Why cant it work on Galnet MIUI 2.11.26 Stable version?:( Try to flash Redign Update as well but the installation was aborted, any ideas?!?=(
[Android Apps and Games] arihellmichimich:
This is awesome,

cant believe you only received 7 thanks for this kick ass app!!!
[Android Apps and Games] -Happy Feet-:
the values.zip for what is it?

Gesendet von meinem Desire HD mit Tapatalk
[Android Apps and Games] KurskS:
Any help?:(

Sent from my brilliant Viper skinned Apple iPad 2 using the superior Tapatalk Premium
[Android Apps and Games] kally:
For me it's working very well on miui 2.1.20 after a full wipe!
[Android Apps and Games] SQL7373:
Not Support Galaxy Nexus 4.0.2

Please Update to Support.
[Android Apps and Games] marko-mb:
i did resignUpdate v2.1 on criskelo ROM for galaxy S2 i flashed it without wipe and i installed Toggle2G-Update.zip and there is nothing in appdrawer.

I dont want to wipe...

will it work if I wipe?
[Android Apps and Games] jocaferlo:
Yes, the first time you need to wipe data.
[Android Apps and Games] KurskS:
Full wipe and still the same, flashed the file successfully but nothing appear in appdrawer:(

Sent from my brilliant Viper skinned Apple iPad 2 using the superior Tapatalk Premium
[Android Apps and Games] wucinac:
Cant install on xperia mini runing on custom rom and kernel:(

Someone help!

Sent fom my Xperia Mini
[Android Apps and Games] System of a pWne!^:
Thank you for the information.

Why does your app need the platform certificate? All apps I worked on so far used my own private certificate.

Also: Is it possible to install this app manually (e.g. by adb push and running some commands in recovery? - HTC Desire btw). I'd really like to install that since 3G is a juice-sucker like no other.

Edit

I think I got the reason: After I tried to install it, it tells me INSTALL_FAILED_SHARED_USER_INCOMPATIBLE which is caused by

So you are apparently trying to get access to services on the device which have a user-id of system/core-applications so you need to make your app signed with the platform-certificate in order to run as the same user.

Judging on this, it could also be possible to achieve your aims by rather not using the sharedUserId flag but making your app needing root-access (or as a secondardy app which needs root as alternative for those who do not have cyanogen)
[Android Apps and Games] minieod:
would this work on the evo?
[Android Apps and Games] System of a pWne!^:
I'm not the developer of this app, but if you run CM6 on it should be possible.

Edit

I played a little bit around (since I did not knew how to gain root-access from within an app). If you don't know too, here is my app's source (base on a tutorial I found in the net). I saw, it doesn't change the uid of the app but grants su rights. I hope this is sufficient to make you app work on rooted devices without the need to use the sharedUserId=android.uid.system (I assume you are using this).
[Android Apps and Games] lilnev:
Anyone tried this on CM6 Desire?
[Android Apps and Games] lilnev:
Nevermind. I just installed it on my Desire CM6 and it's hanging at the HTC boot screen logo.

MEH.
[Android Apps and Games] Karolis:
Could we get 15% and 25% options too? Or even better - allow user to input whatever percentage they want.

Also, do you think of submitting this to CM source? It would be great if it was all built-in with the ROM.

And one more thing: would it be possible to have an option to disable data connection completely, when connected to wifi? I mean like it's done via the modded power widget on CM.
[Android Apps and Games] jdog94:
how can you tell if is really turning off 3g?
[Android Apps and Games] cmarti:
Will try it now ;-)
[Android Apps and Games] TheMasterBaron:
If you can give me the command to enable/disable the 2g setting using just root access, I would be happy to do it using just root. I believe there is a reason there is no other app that can do this even with the easy availability of gaining root access. It needs to run as a system app in the same process as the system phone app. That means it needs to be signed with the same cert and use the sharedUserId

Was taking the shourtcut on % selections by using radio buttons. If it's easy to switch to the spinner I'll do it sooner than later.

As for adding to CM, I figure maybe once it's a little bit more polished I'll consider it

Can you explain the advantage of disabling data when wifi is on?
[Android Apps and Games] cmarti:
Where can I send you the log?

I am still having the same exact issue.

Thanks man!
[Android Apps and Games] Karolis:
I thought it might save some battery. Might be wrong - I'm no expert.

Actually after testing the app for one full day it seems that it might drain more battery than it saves :(

I think the constant switching between 2G and 3G might be draining a lot of power.

I have the app set to switch to 2G after 5 minutes and I check my phone several times an hour. Maybe the problem of my usage patterns rather than the app itself.
[Android Apps and Games] :
Yup, it should be a different story if baron adds a timer for when to turn 3g on after turning the screen on though.
[Android Apps and Games] Nuja:
Hi,

why make it CyanogenMod 6 exclusive ? any other verson available for everyone ?
[Android Apps and Games] System of a pWne!^:
I already asked a similar question.

The problem is this app needs to be ran with the same user as the system-apps are running (android.uid.system) and in the same DalvikVM. In order to achieve this, you need to sign your app with the same certificate used by the system-apps of your ROM (Otherwise the installer refuses to install it - maybe there is a workaround for this).

Sadly for those ROMs still having their apps signed with private certificates of the respective vendor (I'm running a ROM based on HTC Desire's OTA2.2 which has it's sign from the private HTC Certificate) you are unable to make it install and run as the same user and in the same DalvikVM.

Root seems not to allow setting 2G/3G so far. I already tried a few things in order to make apps run under the same user (chown/chgrp on the /proc/<process_id>) but I failed - and I doubt this would have "fixed" the VM issue.

Edit

It's still unbelievable that Google does not allow setting 2G/3G with an app. There is no reason for disallowing it at all.
[Android Apps and Games] TheMorpheus:
I tried the app and when I unlock the phone it lose the signal so I' am not able to make a call for almost 1/2 minutes after unlocking.

Isn't better, instead switching from 2G to 3G, just disable and enable the data??
[Android Apps and Games] jocaferlo:
The last version 0.0.3 isn't in the Market, isn't it?

I guess the version in first post is the 0.0.3.
[Android Apps and Games] jason.hamilton:
One of the problems i see with this app is that i use USB tethering and wifi tethering ALOT since time warner cable sucks and takes forever to come out and install my DSL. My phone goes to sleep while im using the tether. Would that turn off the 3g? i guess i could make it so my phone wouldnt go to sleep. Actually now that im thinking about it, you said that if plugged in, it wouldnt disable 3g. So nevermind on the USB tethering issue, but the wifi tethering issue would still happen. keeping the screen on while using wifi tethering would drain alot of battery. I wonder if there is a way to disable the 3g switch while doing tethering....
[Android Apps and Games] sprocket87:
How can I tell if this is working? I've got installed and configured but the phone is always displaying the 3G icon in the status bar right when I wake it up - I never see anything else. Hmm...
[Android Apps and Games] sprocket87:
Update: Just installed the .03 version from the OP instead of the .02 version from the market and it appears to be working now!
[Android Apps and Games] dica:
why all this permissions r needed ????

- my google account

- read gmail, modify gmail

- calls !!!!

-........

thank in advance and plz post a link to the mkt
[Android Apps and Games] TheMasterBaron:
It has the current language translations so people can download, translate/correct and send me the new language file.
[Android Apps and Games] TheMasterBaron:
What are you flashing exactly? Did you run the resignUpdate tool on your ROM.zip and flash/wipe using that? MIUI requires that you use the resignUpdate script to resign you ROM. Then you need to flash and wipe using the new ROM produced by the resignUpdate script.
[Android Apps and Games] :
Hey there,

I injected this APP via Java into WajkIUI for G2x (P999)

When the Rom first started, it asked for "radio"-permission (SU). When I accept, my APN settings get lost (meaning no data service) and you cannot save/put in new ones. When I decline, it continues to work. (though I don't know if this app works correctly without this permission? - it doesn't seem like it does, which makes sense. :rolleyes:)

The same thing happened when I uninstalled Sim Toolkit via Titanium Backup. Though restoring helped to undo it. (I don't know if it has anything to do with it. I thought I should mention it.)

Any help appreciated for me to understand the problem. What can I do to fix it? Thanks in advance.
[Android Apps and Games] TheMasterBaron:
Toggle 2G needs root save it's preferences (You might lose your preference changes on reboot if you don't give it root) and runs in the radio process so that is why you are seeing radio asking for it.

As for your APN settings, check that you have set the proper networks in the Toggle 2G settings for 2G and 3G. The default ones might be different for you provider.
[Android Apps and Games] KurskS:
What do u mean? So I flash the Resign Update first, then wipe and flash the Toggle-2G?

Sent from my brilliant Viper skinned Apple iPad 2 using the superior Tapatalk Premium
[Android Apps and Games] wucinac:
i manage to resign my rom but i got bootlop when instaling rom.

i do factory reset and agen bootlop.

please help i need this app, its wery useful.
[Android Apps and Games] kyogoku:
I'm a tasker user, which zip file should I flash If my need is only to use it as a plugin in tasker? And for this need, is it only compatible with CM based ROM?
[Android Apps and Games] TheMasterBaron:
ResignUpdate is a script to convert your ROM to use Toggle2G. Download and extract it, there is a readme-first.txt file in it that you should read. Basically, you pass it your ROM.zip file and it makes a new ROM.zip file that has Toggle2G in it. You then flash and wipe using that new ROM.zip file.

Sorry, but it's not going to work with every ROM, perhaps try a different ROM.
[Android Apps and Games] arihellmichimich:
Thank you, TheMasterBaron, the app really kicks ass on cm7.

...unfortunatly im on stock rom now. It has an unlocked bootloader, cwm and is rooted though. My problem is, I dont have a Zip file, only a FTF file of the stock rom, that I use to flash with flashtool (sony ericsson Xperia play). I have full access to all system apps over root and unsecure ADB though. Is it possible to extract only the phone apk and the other apps needed, resign them and flash them so that i can use your kickass program on a stock rom?

greetings
[Android Apps and Games] TheMasterBaron:
Maybe...Try pulling the system/app and system/framework folders off the phone using ADB and into a zip (With the same folder structure). Then run the ResignUpdate script on it. Then manually copy the apk files that were reported by ResignUpdate as resigned back using ADB.

Good luck and don't forget you'll need to do a factory reset/wipe

MB
[Android Apps and Games] arihellmichimich:
:-( didnt work. got a lot of FCs while flashing, donno why, got this with some zips...

I think the signing process worked well though.
[Android Apps and Games] koba:
Hi, anybody have a working 2g apk for the checkrom v4?
[Android Apps and Games] 4l3gU:
Work perfectly on GB 2.3.6 but with timeout3g on the market... because the apk don't disconnect in automatic for the switch.

Galaxy s2
[Android Apps and Games] dh3lix:
Just wondering how to get the locale plugin working? Seems to do nothing if selecting in locale e.g. switch to 2g when having location based trigger running. anyone else with this finding?
[Android Apps and Games] gimiento:
Awesome, thanks for this! Using it as a Locale plugin on CM 9/ Nexus S. Works great.
[Android Apps and Games] juancubo:
Confirmed to be working on Sensation 4G - Coredroid 3.3 - 2.3.5 GB Sense 3.5

Just did the same with

Sensation 4G - Coredroid V3.3 with faux 0.28r kernel, Android GB 2.3.5, Sense 3.5,

Pull the .apk from update.zip install it with ES file explorer, just clicking on it, install plugin/widget app from market.

No need to reboot to make it work.

Cheers!

Juan
[Android Apps and Games] goksar:
does the change to 3g over a notification in the status bar work for you???
[Android Apps and Games] dombuz:
Hi all, I'm really loving the potential of this app, and can't quite believe its not more commonly known, given the benefit to battery life that it can so obvioulsy give.

However...

I am running Android Revolution HD 6.2.1 - ICS 4.0.3 on a sensation, and as far as I can tell the app has installed okay. I flashed the zip file in recovery. However the app does not function as it should.

If I enable the auto manage 2g/3g switch, the app immediately toggles off 3g regardless of having everything else in the settings unselected, and then I cannot re-select 3g unless I disable the auto manage option, and do it manually.

Have I missed something with the install, or is this purely going to be an issue on this particular rom?

The ultimate aim is to get the locale plugin working. Any thoughts much appreciated. Thanks
[Android Apps and Games] kally:
Does this affect the system performance?
[Android Apps and Games] californicated:
I signed Villain Rom v3.0 for Galaxy S2 and flashed it. Everything seems to work, but when I deactivate wifi and the phone changes from 2g to 3g it loses the connection and reboots. Any suggestion how to solve the problem?

Modem XXKL1

Provider AT&T
[Android Apps and Games] huuub:
Am I correct that on an SGS2 the app can't change back to 3G. This is always done manually since the app can't disconnect the data? However I can do this in tasker. So I suppose it can be build into the app also?
[Android Apps and Games] huuub:
Anybody? :p
[Android Apps and Games] dombuz:
I think it should be able to, as long as the manual change back to 3g isn't ticked. That's kind of the whole point of the app isn't it? Mine seems to be doing quite a good job after I installed it into a clean build of arhd on my sensation
[Android Apps and Games] huuub:
I agree it should happen automatically. But it is device related the SGS2 has this specific problem :-(
[Android Apps and Games] Aztriltus:
The update zip works with Manhattan IC112(AOSP 4.03) for Galaxy Nexus, using llama app to activate it! Still can't control mobile data though..

Anyway, thanks a million! :)
[Android Apps and Games] igor.tonky:
galaxy note here, reporting success!

rom: LA6 tweaked by substancer: http://xdaforums.com/showthread.php?t=1416192

steps taken:

1. re-signed rom with java utility

2. pushed re-signed rom and Toggle2G-update.zip to sdcard

3. rebooted to recovery

4. flashed both, rom first

5. full wipe(tried without it, but no dice, apk wasn't installing)

6. boot, setup after wipe

working as advertised, thanks a lot Master Baron!
[Android Apps and Games] krinet:
ok

ROM : Wildfire S Cracker GB2.3.5 2.13.401.3 [2-4-2012]

or m1ndh4x8r GB2.3.5|OCKernel|Stable|Apps2SD|DATA2SD|Premium Features[1/25/2012]

Toggle is working perfect after resigning rom. :cool:

Thanks to Master Baron!
[Android Apps and Games] heyjoe66:
Once again thanks for this great app/mod.

I have a question. Why 'Auto Manage 2G/3G' checkbox gets unchecked if I use it's plugin in tasker? Can't I use app's built-in automation along with plugin?
[Android Apps and Games] huuub:
Since no solution found to enable/disable data connection on the SGS2, I went for juicedefender ultimate. Does a pretty well job actually. But a bit pricy!
[Android Apps and Games] dombuz:
Can juicedefender toggle between 2g/3g?
[Android Apps and Games] huuub:
yes, it disconnects to do this (you can select it in JD), but this is unavoidable. I wish this app implemented that :(.
[Android Apps and Games] progitto:
I have some problem, I hypotesize due my particulary network operator situation.

Here in Italy my operator (3) is only 3g and for 2g operation I have to use another operator (TIM ITA) in roaming.

2G/3G toggle seems can't switch between 2g and 3g if have different network operator in the two modalities, when it switch in 2G mode it can't register automatically, I have to register manually to TIM network.

Someone can confirm this? Maybe I have a wrong setting
[Android Apps and Games] longthanh:
Have the same problem:(
[Android Apps and Games] progitto:
Do you have my same network operator situation? I mean that your operator is only 3G.
[Android Apps and Games] jonxz:
Unfortunately that doesn't work for Xperia Mod v6 on my Arc S. After I flash the resigned mod I am able to boot and setup, then "com.sonyericsson.idd.agent" FC and desktop didn't show up.

Anyone got a fix for that?:confused:
[Android Apps and Games] Shadow128:
Semms to work good on a Desire with Runnymede 6.0.4.1-Rom after signing the unsigned apk.

Thx for the great work!! :D
[Android Apps and Games] krinet:
New icons for toggle pluglin

New icons (72x72) in trasparent background for Toggle plugin.

I didn't like the default icons in white background on my wildfire S' dark theme,

so i made these icons.

I can't post ouside links to show the imagines, so install plugin to see them :D

;)
[Android Apps and Games] Vepo:
Same problem here sgs2 miui
[Android Apps and Games] namelessrabbit:
I tried to search this thread but didn't find a proper answer hence I just ask it here ;-)

So far the application works good, but as already mentioned here, taking the screen status as trigger for 3G-reconnect kind of degrades the profit of this app if you regularly switch on your phone for time checking. I suggest to use the locked/unlocked status as trigger for that.
[Android Apps and Games] omigosh:
Just a quick question involving tasker, before i can switch to another mode (2g/3g/auto), do i have to turn off data first? I tried to switch directly, it seems like it does nothing. Only can be toggled when data is off. I do know that the radio have to be reset before it switches to another mode, but does the app do it for you, or I'd have to do it manually/switch data off then on.
[Android Apps and Games] jonxz:
Resign SE-Tweak ROM

I tried to resign SE-Tweak v1.0 ROM, I am able to flash the Resigned ROM to my Arc S and get toggle working. I am happy until the USB mass storage doesn't work, and the keyboard disappeared. Then I use adb to install GoKeyboard, and I go to Settings -> Sony Ericsson, there should be a "Connectivity" settings but disappeared. Which should be \system\app\SemcSettings.apk

The file was there, then I suspect the file is not resigned

Then I try to resign again and observed the output...

system/app/SemcPhone.apk...25%...50%...75%...100%: Resigned: ZipAligned

system/app/SemcSettings.apk: Skipped

system/app/SEMCSetupWizard.apk...25%...50%...75%...100%: Resigned: ZipAligned

Then I opened SemcPhone.apk (which is resigned) and SemcSettings.apk (which is not resigned) and I realized the file name difference in META-INF:

In SemcPhone.apk (and other resigned apks):

CERT.RSA

CERT.SF

MANIFEST.MF

In SemcSettings.apk (And other apk that "skipped" at resigned)

SONY-ERICSSON-E-APPLICATION-SIGNING-LIVE-864F-1.RSA

SONY-ERICSSON-E-APPLICATION-SIGNING-LIVE-864F-1.SF

MANIFEST.MF

I think this is the cause of getting the resign has "skipped" and some reason that doesn't work on some ROMs.

I wish you can fix this so I can use this wonderful tweak again! :)

J.