Goal: Automatically switch to Use only 2G networks without opening Mobile Networks Settings dialog and checking the box manually
I know that this is not possible on stock, but is there any way to accomplish this for root users or with any of the mentioned apps or otherwise:
I do not want to disable APN, and I've already used APNdroid to much dismay. There is a bug for Nexus One users when restoring APN settings that leaves mobile data disabled.
I've used the apps mentioned in the thread title to automate my phones settings (ringer volume, GPS on/off, bluetooth on when phone ringing, data syncing, etc.), and now I simply want to disable 3G radio connection whenever certain conditions are met and have my network type as "GSM only"
I've searched through different forums here and sorted through a litany of Google search results, so please no lmgtfy because "2G only" returns no results in this section and no relevant results elsewhere; "2g only auto" nothing; "2g only automatic" nothing, but you can flame if you post a solution
fourinthoughts said:
...I simply want to disable 3G radio connection and have my network type as "GSM only" whenever I'm connected to WiFi, and I want to automate this so that I don't forget to do it manually at night when I'm not using my phone.
Click to expand...
Click to collapse
If you don't mind me asking - what is the reason for it? When you switch WiFi on, the data is turned off anyway. So why?
Jack_R1 said:
If you don't mind me asking - what is the reason for it? When you switch WiFi on, the data is turned off anyway. So why?
Click to expand...
Click to collapse
Yes, when your device is connected to WiFi the GPRS service for data is disabled. However, the 3G band radio in your phone is still being used which consumes more power than the global GSM band radio that is used when connected to the EDGE network type. This is always true whether you are connected to WiFi or not. (correct me if I'm wrong)
Regardless, the answer to this would help a lot of android users. This is not specifically tailored for me, because the entire OP relates to battery performance which should be an important issue for all Nexus One users. If this task could be automated it would dramatically improve battery performance during off-peak use (nighttime, work, meetings, etc.) by improving execution and eliminating forgetfulness. Automating this adds to the user experience and would just make your phone that much more enjoyable, period.
I'm simply amazed that I can't find a resolution to accomplishing this.
fourinthoughts said:
Yes, when your device is connected to WiFi the GPRS service for data is disabled. However, the 3G band radio in your phone is still being used which consumes more power than the global GSM band radio that is used when connected to the EDGE network type. This is always true whether you are connected to WiFi or not. (correct me if I'm wrong)
Regardless, the answer to this would help a lot of android users. This is not specifically tailored for me, because the entire OP relates to battery performance which should be an important issue for all Nexus One users. If this task could be automated it would dramatically improve battery performance during off-peak use (nighttime, work, meetings, etc.) by improving execution and eliminating forgetfulness. Automating this adds to the user experience and would just make your phone that much more enjoyable, period.
I'm simply amazed that I can't find a resolution to accomplishing this.
Click to expand...
Click to collapse
The cellular standby / talk time power doesn't vary much between GSM and UMTS, the difference is less than ~20% in both modes in case of Nexus, judging by official specs. I'll check your assumption that UMTS connectivity isn't dropped to GSM when WiFi connects (most probably correct), but the power gain isn't significant in places that have proper UMTS connectivity (which is not the case for the whole world, I know).
The easiest way I can think of would be to use SwitchPro widget, for example (or any other free widget that has the same functionality), and instead of pressing only "WiFi On" button, press 2 buttons - "WiFi On" and "2G/3G connection" (the same as pressing the "Use 2G networks only" checkbox).
I would suppose that such a plug-in or setting might be available for Locale/Profiles/etc.
2 things that I've found:
1) The connection indeed stays UMTS.
2) Android system prevents the programs from toggling 2G/3G mode, it's only allowed manually. The widgets I've seen only take you to the correct Settings submenu, but you have to click the checkbox yourself.
Thank you Jack_R1,
I appreciate the replies and the confirmation. That is the conlussion that I have been stuck with for a while. I had assumed that there may be a way to control this with superuser permissions.
I guess I'm going to have to dust off my Java, contact some app developers, and start exploring how to come up with a solution myself.
I apreciate your feedback.
You're welcome.
I suppose that this thread might be useful:
http://forum.xda-developers.com/showthread.php?t=736095
What you're looking for might also be one of the lower level system functions, requiring system permissions, not only root.
Might be worth contacting Cyanogen's team or Enomther, to make an option for it on ROM level and incorporate in the next AOSP-based ROMs.
Jack_R1 said:
You're welcome.
I suppose that this thread might be useful:
http://forum.xda-developers.com/showthread.php?t=736095
What you're looking for might also be one of the lower level system functions, requiring system permissions, not only root.
Might be worth contacting Cyanogen's team or Enomther, to make an option for it on ROM level and incorporate in the next AOSP-based ROMs.
Click to expand...
Click to collapse
Thanks again. That post helped. The settings are not accessible in the current framework. When I get enough time this week I think I can start on getting this fixed for root users. I will take your advice and will contact some of the masters here who would know the libraries well.
in addition, one scenario could be:
At home, I do have pretty poor 3G connection with my service provider, so I would like to switch when I am near my WiFi to 2G mode
PseudoReal said:
in addition, one scenario could be:
At home, I do have pretty poor 3G connection with my service provider, so I would like to switch when I am near my WiFi to 2G mode
Click to expand...
Click to collapse
ditto for me.
Surprised that it is so difficult to toggle 2g/3g with tasker...
dew.man said:
ditto for me.
Surprised that it is so difficult to toggle 2g/3g with tasker...
Click to expand...
Click to collapse
And ditto again.
I have the same desire as the op. It must be possible to do since one can easily toggle 2G/3G from the power control widget in cm6. Maybe if there was an intent that was published tasker should be able to launch an app with that intent to accomplish this.
on a recent trip overseas, I was presented with a very weird situation. I bought a local sim and got a 3g data plan which was 3gb of 3g data and 200mb of 2g data (dont ask i have no idea why they are different). When I plugged it in i could do 3g data no problem but if 3g was turned on i could not make or receive calls. so like the op I wanted an automated way of switching between 2g only and 3g
I was able to do it on my nexus one and tasker with
Toggle 2G/3G
hope this helps you
-208
^ +1 best toggle I've seen and used.
Search for Toggle 2G in the main android forum.
Related
What is the deal with the weather plugin?
each time i click on it is says "attempting to download data" i have the weather options setting "download weather data automatically" checked but it does not appear to be updating automatically. Does anyone know of a reg setting that you can use to change the frequency of this download?
bradwcamp said:
What is the deal with the weather plugin?
each time i click on it is says "attempting to download data" i have the weather options setting "download weather data automatically" checked but it does not appear to be updating automatically. Does anyone know of a reg setting that you can use to change the frequency of this download?
Click to expand...
Click to collapse
Sorry to hijack this thread but......
Where did you find the download weather data automatically setting? I went thru the whole machine and still couldn't find it! And obviously, it doesn't auto update........
Many thanks.
mlai said:
Sorry to hijack this thread but......
Where did you find the download weather data automatically setting? I went thru the whole machine and still couldn't find it! And obviously, it doesn't auto update........
Many thanks.
Click to expand...
Click to collapse
When you click on the city name to select another city, there will be an settings option under the rigth softkey when you have the list of cities in front of you
Moaske said:
When you click on the city name to select another city, there will be an settings option under the rigth softkey when you have the list of cities in front of you
Click to expand...
Click to collapse
Thanks! Actually found it right after I posted....
Yep...
bradwcamp said:
What is the deal with the weather plugin? each time i click on it is says "attempting to download data" i have the weather options setting "download weather data automatically" checked but it does not appear to be updating automatically. Does anyone know of a reg setting that you can use to change the frequency of this download?
Click to expand...
Click to collapse
That's what the "download weather data automatically" setting will do...it will attempt to get an internet connection and update the weather when (and IF) you click on the Weather Plugin. The thing is, it will want to do this every hour from the previous weather update.
TEC
And what about disconnect? Is it possible to auto-disconnect after the weather foreground is downloaded?
It's very annoying if you don't have a data plan or if you want to save battery to have to do a manual disconnect.
I want that too...
Yea...I've been looking for a way to AUTO DISCONNECT as well.
Anyone have any ideas??
AH…
I guess I was looking for more finite control over this. Ideally I don’t want to see “attempting to download data” when I click the plug-in. I would rather it just download automatically in the background instead of the plug-in having to check the web at the moment I hit the icon.
Maybe I need to hack the reg to leave GPRS always on?
Hi
By design the data connection remains connected for most Windows Mobile 6 devices, it doesn't mean data is being passed or power consumption is increased.
An article here explains about data connections remaining "On".
http://blogs.msdn.com/windowsmobile/archive/2006/07/14/666203.aspx
Regards
Phil
PhilipL said:
Hi
By design the data connection remains connected for most Windows Mobile 6 devices, it doesn't mean data is being passed or power consumption is increased.
An article here explains about data connections remaining "On".
http://blogs.msdn.com/windowsmobile/archive/2006/07/14/666203.aspx
Regards
Phil
Click to expand...
Click to collapse
Interesting
Also, Mobile Operators requested it. It was more expensive for them to be constantly creating and tearing down connections than to just do it once. Finally, staying connected enabled us to develop a fast "push email" client that relied on the device holding an IP address.
Click to expand...
Click to collapse
What about my battery life?
Just having a data connection shouldn't affect your battery life. Most of the time, the device isn't doing anything with that connection. It just sits there idle. If you're sending a lot of data over the connection, though, that will definitely impact your battery life. Unfortunately, the arrows don't really tell you whether you're sending data or not (though I've seen devices that animate the arrows while data is being transferred).
Click to expand...
Click to collapse
And a interesting quote from a user
In GSM, when you are constantly attached to GPRS, your battery does not spend more energy because there is absolutely no communication between the network and device if there is no data transfer (however there is still periodical normal GSM communication). Only difference is if you are in motion and changing cells in time. Network keeps track of your GPRS connection via "routing area" which consists of one or group of cells. When you switch to cell that belongs to adjacent routing area, there is a, very short, "routing area update" exchange of information between phone and network, regarding GPRS only. But that is very small power consumption.
The same thing is with UMTS. The whole goal of any network is to bring communication traffic to minimum. But, with UMTS, channel coding and transmitting technique is much more complex than with GSM. You are attached to multiple cells at the same time and there is very, very, very strict phone transmit power control. That means that phone must do a lot more signal measurements from group of cells (much more frequent than GSM). It could possibly happen, if you reserved more channels for packet data transfer, that a lot of signalling happens. However, there is a inactivity timeout here which puts you in standby mode as in GSM and then you do not spend battery for packet data at all. But this is all complicated, it depend of many factors: signal strength, network settings, number of users in your location area, etc. .. If the network signal is weak, than any phone in any type of network will eat up your battery.
Click to expand...
Click to collapse
I'm going to try this theory out for a couple of days
if you were to read the manual that came with the phone it states that this is exactly how the weather tab works. If auto update is enabled it will automatically update the forecast every time you touch the weather tab.
Honestly it seems a little silly to me. I have auto update turned off and just tape the last updated time at the top to manually update it.
bradwcamp said:
AH…
I guess I was looking for more finite control over this. Ideally I don’t want to see “attempting to download data” when I click the plug-in. I would rather it just download automatically in the background instead of the plug-in having to check the web at the moment I hit the icon.
Maybe I need to hack the reg to leave GPRS always on?
Click to expand...
Click to collapse
Back to your point. I am looking for the same thing you are. my data connection is always on because i am using push email but i still see the attempting to download after a certain period of time.
flexte said:
Back to your point. I am looking for the same thing you are. my data connection is always on because i am using push email but i still see the attempting to download after a certain period of time.
Click to expand...
Click to collapse
We are on the same page flexte, but it would appear that as of yet no one has figured out just exactly how to tweak the plugin to do what we want. As Jason Lee mentioned it is working like the Manual says it should. Hopefully this will eventually get tweaked!
has anyone figured how to get rid of the "attempting to downlad data" message yet?
I am sometimes in areas where there is no cell phone service. During the weeks to months that i am in these areas, i have pretty constant WiFi access. I would like to be able to disable my cellular radio and have WiFi take the place of it, allowing my Tilt to receive push email and instant messages and skype phone calls like it does when it is connected to the cellular network.
Unfortunately, it seems that wifi is turned off when the device sleeps. How can i avoid this? The only thing i've thought of is to stop the device from sleeping automaticly, and just have the screen turn off and the device lock. The problem with this is that i have to be careful to never hit the power button.
Are there any other things i should know in order to get wifi to replace cellular (with the exception of cellular voice and SMS obviously)?
If you have skype connected at all times, then the "prevent device standby mode when online" will help. Its the 4th option under Menu -> Settings. This is enabled by default.
This topic has been discussed many times.
There is an option available in 'Kaiser Tweaks' to keep WiFi enabled but will drastically reduce your battery life if not on power/charge !
Farsquidge,
I'm embarrassed. I did a search, but obviously not a good enough one. Thanks so much. I did not have the newest Kaiser Tweak update.
I'll disable the cell radio when out of range, how much more juice does the wifi radio use?
while(!(linux)){wm} said:
Farsquidge,
I'm embarrassed. I did a search, but obviously not a good enough one. Thanks so much. I did not have the newest Kaiser Tweak update.
I'll disable the cell radio when out of range, how much more juice does the wifi radio use?
Click to expand...
Click to collapse
I don't have any exact figures for that as I have never used the option but if you disable the phone then it may not be so bad. See what you get out of it yourself and post back here for others.
Alright, I really need some help from the big boys here.
I have had my N1 since release. I have T-Mobile and no data plan. Everything I do is over wifi.
On Friday, I saw the 3g icon on my phone for the first time. It appeared out of nowhere and just flips between 3G and E since T-Mobile just blocks data for non-plan users. This was killing the battery life of the phone.
I called Google and they ran me through *#*#4636#*#* to disable the data connection. This fixed the problem for a while; However after a while the phone will give a message that there is no service provider and will reconnect to T-Mobile (it has never done this before outside of phone boots). When it is back up the 3G/E cycling starts again. Even worse the data connection still lists as disabled and will not re-enable. I have to pop the battery out while it is running to get back in to disable it.
Google thinks its an app but I have removed everything but Touchdown and K9 which I don't think are the problem. I have used Android OS Monitor and I do see connections to 64.15.75.218 and 209.44.107.13 which are hot beds for malware and when I uninstall any app these connections vanish temporarily. But they come back after a few hours.
Anyone seen this before or know a way to track IP connections to a particular app?
I have no solution for tracing 'malicious' software but it is possible to just disable all mobile data usage.
Settings/Wireless and network settings/ Mobile networks > "Data enabled"
If you unselect this there should be no more data transfer while on the mobile network.
I do not have that option. Google Rep said it was only in froyo.
Problem is I did the same thing for 2.1 but it keeps coming back on. Even with wifi the phone connects to these ips so who knows what it is doing.
3G isn't used only for data, you can do voice on 3G.
Could be T-Mobile expanding 3g into your are where you didn't have coverage before.
Call T-Mobile and make sure you're not actually using data.
As for tracking applications, you can use System Panel Pro of the market to monitor how much data applications are using.
I know I am not using data. The T-Mobile account page is pretty detailed and I am unable to do anything online when wifi is off. 3G has also been available for a while here as I know others that use it.
I will check out system panel.
Thanks.
UmbraeSoulsbane said:
I do not have that option. Google Rep said it was only in froyo.
Click to expand...
Click to collapse
It is indeed only on Froyo, however, Froyo is out now, so install it and you'll instantly benefit.
A few more things:
Were you receiving or sending MMS (picture/video messages) when the 3G icon popped up? This is normal and doesn't usually come out of your data balance.
If you'd like to be triple-sure you're not using data, go into the APN settings. Edit the APN name - e.g. change tmobile.com to nomobile.com. Now it *really* shouldn't be able to access data.
Smarphones would be well to do to have a Zonealarm/little snitch type app for this purpose.
Id imagine ad based apps wouldnt be too happy about it. At the least an app that reports IPs times , and IN/OUT info.
I never use SMS or mms and have not gotten any during this time.
My concern is not related to getting charges but with unwanted use of my phone or data. When the data connection auto enables it will go through my battery in a matter or hours and who knows what the phone may be doing.
I know I can turn this off and make sure data is not used - in fact I have already done this. However when smoke enters room you don't just put a towel under the door and forget about it. I want to find the source of this and stop it because the behavior is not normal.
I agree something like zone alarm would be good. You should be able prevent or track an app activities for situations like this. If I knew what was connecting to these IPs and enabling the data connection I could stop it and report the app or submit a bug request. Right now I am just all alone.
I did try system panel which seems like a nice app but it does not give me good information on network usage by app. OSMonitor is better at connection monitoring but doesn't list by app. Why has no one thought to monitor network threads by app?
Try alogcat maybe? Any time you notice the icon suddenly appearing, save a copy of the logcat and comb through it.
alogcat may work. Figured out OSMonitor had something similar and filtered by app.
Now I just gotta wait I guess. Still not enough info to relate to IP though.
You should know that the data connection setting isn't an enforcement for the entire phone. It only acts as a notice to applications on whether or not to use data in the background.
Developers are supposed to respect those settings, but they are not enforced.
There is a free program called Network Statistics which is no longer in the market. I will backup the apk for you and upload it so you can use it. It shows the amount of data used by each app.
I too had a data hungry app issue and this helped me solve it immediately.
I'm just at work ATM, so I'll do it this evening. (Almost midday now here in Australia )
Cheers,
Ross
@JCopernicus
I am aware of this which is why I want to track this problem down.
@Ross
That sounds great. I appreciate the help. Not sure if tracking data usage is enough since I don't think the app is sending a lot of data. But I am willing to try anything.
I should be getting froyo soon so maybe that will help as well.
This is what I do when I want to ensure I don't use Data. Go I. To wireless connections. Mobile Networks, and then access points. Create a new one. I usually call it No Data. The for the apn, I just make something dumb, like no.data.com, and then save. After I'll select that as my apn.
The issue is not about the use of the data connection. I have done this and can guarantee the phone cannot use any cell data network. The problem is an app is trying to use it anyway even when it is disabled. Even if you ignore that as a concerning activity the constant 3G searching reduces the battery life to a mere hours.
I appreciate the help, but my issue is not with how to disable the data connection. Its about identifying malware on my device, and tracking an app calls to a specific IP.
Again,k 3g doesn't mean data. 3g is also used for voice.
If you only want to use "2g" switch your phone over to gsm only through 4636 or through the menu where it says "use 2g only".
You will never see the 3g icon again.
If you wan't to be 100% sure no app is calling an IP, then do a factory reset. Install apps one by one, monitor them through the various options given in this thread already.
You will not be able to prevent an application from "calling home" unless you modify the app itself. Apps use the data connection provided to them by the OS however they see fit.
Every app you install has a permissions prompt that will tell you it want's internet access.
JCopernicus said:
Again,k 3g doesn't mean data. 3g is also used for voice.
Click to expand...
Click to collapse
The Android "3G", "H", "E" or "G" icon denotes data. It may also appear temporarily when making the connection necessary to transmit MMS. It does not appear when the phone is using voice over 3G without a data connection.
Actually, this may be a T-Mobile issue - they just enabled the ability to do "pay as you go" data on ALL plans without a data plan, so they may be the ones turning on the ability to do data. You'd still need to authorize it in your browser, and I think it costs about $1/1MB so it is totally not worth it.
May be worth looking into because it wouldn't surprise me if their new "service" is screwing things up.
I am aware of 3G voice but the 3G status icon is related to data flow. I have had the phone since launch and posted this because this behavior is not normal. Even Google was perplexed by what it is doing. And as I said it is not constrained by the 4636 settings.
And I disagree that an app can use the network connection as they see fit. Rights are given to perform its intended purpose; anything else is malicious.
[Q] Assuming whoever reads this post is familiar with the 4G, 3G, Edge monikers could someone let me know if there exists a modem for the captivate that only uses Edge?
[Reason for Question:]
Yesterday, messing around with settings I noticed that my phone has the ability to change from 4G/3G -> E. Doing this I noticed an immediate improvement with my battery life. I could surf the net, read emails, get notifications, and do everything I could do before. Just now my battery could last for 2+ days.
I am fully aware that a 4G connection can be faster than 3G and a 3G connection can be faster than E.
Although, I thought about the logical progression of events that may occur in my life, and if I ever found myself in a situation where I would need to download a large file it would likely be in response to something premeditated.
Therefore, I would likely be at some location where WIFI would be accessible or, if not, I could always remember to download it before I actually need it.
However, extrapolating that thought process out further, I thought okay well if there is WIFI around then there is a need for it. Therefore devices that can download and process at much faster speeds could be available. If those devices aren’t available I still have the ability to hop onto the WIFI network and download using my integrated wireless NIC.
Using this I have deduced that I do not, or will not ever, need High Speed connections on my phone. I do however like the android operating system and love my phone so I am in a bind. On one side there is the smart phone market and generation saying "faster is better" and on the other side there is me saying, "I want a phone that I can play some sweet games, utilize useful apps, check email, and have a true internet browser experience but at the end of the day I still want to be able to make a phone call damn it".
Don't get me wrong having ridiculously fast internet on my phone is cool but so was smoking when I was 16.
I'm not aware of an edge only modem.
Also there is no voice and data at the same time on edge. So if something is using data at the time you get a call it will go to voicemail. Just putting that out there in case you did not know.
settings>wireless and network>mobile networks> set network mode to gsm only.....
That way if you ever DO need 3g you can turn it back on too!
Thanks BenKranged and studacris .
I decided to go with Serendipity Rom -> http://serendipityrom.weebly.com/
Disabled HSDPA -> http://touristinparadise.blogspot.com/2010/11/samsung-galaxy-s-turn-off-hsdpa-for.html
And if I want to I can only enable Edge as studacris explained.
I now get 2+ days out of a single charge and moderate to light use!
I am satisfied now!
p.s. Plus I flashed the ability to record calls so that is pretty cool too!
I am on my second T-Mo LG G4. Both have exhibited a strange behavior that is rather annoying. I've disabled all automatic sync features and the like - in the same manner as I've done successfully with both a Nexus 5 and a LS990 G3.
So here's the issue(s):
1) Whenever I boot the phone - it automatically turns mobile on. e.g. as indicated by "Data Enabled" quick toggle or the Android Setup slider control.
2) Most times when I enable WiFi, the phone (or whatever) systematically turns on mobile data again - and it's damn repeatable e.g. at ~ 15 seconds after I tap the WiFi quick toggle.
3) Most times when I am running off of WiFi, the mobile data will randomly come on by itself even after I hammered it off that first time in response to manually turning on WiFi.
Zero technical assistance from the obvious sources. LG points the finger at T-Mo. T-Mo points the finger at LG.
I'm starting to think this is related to the Lollipop API change crammed down everyone's throat by Google.
I'm on metered service and have grown accustomed to living off of WiFi. With prior phones I was in full control of what I've been charged. With the G4, it's nearly impossible to manage ...
Any thoughts, shared experiences or recommendations ?
Hmm, there is a setting that can automagically use LTE if the Wifi is detected not to have internet access. I can't think of what it's called at the moment but it's in setting somewhere - possibly WIFI settings.
I would also be sure to disable T-Mobile's "diagnostics" setting in the T-Mobile app and attempt to turn off any other monitoring settings contained within. I think there is a setting that monitors the LTE signal strength and that could be making it pop on.
Other than that, it does seem rather annoying for you! You are on T-Mobile though, didn't you get the 10GB data pass and have the unused data rollover? Another note, why not setup the data limiter in Data Usage to automagically turn off the data after X GB usage. I know it isn't a direct solution but if data usage is a concern, it could work as a workaround!
Hey, thanks for the response and suggestions.
To be clear, I'm on Ting's GSM network - which is serviced by T-Mo.
I'm well versed with Android and prior to this phone I was on a Nexus 5 with 5 .1 .1 and it didn't behave like this.
I've tried all the buried settings to get in front of "enabled" data on two different G4's but nothing is panning out.
And yes, I did think of that T-Mo diagnostics app and it's not enabled - at least not on the surface.
And one more thing, my WiFi is solidly connected when data goes rogue robot.
Hadn't considered the data cap setting. Seems clunky but might help until a custom ROM is available.
rockerrock said:
Hmm, there is a setting that can automagically use LTE if the Wifi is detected not to have internet access. I can't think of what it's called at the moment but it's in setting somewhere - possibly WIFI settings.
I would also be sure to disable T-Mobile's "diagnostics" setting in the T-Mobile app and attempt to turn off any other monitoring settings contained within. I think there is a setting that monitors the LTE signal strength and that could be making it pop on.
Other than that, it does seem rather annoying for you! You are on T-Mobile though, didn't you get the 10GB data pass and have the unused data rollover? Another note, why not setup the data limiter in Data Usage to automagically turn off the data after X GB usage. I know it isn't a direct solution but if data usage is a concern, it could work as a workaround!
Click to expand...
Click to collapse