Phone freezes when connect to WiFi. - General Questions and Answers

Many times, when I first connect to WiFi, my phone freezes for probably 15-20 seconds, and I can't do anything.
How can I monitor what's doing this? There doesn't seem to be an any way via an app to see what's using the CPUs like you can with task manager in Windows(?), so what about seeing in real time any network traffic? Maybe an app is checking for updates or something. I can only find apps that give recent history (a few seconds behind) of that, not in real time, and with so many apps doing something it's hard to figure out which is the culprit. Though it might be difficult to figure out even if it was real time.

Related

Auto Disconnect GPRS while device is asleep

Hi, I know this topic has been covered many times, but I here's my issue.
I have phoneAlarm running on my Trinity and set phoneAlarm to cut my data connection after 1min of data inactivity and it all works fine. I can browse the web, check emails using the WM5 inbuilt email application. After 1 min of data inactivity, my connection is cut, brilliant, works like a treat.
However, once the device is asleep, and my email application polls, the data connection remains connected (if there are no emails, it won't wake up) and I have to switch on again and either let it disconnect when awake, or manually disconnect it.
The funny thing is, its just the email application thats causing this. If I was browsing using PIE and just press the power button whilst it was still connected, it times out and it gets disconnected, and the next time I wake up the device I can see there is no data connection.
it seems like the WM5 email application whilst asleep is either holding on to the connection or some data is being transferred, as I said it doesn't happen if the device is awake.
This really is bugging me, as the whole point of setting up "Auto disconnect" is so I can leave it and trust it to only connect when need be. Currently, if I don't use the phone and don't receive any emails, my GPRS connection is on all the time whilst the phone is asleep.
I have tried other programs, but generally, all of these applications perform the same registry tweak.
Sorry for long post.
I did a program (ConnectionManager) that wakes up the pda to Idle state (screen off, no sound and cpu to minimum level) each 3 minutes and check the states of connections. If there isnt traffic in 2 minutes the connection is closed.
Hi,
Interesting. Do you have a link to that program? Tried to find it in the forum by searching for "ConnectionManager" and found nothing.
So when the device is in idle state, min CPU, screen off etc, there's no problem in accepting calls etc?
I was reading a thread regarding the other program you wrote that switches bands, was interested in that too.
Thanks for your help.
Don't worry, I've found it, and it WORKS. You're a star!!!
exactly what I was looking for. It did come across it before, but for some reason I thought you didn't check for data flows and close the connection full stop. Obviously i mis read
I've downloaded WM5 SDK, but didn't really know where to start, I am a developer, but don't know anything about the WM5 APIs. Cheeky question, but is it possible to let me have the source code?
I would love to enhance something like this, would love it to be a today plug in and let you enable it without opening a new form. Settings about how long before checking. Not sure how easy it would be.
Just a comment really, not sure if its just my device (Trinity) but the Close Program button seems to be out of shape, i.e. larger than the other 3 and goes right to the edge of the screen.
Oh, one more question, do you think having the device on idle will have much impact on battery life. Once the device is in idle, does it suspend again, or does it keep it in idle until you switch it on again?
Thanks again!
Hi, another thing. Having tried this program out for a little while now, it seems to not let the device time out into suspend state. For me, it seems to just lower the brightness of the screen. The program still works, but it won't let the device suspend automatically, i thought it would switch it to idle, and turn of the screen.
Once the machine is suspended manually by pressing the power button, then its fine. Do you have this issue?
Still works like a treat though, and better than anything I had before!
Thanks again!
Sorry, my mistake. It all works fine!
Hi. I was going to do other release (the user can modify connections check, etc) but i will post the source code, sure (but the source code is in my laptop). tomorrow i will post it.....
Greetings
hongsit said:
Don't worry, I've found it, and it WORKS. You're a star!!!
exactly what I was looking for. It did come across it before, but for some reason I thought you didn't check for data flows and close the connection full stop. Obviously i mis read
I've downloaded WM5 SDK, but didn't really know where to start, I am a developer, but don't know anything about the WM5 APIs. Cheeky question, but is it possible to let me have the source code?
I would love to enhance something like this, would love it to be a today plug in and let you enable it without opening a new form. Settings about how long before checking. Not sure how easy it would be.
Just a comment really, not sure if its just my device (Trinity) but the Close Program button seems to be out of shape, i.e. larger than the other 3 and goes right to the edge of the screen.
Oh, one more question, do you think having the device on idle will have much impact on battery life. Once the device is in idle, does it suspend again, or does it keep it in idle until you switch it on again?
Thanks again!
Click to expand...
Click to collapse
Idle is a state with minimum impact...but is bigger than suspended. When the device wakes up to idle state it is suspended again after a few seconds if the cpu isnt used too much. When the device is woke up by a app notification (Its our case) the system suspends very quickly. In my tests (using log method) the program does its stuff (1 seconds) and 10 seconds later the system is suspended again...
I ve used Visual Studio 2005 and the program was wrote using C (not MFC)...
Hi Daniel
Where can I download this app ?
Thanks and regards
Martin
I am curious if you gprs comes on for your push mail, can you still make outgoing call and also send text messages?. I have this issue for my atom exec and it's annoying me. Thanks
hongsit said:
Hi, I know this topic has been covered many times, but I here's my issue.
I have phoneAlarm running on my Trinity and set phoneAlarm to cut my data connection after 1min of data inactivity and it all works fine. I can browse the web, check emails using the WM5 inbuilt email application. After 1 min of data inactivity, my connection is cut, brilliant, works like a treat.
However, once the device is asleep, and my email application polls, the data connection remains connected (if there are no emails, it won't wake up) and I have to switch on again and either let it disconnect when awake, or manually disconnect it.
The funny thing is, its just the email application thats causing this. If I was browsing using PIE and just press the power button whilst it was still connected, it times out and it gets disconnected, and the next time I wake up the device I can see there is no data connection.
it seems like the WM5 email application whilst asleep is either holding on to the connection or some data is being transferred, as I said it doesn't happen if the device is awake.
This really is bugging me, as the whole point of setting up "Auto disconnect" is so I can leave it and trust it to only connect when need be. Currently, if I don't use the phone and don't receive any emails, my GPRS connection is on all the time whilst the phone is asleep.
I have tried other programs, but generally, all of these applications perform the same registry tweak.
Sorry for long post.
Click to expand...
Click to collapse
where can I find this piece of software?
http://forum.xda-developers.com/attachment.php?attachmentid=34693&d=1172683590

Vox crashing when using internet connection

In the last week or so, my VOX has become very unstable when I use applications that access the internet. I thought it was just some new apps that I installed making it unstable, but I removed all the recent apps and it still shuts down between 1 minute and 5 minutes of using the internet.
Apps that use the internet vary from pocket IE to Viigo to PodcastReady. I have not yet seen it crash when I use apps like Live Search, but I suspect that it would if I used it enough. I know there's trouble when pocket IE causes a shut-down -- it's an out-of-the-box app that isn't really prone to crashes like other 3rd party tools might be (Viigo and PodcastReady are beta, after all).
But I've never had my phone just shut down before -- not even with beta software.
One thing that I will say that I've recently been fiddling with my proxy settings and "work" "internet" "pass-through" types of connections in "Settings > Connections" in an effort to get my phone to access the web while connected via USB to my work laptop.
But I believe I've gone in and reset all the changes I've made. Plus, should those types of changes cause a crash??
I'm using the latest ROM from HTC (the 2008 update). I'm seriously considering upgrading to a 6.1 ROM to help resolve, but if it's hardware-related, then taking the time to upgrade (and re-install everything I've done) will be a waste of time.
Any info/insights into what's going on??
Thanks!
Jon
Phone Just Quit
I had a similar problem with my S710; tried all the ROMs, added, deleted software, tried all kinds of things, removed some programs, etc. Even went back to the HTC ROM. The only thing that solved my problem was to replace my battery. After putting in a new one, I've not had a single lockup in weeks. Before I was having them daily.
OK, that is weird. How could it be battery related? Was it the OEM battery?
I have to say, my battery level seems kind of erratic lately. It goes from 32% to "shut down" almost instantly...

GPS Lock Troubles

I'm sorry if this is addressed somewhere, but I couldn't find anything solid while searching. I use my G2x every day with SportyPal Pro for my bike rides. I am currently running stock 2.2.2 with root and am having some difficulty attaining an initial GPS lock. It seems like when I go to launch any GPS app, it will not get a lock. To get it to work, I have to open GPS Test, select tools, and clear out the A-GPS data. After doing this, it looks almost instantly and will keep a lock forever.
The next day, however, I must do the same thing, and this happens nearly 100% of the time. The funny thing to me is when I open GPS Test, it will show a strong signal from a lot of satellites, around 7-9, but it doesn't use these signals to find the lock. Again, after resetting the A-GPS data, it works every time almost instantly.
I have just dealt with this but it is getting more frustrating. Today, GPS Test wouldn't load, just kept showing a blank screen and force closing eventually, even after fix permissions, clear data, uninstall and reinstall. Only after another reboot, would GPS Test even load. I can't explain because I don't know well how the inner software works, but the GPS seems to have a hard time relocating itself when using the cached A-GPS data. Any fixes that anyone knows of, or things I could try?
Thanks a lot in advance.
jimbo831 said:
I'm sorry if this is addressed somewhere, but I couldn't find anything solid while searching. I use my G2x every day with SportyPal Pro for my bike rides. I am currently running stock 2.2.2 with root and am having some difficulty attaining an initial GPS lock. It seems like when I go to launch any GPS app, it will not get a lock. To get it to work, I have to open GPS Test, select tools, and clear out the A-GPS data. After doing this, it looks almost instantly and will keep a lock forever.
The next day, however, I must do the same thing, and this happens nearly 100% of the time. The funny thing to me is when I open GPS Test, it will show a strong signal from a lot of satellites, around 7-9, but it doesn't use these signals to find the lock. Again, after resetting the A-GPS data, it works every time almost instantly.
I have just dealt with this but it is getting more frustrating. Today, GPS Test wouldn't load, just kept showing a blank screen and force closing eventually, even after fix permissions, clear data, uninstall and reinstall. Only after another reboot, would GPS Test even load. I can't explain because I don't know well how the inner software works, but the GPS seems to have a hard time relocating itself when using the cached A-GPS data. Any fixes that anyone knows of, or things I could try?
Thanks a lot in advance.
Click to expand...
Click to collapse
I dont know how to help but wheres tools in the gps test app? Ahhhh I see gps status not gps test...
smashpunks said:
I dont know how to help but wheres tools in the gps test app?
Click to expand...
Click to collapse
When you launch the app and go to the satellite view screen, press menu, and it is one of the options.
jimbo831 said:
I'm sorry if this is addressed somewhere, but I couldn't find anything solid while searching. I use my G2x every day with SportyPal Pro for my bike rides. I am currently running stock 2.2.2 with root and am having some difficulty attaining an initial GPS lock. It seems like when I go to launch any GPS app, it will not get a lock. To get it to work, I have to open GPS Test, select tools, and clear out the A-GPS data. After doing this, it looks almost instantly and will keep a lock forever.
The next day, however, I must do the same thing, and this happens nearly 100% of the time. The funny thing to me is when I open GPS Test, it will show a strong signal from a lot of satellites, around 7-9, but it doesn't use these signals to find the lock. Again, after resetting the A-GPS data, it works every time almost instantly.
I have just dealt with this but it is getting more frustrating. Today, GPS Test wouldn't load, just kept showing a blank screen and force closing eventually, even after fix permissions, clear data, uninstall and reinstall. Only after another reboot, would GPS Test even load. I can't explain because I don't know well how the inner software works, but the GPS seems to have a hard time relocating itself when using the cached A-GPS data. Any fixes that anyone knows of, or things I could try?
Thanks a lot in advance.
Click to expand...
Click to collapse
Sadly, I am having the same problem
I think I'm having the same problem too: I can pick up plenty of satellites (more than the 3-4 required for a lock), and they turn green, but I don't actually get positioning data available.
andrewNY said:
I think I'm having the same problem too: I can pick up plenty of satellites (more than the 3-4 required for a lock), and they turn green, but I don't actually get positioning data available.
Click to expand...
Click to collapse
Well, I guess if you are seeing the same problem, it could be a software failure. Why can't Android phone makers release a phone with GPS that works out of box? Do they not test these things? Hopefully the Gingerbread update addresses this issue.
I have GPS issues often as well.
Sent from my LG-P999 using XDA Premium App
I don't have this problem but I have heard of others that do. My device locks in literally 3 seconds and is accurate to 5 feet. I have to say it's the best GPS I have ever used.
I think this problem is an android issue not hardware. I have to load gps test on my vibrant before being able to get a lock also. Wont lie the lock time on this phone is considerably longer but when finally does lock its strong and accurate.
via LG G2x
It takes me forever to get a GPS lock too. However, once it finally gets one, it's fairly strong and accurate.
Gps is way crap now.my vibrant beats the crap out of it... I'm getting like 40000 feet accuracy. It eventually works itself out but still crap..
In gps status in tools deleting the a gps stuff it takes a long time (5 seconds) vs my vibrants agps data. Vibrants clears instantly almost like the lg remembers too much causing conflict....
I cant find my location via gps in google maps. In the gps status app, it appeard to be locking as fix/sats shows 3/3. Ive cleared agps data and also tried to download agps data. Does anyone experience a similar issue? Any suggestions as what elsd i can try?
I dont think its the hardware because it did work the last time i tried about 2 weeks ago. Since then I tried to use a location spoofing app (that has since been uninstalled and mock locations disabled).
On the O2X the mongs at LG left out the gps.conf file, adding it manually sped up lock time no end. I guess it's possible they did the same on the G2X?
I actually exchanged a G2x yesterday that was having problems with GPS
Regardless of whether it was on stock or not, rooted or otherwise, my phone would not find any more than 4 satellites, and would never lock. Factory resets did nothing. My fiancee's phone, however, would find 8 or more within 10 seconds when both phones were set right next to each other. Both phones had a 4/05 manufacture date.
Because of that, I was pretty sure my issue was hardware, as I was never able to get the GPS to work properly. The phone they gave me yesterday (4/12 manufacture date) does seem to work ok, though the screen bleeding a bit worse (but that doesn't bother me *that* much)

[Q] Is my battery a dud

Hi everyone I'm new to the forums and smartphones. But I got a razr hd from fido a few months ago. I've never compared the battery life and could get 3 hours of screen time on one charge. At first I thought it was great but then I used my friends razr (non maxx like mine). But I could watch 3 hours of YouTube videos with max sound and only used 50% of the battery. I got the warranty from future shop that will replace my battery, but since the battery isn't removable they will replace it with another phone of the same retail value. I turned off all apps, apex launcher, and avg, and used only what he had, JuiceDefender Ultimate and SwiftKey. My battery was about the same.
I don't get even get three hours of screen out of mine with brightness at around 40% and I have the maxx. I game a lot on mine though and talk a lot on the phone. I think the battery figures were obliviously under the ideal circumstances, so in the real world that's pretty good what your getting.
Do a side by side with both devices and see what the difference is.
Sent from my DROID RAZR HD using xda app-developers app
Mines just a normal RAZR HD. I'm not in an LTE area like you so I stay on 3G and throttle up to H+ when its transferring data.
I don't game much; my heaviest game is Angry Birds Star Wars which I don't use much so usualy its just Words With Friends.
I don't use it often for phone calls but I do use it. I'm a guy so I'm not talking for hours and hours.
I always get a full day out of it, and by full day I mean 16 hours or therabouts, until I put it to recharge while I sleep.
I'm not using anything to save battery.
I run Apex Launcher opposed to stock.
I run Tasker and have it looking for cable plugged in, orientation, change in wifi connection (nothing major, just gets the SSID and MAC and stores them as variables), and have it looking for screen unlocked and Display off (for ADB toggle).
In the background I'm running NG call recorder, LMT, WhatsApp, Lookout, LocateMyDroid, Words With Friends, TEAM battery bar Pro, Go SMS
Pro, Calengoo, BetterBatteryStats, ModemFastdormancyMonitor, SmartCardService, Google Services, Google Play, and Notification Toggle.
I sync Gmail and Contacts.
I have frozen Acoustic Warning, Audio Effects, Calendar, Calendar Storage, Email, Facebook stays frozen but unfreezes and runs with GPS off when I run a script but I don't use it much and the same for Maps but GPS on obviously (Maps made a differance for me and needed to be refrozen on every boot as well as the ROM seems to unfreeze it at boot time), Google Caledar Sync, Google Play Books/Movies/Music, Google+, Homescreen (default launcer), Moto Chinese Input, Moto English... infact almost everything starting with "moto or Moto is frozen", Quickview, All of Smart Actions, Swype, and Telstra One (specific to my ROM). Of everything frozen, the only things that I think make a significant impact are the way I have Maps and Facebook handled, that they stay frozen and then are called by a script that unfreezes and runs them and refreezes them on exit.
The Motocare may make a differance however I think its something that's needed to see when you have updates.
This list is very specific to my ROM as I'm on Telstra Austrlia which is (so I've gathered) one of the most bloat free ROMs, and freezing is always going to be carrier specific from what I've read about the phone from other people's carriers.
In adition to the freezing, I've stopped heaps of stuff in Autostarts. I don't reccomend messing with this as its easy to get lost and forget your settings. There is no undo or restore to default, so if you get lost then you're only sure fire way is a factory reset. If you feel safe using it though, then its worth having a look through what's starting up (start with just the stuff after boot) and disabling things that aren't needed. There's heaps of apps that run that really don't need to; non system apps I mean. If you get comfortable with it then the next greatest place they like to start up is when new apps are installed or old ones updated but there needs to be some care taken here as some apps do need to know this while others are just spying and wasting resources while doing so. If in doubt, just don't mess with it at all as there's no "set back to default" option.
I don't use Juice Defender, that's something that stuck out at me, is that I don't know how its being used in one of the posts stated above, but in the case of my ROM, the power management seems to be as good as I'm going to get it on its own. Toggling wifi in particular is something that I tried out with Tasker and it was better to leave it alone. I did try an app... I can't find it now but apparently I didn't back it up before uninstall. Its the beta app made by the chip manufacturer that runs in our phones (or so I read anyway) and it spent time in the background collecting data then tried to optimise power management. I think it was okay but I didn't see anything significant. I was hoping it would end the wakelocks that turn the wifi on but it ended up just leaving my wifi on most of the time and then turning it off when I actually was at home, and I couldn't manually turn it on and get a connection. It may be quite helpful for others though... Its the same thing for Juice Defender; I reckon that the way I would use it would be less helpful because of the wifi handling. I've gathered that wifi doesn't so much turn off but just goes into a power friendly state, and that a full toggle on and off takes more power so I ended up leaving that alone entirely. For people with other power issues, for example I stated that I don't use LTE or 4g in my area, then perhaps it could be useful... I can't give advice on that.
...
...but to answer your question, that's how I use my phone and I get at least 6 hours screen time in a 16 hour day. In fact I always get that much (assuming its used that much) and usually more if I need it. I have battery left over but it does admitadly go down quickly after it reaches a point. I would be dissapointed if I got less. I came from the S2 with the Samsung extendable battery (just under %20 more juice than out of the box) and would get 4 or 5 hours on that before it was dead. I think that you have a genuine frustration on your hands, but that you should deal with it slowly and one step at a time, and that the first step is diagnosis and if it were me I would start by switching it to 3g/2g and seeing how that goes for a few days... let it settle in like that and see if it makes any differance after at least a few days later and a few charges of the battery.
By the way, Location services work fine with maps frozen. Another thing I neglected to mention is that I don't use Google Now. All of my apps that use fine or course location work fine (Google ones and third party) with Maps frozen.
Oh... One more edit; I also have DroidWall or some other equivalent firewall installed. I forget which one at the moment but if you use one, make sure it simply is a front end to iptables as there's almost zero resources used in this fashion. As I don't have 4G in my area, I don't know what is best suited for that. Mine is very simple and has a checkbox for wifi and for data, however it makes a lot of sense that a lot of these firewalls may not be updated to be detecting the interface that 4G is running on. This doesn't make a huge difference on my phone and I don't think I would notice any battery savings if I didn't have it but it may be of help if you were hell bent on using 4G, as its supposed to be power hungry, because you can prevent a lot of apps from making a connection to report the crap they discover (Contacts, numbers dialed, etc) and block ads in some games that don't otherwise need the internet to be played. At the same time, I'm honestly not sure if the results would be good or bad... for example if an app persistently tries to make a connection and isn't programmed to give up when the connection is timed out then that would be bad. I still thought I'd throw it in there. It would actually be one of the last additions I'd make to my phone after being finally satisfied with the power management. Its also something that you need to be aware of, for example if you can't play a game or use an app, it can cause you (me) to uninstall and reinstall only to find that I had firewalled it when it needed to have a connection. Some apps need to connect to check the validity of their licence as well and you just need to be aware and enable it when it shows up.

Google Pixel WiFi Problem (Fails to download videos, apps, etc. and goes offline)

Hi,
Wondering if anyone has run into the following issue with their Pixel. My phone is an international model (G-2PW4200) and I bought it exactly a month ago.
The issue is this: I seem to never be able to download any decent size file (e.g. a video on social media sites or apps like Facebook, YouTube, Whatsapp, etc., or to download any app on the Google Play store) via WiFi without the download getting "stuck" half way, sometimes not even at 10%. The download would get stuck indefinitely, and only resume once I disable WiFi and start downloading via LTE. Sometimes it also comes back if I just disable WiFi and enable it again. Another problem I have is that my phone seems to go offline when it's not being used for extended periods of time (that being in the 5-10 minute range given I look at it almost every 10 minutes) despite having WiFi during sleep set to be always on. I can tell this because when I try to log in to something like Whatsapp Web it complains that my phone is offline, and this is a problem that never happened with me with my previous phone in the same setting.
A few points to keep in mind:
1- I have "Keep WiFi on during Sleep" set to "Always"
2- This happens everywhere (at home, work, friends', public WiFi, etc.) so it's not related to just my router's setup, and it happens every single day and almost every single time.
4- System is "up to date" and I have the latest update installed (Android 7.1.1, build NOF26V)
3- I'm still able to browse web pages (via Chrome), and browse apps like Facebook, Whatsapp, etc. without getting interruptions or showing any signs of disconnect. It's only the above two issues that I see when downloading big chunks of data, and for some reason my phone appearing to be offline during sleep when it shouldn't be.
Any idea what may be wrong here and how I can fix this? I really would like to keep this phone, but this is really becoming frustrating.
Thanks.
Have you factory reset?
mngdew said:
Have you factory reset?
Click to expand...
Click to collapse
Yes. And ironically enough I ran into the same problem immediately while restoring my backup as the phone was trying to redownload the previously installed apps. It would get stuck not downloading anything but not complain about a lost connection until I disable WiFi and switch to cellular data.
This reminded me that the first time I ran into the problem was also the very first time I used the phone when also downloading my apps.
contact google and get warranty service
can you test your wifi performance with another device?
and also try some download manager like ADM and check download with it.
Geeks Empire said:
can you test your wifi performance with another device?
and also try some download manager like ADM and check download with it.
Click to expand...
Click to collapse
Given that this happens everywhere, not just with my home WiFi, I know the issue is specific to my Pixel. Unfortunately no one at work has a Pixel to try it, but all other devices connected to the same WiFi spots are fine.
I was told by someone that disabling LTE and sticking to 3G cellular data will fix my WiFi issues. Will be trying that at work today.

Categories

Resources