yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] chareos12:
Isn't it a manual widget ?

To me, Killer feature of Toggle2G is automation... having to enable 3G manually isn't optimal :)
[Android Apps and Games] TheMasterBaron:
The original idea of Toggle 2G was to to switch to 2G to save battery. You can use Tasker or Locale can fill in the gaps for switching back. Just have it set 3G enabled followed by setting it back to auto.

Do you want 3G if your just reading/replying to a text? How about checking the weather or playing a game. Most of the time you only want 3G when browsing or downloading something. That doesn't happen all the time and if you want maximum batter life, the best option is to only enable it when you really need it. I've made it easy by just clicking in the notification message.
[Android Apps and Games] _symo_:
Anybody can tall me if it works fine with virtuous sense 2.0.0 Rom on desire z?

Thanks to everyone

Inviato dal mio HTC Vision
[Android Apps and Games] xavihernandez:
Miui 1.1028

Has anyone tried flashing it on MIUI 1.10.28.

I tried once (no factory wipe, only data and dalvik), without success.
[Android Apps and Games] jocaferlo:
I am using it with MIUI 1.10.28 but previously I did a complete wipe.
[Android Apps and Games] xavihernandez:
Hum I would not like to full wipe... It's ashamed, I may try later then...

Thank you for your answer.
[Android Apps and Games] den_breacker:
Did you use the resignUpdate, or does it work automatically with Miui?
[Android Apps and Games] xavihernandez:
I used resignUpdate. But it seems that a full wipe is required.

EDIT : works after a full wipe.
[Android Apps and Games] jocaferlo:
Now, when you update your ROM you wouldn't need to do another full wipe.
[Android Apps and Games] den_breacker:
Can someone make a ResignUpdate script for mac?

I don't have a windows pc...
[Android Apps and Games] chareos12:
This makes sense.

I'll make good use of Tasker (hoping they'll implement the "actual kb/s network usage" counter soon).
[Android Apps and Games] jocaferlo:
Can you use Paralllels or Bootcamp?
[Android Apps and Games] den_breacker:
Don't have them.

a script for mac would be easier...
[Android Apps and Games] den_breacker:
Ok, borrowed a windows pc.

Everything seemed fine, untill it rebuilded the zip file. The file it created was way to small, something like 30MB (instead of 90MB).

When I unzipped the new file, the boot.img was missing. This new file isn't flashable in recovery.

What went wrong?

please help ! :-)
[Android Apps and Games] tboooe:
I am fairly new to Tasker so forgive me if this is a dumb question:

Are you saying that Tasker can be used to create a task/profile to switch back and forth between 2g and 3g? I have the ATT Samsung Galaxy S2.

Thank you....
[Android Apps and Games] mcdevtingz:
Love the app but trying to fix it, still getting data problem, is toggle 2g meant to be called this in su app?
[Android Apps and Games] Aiakio:
No problems here.. Is your su-binary up-to-date?
[Android Apps and Games] mcdevtingz:
Yes
[Android Apps and Games] zenkinz:
tried to do the resign (on my rom, which is modaco gr8 for sgs2), flash the resigned version of the rom, and follow by resign-update and full wipe, but it looks like the app is not installed, plus I get fc when I access setting > phone.

anything I've missed?
[Android Apps and Games] 338lm:
how is this a tasker plugin? I've installed it every way I can, but it's not showing in the tasker plugin section. do I honestly have to search through 50+ pages of posts to find this answer?
[Android Apps and Games] a user:
hello,

could you explain why your Toggle2G.apk demands (nearly) every permission that exists even though nearly none of them would be needed to fulfil its purpose?

why does it need to communicate via internet, read my contacts, call numbers/send sms, read logs, etc etc. it also has additionally special rights as being a system app.

i ask you this because this usually is only something a maleware would do. please clarify this and remove all this permissions from the app.
[Android Apps and Games] TheMasterBaron:
You'll need to post a link to the zip for me to try as I don't have access to the modaco kitchen.

Does Toggle 2G show as an installed app in the list of applications? It doesn't install on every ROM. What ROM are you running and how did you install it?

Read the notes in the first post or search this thread for "permission"
[Android Apps and Games] sanghaviraj:
will it work on sgs2 contigition rom

had anybody tried this on contigition rom on galaxy s2,i dnt flash roms quite frequently so im wondering what will i loose,if it doesnt work,will i hav to flash the rom again or just a nandroid backup will do,i really need this toggle
[Android Apps and Games] jjwatmyself:
No luck so far on Atrix

I tested resignUpdate on Aura 1.2.2.2 for Atrix without any luck. This included following troubleshooting steps in the readme, (edit) including all steps noted. I previously tested Toggle2G-Update.zip on CM7 for Atrix without success also. However did not follow any trouble-shooting steps on that attempt. Thoughts comments? There is some serious value with using 2G in an automated fashion.
[Android Apps and Games] FadeFx:
I don't get the sense of this, what does it different to my tasker profiles here:

http://db.tt/yvZbJw3a

----------------------------------------

tapatalked
[Android Apps and Games] den_breacker:
Why would I need Tasker?

If I understand this correctly, the app can switch to 2G when screen is off ?

So if this is the only thing I want it to do, I don't need tasker, right?
[Android Apps and Games] TheMasterBaron:
Did you try a full wipe? It's looking to me like that is going to be requirement.

Right, you don't need tasker to switch to 2G when the screen is off. Tasker is useful for when you want full control of when to turn in back to 3G or even when you want to define your own 2G rules.
[Android Apps and Games] jjwatmyself:
I did a "wipe data/factory reset" and a "Fix Permissions" and no luck. Is that a full wipe?
[Android Apps and Games] alexander555:
Bug

Doens't work on Motorola Defy with ROM Miui 1.10.28
[Android Apps and Games] jjwatmyself:
I can confirm that this works on Atrix with CM7 Ba2tF build (Beta 3) using v0.0.16 / 09-28 Toggle2G-Update.zip.

I would like to suggest enhancements that I have found to yield significant additional battery life. The additional logic is timer based as follows:

Manage Mobile Data Connection = true/false

(1) Sleep Delay = Radio with values 2, 5, 10, 15, 20, 30 minutes

(2) Sleep Duration = Radio with values 15, 30, 60, 120, 180 minutes

(3) Unattended Wake Duration = Radio with values 2, 5, 10, 15, 20, 30 minutes

The purpose of this is to turn off mobile data when the phone sleeps (1) for a specific amount of time (2) and to periodically enable mobile data for a specific amount of time (3). Mobile data should be re-enabled when the phone is unlocked.

A similar feature can be added for wifi as follows:

Manage Wifi Data Connection = true/false

The purpose of this is to turn off wifi when the phone sleeps (1) for a specific amount of time (2) and to periodically enable wifi for a specific amount of time (3). Wifi should be re-enabled when the phone is unlocked. Notice that there is not a need for the three timers as they are shared.

The existing feature "No 2G When Network Used" can be renamed to "No 2G when Mobile Data Used".

Network Threshold KBps can be renamed as "Data Transfer Threshold KBps" described as "The moble data or Wifi KBps usage that prevents Wifi shutdown or 3G to 2G switching."

I've done lots of testing with shutting off mobile data and the results are astounding. I hope you'll take these enhancement ideas into consideration.

Here is some supporting data:

1) Manually managed settings yield 64 hours http://xdaforums.com/showpost.php?p=14991068&postcount=351

2) Stock settings yield 12 hours http://xdaforums.com/showpost.php?p=15608805&postcount=405

http://xdaforums.com/showpost.php?p=15629250&postcount=412
[Android Apps and Games] erdano:
SGS2 work for?

I DO NOT WORK ON WINDOWS resignUpdate-1.0.3.zip, PLEASE HELP
[Android Apps and Games] TheMasterBaron:
jjwatmyself, thanks for the suggestions and info! However, Toggle 2G isn't supposed to be a tool to rule all battery saving tools. I don't want to duplicate what other apps do so well. JuiceDefender already has data and wifi management feature in it. What I'm offering is that final piece of the puzzle that so hard to provide due to Googles decision to lock down the changing of networks.

Cheers,

MB
[Android Apps and Games] zicovsky:
Gonna try on my SGS with CM7.1.

Hopefully it won't blow up.
[Android Apps and Games] a user:
ok. toggle2g is working in my miui custom rom. but i have reports of several issues, some i can confirm others i for myself don't had till now:

1. very very often after i was on wlan and went away, when i turn on the screen i have no data connection at all, neither 2g nor anything else.

reported by others:

2. data connections disapears or stops working.

3. 2g icon disapears as if data connection is off but some mails are coming through.

overalls the users reporting issues say it that since toogle2G is on the phone they have far more often data connection not getting enabled. only way to reanable it is reseting ril (e.g. by switching network type 2g/3g).
[Android Apps and Games] vgergo:
Why Radio ROMs don't do this all by themselves?

I've been using this great piece of software for a good month now, and it literarily doubled the battery life of my phone. Mostly because the 3G reception is extremely weak at my workplace, but there I have wifi of course. The added advantage is much fewer dropped calls too...

...but something occured to me: why is this functionally not built into the Radio ROMs of our phones? There is absolutelly no need to retain a 3G connection when there is working Wifi (or when data is turned off). And maybe if the switching happened at the Radio ROM level it could happen much more smoothly without any disconnected periods.

Just a thought, and of course this doesn't stop me from being extremely thankful for TheMasterBaron's work.

--------

(HTC Vision w/ ILWT CM7 216, Radio 26.10.04.03)
[Android Apps and Games] jjwatmyself:
Thanks for the response. I'll take a look at jdef. :-)
[Android Apps and Games] c19932:
just want to say thanks for developing this app. Works great on my Sensation cm7.

Does anyone know if 2G would significantly delay Google Voice incoming sms?
[Android Apps and Games] cdl2:
Toogle 2g/3g on MIUI: how to reinstall after updating MIUI (without resigning)

Thanks a lot for the app, Master Baron!

It works great on my Samsung Galaxy S2 with the MIUI ROM 1.10.28 and 1.11.4 from miuiandroid dot com . I resigned the package as per your instructions and flashed it.

TIP for other MIUI users: when I updated to MIUI 1.11.4 using the 'updater' app, I lost the toggle 2g app. Luckily, before updating I had done a nandroid backup. I managed to extract the file 'toggle2g.apk' from the file system.ext4.tar of the nandroid backup and reinstalled it just fine, because that was the MIUI-signed version. So I guess that all I need to do now is to keep this apk file somewhere on my phone and reinstall it after each MIUI update.

Hope this is useful!

PS, as pointed out in other posts and in other forums, there is a bug / error in MIUI whereby you cannot do a full nandroid backup with the stock kernel (error creating md5 sums) unless you flash ('install zip from sdcard' from the recovery mode) a script; this script is not permanent but must be flashed every time you do a backup, just before running the backup itself (no rebooting between flashing and backing up). As a new user I cannot post links yet but it's easy to find with google; for example, you can search the forums of miuiandroid dot com for the following thread title: 'TEMP-SOLUTION-Broken-nandroid-backups' and you'll find at least two links to download the script.
[Android Apps and Games] maatsby:
Hi, just some feedback

I installed this on my HTC Desire HD running Absolution (a CM7 mod). It worked fine, but I couldn't handle the 2-3 second gap of no reception when it switched between 2G/3G, it started to drive me nuts! So I uninstalled it with Titanium Backup.

But even though the app was gone, the switching behaviour was still there. It still switched 2G/3G when the screen was turned off. Except this time it didn't wait the 5 minutes or whatever, it switched straight away.

I restored my latest nandroid backup and the problem was fixed.

Should I have done something different when uninstalling?

Cheers
[Android Apps and Games] TheMasterBaron:
I've never used Titanium to uninstall it, but my best guess is that clearing the dalvik cache might have cleared it up.
[Android Apps and Games] Aiakio:
@TheMasterBaron:

App is working on:

BinDroid RHD V2.x

RCMix3d Runny v4.x

Virtuous Unity 2.39

Virtuous Affinity

The-GingerMOD v0.7

virtuous_sensation_xe_v.2.1.0
[Android Apps and Games] SagiLo:
I also experience the 3 sec 'no reception' delay between the switch.

Is there a fix for the issue ?

Using DHD with latest SCI MIUI

Do you think what maatsby did might help me as well ?

Thanks !
[Android Apps and Games] maatsby:
All I did was uninstall it ;) lol

What I mean by "Except this time it didn't wait the 5 minutes or whatever" is that it didn't wait to see if the screen was off for 5 minutes before switching 2G/3G, it switched it straight away. The 2-3 second delay with no reception was still there.

I don't think there's anything you can do about it, I think it's a function of the radio + ril

You could work around it by using the Tasker plugin and telling it more specifically when to switch, so you don't lose reception every time you turn your screen on, you could specify a certain activity for example
[Android Apps and Games] SagiLo:
OK ... i thought you got away with the reception loose :)

ill try the app , thanks for the clarification !
[Android Apps and Games] djcsurf:
Is the 3 second gap really that much of an issue considering the extended battery life you will have gained using Toggle2G.

I myself am using SCI Toggle2G version and am loving it.

In those 3 seconds all i'll be doing in unlocking to read a text/email or make a phone call, opening the dialer and contact or dialling a number uses some of that time anyway.

So to me its 3 seconds of no reception that I aint gonna miss, no problem.

Dont forget you also have the option of not switching from 2G while network is being used.

On a seperate note, something Id like to mention is that I use wi-fi hotspot / thethering a lot during the week and I have 'dont switch to 2G if network used' and threshold set to one but it still often reveerts to 2G after 10 min sleep.

Apart from increase sleep delay to 30 mins is there no other way to help prevent this, or does the sleep (screen off) mode over-rule the others?
[Android Apps and Games] lotherius:
Did you find an answer to this? I too am concerned that resigning all of the system apps might prevent updates from the market, as well as the automated vending.apk update. Is this a problem?
[Android Apps and Games] TheMasterBaron:
A simple solution is to delete the apk from the system/app folder and then install the app from the market. As for vending.apk, you can restore it using a titanium backup.
[Android Apps and Games] lotherius:
Ahh, so the answer is.... it does prevent updates - so I shouldn't resign a ROM I'm going to publish for others...

However - can you just resign everything but the Gapps? Ie, leave market, gmail, maps, etc, with their original signatures? I'm assuming since the gapps aren't technically system processes they don't have to be signed with the same keys as, for example, the framework?

Wth, I'm trying it just to see ;)
[Android Apps and Games] TheMasterBaron:
Ahh, yes, you could not resign any apps that would be updated from market.

I blanket resign the folder because its impossible for me to know what apps are "framework" related from ROM to ROM. However, I suppose the script could be updated to exclude common apps.
[Android Apps and Games] lotherius:
Definitely safer. I'll let you know how my experiment goes :) I'm pretty new to the resigning APK bit, though I've been signing update zips for a while now.

EDIT: LOL, didn't go so well. Somehow I caused the radio to not connect at all. Not sure why.

EDIT 2: Turns out that was something else.... but getting random force closes.... guess the mix of resigning *is* difficult to know what to sign and what not...

EDIT 3: Oooh, I think I have it working... time will tell.

EDIT 4:

I *could* spam replies as if this were chat or I could just keep editing the same post over and over LOL...

Anyway... now I'm wondering how hard it would be to link this in to the Quick Panels here (http://xdaforums.com/showthread.php?t=1087858)...
[Android Apps and Games] djcsurf:
Does (screen off) sleep policy over rule not switchuing to 2G if network being used !?

Sent by my pukka fukka SCI MIUI
[Android Apps and Games] cdl2:
On the Samsung Galaxy S2, I got it to work on:

MIUI 1.11.11 (miuiandroid dot com)

VillainRom 2.5

Galnet MIUI 2.10.21 (stable). But a number of apps don't work with that rom (app is not compatible with your device)

I couldn't get it to work on the Galnet MIUI 1.11.9 with the ICS build
[Android Apps and Games] lotherius:
Have it working on my G2X Rom :) Re-signed system apps, but left out the market and other google updatable apps, so users won't have to delete them manually...
[Android Apps and Games] jdogzilla:
Does this work on SGS with Darky Rom or any other Deodexed Rom?
[Android Apps and Games] tuanhasdone:
v0.0.16 Switch to 2g when data is disabled. Better fix for bug where settings are not surviving a reboot.

i have a problem with this feature. If data connection is disabled, it will switch to 2g. But when the data connection is enabled after this, ] Toggle 2G/3G will not switch back to 3g. So i must activate the 3g every time manually or i must switch the screen off then on in order to enable 3g . Is this a feature or a bug?
[Android Apps and Games] TheMasterBaron:
OK, I've created ResignUpdateV2.zip that is now a java application that will only resign apk files that need to be resigned. This is a huge improvement to the blanket resigning I was doing before. As lotherius pointed out in a previous post, apps included that are also in the market would not update. Now they should!

This is a java application so it will work on Windows, OSX, Linux machines!

Cheers,

MB
[Android Apps and Games] lotherius:
Haven't heard a single complaint yet from anyone after I included it in my Rom :) I was all prepared to send them your way for troubleshooting LOL... Of course I don't have the *most popular* Rom yet.. ;)
[Android Apps and Games] lemaxxx:
error on resign modaco gr5 optimus 2x

Hi,

I recived this error using ResignUpdateV2:

C:\Users\Master\Downloads\ResignUpdateV2>ResignUpdate.bat Gr5-update-modacocusto

mrom-2x-core.zip

http://xdaforums.com/showthread.php?t=739530

Toggle 2G ROM Resigner v2.0.1 beta

Processing ROM update zip: C:\Users\Master\Downloads\ResignUpdateV2\Gr5-update-m

odacocustomrom-2x-core.zip

Locating apk's to convert....

Exception in thread "main" java.lang.RuntimeException: Failed to find Phone.apk'

s public key

at com.mb.resign.Resign.main(Resign.java:241)

Many thanks for any help
[Android Apps and Games] Break Action:
Suggestions:

- after enabling screen, ask user, does he need to activate 3g (Yes / No). You can see as example how it do App - Slu****;

- do not make any changes (or ask user) while phone has connected to wi-fi;
[Android Apps and Games] :
TheMasterBaron,

Why does the application request, what appears to be, all permissions?
[Android Apps and Games] jtech:
Can we have scheduled 2g?

so from 12am to 9am = 2g? that would be great!
[Android Apps and Games] elmerendeiro:
I knew that 3g is more efficient than 2g in terms of battery life...kind of "it does its things way faster so less battery use"...

Isn't it correct?
[Android Apps and Games] TheMasterBaron:
I don't explicitly have those permissions in this app. Android is showing all the permissions inherited from the system because this app will be running in the same program space and by default inherits all the permissions of the system.

The Locale plug-in should take care of this. I don't plan on re-implementing many of the things that the Locale app can do.

Yes, the idea is to switch to 2g when your not using the phone to conserve battery life while maintaining a network connection.
[Android Apps and Games] TheMasterBaron:
new v0.0.2 adds Locale plugin support!
[Android Apps and Games] :
Wow, that's cool. Also amazing that Android doesn't have this already.

Is it possible to make it automatically choose which which network to connect to based on variables (eg. wifi/battery/screen state)? That would be perfect for me, as I'm always in range of three networks.

This is my use case:

Network 1) My 3G carrier - rubbish reception at my house :(

Network 2) A different 3G carrier - high cost for data roaming

Network 3) A different 2G carrier - high cost for slow data roaming, but awesome reception.

Ideally, I'd like to to connect to network 3 when I have data over wifi, but network 1 at all other times.

Thoughts?
[Android Apps and Games] Nuja:
Hi, nice apps :)

would be nice to be able to make it switch back to 3g 30 secondes after the screen goes back on (even adding no delays ?)
[Android Apps and Games] pwvandeursen:
locale support

Just saw you added locale support. awesome!!

quick question, this (the Locale support) is still only for CM devices? I have modaco r16 currently, but will update to CM once he has stable releases. any support till that time for other roms?
[Android Apps and Games] TheMasterBaron:
That's a lot of customization, I'm thinking that Locale would be a better tool to handle specific cases lite this. Perhaps a plugin is need to pick a carrier.

I was thinking along the lines of selecting a message in the notification bar to switch back. That way it won't interrupt you if your taking more than 30 seconds. The current functionality is not to delay and switch as soon as possible

All it takes is re-signing the apk using the ROM's system key. The code isn't specific to CM, so it should work across ROMs.
[Android Apps and Games] cmarti:
I notice that I'm getting missed calls with this app, what happens is that when the phone goes to sleep and it switches to 2G and someone calls me the phone wakes and resets the radio and takes a few seconds to reconnect to the T-MOBILE network causing the call to be missed.

Basically is not answering the phone when someone calls you.
[Android Apps and Games] TREYisRAD:
Could the app disable itself automatically when Wireless Tethering is active?

If it already does this, awesome! I just haven't tested it yet.
[Android Apps and Games] TheMasterBaron:
Hmm, I've coded and tested this to not change the setting if the phone status is anything but idle (i.e. not ringing or connected). Are you using Google voice or have anything special you can think of related to how you make calls?

Can anyone else confirm (or deny) if they are getting dropped calls because of 2G/3G switching when phone wakes up because phone is ringing? I need to know if this is sporadic among phones.

I'll add this to the todo list. Thanks
[Android Apps and Games] System of a pWne!^:
Just out of curiosity: Why does it require cyanogen Mod (why kind of addition in cyanogen is used?)

And might it be possible to make the prerequisites match on other ROMs too so this app works on them?
[Android Apps and Games] cmarti:
No I'm just using the app and nothing else, wait I am using also an app called "Power Saver Mode Enabler" Not sure how it works or if it has anything to do with this.

These are the symptoms:

Phone is in sleep, someone calls me and it rings then when I pick it up the call drops then I loose all bars and it takes a few seconds to return (maybe 6 seconds)

and then the full bars again come and 3G is enabled.

Not sure if those details are enough but if you have any other questions please let me know.