yashsingh1/xdaforums huggingface dataset:
[Android Apps and Games] MercilessLTD:
I am currently using a CM10 ROM for my Nexus S (AT&T), and it appears that Toggle 2G, when cycling back to 3G, will allow me to connect to the network, but the connection isn't usable.

To clarify, I flash a CM10 ROM (listed in signature) and flashed the Update.zip. The Toggle 2G appeared in the app drawer, so I used Titanium Backup to restore the data for the Toggle 2G app. I then opened the app to quickly glance and confirm the settings were correct.

Unfortunately, I started noticing that when I would unlock my phone, while the switch was quick from E to 3G/H, my network icons would stay gray instead of turning blue. I would try to use the internet but every app I used said there was not a valid connection.

Sometimes it would take 10 minutes for the network icons to turn blue (showing connectivity to Google), and then my network was usable. Other times, it would take so long I'd reboot the phone (20+ minutes).

Under a resigned stock 4.1.1 OTA, this was not an issue. Once the network showed it successfully switched to 3G, the network was instantly usable with a valid internet connection.
[Android Apps and Games] erew1:
I have set to switch to 2g only when screen is off and to 3g only when screen is on.

But sometimes it is not working... would not change to 2g even after timeoff and without enabling "No 2G when network usage is being used".

The reason I use this app is that it can monitor network usage.

The problem is when I am downloading, yes 2g will not be changed even after timeoff as network is being used, but it will not change to 2g after the download is done. This kinds loses the point of the monitoring.
[Android Apps and Games] Javi22:
Hello, I would like to make this Mod working on my phone. You say what I need to do is re sign the Rom and then flash it, the problem is this Rom I use is not a flasheable zip file, but is a CWM backup, you can see it here

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

Any idea about how could I resign the rom? Is the same procedure?
[Android Apps and Games] Moleculinary:
any update?
[Android Apps and Games] momohimo:
Resignupdate instruction for mac

For those who wants to resignupdate their roms using mac, you have to follow these instructions.

1. Extract ResignUpdate.zip, copy and paste the rom file into that directory.

2. open terminal.

3. go the extracted directory using cd command.

4. type chmod 755 ./ResignUpdate.sh

5. type ./ResignUpdate.sh ./YOUR-ROM-NAME.zip

6. Install the rom as usual via CWM.

Hope it helps. :)
[Android Apps and Games] jjwatmyself:
After testing this long, long ago on cm7, I am back to re testing on the most current version. I have had a super successful day with this today using epinter CM10 version 0904. In addition, I have found that this works flawlessly with Green Power Premium which adds disabling data when the screen is off for additional power savings.

I did not use the zip, as it installs to /system/app. Instead, I used the apk so that when I flash updates, I won't have to continually reinstall the 2g 3g switcher.

Thanks!
[Android Apps and Games] Bricolo_fr:
is it a standalone app or does it require tasker?
[Android Apps and Games] Simba501:
Standalone; it has a Tasker plugin for those that want it.
[Android Apps and Games] marcogtt:
hi there.

just put my hands on my new sgs3.

im trying to resign checkrom v5 based on a ICS rom.

zip file is around 500mb.

When i run as usual resign update i got:

C:\Users\Marco\Desktop\ResignUpdateV2.1.3>resignupdate.bat Checkrom.zip
http://xdaforums.com/showthread.php?t=739530
Toggle 2G ROM Resigner v2.1.2

Processing ROM update zip: C:\Users\Marco\Desktop\ResignUpdateV2.1.3\checkrom.zi
p
Locating apk's to convert....
WARNING: system/app/phone.apk not found
WARNING: system/app/settings.apk not found
Exception in thread "main" java.lang.RuntimeException: Failed to find any apk wi
th a key
at com.mb.resign.Resign.main(Resign.java:381)

i checked inside the zip file and infact i couldn't find those file in the path.

any clues?
[Android Apps and Games] Bricolo_fr:
ok I'll give it a try and report my battery life improvements :)

I just normally installed the apk as any other app, is that fine or do I HAVE to push it to /system?
[Android Apps and Games] Bricolo_fr:
Something seems to be wrong in my setup :/

After the screen is off, the phone switches to GSM network but also disables the data (E icon dissapears)
[Android Apps and Games] marcogtt:
Which phone?

Inviato dal mio GT-I9300 usando Tapatalk
[Android Apps and Games] marcogtt:
That's it.....should be written in caps
[Android Apps and Games] Bricolo_fr:
HTC One S (sense rom)
[Android Apps and Games] killian32:
Has some used with app with Samsung Galaxy S2 in Italy ? When screen goes on and someone is calling you it works or switching from 2G to 3G will close the call?
[Android Apps and Games] marcogtt:
Write me a pm in ITALIAN

Inviato dal mio GT-I9300 usando Tapatalk
[Android Apps and Games] djmcnz:
Yeah, just get your ROM dev to sign this app.

Resigning the whole ROM is a (very) extreme measure, whereas it will take less than 5 mins for a dev to sign the app using their keys.
[Android Apps and Games] djmcnz:
So I'm also have some JB trouble.

As per previous reports (by others) I occasionally also get the "dead connection" whereby the connection appears to be alive but is unusable.

But my main problem is that the application keeps getting backgrounded and killed... admittedly I hardly ever reboot my phone but this problem (with the same usage pattern) did not occur on ICS. Has anybody been able to overcome this without using something like Tasker to manually restart 2G/3G Toggle?
[Android Apps and Games] hinghing1113:
it basically toggle between 2g and 3g only, not including turning off the wifi when screen off, right?

my goal is to turn on 2g and turn off wifi when screen off

and turn on wifi when screen is on
[Android Apps and Games] killian32:
For turning on/off wi-fi when screen goes on/off you can use tasker or llama or other apps like that :)

---------- Post added at 05:35 AM ---------- Previous post was at 05:33 AM ----------

I've flash the zip throught the recovery and I can see the app in the drawer. When I try to install the apk I got the error "application not installed". Is my system not compatible ?
[Android Apps and Games] djmcnz:
If you see the app in the drawer then it is installed, just launch it.
[Android Apps and Games] killian32:
I've flashed Toggle2G-0.2.4-update.zip but when I run Toggle 2G Plug-in it says:

This plugin requires the Toggle 2G application to be installed before it will work!

What am I missing ?:confused:
[Android Apps and Games] djmcnz:
Not sure sorry, don't use any plug-ins. But if you can launch the app it's most definitely installed.
[Android Apps and Games] killian32:
I've attached a screenshot of the drawer and one of the error if anyone could help ...
[Android Apps and Games] djmcnz:
In that screenshot the plugin is installed but there's no icon for the actual application...
[Android Apps and Games] killian32:
ok so maybe it doesn't work on my stock rom and the only way is to re-sign to ROM. Is there a way to download a "stock" ROM for flashing with Recovery ?
[Android Apps and Games] marcogtt:
It is really hard to understand what you are asking here.

It is well known that the easiest way to install t2g is having a cm ROM.

BTW I have had only stock ROMs all of them working fine with a t2g injection.

Proceed this way

download your ROMs zip of your best stock release

Download resigning updater from the first post of this thread

Place your ROM zip to the same folder and run resignupdate.bat from the command prompt.

Install your ROM via cwm. Voila your ROM now have t2g.

Inviato dal mio GT-I9300 usando Tapatalk

---------- Post added at 02:43 PM ---------- Previous post was at 02:42 PM ----------

Inviato dal mio GT-I9300 usando Tapatalk
[Android Apps and Games] overlof:
Galaxy Nexus 4.1.1 deoxed ROM resigned with your bat file.

The problem is that your app doesnt switch to 2g when screen is off. I dont know why. In superuser app I see phone.apk works when I turn on your app. What can be wrong, tell me plz)
[Android Apps and Games] marcogtt:
Did u put the first flag in auto mode?

Did u grant superuser to phone.apk?

Did u wait at least 5 minutes to check if is in 2g?

Check the 2g mode to settle to 2g only.

Inviato dal mio GT-I9300 usando Tapatalk
[Android Apps and Games] pirri_mori:
Good afternoon everyone!!

I've been a long year using this application in many roms, but now it has been a problem when trying to compile the toogle 2g ​​in a romwith aroma instaler, I find the phone.apk ResignUpdater.bat within the route system / app.

Anyone know any solution ?
[Android Apps and Games] marcogtt:
Go back to my previous comment on different path....one or two pages ago...

Inviato dal mio GT-I9300 usando Tapatalk
[Android Apps and Games] mista1982:
Is IT posible, to install this plugin With european gsm Galaxy Nexus 4.1.1 Stock and root and unlocked but NOT Deodexed?

I would like to switch 2g to 3g wenn i switch on mobile Data by widgetsoid in the statusbar...

Thanks and sorry for my Bad english

Gesendet von meinem Galaxy Nexus mit Tapatalk 2
[Android Apps and Games] georgiangelov:
If I can't install the .apk, no chance to get it work if i flash the .zip with recovery, right? I'm with FTS rom.
[Android Apps and Games] dannycanrock:
Does this work on stock ICS 4.0.4 galaxy note if yes how can I resign the ROM please someone help I have been looking for this since ages
[Android Apps and Games] killian32:
You must flash the zip or resign ROM. You don't have to install .apk

---------- Post added at 07:25 AM ---------- Previous post was at 07:25 AM ----------

There's a link to the resign batch in the first post
[Android Apps and Games] georgiangelov:
Ok, I'll try to flash the zip, I got confused by the .apks. Thanks!
[Android Apps and Games] E--Man:
LTE - Switching from 2G to LTE mode - NO LTE!

Hi,

Has anyone got this to successfully work with LTE functionality? It works fine for toggling between 2G and 3G, but LTE seems to be quite different because having LTE (Unlike SvLTE and VoLTE) means switching back to 3G (not 2G) from LTE in order to use voice calls. It seems that this app does not have the capability to set the "3G Network" setting to "GSM/HSPA/LTE (Auto)" which is the network mode in the Android OS setting that enables dynamic switching between LTE and 3G functionality. Without this, any switching from 2G to 3G will only switch to a manual 3G-only non-LTE network!

What is needed here is the addition of a "GSM/HSPA/LTE (Auto)" as an option in the "3G network" setting of this app. Does anyone have any insight if this may be able to be done without too much difficulty within Tasker?

Thanks for reading; since the developer TheMasterBaron has decided to cease development, I hope we as a community can get this working as it would mean a huge benefit.

TheMasterBaron

if you are reading this, please consider another update to this wonderful app!
[Android Apps and Games] killian32:
Is there a way to manually reproduce the ResignUpdate just on the needed files ?

I was able to resign a ROM and see the Toggle 2K working but I'd like to use on my stock firmware. I haven't found a CWM version of stock samsung firmware (XXLPX) and If I just flash the zip I can't see the app so I was looking for a way to "patch" the required file without a factory reset or flashing a custom rom.
[Android Apps and Games] E--Man:
Anyone??? Since LTE is more and more common these days, I would think that many people (if not half) would be experiencing this issue!
[Android Apps and Games] E--Man:
^^^ BUMP! ^^^
[Android Apps and Games] Javi22:
I have a question, when I'm connected to a Wifi network, I don't need data obviously, the question is 3g still working? Phone still looking for 3g network, or it doesn't? I mean does make any effect disabling 3g when wifi is connected, or is the same result?

I hope you understand me :) thanks
[Android Apps and Games] marcogtt:
WiFi connected automatically stops data connection as if you would switch off the data toggle. This is a common android behavior not related to t2g

Inviato dal mio GT-I9300 con Tapatalk 2
[Android Apps and Games] Javi22:
Ok, thanks for your answer. So what's the turn 3g to 2g off when wifi connected option for?

Thank you
[Android Apps and Games] marcogtt:
Thats exactly the reason why I'm using t2g.

It switch from 3g mode to 2g mode when it the phone connects to WiFi network.

It is not related to data connection.

Inviato dal mio GT-I9300 con Tapatalk 2
[Android Apps and Games] Javi22:
I thought that if you turn data off, means you turn 3g off and everything. So as I understand now, even with data off, is important what to choose 3g or 2g, does it influence?

Sorry I didn't understand you well before. I still don't understand why phone needs 3g when data is off, cause for calls you don't need 3g xD

Anyway thanks you for explaining me
[Android Apps and Games] Nova163:
I always thought that it was meant to switch to 2G when wifi is enabled, but not connected to a network (f.e. because of the wifi sleep policy)
[Android Apps and Games] marcogtt:
Switching to 2g while phone is connected with data on WiFi is merely a battery consumption fact.

It is assumed that phone locked in 2g whether in 2g/3g self discover mode or locked to 3g is less power consuming.

Inviato dal mio GT-I9300 con Tapatalk 2
[Android Apps and Games] cinciopillo:
I'm unable to install this app.

I've resigned the ROM I'm using (CleanNote 6, LRK based).

I have flashed the resigned ROM but app isn't installed.

And it is not possibile to install apk.

What was wrong?

Flashing a new kernel could be the culprit?
[Android Apps and Games] killian32:
Same for me ...

Is there a way to manually reproduce the ResignUpdate just on the needed files ?

I was able to resign a ROM and see the Toggle 2K working but I'd like to use on my stock firmware. I haven't found a CWM version of stock samsung firmware (XXLPX) and If I just flash the zip I can't see the app so I was looking for a way to "patch" the required file without a factory reset or flashing a custom rom.
[Android Apps and Games] Tut_Ank:
You use 2g or 3g connections both for data and voice, when you connect wifi, your data goes thru wifi, but the voice (Also digital data) still uses the 2g/3g connection, as does the network search...

batterry drain is from less to more:

2g

3g

2g/3g

So having the phone switch to 2g when wifi is on saves battery.
[Android Apps and Games] Bholwell:
Help with Java

Could anybody please post a link to the correct Java version for win 7 x64?, been trying to get this to work for days now, followed nikzDHD instructions to the letter but keep getting ‘Java’ is not recognised as an internal or external command, operable programme or batch file. error

Installed pretty much most java versions but no luck, I'm not the brightest spark but normally work things out after a lot of persisting but this ones got me beat. am I missing something simple?

Thanks in advance

Cancel that, found it at last!
[Android Apps and Games] Bholwell:
toggle 2g not working on N7100 think i know why.

Ok, please forgive my thickness,

Im getting errors all the time but think im learning why?

As an Android novice of only 1 week (previous isheep owner but I broke free!) ROM is different to Kernel, right?

So if im using Perseus.alpha24.4-N7100-CWM.zip Kernal on top of factory firmware this 2g toggle will not work for me?

Had Auto3G app on my i4 and it saved loads of battery, wish I could get toggle 2g to work on this N7100.

Anyone with a N7100 with toggle 2g working well? what Rom etc are you using? would love to give it a go!

Thanks
[Android Apps and Games] djmcnz:
Find java.exe on your system and then add that location to your "path" environment variable.

Will perhaps look like "C:\Program Files\Java\" or similar.

That error message you are getting is a Windows error, not a Java error. It's simply telling you it can't find "Java" on your system so you need to tell it where it is.
[Android Apps and Games] djmcnz:
You need to resign your ROM zip file, not your kernel. If you don't have a zip file for your ROM then you can not proceed.
[Android Apps and Games] noellenchris:
Ok, you have to install both the x64 java and the x32(normal) version. I've had this issue also with getting adb working on win 7x64.

noellenchris
[Android Apps and Games] Bholwell:
ROM for Note II and toggle 2g

Ok, Android newbie so please be kind!

Could anybody please recommend a ROM for the Note II that works with 2g Toggle? one that looks pretty much like the stock one as I don't like all the fancy icons etc that many seem to bring.

I tried injecting Toggle 2g into the stock one and since learnt cant do that.

Thanks in advance
[Android Apps and Games] roberpao:
Hi guys, I would like install this in the stock rom of galaxy I9001 with stock rom xxkqi. I would like to know if it is possible, and if not possible, I would like to know how to convert a stock rom. Flaseable zip from recovery, the drive to pass.

Sorry for my english ;)

Thanks and regards.
[Android Apps and Games] killian32:
+1
[Android Apps and Games] mrmrmrmr:
Hi,

I'd like to do that as well.

How can I resign my stock ROM ? I don't have a CWM flashable zip of it.

How can I create ?

Thanks.
[Android Apps and Games] Bholwell:
a +1 for me too! anybody know how to do it?
[Android Apps and Games] Bholwell:
can you inject it into a stock rom?
[Android Apps and Games] mrmrmrmr:
everbody is asking for stock rom "howto" but nobody answers.

OP, please...
[Android Apps and Games] mateorod:
Is this still a live project?

I have a project called the auto-patcher, which applies framework changes and outputs a flashable zip. I had a user ask to add this mod.

Our tool is open source and we do not ask for donations. We think of it as an extra distribution opportunity for devs to get their work to users.

I do have a rule that I don't try and port things that are already available in more preferable forms (apks, scripts. I port framework changes and leave the proprietary stuff to the developers) but I am not sure if this project is still being supported.

Our current projects have been to port PDroid to ICS/JB, we can bring tabletUI to any rom, 3gdongles, stuff like that.

Basically, what I am asking is if this is no longer being supported by the OP, then I can add support for users with my tool. But I figured I would ask first, lol.

Thanks.
[Android Apps and Games] killian32:
Is the autopatch (done by auto-patcher) function the same as "resign" tool of this mod isn't it ?
[Android Apps and Games] Bholwell:
Hi mateorod

I personally think that as the developer hasn't replied to anybody since July (unless i missed it) I would take it that it is no longer a live project and would really appreciate it if somebody could take it on and make it work on more rom’s like stock!

I would love Toggle 2g to work on stock JB Firmware for my wife's S3 and my Note II, the only kernel I can get it to work with is CM10 and my wife hates it! just as an idea why we would so much like it to work, my wife gets 4 days out of her S3 when using 3g, but when using only 2g she gets 7! (she doesn't use it much)

If you or anybody else could get it to work (and install relatively easily!) I'm sure there will be a lot of people who would gladly donate to you for your work!

Here's hoping, and please keep us updated!
[Android Apps and Games] mateorod:
To be honest, since I don't have any need to worry about the signing stuff I haven't and likely won't look at that. I had a user request the toggles and link here. I have seen other ways of doing it since, but since I had already approached this thread...

With the auto-patcher, we have a bunch of mods that can all be selected singularly or in combination. So if you used this thread's method to add the function, you would probably have to jump through some hoops to then add other types of mods, if you weren't editing your own code.

But like I said, If I think something has a good way of doing it, I leave it that way. I haven't given this thread that deep of a look, to be honest. I saw the requests for support go unanswered so I asked if it was still alive.

If it is still alive, and the OP wants to keep working on it, then that's great. If not, I will probably look to add it, and will credit the developer on my OP.

If you check out my thread, I have the top 2/3 of the thread with credits and backlinks to the original devs. It is just a porting method, no more.

Edit: @Bhowell: I will give it a little while longer, but if there is no response I will look at it. But we don't take donations, just as another safeguard so dev's/users don't think I am trying to profit from their work as well as hoping it inspires community contributions.

Edit2: I took the time to look a little deeper. Something I probably should have done first, but the user who suggested this to me led me to believe it was DOA and I ran with that assumption.

But this is distributed under the Apache license, so the original dev has already granted people the privilege of producing derivative works, provided those works include the same licensing.

The license we will use has been a matter of great debate, and is still ongoing. Not so much over the terms, but drawn over somewhat obscure GNU/Linux partisanship. Silly stuff, mostly. Let me run this java app a couple times, I may just let it be since 'it looks to be a pretty nifty thing in its own right.

If it still works, well then it will require some thought...
[Android Apps and Games] killian32:
I took a look at your thread and seems a really good project.

I'm trying to use the autopatch + resign with a CM9 ROM
[Android Apps and Games] TheMasterBaron:
The reason I posted the source was in the hopes that someone could adapt and possible improve on the work as I personally don't use it anymore and have new projects that I'm focusing on.

As for integrating with auto-patcher, it might not really fit into what auto-patcher does since Toggle2G can run in most any ROM without actually framework code changes. What it does require, however is to be signed the the same cert as the phone.apk. A better approach would be to have auto-patcher modify frameworks to allow 3rd party apps to change the network. This would give multiple developers the opening to write something like Toggle 2G without needing to resign the ROM.
[Android Apps and Games] mateorod:
Thanks for the reply, MasteBaron. You've absolutely captured the kind of thing we try to do. The Auto-Patcher is a framework modifier that allows developers work to be more accessible. Something like what you propose is just the kind of thing we like to do.

I wasn't aware of that limitation on network modification, but it does fit right in line with what Google uses for security measures. I can see the uses, although some sort of open source app that acted as a gateway for that permission would be perhaps preferable, since blanket 3rd party permissions could be troubling.

I will have to look further into it, but thanks for the reply. I'll take that discussion over to the patcher thread and leave this thread be until such time as we offer something that affects it.

My apologies for opening a non-issue, I should have looked before I leaped.:silly:
[Android Apps and Games] TheMasterBaron:
Sounds good and thanks.

P.S. Perhaps some way of adding a way to switch with a command line command that requires root? App would simply require root and the SU apps could be the gatekeeper app you mention.
[Android Apps and Games] killian32:
Could you point me to those apps?
[Android Apps and Games] eozen81:
Hello all,

First of all this toggle is a must for Android users so we have to keep it alive please.

I am using Galaxy S3 on Omega v29 4.1.1 JB ROM and I directly tried to flash Toggle2G-Update.zip via CWM but no luck. So now, only chance to do that is to apply nikzDHD's instructions given at the first page?

Regards
[Android Apps and Games] killian32:
Yes you have to sign the ROM and then flash it. I've tryed two time with CM9 (for Galaxy S2) and it worked.