Dev's help request - restarting cell radio - Samsung Galaxy S Relay 4G

Hi evyone, I'm living in South America with very bad networks (this issue did not happen with tmobile in the US). Whenever I enter a building or basement, I lose my cell connection, the triangle in the notification area becomes empty (as oppose to "zero bars" - it's kind of grey then) and only a full reboot gets me connected to the network again (I tried network search, airplane mode, etc.). There's an app that does that on the Play store but it crashes on my cm 10.2.
Would it be very hard for someone to whip out a script or small app that restarts the cell radio? I would appreciate very very much.
Thanks!

PS found this Network app
https://play.google.com/store/apps/details?id=de.mangelow.network&hl=en
which is in fact a shortcut to an obscure *#*#4636#*#* system menu. Turning radio on/off there does the trick.
Now, if only there was a direct link to the on/off toggle on that menu!

Guiyoforward said:
PS found this Network app
https://play.google.com/store/apps/details?id=de.mangelow.network&hl=en
which is in fact a shortcut to an obscure *#*#4636#*#* system menu. Turning radio on/off there does the trick.
Now, if only there was a direct link to the on/off toggle on that menu!
Click to expand...
Click to collapse
Ps turning on off there does not always work

Related

HELP 3G keeps turning on and off!

Hi. I live in area with poor 3G coverage so I don't use it. The problem is that when I go to >Settings>WirelessControls>MobileNetworks and check "Use only 2G networks" it seems that it unchecks itself at some point and sometimes it's on, sometimes not. When I reboot it stays switches back to 3G and I have to switch it off every time. The real problem is that it constantly turns on ans off 3G which is annoying. Sometimes I even have problems - when someone calls me I can't pick up even by pressing the green button several times and or the call automatically redirects to voicemail (no I haven't put this option to any of my contacts). I'm using JF1.42 rc33 with multitouch and root and I have apps on SD(app and app-private only - data is on the main memory)
firmware is 1.1 and Baseband version is 62.33.20.08H_1.22.12.28. Thank you very much. I used the search option but couldn't find an answer.

Captivate Turn off Mobile Data?

I noticed there isn't an option like on the HTC devices that let you choose WIFI ONLY or MOBILE + WIFI. It appears they took that out completely on the Samsung Roms? Is there anyway to disable DATA all the time? I'm in a wifi access point 24/7 literally. Sorry folks, only thing im curious about.
I would like to know also. None of the apps I have tried have worked yet.
Sent from my SAMSUNG-SGH-I897 using XDA App
Did you try to remove AT&T APN in Settings? It will not be able to connect to 3G without APN.
If you do not want to lose your APN nsettings, create new one, dummy, without any real data inside, and make it default one. Same results.
Another thought, if you have your Wi-Fi turned on all the time, your 3G connection should be switched down automatically. At least it works like this on N1. I am just thinking of bying Captivate, if it will have good custom ROM with Froyo, not taking it with all AT&T bloatware on board and Android 2.1
in the market check out the apps APNdroid and quick settings. Both have toggles for data connection
You can also put it in airplane mode and them just turn wifi on.
Sent from my SAMSUNG-SGH-I897 using XDA App
tonysunshine said:
in the market check out the apps APNdroid and quick settings. Both have toggles for data connection
Click to expand...
Click to collapse
Thanks dude I picked that up works Great on Captivate. I'd rather use something like that than enabling wifi 24/7 to eat more battery etc.
I've tried downloading a number of free apps (including APNdroid) to turn off mobile data on my Captivate, but none of them seems to work. All the widgets give the impression that it is off, but I can still open the browser and navigate to websites. Am I doing something wrong, or is it just not possible to fully disable mobile data access on a Captivate?
Yeah you're right
@alobotnad
Hey you're right, APNdroid does nothing it doesn't even shut down the 3G icon on my device now and yes it still connects either way like you said.
Apndroid works fine on my captivate!
Sent from my SAMSUNG-SGH-I897 using XDA App
hazard96 said:
Apndroid works fine on my captivate!
Sent from my SAMSUNG-SGH-I897 using XDA App
Click to expand...
Click to collapse
You see the 2G icon when you run it?
On my Captivate APNdroid only partially works. Let me explain. If WiFi is on I can disconnect 3G using the APNdroid widget (then if I turn off WiFi and try to surf the web I can't.) However turning 3G back on is more complex. I can turn it back on using the widget if I m connect already to a WiFi network and it will turn 3G on when I turn off WiFi. HOWEVER you must be connected to a WiFi network to turn 3G back on not being connected to a network means the APNdroid button doesn't work. The only solution I found to turn on 3G if I wasn't connected to a WiFi network was to turn on 3G through the APNdroid widget and then restart the phone.
On the other hand I am currently using Juice Defender and their 3G WiFi widget works without having to jump through all those hoops.
@icedfire101
Thanks for the info. I downloaded the free version of JuiceDefender today and so far I am happy with the results.
Samsung Captivate 3G Toggle Solution
After all the digging and searching around, I found two apps that work perfectly on Samsung Captivate for toggling mobile data (3G)
- Juicedefender (it has a widget you can use to toggle 3G quickly)
- SMODA Widget (It doesnt have too many 5 star ratings but works fine on my samsung captivate).
My phone is rooted but I believe it is not a requirement of either of the above apps. Hope this info is useful for other captivate owners.
Most of the other APN / 3G toggle apps on the market try to put a suffix on the APN names in settings. On the samsung captivate this works only with a restart/reboot. Meaning if you disable 3G using the app it would put a suffix like 'disabled' or something to the APN name. But your phone still has the 3G connection using the original APN settings. Only after you restart the phone does it see the 'disabled' APN name and is not able to use and hence no 3G. Vice versa when you want to enable 3G back - needs restart.
I dont know what process the above 2 apps use but they work instantly on my samsung captivate. No need to restart or click a bunch of other settings. They work perfectly and as simple as it should be.
Concepts behind Reliable 3G Toggling on Captivate
First time poster, hope its not immediately dismissed as TLDR.
For the quick-and-dirty just read the “Reliable Data Disabling”.
I am an advocate for understanding concepts. Solutions, hacks and work-arounds have their place, but, if we can understand more about how and why those solutions work, we might be able to repurpose those ideas and use those ideas to make better applications.
Upload and Download of data coming from the cellular network (as opposed to wifi) is likely determined by which network adapter the network connections are making use of. This might be determined by the android sub-system, by looking at the details of currently open sockets; or by lower-level processes looking at the addresses associated with Rx/Tx data. There are several other ways this could be achieved, and I am sure there are countless people who know exactly how that little 3g icon gets on screen; I am merely laying the groundwork to point out that the Captivate (and possibly the Samsung ROM specifically) is apparently more adept at retaining these residual 3g connections than other Android ROMs.
Let’s assume background data opens a series of sockets to communicate with all of the servers that a person’s phone will sync with. By obfuscating the APN like APNDroid does, we are changing the source of the configuration settings, but connections which are "kept-alive" would not check for new settings. This is why those connections remain open after we activate APNDroid. From this idea we derive at least two strategies that work:
Reliable Data Disabling:
Once an APN obfuscator has effectively disabled 3g by spoofing APN information, you can follow up the data-shutdown with the one-two punch of either disabling the cellular radio, or by intelligently terminating connections that don’t match the current APN paradigm. My understanding is there are no apps that take advantage of the latter.
Disabling the radio: Those who have a shortcut-to-activity application, one might feel compelled to use the “Testing” activity to disable the cellular radio, but, the contents of Testing can be dangerous. It is possible to cause problems with your phone using the Phone Information section of "Testing".
The Captivate is nice and fast, enabling flight-mode and disabling it after 10 seconds terminates all residual data-connections 95% of the time.
1. Activate APNDroid (or other APN Obfusctor)
2. Activate Flight Mode (or disable cellular radio some other way)
3 Disable Flight Mode (or reactivate cellular radio)
----
In the past 2 weeks I have discovered that when I re-enable my data, the 3g icon comes back right away but my phone makes no attempt to create new connections using the restored settings. The only solution I have found (so far) is to reboot the phone which only works about half the time. I have not stepped through the problem with the android debugger.
Has anyone else noticed this?
i use smartbar , it turns on/off data and does much more.
Best way to turn off 3g data in samsung captivate
To disable data connection.
In phone menu type *#*#4636#*#*
a menu will appear. In that click "phone information".
click the option button (which is the bottom left button you have in phone).
In that go to "more" option.
inside that click "disable data connection".
Thats it 3g icon will not appear up there in phone. but you can use wi-fi.
To enable it .
do the same thing above . but at the final moment you will be shown a menu with option "enable data connection".
clicking it wont immediately enable data connection. you have to restart your phone.
If you dont want to restart your phone .
then go to settings->wireless and networks->mobile networks->access point names.
there should be apn called "ATT WAP".
Click the more option button at the bottom left and click "reset to default".
Thats it. Now your 3g icon will appear at the top (provided wi-fi is turned off).
tonberry1031 said:
1. Activate APNDroid (or other APN Obfusctor)
2. Activate Flight Mode (or disable cellular radio some other way)
3 Disable Flight Mode (or reactivate cellular radio)
----
In the past 2 weeks I have discovered that when I re-enable my data, the 3g icon comes back right away but my phone makes no attempt to create new connections using the restored settings. The only solution I have found (so far) is to reboot the phone which only works about half the time. I have not stepped through the problem with the android debugger.
Has anyone else noticed this?
Click to expand...
Click to collapse
Good post. You are correct that the captivate will indeed hold onto the valid connection even after modifying the APN. Flight mode toggling will sever the connection forcing it to use the modified settings which should prevent it from reconnecting to data.
The way I disabled my data connection before froyo (all hail froyo data power- button toggle) was to make a shortcut to my APNs and I made a "disabled" APN that was just called disabled. I would have to select it and then toggle flight mode to disable, but reconnecting was as simple and just selecting the real APN and it would immediately reconnect. Never had to restart phone to reconnect, except when using programs from the market.
mettup said:
To disable data connection.
In phone menu type *#*#4636#*#*
a menu will appear. In that click "phone information".
click the option button (which is the bottom left button you have in phone).
In that go to "more" option.
inside that click "disable data connection".
Thats it 3g icon will not appear up there in phone. but you can use wi-fi.
To enable it .
do the same thing above . but at the final moment you will be shown a menu with option "enable data connection".
clicking it wont immediately enable data connection. you have to restart your phone.
If you dont want to restart your phone .
then go to settings->wireless and networks->mobile networks->access point names.
there should be apn called "ATT WAP".
Click the more option button at the bottom left and click "reset to default".
Thats it. Now your 3g icon will appear at the top (provided wi-fi is turned off).
Click to expand...
Click to collapse
So how well does this work?
I'm going to Europe tomorrow and I don't want to be eaten alive on roaming data.
Thanks,
Super
Quick Settings in market, works great on my captivate.
Superguy said:
So how well does this work?
I'm going to Europe tomorrow and I don't want to be eaten alive on roaming data.
Thanks,
Super
Click to expand...
Click to collapse
Depending on what countries you're visiting and for how long, you might consider getting a prepaid local SIM card from that country. I've done that in a couple of different countries and was able to get prepaid data deals for a $2-$3 a day. Will vary greatly depending on country and carrier. And, of course, your phone will have to be carrier-unlocked to use the SIM card.

How-To Disable 3G and keep Edge running

So I've noticed a lot of users wondering how to disable 3G and keep running Edge on their Captivate without killing their data connection. I found out how to do this from another forum and thought I'd share Hopefully AT&T will read their forums and listen to people and create a toggle to do this.
- Type in *#*#197328640#*#* in your phone to get to the "ServiceMode"
- Choose [1]Debug Menu
- Choose [8]PHONE CONTROL
- Choose [4]UE STATE CONTROL
You now have 2 options: CHANGE RAT TO WCDMA or CHANGE RAT TO GSM
If you want just an edge connection (here at work 3G and Edge keep battling to win so I love disabling 3G) then choose the GSM option. To get back to 3G just go back into ServiceMode and go to WCDMA.
Hopefully a dev or someone can make a toggle or widget
An app or a widget would be great to turn off 3G. Is there a way to get tasker to go through these steps?
You can use AnyCut to create a shorcut to the ServiceMode and it makes things much easier.
Since I don't know how to program for Android I wish I could help making a widget but I wouldn't know where to start Until we get a skilled dev to make a widget/toggle either the AnyCut link or manual entering of the code will have to do...
But at least now we know WHERE to disable 3G all other "fixes" haven't worked.
I noticed that once you change it to one of these modes there is no way to get it back to the default "DUAL" mode it begins with if you go to "Current Connection State" menu. Does this force WCDMA or GSM with no way to get it back to auto?
bigdoug2005 said:
I noticed that once you change it to one of these modes there is no way to get it back to the default "DUAL" mode it begins with if you go to "Current Connection State" menu. Does this force WCDMA or GSM with no way to get it back to auto?
Click to expand...
Click to collapse
If you turn off your phone and turn it back on, it goes back to DUAL.
There is an app in the market that will bring up the service menu on Samsung phones.
Try this app to get into the service menu
LinuxNewb said:
You can use AnyCut to create a shorcut to the ServiceMode and it makes things much easier.
Click to expand...
Click to collapse
You were able to use anycut to bring up the Service Mode? When I tap the resulting shortcut I get a crash every time...
This is on an i897 Captivate on JH2...
I was thinking of the PhoneInfo where the other tricks had you change a setting to GSM auto. I couldn't get AnyCut working either.
So as far as the dual mode, when you go to WCDMA it will go back to 3G but can still go into Edge mode if you lose 3G.
Think of it as Wireless G band also B compatible in a wireless router
Sent from my SAMSUNG-SGH-I897 using XDA App
Here's an app that will launch some of the codes..check it out..its free but as always support the developers
http://forum.xda-developers.com/showthread.php?t=748859&highlight=sgs+info

[REQ] App for auto-swith 3g>2g

Hi all, I have a problem I hope you can help me solving.
In my house I have a light 3G signal and a good 2G signal. Anyway my provider (H3G) prefers 3G networks.
This is a problem because, if I do not remember to switch in 2G when I'm inside my house, I am unreachable or, while talking, my phone switches network (10-20 seconds silence).
I know, it should be so easy to switch in 2G mode hen I'm inside my house... but I often forget it.
So the question is: is there any application allowing me to automatically switch in 2G mode when I am connected to a particular cell?
I tried a lot of "Profile Switchers", they do work, but they cannot control 2G/3G toggle.
Do you know some SW able to do it?
Very tanks!
nobody can 'help me"?
just search "switch network" in the market
ravi84m said:
just search "switch network" in the market
Click to expand...
Click to collapse
Tanks, but switch network is only manual shotcut
According to developers it's not possible to do this without root due to a limitation in the SDK.
Look up the application Tasker
Tanks man. Very interesting application. But unfortunately does not allow the switch network 3g>2G :-(

[Q] App for mobile network settings switching

I have quite a specific problem:
I live near the national border and my mobile network selection has to be set to manual, because otherwise it would randomly switch to roaming on a network from the other country, even though my home network coverage is practically 100%.
But quite often I do cross the border to area out of reach from my home mobile network and then I have to set it to automatic or manually select foreign network.
Now, the problem is when I get back home, i have to switch again. This switching is often and annoying. And forgetting to switch can also be expensive.
So I'm searching for an app that would allow me to toggle a switch (widget preferably) that would change network selection setting to automatic when i intent to leave my country and switch again to set it to manually connect to my home network when i come back.
Does any body know about an app that would allow me to do that or does anyone have a similar problem?
I'm thinking about creating an app like this though.
Similar Problem... Setting Preference Order for Mobile Networks
I have a Moto G 2013 running Android 5.0.2.
In Bangalore(where I live), Airtel has the highest 3G coverage. But I am on Vodafone (more coverage in my area and less tariffs) which does not have its own 3G network yet. So I manually set my network preference to Airtel while I'm outside. But I need to manually change the network back to Vodafone at home if I want to stay connected.
Setting to Automatic does not help as it always chooses Vodafone and so no 3G.
So I would like to know if there is any way to solve my problem and if there is any app to set preference.
Thanks a lot!
biftekman said:
I have quite a specific problem:
I live near the national border and my mobile network selection has to be set to manual, because otherwise it would randomly switch to roaming on a network from the other country, even though my home network coverage is practically 100%.
But quite often I do cross the border to area out of reach from my home mobile network and then I have to set it to automatic or manually select foreign network.
Now, the problem is when I get back home, i have to switch again. This switching is often and annoying. And forgetting to switch can also be expensive.
So I'm searching for an app that would allow me to toggle a switch (widget preferably) that would change network selection setting to automatic when i intent to leave my country and switch again to set it to manually connect to my home network when i come back.
Does any body know about an app that would allow me to do that or does anyone have a similar problem?
I'm thinking about creating an app like this though.
Click to expand...
Click to collapse
santoshsatvik said:
I have a Moto G 2013 running Android 5.0.2.
In Bangalore(where I live), Airtel has the highest 3G coverage. But I am on Vodafone (more coverage in my area and less tariffs) which does not have its own 3G network yet. So I manually set my network preference to Airtel while I'm outside. But I need to manually change the network back to Vodafone at home if I want to stay connected.
Setting to Automatic does not help as it always chooses Vodafone and so no 3G.
So I would like to know if there is any way to solve my problem and if there is any app to set preference.
Thanks a lot!
Click to expand...
Click to collapse
Try these:
• https://play.google.com/store/apps/details?id=net.dinglisch.android.taskerm&hl=en
• https://play.google.com/store/apps/details?id=it.miabit.android.dataonoff&hl=en
• https://play.google.com/store/apps/details?id=com.amol.ads&hl=en
• https://play.google.com/store/apps/details?id=gudaps.smartdataswitch&hl=en

Categories

Resources