[Q] Is Toggling 2g/3g possible on SGS2? - Galaxy S II General

Hi there, Im trying to figure out some way to switch 3g off when teh screen goes off and set data as 2g, I tried a couple of ways, one being a tasker script but I cant find a ROM that supports the 2g/3g toggle. There is also the Toggle2g apk but again, thats signed for CM roms and not working on any roms for SGS2. Any thoughts anyone?

Looking for a way aswell, tasker says its not possible for this device?

Related

[Q] Issue with radio

Hi,
I apologize if it's the wrong forum or if I missed something in my search over the forums (and internet).
Current setup :
HTC Legend rooted, flashed with Azure 1.0.1 (cyanogen 6.0)
Kernel 2.6.29
Baseband 47.26.35.04u_7.05.35.26L
Issue :
For some reason I can't get my 3G connection stable. eg. When I enable Wifi - 3G drops (which is set up that way), but when I disable Wifi 3G doesn't come back up. Even though the settings are correct.
I'm having a hard time getting any mobile data correctly going, it generally requires me to enable/disable wifi and reboot the phone several times.
Basically I've tried factory resets, checking the settings (config of mobile networks too), it doesn't stay in 2G mode, ... I've test with other Cyanogen based roms and it's the exact same issue. Is it possible this is due to a radio being wrong or is it possible it's actually the phone?
So:
- 2G only is DISabled
- Mobile data is enabled
- wifi off
- settings (mobile connection parameters) are correct
- tried different roms
- checked in places I know I should get a good connection (My provider is Telenet, they use the Mobistar network, my previous provider was mobistar. So the coverage should remain the same.)
I am at my wits end and do apologize if this is a stupid question, but I can't think of anything else that could interfere with this.
Have you tried to leave the 2G/3G settings by default? That is, not to disable 2G. It is anyway switching to the best it can aquire, so if you have strong signal you should get allways 3G. I never had these problems with any ROM I've tried...nightly, Azure, RC1/RC2
Sent from my Legend using XDA App
Check this link, and join the others with the same problem...
http://code.google.com/p/android/issues/detail?id=2207
Quick solution : put one of HTCs widgets for mobile network on your homescreen and as soon as you turn WiFi off toggle the mobile network widget and 3G should start working again . It's a hit or miss though.
Sent from my HTC Legend using XDA App
mcuppens said:
Check this link, and join the others with the same problem...
http://code.google.com/p/android/issues/detail?id=2207
Click to expand...
Click to collapse
Must have used the wrong keywords >.< Sorry. Though thank you for the link, it is EXACTLY the prob I am encountering. At least now I know it's not the rooting that caused it.
About the HTC widget : I've used it, but it's indeed a hit or miss. Best solution seems to switch to 2G and switch back to 3G that way.
Leaving all the settings at standard (and the most recent flash to the CM RC1) helped with the overall connectivity though.

[Q] CM 7.0.3 wildfire data connection toggle lag

hello there,
i rooted my wildfire a few days back & flashed CM 7.0.3 stable mod and now im experiencing a lag in data connection toggle.
once the phone is rebooted/turned on i can enable data access over mobile network, but after a while i can not... even though the data enable box is ticked & when i check the network type, it remains at HSDPA.
to re-enable data, i have to reboot or put the phone into airplane mode & back!
hope u guys can help me out!
cheers
same problem here!
i suggest u to move over to CM7 nightlies builds..its more stable then the "stable" 1 and seem so good so far..
I dont have any problems, uses the same cm7, but with latest radio, try changing the radio, else check if u had changed some thing in settings-wireless and networks, or check for some apks like autorun manager or task killers which ends some system applications/process,as some of them are critical for running android os,like android keyboard which when disabled makes your onscreen keyboard disàppear, even though u use some other keyboard input method like better keyboard app.
And i am dam sure that its not a bug in cm7, just becoz as we all know android is an os which largely depends on internet for its functioning, so the developer will take much more care in data connection codes, and a bug like this wont happen. So get a whole check, ur problem will be solved.
Sent from my HTC Wildfire using XDA App

Problems with data on ICS

I am having problems with data when I use ICS builds. Before I started using Android I could use data anywhere on W6.5 and it worked on GB as well, but I much prefer ICS. However, I can only get data in some places and not others. At home it tends to be fine but at work I can't get anything, it just won't connect but with W6.5/GB it will. I am on Virgin Media who use T-Mobile/Orange.
I've tried several ICS builds (NativeSD), using PPP and changing the APN, so I'm abit stumped as to what the issue may be. Most of the time I use wifi but I need data at work and when I go away.
Any ideas or suggestions that I could try?
Although your problem seems to be different, try to switch on airplane mode on then off. (If on CLK.)
Marvlesz said:
Although your problem seems to be different, try to switch on airplane mode on then off. (If on CLK.)
Click to expand...
Click to collapse
I'm not on NAND but NativeSD and boot using Haret.
I have just been playing with the settings at work and changed the network from auto to Virgin and data came on but only for a minute and then I lost it. Turning to airplane mode and back again worked but only for another minute and then I'll lose the connection again.
Does that help highlight what the issue might be? Although I'm confused as to why it worked at home with the network set to auto.
This is a long shot, but it may be related to 3g/2g preference. Maybe for some reason it is set to three g preferred and you don't have it at home. Im not home now, you can search for it or wait until I get back home.
Sent from my HD2 using xda app-developers app
EDIT: Actually, I got home as well as lazier. Please search for it and try it.
Edit - Sorted it hopefully, I turned data roaming on and it's working!

[Guide] Tasker automation of network mode

This is something I've wanted to be able to do for a long time and now thanks to X posed and GravityBox it's now possible.
Massive thank you to @C3C076 for GravityBox and for guidance on how to do this.
Requirements:
Root
Tasker
Xposed
GravityBox (check your ROM's compatibility)
Setup:
Open tasker
Create a new task - misc - send intent
Paste the following into the action box: "gravitybox.intent.action.CHANGE_NETWORK_TYPE"
Paste the following into the extra box:
"networkType:2"
The above will switch to 3g. Change the 2 as per below as required.
0 - 2G/3G auto (3G preferred)
1 - 2G
2 - 3G
9 (or 10) - LTE
Screenshot:
https://www.dropbox.com/s/a6il63lw5e4m7vi/2013-12-11 07.51.52.png
Sent from my HTC O'ne-xus
i dont understand whats the aim of this. can explain ?
Magpir said:
i dont understand whats the aim of this. can explain ?
Click to expand...
Click to collapse
Setting network mode automatically. For example....
Switch to 2g when on WiFi or screen off.
Then switch to 3g when off WiFi and screen on.
Sent from my HTC O'ne-xus
Doesn't the HTC power saver do the same thing
Sent from my HTC One using Tapatalk
You are referring to Sense. Not everyone stays stock plus I'm not sure battery saving mode switches network? If it does does it switch back to 3g when you need it?
Sent from my HTC O'ne-xus
Since I got this running using llama, and you seem to be more skilled with tasker, let me ask you this question.
Many use tasker to implement this function where it scans cell towers and activate/deactivate wifi based on location. However, I have found that tasker will deactivate wifi when the phone latches on to a new cell tower while the wifi is still connected (which makes the automation redundant), whereas llama has this option where it will not switch off wifi (regardless of detected cell towers) unless the wifi connection is gone.
Any way to replicate this same behaviour in tasker?
I don't activate WiFi based on location. I use tasker to switch WiFi as follows:
WiFi disconnected - WiFi off Bluetooth on
Bluetooth disconnected - WiFi on Bluetooth off.
WiFi & Bluetooth disconnected - 5 min delay then both off.
This covers most situations for me as I'm usually in my car between home, work or family.
Sent from my HTC O'ne-xus
kenkiller said:
Since I got this running using llama,
Click to expand...
Click to collapse
Worth adding your llama setup here too?
Sent from my HTC O'ne-xus
mitchst2 said:
Worth adding your llama setup here too?
Sent from my HTC O'ne-xus
Click to expand...
Click to collapse
As in this post.
http://forum.xda-developers.com/showpost.php?p=48365305&postcount=649
Don't have the pictures anymore hehe.
---------- Post added at 12:51 AM ---------- Previous post was at 12:50 AM ----------
mitchst2 said:
I don't activate WiFi based on location. I use tasker to switch WiFi as follows:
WiFi disconnected - WiFi off Bluetooth on
Bluetooth disconnected - WiFi on Bluetooth off.
WiFi & Bluetooth disconnected - 5 min delay then both off.
This covers most situations for me as I'm usually in my car between home, work or family.
Sent from my HTC O'ne-xus
Click to expand...
Click to collapse
Ah....so the search continues.
Just a question, why would we want to change to 2G when WIFI is connected?
If I am on wifi, I dont use data so I dont care If it is in 3g or 2g. Only for calls. So 3g is not used so I dont care If it is 3g or 2g. Perhaps it save battery? I am not sure, thank you
Javi22 said:
Just a question, why would we want to change to 2G when WIFI is connected?
If I am on wifi, I dont use data so I dont care If it is in 3g or 2g. Only for calls. So 3g is not used so I dont care If it is 3g or 2g. Perhaps it save battery? I am not sure, thank you
Click to expand...
Click to collapse
I get a really crap signal on 3g at home so switch to 2g. Only use 3g for browsing off WiFi. Additional benefit is battery saving. This is all now automated
Sent from my HTC O'ne-xus
Javi22 said:
Just a question, why would we want to change to 2G when WIFI is connected?
If I am on wifi, I dont use data so I dont care If it is in 3g or 2g. Only for calls. So 3g is not used so I dont care If it is 3g or 2g. Perhaps it save battery? I am not sure, thank you
Click to expand...
Click to collapse
Just as an example, LTE reception in my area is dreadful, 3G is decent, 2G is excellent. If I'm already connected to wifi, but my phone is also on LTE for calls/reception, battery is still dreadful due to the poor reception as phone tries to stay on LTE network (it won't switch to 3G/2G because it can still see LTE), at least on my Nexus 5 (mobile network signal in battery stats is yellow/grey mostly).
Being able to automate the switch to 3G or 2G when connected to wifi solves this part of the battery drain. But if you have excellent mobile reception then this shouldn't be a concern.
Understood. So, although I am wifi connected, the phone still searching for 3g signal, right? yep, In my house there is poor 3g signal too. So I have to try this tutorial, maybe will reduce battery eating I already use tasker for other purposes and it is awesome
Thank you!
There's an app on Google play that shows you the cell towers you connect to. On 3g at home my phone was continually hunting all over the place just to maintain a 3g signal.
This one
https://play.google.com/store/apps/details?id=com.technolatry.antennas
Sent from my HTC O'ne-xus
mitchst2 said:
There's an app on Google play that shows you the cell towers you connect to. On 3g at home my phone was continually hunting all over the place just to maintain a 3g signal.
This one
https://play.google.com/store/apps/details?id=com.technolatry.antennas
Sent from my HTC O'ne-xus
Click to expand...
Click to collapse
Thanks, I will take a look
Btw I searched for "GravityBox" so I can do this trick, but I have found this
http://forum.xda-developers.com/showthread.php?t=2316070
Where it says it is not compatible with htc sense.
On the other hand, have you tried tasker + secure settings? I remember it used to has some 2g/3g toggle, but I cant find it now. I suppose it is no longer avaible, but dont know
mitchst2 appears to be on some kind of AOSP/CM custom rom, so if you're on stock Sense it might not work. Might need to make it clear.
Secure settings' 2G/3G/LTE toggle only works for specific custom roms (CM or AOKP iirc).
I'm on a Google edition. Secure settings network toggle not available on GPE.
GravityBox is being revised so it doesn't apply quick settings toggles by default. Not sure if this will help it's compatibility with sense or not.
Sent from my HTC O'ne-xus
kenkiller said:
mitchst2 appears to be on some kind of AOSP/CM custom rom, so if you're on stock Sense it might not work. Might need to make it clear.
Secure settings' 2G/3G/LTE toggle only works for specific custom roms (CM or AOKP iirc).
Click to expand...
Click to collapse
Okey, thanks
mitchst2 said:
I'm on a Google edition. Secure settings network toggle not available on GPE.
GravityBox is being revised so it doesn't apply quick settings toggles by default. Not sure if this will help it's compatibility with sense or not.
Sent from my HTC O'ne-xus
Click to expand...
Click to collapse
Understood. So not sure if it works on sense. Let's see if someone can confirm this, I will not take a risk for the time being
I hope it works.. This seems to be a very useful task
There are sense toolbox's on xposed. May be worth asking their developers if network mode intents are or can be made available.
Sent from my HTC O'ne-xus
So, who is the people I have to contact? You mean, xposed developers? Sorry mate, It seems that I am a bit lost here...

thinking of rooting my note 4.... but how do i know what roms i can use ?

finally thinking of rooting it - it factory android 6.01 image works fine but am seeking a way to auto enable airplane mode as my office is in a dead zone and my battery dies at work before i can navigate (avoid traffic w/ waze) before heading home ... was thinking tasker would work but really just trying to figure out what the best rom (most reliable/funstional) is on this device..
any suggestions?
If you have/use NFC tags and place your phone in the same place at work, you could put one down and set it to turn airplane mode on when you set your phone down on it?
Rom's are dependant on hardware (processor). Best bet is to check the subforum for your version of the phone (verizon, att, sprint, alltel, etc)
Awesome Idea - will dev try that out never did much with NFC but , would work better than llama or location based as there is no signal to reference..
Thanks - great Idea!
Of course if anyone runs into some type of APP that polls let me know... seems there was one app that did just this but was discontinued.
here is the link.... https://forum.xda-developers.com/showthread.php?t=2698432
But for the time being will def try NFC!
thanks again!
You can still find it on archive sites. Google "auto pilot mode uptodown" to find the link.

Categories

Resources