Wifi scanning when connected - Samsung Infuse 4G

Anyone know why wifi keeps scanning even though you're connected. I can understand when you're looking for a signal but when you're connected already? Ugh...
Sent from my SAMSUNG-SGH-I997R

For when u want to change to a different AP ....
sent from Infuse but miss my captivate on cont. 5.5.... One day this can be as good...

From what I understand, you can change the scan interval in the build.prop file in the /system directory. I have mine set to 120.
If you are looking at wifi settings, depending on if you are stock and what rom you have, you may see it scan every 5 seconds, or constantly (stock).
This only happens when you are looking at the wifi settings themselves. When you exit the wifi settings menu, it goes back to whatever you have set in build.prop

Blade Buddy (in the market), will allow you to change the Wifi scan interval, it's under Advanced Settings, the setting is "wifi.supplicant_scan_interval". The app requires root/superuser privs. Default from AT&T is every 15 seconds, Infused ROM sets it to 120 to save battery. Be sure to hit the menu soft button, apply, then save and restart the phone.

w4rmk said:
Blade Buddy (in the market), will allow you to change the Wifi scan interval, it's under Advanced Settings, the setting is "wifi.supplicant_scan_interval". The app requires root/superuser privs. Default from AT&T is every 15 seconds, Infused ROM sets it to 120 to save battery. Be sure to hit the menu soft button, apply, then save and restart the phone.
Click to expand...
Click to collapse
I was under the impression that blade buddy and build prompt changes are only affecting the scan while NOT connected...
Changing those settings does not appear to change how frequent it scans WHILE connected to an ap

00mred00 said:
I was under the impression that blade buddy and build prompt changes are only affecting the scan while NOT connected...
Changing those settings does not appear to change how frequent it scans WHILE connected to an ap
Click to expand...
Click to collapse
This is correct. After changing it still scans when connected :/
Sent from my SAMSUNG-SGH-I997 using XDA Premium App

iOSlulz said:
This is correct. After changing it still scans when connected :/
Sent from my SAMSUNG-SGH-I997 using XDA Premium App
Click to expand...
Click to collapse
I think there is a miss understanding...give me 20 minutes to test my theory...
be back soon.
VERIFIED ...huge misconception
so...running a log I see that yes
Wifi monitor, process 680, runs exactly every 2 minutes, just as set in the build prop. It always does this.
Wifi SETTINGS, process 5890, runs every time you open wifi settings and updates the access points..once you close wifi settings it stops.
I can see what they did here...Many other devices have a manual scan (menu, scan) they made the scan for ap's auto when you open wifi settings, and only when you open wifi settings. that particular scan (process 5890) is not running constantly. It stops when you close wifi settings.
process 680 runs every 2 minutes while wifi is on. I don't have my other devices with me, and have never noticed or looked at this process before so for all I know it's this way on any device. I will look into that more later. Given that process 5890 is the one that actually updates the list of ap's...I wonder what exactly process 680 is doing.
I am at work and don't have the time that I want to spend on this (my employees have interrupted me 3 times while I typed this lol)

Related

why wont 3g/gprs disconnect by itself?

i'll give u guys a scenario..
i open outlook
check email
everything is done.
I close the task but the 3g / H icon still shows connect and the timer keeps moving.
Or even when i update the weather..... it updates, downloads and all, but the icon still shows connected and stuff.
Oh my old touch , once i checked my email etc, it would disconnect by itself or the weather.
is there a way to prevent this or set a timer that after 10seconds of no connctivty to disconnet?
You know, just today I was looking for the same thing since I didn't want a data connection to drain the battery. When playing around in Schap's Advanced Config Tool under the connection settings, there's an option in there to disconnect after "x" seconds, which you can set to 10, 20, 30, 45 secs or even minutes. I haven't had a chance to play around with it too much, but initial observations are not very positive. For example if I wasn't using Opera to browse it does not disconnect, however when I exit, the data connection was stopped. I tried the same thing with the HTC home weather app and it didn't disconnect after the update. So not really sure, again this was only playing around with it for a few mins.
yeh it's getting kind of annoying really.
whats this tool ur talking about? did you download it somewhere?
hambola said:
...When playing around in Schap's Advanced Config Tool under the connection settings, ...
Click to expand...
Click to collapse
You know reading can have its good parts, also google is a good tool for searching...

Data Auto Disconnect

I'm sure this is a noob question, but I can't find the answer on the forum.
I've seen a couple people reference automatically ending the data connections when they're idle. Can someone explain how this is done?
Is the desire to disconnect the data to save on battery life? Just curious. Thanks.
That's the main reason I want to do it...not sure about others...
I figured out two ways to do this for anyone else that's interested.
1) Using Advanced Config Tool (V3.3): Menu > More Settings > Connections. Check "Disconnect After" and set the timeout you want. This seems to work well for activesync connections (my mail is set to recieve every 5 min), but doesn't always work for on demand connections (Internet).
2) Comm Manager Pro. No instructions for this since I'm not using it (yet). But everything I've read looks like it does it.
Like I mentioned, I've got my email configured to sync every 5 minutes and I have a connection timeout of 30 seconds set in Advanced Config. This setup has drastically improved my battery life. Before this change, I got maybe 12 hours on a good day. With this timeout set, I could probably get 2 solid days. The only thing I haven't figured out is if the timeout is and idle timeout or an overall timeout. What I mean, is will the connection end after 30 seconds even if it's in use?
I'm interested in this as well, it would be even better if outlook or msn live would make a connection and disconnect after synchronizing.
I've been looking for the same solution. So far using advanced config settings will force disconnect no matter if it was idle or not. I'm looking for a solution to disconnect only when idle.
As of proof, set auto disconnect to 1 minute and using latest skype v3.0 start transferring a large file. After 1 minute data connection will be forcibly disconnected.
Any solutions for this?
Thank you.
Can someone help me find the timing setting in Advanced Config? I've looked through everything - using Energy 3.0 Rom (WM6.5) and don't see anything related to data disconnect other than under "Data Connections:" "GPRS disconnect:" and my settings are "Enable button and timer"
I don't see where the timer comes into play; don't really care if the connection gets cut off - I'd rather see a battery life improvement.....
I'm an absolute idiot. I just skimmed through the thread and didn't read the post above... *smacks forehead*
Its been posted in this very topic, and its only 5 replies long
xawen said:
I figured out two ways to do this for anyone else that's interested.
1) Using Advanced Config Tool (V3.3): Menu > More Settings > Connections. Check "Disconnect After" and set the timeout you want. This seems to work well for activesync connections (my mail is set to recieve every 5 min), but doesn't always work for on demand connections (Internet).
2) Comm Manager Pro. No instructions for this since I'm not using it (yet). But everything I've read looks like it does it.
Like I mentioned, I've got my email configured to sync every 5 minutes and I have a connection timeout of 30 seconds set in Advanced Config. This setup has drastically improved my battery life. Before this change, I got maybe 12 hours on a good day. With this timeout set, I could probably get 2 solid days. The only thing I haven't figured out is if the timeout is and idle timeout or an overall timeout. What I mean, is will the connection end after 30 seconds even if it's in use?
Click to expand...
Click to collapse
In advanced config the settings you are looking are not located in the list on first screen, the are in separate menu as described above.
And now I'll quote myself so my question will not get burred:
[email protected] said:
I've been looking for the same solution. So far using advanced config settings will force disconnect no matter if it was idle or not. I'm looking for a solution to disconnect only when idle.
As of proof, set auto disconnect to 1 minute and using latest skype v3.0 start transferring a large file. After 1 minute data connection will be forcibly disconnected.
Any solutions for this?
Thank you.
Click to expand...
Click to collapse
guys, found this
http://www.andrewsayshello.com/windows-mobile/auto-disconnecting-idle-data-connections-in-wm6/
hope this helps in some way
Thanks for the link, unfortunately it still disconnects even if data connection is in use.
WMLongLife can do this for you.
About the registry tweak that does this, I must warn you: it disables the ability to do voice and data simultaneously.
Chainfire said:
WMLongLife can do this for you.
Click to expand...
Click to collapse
Just checked WMLongLife and it seems that program does not quiet work if one doesn't use opera or wifirouter...
Chainfire said:
About the registry tweak that does this, I must warn you: it disables the ability to do voice and data simultaneously.
Click to expand...
Click to collapse
This is new for me...I thought that data connection cannot co-exist with phone call, period..
[email protected] said:
Just checked WMLongLife and it seems that program does not quiet work if one doesn't use opera or wifirouter...
Click to expand...
Click to collapse
Yes it does require a certain way of using your phone (current test version has specific settings - you can change this in next version). Just saying.
This is new for me...I thought that data connection cannot co-exist with phone call, period..
Click to expand...
Click to collapse
Yes it can, but it depends on several factors. Under ideal (and never actually occuring) conditions it can be done with 2G GSM (GPRS/EDGE). Normally, however, either GPRS/EDGE connection suspends ('pauses') during voice call, or with 2G CDMA voice call may not work at all while data connection active (depends on exact 2G CDMA network type).
With 3G GSM (UMTS/HSPA) it is quite possible (and normal) to do data and voice simultaneously, however for some reason the auto data disconnect registry tweak breaks it. I'm not quite sure why, but it does.
3G CDMA (EV-DO) behaves the same as 2G GSM with regards to simultaneous voice and data (data drops), however, EV-DO Rev. A behaves the same as 3G GSM (possible but broken by registry tweak)
Aside from this, it is also needed that your provider/network has the correct hardware to handle this. I'm not sure how common it is for this properly operating on EV-DO Rev. A, but for UMTS/HSPA early tower equipment was bugged and did not allow this. In Europe, most UMTS/HSPA towers have since been upgraded to allow simultaneous voice and data (and HTC handsets support this perfectly), but how this is in the USA I cannot say.
Hope that explains it (it is a bit messy explenation I know)
if this dowsn't work then i have no ideea what will )
http://forum.xda-developers.com/showthread.php?t=484084
tell me if worked for you
!!!!!
I had it set to disconnect (via Diamond Tweak software) after 1 minute of activity. I did this to preserve battery life, BUT BUT BUT
With 3g on, and even with 3g disabled all day and edge on, the battery still died in 8, 12 hours (3g, edge) with the connection disabling. i use the phone for a good number of calls, text, and some data every day.
AFTER i reenabled it to NOT disconnect after every 1 minute, i pulled over 24 hours on a SINGLE charge.
am i the only one that's experienced this??

A couple fixes for some of our problems

Lets face it. All devices have bugs upon release that the normal person won't care about nor think of it as a bug. This device has it's share but as a reminder. There is no software bug that can't be fixed. By the way, make sure you don't skip the initial setup and if you did just wipe and restore.
1) Some are having a problem when using WiFi. There 4G or 3G data is not turning off and instead of your device using WiFi to exchange data it is using your 4G or 3G data. If you turn WiFi on and don't see a 4G/3G icon in the notification area then your device is working properly in this department.
The Fix: There is three "My Account" apps on our devices and there causing a conflict when 2 or more is running at the same time. To fix this you need to delete all of them (I used Root Explorer). If you use "My Account" you can download the current version from the market. Next, freeze or delete WiFi calling and the T-Mobile app pack. After you have deleted everything you have to reboot your device. Note: While deleting or freezing some of these, you might get some looping force closes. Just simply remove your battery to reboot the device and once it reboots the force closing will be gone.
2) Some are having a problem when moving from cell tower to cell tower. If you are losing a data signal every once in a while but the 4G/3G icon is still showing in the notification area, you need to do the fallowing.
The Fix: Go into your Mobile Network settings and make sure your device is setup to automatically use GSM/WCDMA. Then click on search for networks and at this point you will see T-Mobile UMTS, T-Mobile GSM and ATT GSW. After they appear click on select automatically. While your at it go ahead and click on data roaming since T-Mobile has contracts with other providers so your able to roam on there towers. Don't worry, you won't be charged for roaming since T-Mobile only charges for international roaming. After all this do a reboot.
Some of you think that there is a problem with your battery if your device is showing your "cell standby" above 30%. This is not a problem. Every time you charge your G2X it will reset usage percentages as you know. Well if you emediatly start using your phone and don't put it down for 2 hours than I promise you that your display will be at the top of the list. Obviously if your device stays off for a little bit and upon waking it you look at your battery statistics your going to see Cell standby and Phone idle at the top since the display was off. If your wandering why Cell Standby is using more juice than WiFi it's because when you turn your display off it automatically sleeps your WiFi.
The percentages in your batter statistics need to add up to 100%-105% and something is going to use more than the rest depending on what your doing with your device after removing it from charge. Ask yourself this. If my G2X is in my pocket for 1 hour after removing it from it's charger. What would I like to see using most of my battery? I can tell you right now. Certainly not your display since it's been off the entire time.
There's only one MyAccount app on the phone. I looked myself in the System/app folder. If you see multiple MyAccounts in a task manager it is just another instance of the same application.
Also there's NOTHING wrong with Wifi Calling or My Account. I have both on and use them extensively. My phone has gone now 26hrs without a reboot or hitch of heavy usage. Wifi works, 3G/4G works perfectly. I don't have any issues right now...until the next reboot
Want to give people another perspective since you don't have to give up MyAccount or Wifi caling to have a usable phone.
jrwingate6 said:
Ask yourself this. If my G2X is in my pocket for 1 hour after removing it from it's charger. What would I like to see using most of my battery? I can tell you right now. Certainly not your display since it's been off the entire time.
Click to expand...
Click to collapse
Cell standby of course
mobilehavoc said:
There's only one MyAccount app on the phone. I looked myself in the System/app folder. If you see multiple MyAccounts in a task manager it is just another instance of the same application.
Also there's NOTHING wrong with Wifi Calling or My Account. I have both on and use them extensively. My phone has gone now 26hrs without a reboot or hitch of heavy usage. Wifi works, 3G/4G works perfectly. I don't have any issues right now...until the next reboot
Want to give people another perspective since you don't have to give up MyAccount or Wifi caling to have a usable phone.
Click to expand...
Click to collapse
Thats WHY you don't have any problems. Because you only have 1 "MyAccount" application. Those of us that had 2 or 3 have the problems. By the way I had 3 and no they weren't showing in task manager. They were all deleted using Root Explorer.
Where did you see them? They were all in system/app??!?
Odd how they could all exist together - were they named differently?
mobilehavoc said:
Where did you see them? They were all in system/app??!?
Odd how they could all exist together - were they named differently?
Click to expand...
Click to collapse
Yes, different version numbers and branding included in the apks. I had 2, version 1 and version 5.x.
OP, for some reason when I try Search Networks I get: "Error while searching for networks." Any ideas?
mobilehavoc said:
Where did you see them? They were all in system/app??!?
Odd how they could all exist together - were they named differently?
Click to expand...
Click to collapse
They all existed in the system folder. It seemed like instead of the new versions updating the existing app, they were just creating new files. Your right, it is odd but I can see how that would create a problem.
rfm2113 said:
OP, for some reason when I try Search Networks I get: "Error while searching for networks." Any ideas?
Click to expand...
Click to collapse
I got the same thing. I had to enable wifi, then shut off wifi calling. Then it worked.
OP, for some reason when I try Search Networks I get: "Error while searching for networks." Any ideas?
Click to expand...
Click to collapse
I got the same thing. I had to enable wifi, then shut off wifi calling. Then it worked.
Click to expand...
Click to collapse
Worked perfectly, thanks!
Sent from my LG-P999 using XDA App

A non-suck Tasker data management script

Suggestions or questions are welcome!
Description:
Here is a simple-ish script I wrote to manage data flow on my phone. Mobile data on/off is easy enough but what most users have a hard time pulling off is when to toggle wifi on and off with minimal consumption. Using local tower states is pretty common but it's inaccurate and slow; additionally my method uses less battery life.
Room for improvement:
The only thing I would like to do in order to improve this is to have the script not disable data when downloading or streaming. This is possible but is unique per device per ROM so I can't really go into detail about how to do it. As a summary though there's a file that is written to that keeps information about bytes traffic. You just read this file to determine how much data is flowing in a specific interval and if it exceeds a certain amount then don't turn off data just yet. It's also a known issue where with some devices the 3G state change won't register when toggling manually while connected to wifi.
Features:
Wifi and 3G will disable two minutes after the screen is off so it's not constantly toggled through intermittent use.
On some phones or providers the 3G status becomes unknown when in a call or when connected to wifi; this script works around that.
Unlike most data management apps this one will remember your 3G status should you manually change it, in case you don't want 3G on at all.
Data is still checked on an hourly basis(this can be adjusted of course).
Fast and accurate wifi connecting with very minimal power drain.
Just a few things explained for those curious:
I check the phone state to ensure that 3G isn't detected as manually disabled when your provider uses 3G to place calls.
I check the screen on time because on some phones/ROMs the 3G doesn't actually register as toggled until the screen flickers back on. Because of this 3G appears to only become disabled once the screen turns back on and it can be registered as manually turning it off.
The wifi timer exist so the script won't check for a wifi too frequently.
You can adjust the hourly checks under Cycle 3G.
What version of Tasker is this developed under? Just curious, I'm running the 4.0 beta, and I just had to back out of b19 to b18 because of issues with my data management profile. I'll try yours out, it sounds a lot better than mine...
Can't seem to get this to work...tasker wont recognize the file
Sent from my SAMSUNG-SGH-I727 using Tapatalk 2
It's working great for me on 4.0b18. I still need to look at the logic being used as to what causes it to 'wake up' and connect to wireless, is it simply a delay after screen on, or are you also looking at other factors?
Tasker 1.3.3u2
My friend had problems getting his to recognize the profile as well. I'm not sure why.. It might have to be in the proper directory. You might also have to make a new profile tab for it. Hopefully rpr69 can give us some insight.
But to answer your question as to how I check Wifi...
When screen turns on I immediately try to connect to Wifi before trying 3g. 3g will still enable briefly after for phones that require it for MMS. If Wifi isn't connected after X seconds then it disables Wifi and won't try again for 10 minutes. If it does connect successfully there will be no 10 minute wait next screen on.
Added manual toggle memory to Wifi as well. I'll post the changes later and update the zip file.
Are you importing the profile, or just dropping it in a directory? The proper way is to import into a new project. In 1.3 of Tasker (from memory, it's been awhile), you need to pull down from the top of the Tasker top bar which should then give you the Projects tabs. Long press on the Home tab, and you should get an 'import' option, navigate to where you downloaded the project file on your phone and select it, and it should create a new tab for it, with the profile and tasks under it. If you had previously just manually copied the xml file into the projects directory, move it out of there or the import may fail.
Looking forward to the update!
Ok got it to work I forgot is was a project and kept trying to import only a profile. It seems great so far!!!
Sent from my SAMSUNG-SGH-I727 using Tapatalk 2
To make it so it won't check wifi when you don't want it to add the following...
ProfileName - Record Wifi State
Trigger - State > Wifi Connected *
Enter Task - Set Variable %wifistate to 1 if screen ~ on
Exit Task - STOP If %ScreenOnTime + 2 > %UPS
......Set Variable %wifistate to 0 if screen ~ on
then under task "Data Types On - Type 2 P2"
very first line add - If Then > %wifistate = 1
Place a closing End If at the very bottom, and move the "Mobile Data > Set On (if %3GState = 1)" second from the bottom, just above closing.
I also just uploaded the xml file again to the main post.

[Q] Why is Quickboot using my data?

I use My Data Manager to monitor my data. 3 days back, I noticed my data was being used rapidly so I went into the app to find who the culprit was. I have attached screenshots of it.
First off, what exactly is Quickboot and secondly, why is it using my internet!? I have it on wifi right now and its still using up my bandwidth but I'm not concerned about that. I went into Settings>Apps to try and disable it and I also rebooted my phone to see if that would fix it. It did not.
Anybody have any ideas on how to counter this?
additional info
Here is a screenshot of my Data Usage in Settings.
Also, I checked Developer Options and the Quickboot option is NOT enabled.
Quick boot is a setting in the developers options(settings->about phone -> tap 5x on build-number) which enables the phone to go in a much lighter standby mode and by this it will boot faster...
And I have no clue why it drains your mb's[emoji53]
erdal67 said:
Quick boot is a setting in the developers options(settings->about phone -> tap 5x on build-number) which enables the phone to go in a much lighter standby mode and by this it will boot faster...
And I have no clue why it drains your mb's[emoji53]
Click to expand...
Click to collapse
You should read his comment above.... It's not hard.
He said he did not have it enabled. And by knowing how to activate it, he should know what it does.
Further research
I looked into a bit more and it turns out that it uses 7 MB every single hour. That exact number of megabytes, every single hour. Doesnt matter if its on Wifi or Data. So odd, I cant figure out why...
The answer is: clean flash lol
I dunno either I never bothered to look into it, but I week grab that app and see what it says
Sent From Lollipopified Bacon Goodness!
Solution (-ish)
I ended up rooting my phone, which required a factory reset (to unlock the bootloader). So my problem is gone but never found an actual solution to it.
what you can do is setup hotspot on computer. disable mobile data and try to repreoduce. If reprodicable install wireshark and catch the traffic on the hotspot network adapter then analyse what it is. it should give younsome idea by whois ip lookup on the destination ip. maybe even some info in the packets.
iff ssl try fidler instead of wireshark with decode ssl.
Sent from my A0001 using XDA Free mobile app

Categories

Resources