yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] TheMasterBaron:
The first instance where you turn off data, it looks like your wifi is turned on and is trying to connect so toggle 2g sets it back to 2g right away. Do you have a wifi network that's trying to connect (and maybe failing). The second time seems to go smother.

In both cases, toggle2g switches to the 3g network fairly quickly.

01-15 22:53:11.190 I/Toggle2G(817): 2g=true (1)
01-15 22:53:14.214 I/Toggle2G(817): set3g because background data is on
01-15 22:53:20.768 I/Toggle2G(817): 2g=false (0)
01-15 22:53:40.221 I/Toggle2G(817): set2g because .... isWifiOn=true
01-15 22:53:46.948 I/Toggle2G(817): 2g=true (1)

01-15 22:58:09.169 I/Toggle2G(817): set3g because background data is on
01-15 22:58:15.778 I/Toggle2G(817): 2g=false (0)
[Android Apps and Games] TheInVisibleGoD:
Even if I have Wifi off already, as soon as I enable data, it takes those 2 or 3 minutes as well!

I'm using also the option to "enable 2G while Data off", so the issue is when it tries to switch from 2G to 3G. If it would help you, I can send you a logcat with Wifi always off, just to switch Data on/off and see his behaviour when switching between 2G and 3G... Tomorrow I can send you a new one, if you wish!

Thank you for your support mate! ;)
[Android Apps and Games] TheMasterBaron:
Yea, send another one my way. I'll take another look.
[Android Apps and Games] TheInVisibleGoD:
Here you have mate. ;)

It seems is failing on something as far as I could understand...

http://pastebin.com/UW5i9Y2t
[Android Apps and Games] TheMasterBaron:
Yea, there is an "GENERIC_FAILURE" when trying to switch Try enabling the "Data Off To Switch" option to see if that helps. It could be that your radio doesn't like to switch so soon after data is enabled. Maybe a delay is needed for some radios,
[Android Apps and Games] Mr_Q:
I think you should change the thread title from 2012 tot 2013 to prevent confusions. :)
[Android Apps and Games] yaatzek:
Is it possible to add an option to choose national roaming operator on a specific network type?
[Android Apps and Games] yltan:
Anyone got it working on stock HOX?
[Android Apps and Games] TheInVisibleGoD:
Thanks for the prompt answer! ;)

I tried with "Data Off To Switch" but I'm getting the same behaviour, didn't see the logcat though...

I already had this same radio working well with Toggle2G, perhaps is related to the rom... Anyone using it with AOKP 4.2.1 latest versions?
[Android Apps and Games] orgler:
AW: [APP] Toggle2G (Tasker/LTE/Rootless) [v0.3.5 / 1/13/2013]

Hi,

I've set up the app to switch to 2g when connected to a Wifi network on my LG p990 with pengus' cm10 on new bl rom. However, when leaving the Wifi the data connection doesn't come up again. Though there is a switch to 3g an even a 3g symbol in the status bar I cannot transfer any data. When doing the switch manually with the standard functionality everything is fine.

Any ideas? I could provide a logcat if you want, for both radio and main log?

Update :

Well, just tried to reproduce this again, this time with "switch data off" disabled. For now it is working, maybe it is working if the time on Wifi and 2g ist short. I'll keep an eye on it and report back.

-Orgler
[Android Apps and Games] Roland_SGN:
I am on Parandroid 2.56, which is a derivate of CM10.1. I am not completely sure, how the app should work and I guess I stir things together which don't belong to each other. Anyway, since I am confused, I asking for clarification:

I have enabled/disabled some option and one of them is that the 3G should be enabled after Screen-unlock. The next option to enable 3G manually seems quite tricky, cause when I leave it unchecked, the data-connection remains off. I guess it has to do with the other option which says, if switch to 2G, if data-traffic is off. But I am not really sure, how 3G works together with the data-traffic, cause when I disable 2G (=> enable 3G?) then data remains off. So, this means I need to reenable data separately. Is this intended or do I miss something?

Next issue is, that I can enable data, and 2G remains on, and I see as well the notification. Pressing on the notification doesn't change anything. So, what should happen, when pressing on the notification? (2G is still enabled) Cause I don't see any kind of change. I guess, the notification is the biggest confusion, which I would like to get feedback, if I am misunderstanding something, or if there is really something not working... Also the attached screenshot doesn't really work together with the notification + 2G disabled.

To make it short:

- What should happen if I press on the notification?

- Is there a brief summary, what should happen when switching from 3G =>2G resp. otherwise with the data-connection?
[Android Apps and Games] Kuliano:
AW: [APP] Toggle2G (Tasker/LTE/Rootless) [v0.3.5 / 1/13/2013]

First at all: absolute great Work!! :) that app helps me saving battery so much.

I'm using cm10 (JB) by ivendor (sgs+ i9001) and got a question about the synergy with toggle2g.

It takes about 1minute to change to 3g. On GB it was so much faster (~10sec). How could this be and how could i fix that circumstance?

Greetings!
[Android Apps and Games] HellGames:
A very nice app! Thanks!
[Android Apps and Games] Javi22:
Re: [APP] Toggle2G (Tasker/LTE/Rootless) [v0.3.5 / 1/13/2013]

Are plugin and app compatible? I've set a tasker profile using the plugin, but when it becomes active, I've noticed that the app is disabled. I suppose I can only use either tasker or app right?
[Android Apps and Games] slashi:
toggle2g and shostock3

I tried to install Toggle2G on Shostock3 1.8.5 rom using zip in recovery mode on my samsung sgh-i777 Galaxy II, but was unsuccesful.

Then i tried to integrate in into Shostock firmware zip file using ResignUpdate and also failed, coz needed apk files were not found.

here is log:

Is there any other way to install and use toggle2g on Shostock3 firmware?

Update: Found a solution in Troubleshooting section
[Android Apps and Games] Javi22:
Re: [APP] Toggle2G (Tasker/LTE/Rootless) [v0.3.5 / 1/13/2013]

I've a little question: When I set the app to switch to 2g when battery is low, it works fine, but I would like that if after that, I switch it back to 3g, I want the phone to stay in 3g. The problem is that when battery is <20, I can't use 3g because the app is always switching to 2g all the time

Thank you very much
[Android Apps and Games] wl3gan:
This new version 0.3.5 keep tuning off/on my Data even I keep the screen on...
[Android Apps and Games] readyfordeals:
+1

Same here.

Running on

ROM: Nexus Paranoid Android 2.99

Kernel: Trinity v.007
[Android Apps and Games] andrewfung888:
Re: [APP] Toggle2G (Tasker/LTE/Rootless) [v0.3.5 / 1/13/2013]

Hi

Sorry for my question, I am new to the thread. Just switch to 3g service and found battery drain increase. Very happy to find this amazing app but i don't know whether i can use it or not. I'm using Omega ROM and S3. I resigned the ROM and flash the zip file and no error with recovery but nothing in the app drawer. Nothing happen and I also try to install the Toggle2G.apk but can't. Please tell me what to do. Thank.

Sent from my GT-I9300

OMEGA 40
[Android Apps and Games] andrewfung888:
Re: [APP] Toggle2G (Tasker/LTE/Rootless) [v0.3.5 / 1/13/2013]

Finally sorted out the problem with a full wipe and flashed again. But new problem now, after enabled auto network control data connection drop out and reconnected all the time. On 7-10s and off 7-10s. The Ui not response like it is busy connecting and disconnecting. I'm using 0.3.5

Any idea?
[Android Apps and Games] wl3gan:
I have same experience, it is lagging when go into the Toggle2G UI configuration menu. I drop using this and using Tasker to control Toggle2G as a plugin instead.

Basically with this version (constant disconnect/reconnect my mobile data), it become unusable.
[Android Apps and Games] andrewfung888:
Re: [APP] Toggle2G (Tasker/LTE/Rootless) [v0.3.5 / 1/13/2013]

Thanks

Still want to try some more time on toggle2G. Heard tasker create too much wakelock.
[Android Apps and Games] grafenberg:
Re: [APP] Toggle2G (Tasker/LTE/Rootless) [v0.3.5 / 1/13/2013]

Currently running cm10.1 on sgs2. The app works fine for several hours. But later after some screen on & off it stops working. My network stays on 3g. There's no way to switch to 2g or turn off the network without reboot. Tried all settings but no luck.

Any suggestion? Thanks :)
[Android Apps and Games] dmitrypr:
Cool!

Cool!
[Android Apps and Games] MarlinFF:
Re: [APP] Toggle2G (Tasker/LTE/Rootless) [v0.3.5 / 1/13/2013]

It used to work really well, but it seems on the latest nexus 4 nightlys that when my screen is off it disconnects my cell service (no texts, calls)
[Android Apps and Games] Stryder5:
Re: [APP] Toggle2G (Tasker/LTE/Rootless) [v0.3.5 / 1/13/2013]

I'm using the latest PA build and works fine for me.
[Android Apps and Games] Manaro:
Toggle2G on lenovo p770

i want to ask u if we can install this app :Toggle2G on lenovo p770 (MT6577 phone) ? could u plz tell me if it will work?
[Android Apps and Games] boy1010994:
I am using CM10 on SHV-120K,

Aftering flashing the zip,

the phone becomes very very slow,

and it cannot be used in normal way.
[Android Apps and Games] fluffysaw:
first - thank you. WIthout this App I can not imagine to use Android anymore - it helps me to save a lot of battery over the day. A shame that google does not provide this feature from stock Android.

One suggestion - a toggle-back-delay after screen-unlock would be great. You already have implemented a delay after screen-off. When you turn the phone back on, sometimes you just want to check notifications, discard them and switch the phone off again. Its annoying sometimes that you shortly loose the mobile internet connection because toggle2g already switches back to 3g immediately after screen unlock, even if you would not need 3g right after screen-on - you know, the toggle takes some time ...

The screen-unlock-toggle-delay selection should have shorter times than the screen-off-toggle-delay, e.g. 10sec, 30sec, 60sec, 1min

cheers

Ralf
[Android Apps and Games] eozen81:
I am begging here for someone please share which ROMS can I download so that I can flash this zip? It can not work for Ultima.
[Android Apps and Games] spupuz:
CM Aokp or Paranoid Android Based rom, or you have to manually sign any rom you want before flash it.
[Android Apps and Games] videomaker:
I'm using it with Ivendors CM10 Beta 1 for my Samsung S Plus (i9001) and it works very well! Thank you!
[Android Apps and Games] eozen81:
I tried to sign for Ultima ROM but no good, it did not work. Could anybody managed to flash this into Ultima ROM?

A question:

I have tried 2 different ROMS for Galaxy S3 (Ultima ROM and Sotmax) but none of the zip files of these ROM's include below apk files. Thus I can not re-sign the apk, any idea?

system/app/phone.apk

system/app/settings.apk

system/app/SecPhone.apk

system/app/SecSettings.apk
[Android Apps and Games] zmfl:
Back when SecPhone.apk didn't get signed automatically I used this trick to still resign Samsung ROMs successfully.

Perhaps you can adapt that to whatever SecPhone is called in your ROM. I never used Ultima so I don't know exactly.
[Android Apps and Games] eozen81:
Even though this ROM includes SecPhone.apk in /system/app I can not re-sign the apk, any idea?
[Android Apps and Games] zmfl:
Re: [APP] Toggle2G (Tasker/LTE/Rootless) [v0.3.5 / 1/13/2013]

Everything seems to be in order, according to that screenshot... I can only suggest you try an older version of the resigner, and/or check your command line options. Version 2.1.3 works for me every time.

For a better suggestion you have to wait for the Baron :)
[Android Apps and Games] bar-aka:
EDIT: the problem I was having was with the apk. I managed to install it using the update.zip in recovery.

Does anyone know what could be the issue with Toggle2G on the latest nightlies of CM10.1?

After flashing the latest nightly 20130216, the app disappeared, when I try to install it, it just says App not installed.

In logcat I get: Installation error code -19

Anyone have any ideas what it could be?

Thanks.
[Android Apps and Games] jdogzilla:
Anyone tried this with Omega v42 for GSG3? If it works, can you outline the steps you took? Thanks.
[Android Apps and Games] giangi88:
Same problem of others with 0.35, the data connection switch on/off all the time... great work anyway
[Android Apps and Games] MarlinFF:
Re: [APP] Toggle2G (Tasker/LTE/Rootless) [v0.3.5 / 1/13/2013][APP] Toggle2G (Tasker/L

I get the same thing. Well, my whole phone service turns off when my screen is off. It turns back on when I unlock my phone.
[Android Apps and Games] azrash:
hi theMasterBaron

loving your mod! I have used the addon.d script used by gapps, superSU, etc to make Toggle2G survives a nightly flash or ROM update. perhaps you can include this in your flashable zip. I am sure many would benefit from this :)

i used this simple tutorial here to create the addon.d script file

[Tutorial] CM9/CM10/CM10.1 back up script

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

Edit: attached the script here

this is not a flashable zip. You have to manually copy the script file to /system/addon.d/ with permission set to rwxr-xr-x

This will only work on ROMs that supports addon.d, CM and CM based ROMs supports this. You can check whether your ROM supports this by checking whether there is /system/addon.d in the ROM

Flowed from my Nexus 4.
[Android Apps and Games] albsat:
Re: [APP] Toggle2G (Tasker/LTE/Rootless) [v0.3.5 / 1/13/2013]

Did anyone had luck with the plugin and the stock 4.2.2 rom for nexus?

I tried, but it didn't work. Any help?
[Android Apps and Games] ellard:
can i use this on a stock jellybean rom?
[Android Apps and Games] supperchym:
its working very well but i have problem with cell standby, it usage high battery :confused:
[Android Apps and Games] Kuliano:
AW: [APP] Toggle2G (Tasker/LTE/Rootless) [v0.3.5 / 1/13/2013]

No u cant. u have to integrate it To your Rom and flash it.
[Android Apps and Games] Michael2907:
AW: [APP] Toggle2G (Tasker/LTE/Rootless) [v0.3.5 / 1/13/2013]

Ich habe hier rein Problem mit rootbox und dem Google. Android 4.21 verursacht bei mit reeboots

Gesendet von meinem GT-I9300 mit Tapatalk 2
[Android Apps and Games] johnypintas:
Great app :good:

a must for extending battery life, works perfectly for me

i9001 - CM10 beta 1 - Ivendor
[Android Apps and Games] CptanPanic:
Could you attach the script?
[Android Apps and Games] azrash:
Re: [APP] Toggle2G (Tasker/LTE/Rootless) [v0.3.5 / 1/13/2013]

sure, attached at my original post for easier referencing

Flowed from my Nexus 4
[Android Apps and Games] WastedJoker:
I guess it has been mentioned that if I'm on wifi thus only on 2g, if I go into airplane mode, 2g doesn't activate?
[Android Apps and Games] jdogzilla:
Re: [APP] Toggle2G (Tasker/LTE/Rootless) [v0.3.5 / 1/13/2013]

Tried this on Omega 42 and it didn't work... Phone kept disabling data network.
[Android Apps and Games] wojtas1982:
Same problem with data here, 4.1.2 PAC Rom, Xperia S. When 2g Toggle enabled it keeps disabling data.
[Android Apps and Games] JensF77:
Hello,

i have a problem with this App. When the Display is off the App will change into the 2G Mode. But it doesn´t work. The Data is off. When i look in the setting the Data is on but i have no connection.

When i will change the mode manuelly i doesn´t work, too.

I must restart the Phone....

Sorry for my Bad English!!!!

Can anyone help me?? I have a Galaxy Nexus with root and the CM 10.1 ROM.

*edit* OK i have read others have the same problems. Is there another App that can do this???
[Android Apps and Games] martinhk2008:
same problem

I have the same problem. I using the LG P930, CM10 stable version:(

After using a few hours, I should restart my phone to get the network connection back :(:(:(:(
[Android Apps and Games] itandy:
I used to have similar issue but after switching to another radio it's all fine now. I guess some radio just don't like to be switched (2G/3G) this way.
[Android Apps and Games] Criss74:
Successfully working on Sony Xperia U with stock based custom rom with the resign update method!!

Thank U very mutch i can't live without your Toggle2G!! :laugh:
[Android Apps and Games] losta:
works great with my galaxy s3 with samsung based custom rom :D thank you :victory:
[Android Apps and Games] cb474:
Thanks for the script. I'm wondering if the script is necessary when doing a dirty upgrade of my ROM, since already installed apks remain on my system anyway.

Also will the script also backup and reinstall the apk for the Toggle2G notification plugin (i.e. https://play.google.com/store/apps/...5tYi50b2dnbGUyZy5wbHVnaW4ubm90aWZpY2F0aW9uIl0.)
[Android Apps and Games] azrash:
Re: [APP] Toggle2G (Tasker/LTE/Rootless) [v0.3.5 / 1/13/2013]

when doing a dirty upgrade of cm rom, it will wipe the /system. So those apps that you install from the Play Store won't be affected since they are placed in /data partition. This goes to the Toggle2G notification plugin too, since it is in installed from the play store, it is unnecessary to include it in the backup script. The backup script can be tweaked to include other apps that you flash or install to /system partition. Hope this answers your question!

Flowed from my Nexus 4
[Android Apps and Games] cb474:
Thanks. So the script is necessary, even with a dirty upgrade, for the basic app, just not for the plugin?
[Android Apps and Games] Csapi007:
Nexus 4

Hy

I have a Nexus 4, Paranoid Android 3.10 ROM and franco kernel.

The auto mode doesn't work, it doesn't switch automatically. Have anybody experianced this?
[Android Apps and Games] WastedJoker:
Re: [APP] Toggle2G (Tasker/LTE/Rootless) [v0.3.5 / 1/13/2013]

Which of the downloads do we use?
[Android Apps and Games] jdogzilla:
which custom rom are you using?
[Android Apps and Games] Lexx!:
Whatsapp doesnt work with app :(

I got the problem, that whatsapp doesnt receive messages in deep sleep. After switching on the screen and unlock the display protection I got all the messages which doesnt reach me the last "hours". This problem does not happen when I´m connected to wifi and went on deep sleep mode.

I´m using CM 10 (4.1.2 20121116-unoffical-maserati) on a motorola droid 4.
[Android Apps and Games] jaydee 77:
Does not work on Samsung S3 (i9300) Stock ROM (4.1.2, XXEMB5). Apk does not install. Flash thru CWM runs without any error but Toggle2G does not show in app drawer.
[Android Apps and Games] shaharyaraziz:
You have to Resign the rom using the resign tool if its not a CM Rom... Please read OP for detailed Instructions.
[Android Apps and Games] samsoul16:
Re: [APP] Toggle2G (Tasker/LTE/Rootless) [v0.3.5 / 1/13/2013]

Guys don't mind but can any1 plz tell me what this application does. I read whole op twice but didn't understood.. Some 1 mind telling me..?? :confused::p

Sent from my GT-S6102 using Xparent ICS Tapatalk 2
[Android Apps and Games] Mad Marty:
Re: [APP] Toggle2G (Tasker/LTE/Rootless) [v0.3.5 / 1/13/2013]

The third line of the OP states clearly ' enables the 2G Only setting automatically when the phone is asleep to save battery'

If you don't understand it, the app is probably not for you ;)
[Android Apps and Games] alkhafaf:
It appeared in the app drawer without resigning the ROM.. Will it work well then ? I didn't test it yet cuz I dont have sim card now.

I am using SGS i9000, GB stock ROM deodexed

thanks.
[Android Apps and Games] samsoul16:
Re: [APP] Toggle2G (Tasker/LTE/Rootless) [v0.3.5 / 1/13/2013]

Can u plz elaborate what is 26 toggles setting. I already understood it will be activated when Fone is asleep...

Sent from my GT-S6102 using Xparent ICS Tapatalk 2
[Android Apps and Games] vegalinho:
This App has always worked for me, but now it doesnt show up in the appdrawer anymore after flashing the latest nightlies, eventhough the flashing process appears to be flawless. Anyone else experiencing the same issue?
[Android Apps and Games] azrash:
Re: [APP] Toggle2G (Tasker/LTE/Rootless) [v0.3.5 / 1/13/2013]

refer here

http://xdaforums.com/showthread.php?p=38206196

Flowed from my Nexus 4
[Android Apps and Games] Magpir:
working on 4.2.2 teambaked rom by darkprice after resigning.

---------- Post added at 08:33 AM ---------- Previous post was at 08:31 AM ----------

it saves yr battery consumption by changing the network modes in yr phone to a lower power network mode

when u are not using the phone
[Android Apps and Games] Magpir:
Re: [APP] Toggle2G (Tasker/LTE/Rootless) [v0.3.5 / 1/13/2013]

There is a prob the wifi is not turning off even when set to keep wifi always on to never
[Android Apps and Games] Magpir:
i have a problem now, when i flashed other roms the phone is stuck in 2G

help....
[Android Apps and Games] boobiestar:
I use Sotmax Ultimate V17 ROM. I have resigned it with the tool in the OP. Everything went OK, message from the resign tool that it was 100% succesful resigned. After flashing the resigned ROM I come in a boot loop. Wiping cache and dalvik. Fix permissions. But nothing helped. Anyone suggestions. I like to use this app because at home and at my office I have bad 3G signal and a good 2G signal.

Edit: after factory reset app shows up in app drawer and I can set settings. Now I go testing this mod.
[Android Apps and Games] corrsea:
Good to see you've got it working. I might try it out now that you have done all the problem solving:)

Have you successfully updated to V18 yet?

ROM Sotmax Ultimate V18

Kernel Yank555.lu-V3.3f
[Android Apps and Games] boobiestar:
Not yet. Sotmax has now different options for the phone apk (auto recording, manual recording). This apk's are put in different directories, so I have to find them all and can than start the resign process. You need these directories to fill in for the -keyapk option. With Sotmax V17 the resign process went automatic, now I have to investigate some time for V18. Will do it this weekend I think.

Use this MOD with BWOF and have now very low battery drain.

Verstuurd van mijn GT-N8010 met Tapatalk
[Android Apps and Games] corrsea:
Yea I use bwof plus data switch to switch both off when screen off. Both major battery drainers if left on continually. Getting auto gsm switch working would be the icing on the cake:)

ROM Sotmax Ultimate V18

Kernel Yank555.lu-V3.3i
[Android Apps and Games] shaharyaraziz:
Great Stuff

Great Mod TheMasterBaron, I have been using this since ages now, I was thinking if you guys are planning to make an Android version of the Resign Tool. This could be helpful in regards to helping a friend install it when you dont have access to a PC. Just a Request/Idea but in any case this no complains with the work I can only Imagine how much time you guys spend developing this.
[Android Apps and Games] mark2410:
anyone else find that if they manually turn off wifi then 3G and a moblie data connection wont come back? anyone got a way to fix this?
[Android Apps and Games] azrash:
It works fine on my device. Perhaps you can provide more details, what device are you using etc. Hopefully others would be able to help

Flowed from my Nexus⁴
[Android Apps and Games] mark2410:
using a galaxy nexus, otherwise it all seems to work fine other than manually turning off wifi. it seems like it doesnt know what to do when wifi is turned off. not sure what else you want to know.
[Android Apps and Games] TheMasterBaron:
I actually tried to look into this, but Android was missing the libraries for signing. Signing is done using Sun/Oracle libraries found in the full JVM.
[Android Apps and Games] boobiestar:
I am now on V19 and the mod is working. Did you try this mod already?

Sent from my GT-I9300 with Tapatalk

Sotmax Ultimate V19 - Yank555.lu-V3.3i - JKay 14.94
[Android Apps and Games] corrsea:
It's still on my to do list :). But it's good to know that it works. Just need to find a spare hour or 2 :)

BTW have you ever tried it without a full wipe?

ROM Sotmax Ultimate V19

Kernel Yank555.lu-V3.3j
[Android Apps and Games] jjwatmyself:
I am very interested to see the addition of LTE support. Nicely done as usual.