[Q] Push notifications delayed on WIFI - HTC One X

I've seen a few similar threads to the one I'm about to make. I've tried different suggestions which I will post here. Yet, none of them seems to work and I'm curious to see if anyone of you has a fix for my problem. My phone is an unbranded international HOX using the 9.7.2 ARHD rom by Mike1986. Here we go:
Problem
While being on WIFI my push notifications aren't coming through in time. There's a delay from anywhere between a few minutes up to as much as 40+ minutes. The phone doesn't have this issue being on the mobile data network. I'm also not 100% sure if the delay is still there when I'm on an different router. Even when I turn on the screen again, the messages seem to come in randomly.
Settings
WIFI best performance enabled
Static IP by router
WIFI sleep policy: Wifi always on
Tried suggestions
Wakelock: One thread described using an app called REGPON keep-alive, which installs a wakelock onto the phone to keep the data connection alive. This app did not do the trick. It only drained my battery and the messages still didn't come through.
Wifi performance: Set the phone to maximum wifi performance. This seemed to work for a while but ended up not working proper either
Kernel: Try a different kernel was one suggestion. I've switched from Stock to Faux123 010 kernel. This didn't change anything about the WIFI problem.
Static IP + Portforwarding + Disabling router Firewall: I've tried both port forwarding on port 5228 and even the range 5224-5228. I've also tried setting up triggered ranges. Maybe I'm doing something wrong on this part though. The router firewall is disabled and it should no longer block anonymous WAN packages.
Disable SmartSync: With the Suite Tools that are included in Mike1986's rom I've disabled Smartsync. No results as far as the wifi problem goes.
Probing app: I've tried an app that supposedly probes my router at least every minute in order to keep the connection alive.
Switching between b/g/n network: Didn't make a difference. The signal quality of the router is also good.
The only thing that did work for extended periods of time was using this remote control app that allows me to type through my PC keyboard, where the text ended up on the phone. I've also got an app installed to test push notifications. It's capable of making a log. Maybe that'll give you guys more information.
Right now I'm not sure if it's an issue with the HOX or if my router somehow stops the traffic. I don't recall having this problem on my HTC Desire. Does anyone have anymore tips?
Thanks,
Zendio

No problem with Gmail push notification on Stock 2.17.401.2.
Yesterday I still was on ARHD 9.7.2, also there I never noticed any delay.
Edit: this complies to various wifi networks (@home, @office, @parents etc.)

Zendio said:
I've seen a few similar threads to the one I'm about to make. I've tried different suggestions which I will post here. Yet, none of them seems to work and I'm curious to see if anyone of you has a fix for my problem. My phone is an unbranded international HOX using the 9.7.2 ARHD rom by Mike1986. Here we go:
Problem
While being on WIFI my push notifications aren't coming through in time. There's a delay from anywhere between a few minutes up to as much as 40+ minutes. The phone doesn't have this issue being on the mobile data network. I'm also not 100% sure if the delay is still there when I'm on an different router. Even when I turn on the screen again, the messages seem to come in randomly.
Settings
WIFI best performance enabled
Static IP by router
WIFI sleep policy: Wifi always on
Tried suggestions
Wakelock: One thread described using an app called REGPON keep-alive, which installs a wakelock onto the phone to keep the data connection alive. This app did not do the trick. It only drained my battery and the messages still didn't come through.
Wifi performance: Set the phone to maximum wifi performance. This seemed to work for a while but ended up not working proper either
Kernel: Try a different kernel was one suggestion. I've switched from Stock to Faux123 010 kernel. This didn't change anything about the WIFI problem.
Static IP + Portforwarding + Disabling router Firewall: I've tried both port forwarding on port 5228 and even the range 5224-5228. I've also tried setting up triggered ranges. Maybe I'm doing something wrong on this part though. The router firewall is disabled and it should no longer block anonymous WAN packages.
Disable SmartSync: With the Suite Tools that are included in Mike1986's rom I've disabled Smartsync. No results as far as the wifi problem goes.
Probing app: I've tried an app that supposedly probes my router at least every minute in order to keep the connection alive.
Switching between b/g/n network: Didn't make a difference. The signal quality of the router is also good.
The only thing that did work for extended periods of time was using this remote control app that allows me to type through my PC keyboard, where the text ended up on the phone. I've also got an app installed to test push notifications. It's capable of making a log. Maybe that'll give you guys more information.
Right now I'm not sure if it's an issue with the HOX or if my router somehow stops the traffic. I don't recall having this problem on my HTC Desire. Does anyone have anymore tips?
Thanks,
Zendio
Click to expand...
Click to collapse
I am so sorry to hear you are affected by this problem, but also happy someone else is experiencing the exact same thing as I am !!!
I have tried different solutions to no avail.
Would love to hear something on this topic !!

Also I should note, I don't have any kind of task killer installed.
In general use WIFI feels really fluid and responsive. I really have no idea what could cause these problems.

Zendio said:
Also I should note, I don't have any kind of task killer installed.
In general use WIFI feels really fluid and responsive. I really have no idea what could cause these problems.
Click to expand...
Click to collapse
Did we get any update on this, I have the issues on 3 phones..desire HD, sensation and a brand new Galaxy S3

modd1uk said:
Did we get any update on this, I have the issues on 3 phones..desire HD, sensation and a brand new Galaxy S3
Click to expand...
Click to collapse
I hope so. My One S is experiencing the same thing. I've tried everything above. No luck. Some stuff is fairly critical that I get it as soon as it comes in. I might try getting ahold of a Nexus 4 and do some testing with its wifi, just to make sure it isn't a general Android problem.

What router do you have? My issue was any android device in the house. Turned out it was my router, I put a custom firmware on it and all my trouble have gone away. My friend has the WiFi issue on a virgin media superhub.
Sent from my HTC Sensation Z710e using Tapatalk

I have an Asus RT-N66U. Funny you should suggest that. I'd planned to throw Tomato on it tonight and see how that works out. I did some tests at my folks' and their router had the same results. It's some cheap Netgear thing. Not sure of the model at the mo. I'll post back with results. If not tonight, tomorrow some time.

No go
Well that was unsuccessful. Actually it slowed things down. With the default firmware I get notifications from the instant I press power to wake up my phone. With Tomato there was a second or so before I got them.
Time to try DD-WRT tonight to see if that does the same thing.

I have an rt-n56u so the older version of yours and I'm running the Asus wrt that is being made, its fixed all my problems and is awesome tbh.
Sent from my HTC Sensation Z710e using Tapatalk

Set Beacon mode power safe (BMPS) to 0 in WiFi ???.ini config file should resolve this problem.
Such ???.ini config file usually placed under /system/etc/wifi or /system/etc/firmware/wlan/prima/

Related

[WIFI] Browsing works, market etc doesn't

Hello everyone,
My phone is doing good so far, i have some of the known bugs, but i'm very satisfied!!
But.... when i'm connected with wifi at home or at my gf's home (different locations, different hardware) I can use my browser but I can't use Market, Zedge etc. I'm a system administrator, so I already checked everything network-related that could cause the problem(Encryption, channel, toggle between g/n, ports). My HD2 doesnt have any problems.
Is there something changed on the HOX in how it handles a wifi connection?
Like to hear your ideas and suggestions!!
arthasz said:
But.... when i'm connected with my wifi at my home or at my gf's home (different locations, different hardware) I can use my browser but I can't use Market, Zedge etc. Since i'm a system administrator I already checked everything that could cause the problem(Encryption, channel, toggle between g/n, ports). My HD2 doesnt have any problems...
Is there something changed on the HOX in how it handles a wifi connection?
Click to expand...
Click to collapse
Mine is currently connected via wifi, and was also connected using the Mobile Network, and have had no market/email/browsing issues on any of those. Have you done any modifications on it? Are there any port lockdowns on those wifi signals you've been using?
DamoElDiablo said:
Mine is currently connected via wifi, and was also connected using the Mobile Network, and have had no market/email/browsing issues on any of those. Have you done any modifications on it? Are there any port lockdowns on those wifi signals you've been using?
Click to expand...
Click to collapse
The phone is still out-of-the-box. I only installed whatsapp and a few apps but nothing big.
I tried it with no security at all, port 5228 UDP/TCP are open, tried a different router.. no luck so far!
No such problems here.
Sent from my Transformer TF101 using XDA
I have the same problem with all Android devices. Enable the Data and connect to Market once (Accept the terms and conditions). Once Market authenticates then it should work with WiFi. I have spend hours trying to find out the cause but no luck. I tried to DMZ the router to make sure there is no Port being blocked. In case you find out let me know how you fixed it.
just make sure the date and time is ok
Posted the following in another thread but thought it would be worth posting in here:
Might sound strange, but try rebooting the router. I was having problems with my One X, almost the same issue as you. My HTC Sensation would be fine and my Galaxy S and my laptop also fine, but my One X would have terrible WiFi performance, even tried deleting the wifi settings and re-connecting, and also a factory reset, to no avail. At this point i was ready to take it back as I thought it was faulty.
As a last desperate attempt i rebooted the router (unplugged it for 10 seconds then plugged it back in), and my One X has been perfect ever since. Doesn't quite make sense why one device but not others would have a problem, but worked for me anyway!
I've actually had a similar issue, in that TuneIn kept refusing to stream, even after restarting the phone. Power-cycling the router fixed it, although other devices on the same network were having no problems.
Ok, Im starting to think this phone is killing my WiFi network.. having ip issues with all my laptops now everything is set to static now so lets wait and see..
Sent from my HTC One X using xda premium
Posted the following in another thread but thought it would be worth posting in here:
Might sound strange, but try rebooting the router. I was having problems with my One X, almost the same issue as you. My HTC Sensation would be fine and my Galaxy S and my laptop also fine, but my One X would have terrible WiFi performance, even tried deleting the wifi settings and re-connecting, and also a factory reset, to no avail. At this point i was ready to take it back as I thought it was faulty.
As a last desperate attempt i rebooted the router (unplugged it for 10 seconds then plugged it back in), and my One X has been perfect ever since. Doesn't quite make sense why one device but not others would have a problem, but worked for me anyway!
Click to expand...
Click to collapse
Haha 9/10 times rebooting helps, but this is something different ^^
Kind of having the same issue here. Please let me know if you find any solution.
(My topic http://forum.xda-developers.com/showthread.php?t=1591072)

[Q] No internet through WiFi after few minutes, still connected

Hi guys,
I've searched the whole forum but I couldn't find any other thread about my problem.
When I connect my HOX to WiIF (Sitecom WL-370 - 300N Gigabit Dualband Router) everything works fine at first, but after a few minutes (5, or sometimes 15 minutes) I've got no Internet anymore but I'm still connected. Also WiFI Analyzer still detects the network. I've this problem both on 2.4 GHz as on 5 GHz. I've also tried switching channels.
The strange thing is, I can still receive a WhatsApp message but I can't send any, also I can't browse on the Internet or things like that.
After turning my WiFi off and on it works fine again for the few minutes..
Best Wi-Fi performance is turned on and the other devices at home haven't got this problem.
Anyone having the same problem or knows a solution?
I've got the same problem and it seems to be totally random. What i noticed is that my Google Play Store always stops working (no connection) shortly after i turned on the phone (~10 minutes). Switching Wifi off and on again doesn't seem to change it, i need to restart my HOX to get it working again while other apps connect just fine after turning Wifi off and on again.
Edit: Stock Vodafone ROM (1.28.161.9)
I have the exact same issue and i went through every setting in my router trying to fix this.
I would turn on my WIFI, connect to my home network, and start downloading. After a few minutes it'll either stop (the dl percentage not change) and then if i reload the market/youtube/browser or any app that users the net, it'll say no connection.
The weird thing about this is that it LOOKS like i am connected to wifi (in the notification bar).
This may be a separate issue, but i tried to turn it off and then on again to get around the issue. This time around i would try to connect to my home wifi and it'll just say 'Saved' and then the network would go out of range.
I am running Leedroids rom.
I might have found a solution:
Under Settings -> Wifi -> Menu -> Extended there is an option for Wifi Power Saving. After unchecking it all my connectivity problems are gone.
May be worth trying a static IP configuration, if you know enough about ip4 to do it. I've seen problems with android Wi-Fi since version 2.2 - if your router issues an indefinite dhcp lease, it can show exactly the symptoms you describe. Only a possibility but worth a try.
Sent from my HTC One X using XDA
I have the exact same issue - the wireless shows connected yet you cannot browse the Internet etc. I have also tried every setting on the Wireless AP without any success. Even tried static IP and that does not fix it either. Whilst other devices in the house are ok...
The weirdest thing is though it does not happen everywhere i.e. at other places like work (where at least the same type of AP is in use) or at my brothers' house (where he has a Linksys). This is pretty much the only thing that bugs me with the HTC - the only workaround I have found is to make sure that WiFi is kept on only at times when plugged in - this doesn't actually fix the issue but it does mean that the phone will disconnect the WiFi and get a new connection next time it wakes up - this way I find I get the problem much less than when I have it set to Always.
I might have found a solution:
Under Settings -> Wifi -> Menu -> Extended there is an option for Wifi Power Saving. After unchecking it all my connectivity problems are gone.
Click to expand...
Click to collapse
I already unchecked it but it didn't solved my problem
May be worth trying a static IP configuration, if you know enough about ip4 to do it. I've seen problems with android Wi-Fi since version 2.2 - if your router issues an indefinite dhcp lease, it can show exactly the symptoms you describe. Only a possibility but worth a try.
Sent from my HTC One X using XDA
Click to expand...
Click to collapse
Also no success
I have the exact same issue - the wireless shows connected yet you cannot browse the Internet etc. I have also tried every setting on the Wireless AP without any success. Even tried static IP and that does not fix it either. Whilst other devices in the house are ok...
The weirdest thing is though it does not happen everywhere i.e. at other places like work (where at least the same type of AP is in use) or at my brothers' house (where he has a Linksys). This is pretty much the only thing that bugs me with the HTC - the only workaround I have found is to make sure that WiFi is kept on only at times when plugged in - this doesn't actually fix the issue but it does mean that the phone will disconnect the WiFi and get a new connection next time it wakes up - this way I find I get the problem much less than when I have it set to Always.
Click to expand...
Click to collapse
Yeah, exactly, I've got the same problem. At school I've got no problems with the WiFi. I already send a message to HTC and I'm waiting on there answer.
I have kinda the same issue.
Using a HOX and at work I'm connected to Wifi and I can browse. At my house I can connect to the wifi, my IP is right that I'm getting from DHCP (I even tried putting in a static IP) but I can't browse
I also have a HTC Sensation, same setup and it works. The sensation can browse at work and at my house.
Why would this be?
Tried all sorts of solutions, but the only one that works is disabling the N-band and only leave B and G. This means that your laptop won't connect with the faster N, but at least the HOX works (what's more important )
Well I tried broadcasting a separate SSID on the b/g interface only for the exclusive use for the hox but that hasn't made any difference...my workaround is to have tunein radio in the background streaming whilst surfing...if I get bored of that solution my next workaround will be to trade the hox for an s3 as much as I despise TW...
Sent from my HTC One X using xda premium
I tried all the bands "B, G, N" and nothing works. So tired of this crap. Think I might just get a S3
RenVilo said:
I tried all the bands "B, G, N" and nothing works. So tired of this crap. Think I might just get a S3
Click to expand...
Click to collapse
I was thinking to do the same but there is no chance in hell of me doing that after I compared my HOX with a display model at the phone shop. Pentile screen vs LCD on the HOX? HOX = Sharper and better whites - the white on the S3 is bluish and so obvious. Another thing also I noticed is that the aggressive auto brightness on the S3 is too much - you won't tolerate it and you will likely be forced to manually adjust all the time. That plus reading that the S3 goes through the battery like no mans business when on standby unless you turn off all the features and put it in power save mode (might as well buy a Nokia then) at least the HOX uses the Ninja core and actually does save your battery in standby mode.
Anyway - the reason I replied is that I found a workaround (note, workaround does not mean a fix) - I put in a wifi extender in an area where I tend to spent most of my time with the HOX - this has not fixed the problem per se but rather seems to have elevated it somewhat. Basically now if the HOX drops from the main offending AP it automatically gets hooked up on to the extender and carries on working! I say this because (and I saw this only twice so far) I realised that when the phones Internet connection stops and you load a new page it timed out and get page cannot be found but when I hit refresh it works again you do notice a 3-4 second lag (this never happened before the extender came into play). Not sure if anyone else has tried this but I got a Linksys/Cisco extender for £69 and so far at least it has given me a workaround. Of course your mileage may vary...so don't splash out on an extender and come and blame me if it doesn't work for anyone here...
I am also having this issue with my HOX has anyone found a fix for this?
i have tried everything listed and nothing works.
its weird though because i have NO issues on my home network, but my network in my apartment here and at work network i get this issue
!!
bbbbbbbbbbbbbbbbuuuuuummp any fixes??? this sucks !!!!
What versions of android you guys have? Stock, sense, vanilla android, ics, jelly bean? Because I didn't encounter this problem when running stock or ics custom roms. After I updated hboot to 1.31 and tried different jelly bean sense roms it appeared. I also tried some stock android roms (ice cold jelly and liquid smooth) and wifi seemed to work fine. So is this sense problem only?
Ot1s said:
What versions of android you guys have? Stock, sense, vanilla android, ics, jelly bean? Because I didn't encounter this problem when running stock or ics custom roms. After I updated hboot to 1.31 and tried different jelly bean sense roms it appeared. I also tried some stock android roms (ice cold jelly and liquid smooth) and wifi seemed to work fine. So is this sense problem only?
Click to expand...
Click to collapse
The only change for me is update to HBOOT 1.31 and then things started happening. Otherwise runnin 4.0.4.
No workaround so far, at least i have not founf a way.

[Q] WLAN_RX_WAKE wakelock preventing GNex from entering deep sleep

Really odd problem here - as of a couple days ago, everything was working perfectly with my galaxy nexus. I decided to jump over to CM10 (was on codename android, IIRC), right after I think there were some new commits to AOSP.
From here on out, my phone would never enter deep sleep when connected to wifi. Any wifi hotspot - the ones I've been using, a hotspot I created from my desktop - the icon would show the phone constant receiving data via wifi. Using better battery stats, over about 5 hours on my desk, 4.5hrs were spent with a WLAN_RX_WAKE kernel wakelock with my phone sitting at 350MHz instead of deep sleep for that time.
I tried a bunch of different kernels (stock CM10, franco, imoseyon, etc) both new and old versions, but the problem was still there. I tried clean flashing a rom, and only installing better battery stats. Same thing with all kernels.
Factory restored google stock images to BOTH ICS and JB. I still have the problem. Tried disabling google location services. No dice. Tried a couple basebands, but I'm pretty sure that only affects cell/data performance, right?
I honestly have no idea what is going on. I've been on this hotspot (campus wifi) for months now without a problem, and now this. Some threads say that this is caused by DHCP requests from the router, but why would I have not seen this until now? My idle drain was at about 1-2% per hour before this, now it is close to 10-15%.
shadvich said:
Really odd problem here - as of a couple days ago, everything was working perfectly with my galaxy nexus. I decided to jump over to CM10 (was on codename android, IIRC), right after I think there were some new commits to AOSP.
From here on out, my phone would never enter deep sleep when connected to wifi. Any wifi hotspot - the ones I've been using, a hotspot I created from my desktop - the icon would show the phone constant receiving data via wifi. Using better battery stats, over about 5 hours on my desk, 4.5hrs were spent with a WLAN_RX_WAKE kernel wakelock with my phone sitting at 350MHz instead of deep sleep for that time.
I tried a bunch of different kernels (stock CM10, franco, imoseyon, etc) both new and old versions, but the problem was still there. I tried clean flashing a rom, and only installing better battery stats. Same thing with all kernels.
Factory restored google stock images to BOTH ICS and JB. I still have the problem. Tried disabling google location services. No dice. Tried a couple basebands, but I'm pretty sure that only affects cell/data performance, right?
I honestly have no idea what is going on. I've been on this hotspot (campus wifi) for months now without a problem, and now this. Some threads say that this is caused by DHCP requests from the router, but why would I have not seen this until now? My idle drain was at about 1-2% per hour before this, now it is close to 10-15%.
Click to expand...
Click to collapse
This is literally the EXACT SAME problem I'm having...I wish someone could properly explain why this is happening and how to fix it.
Sent from my Galaxy Nexus using xda app-developers app
Not sure if you've tried this and it helps but maybe you can try Network Log or Shark from the store to diagnose this?
Network Log doesn't show up with anything, so the wakelock shouldn't be caused by a rogue app.
Shark, on the other hand, after about 10 seconds of logging, netted me about 300 DHCPv6 'solicit XID' requests. There a bunch of different sources from these requests, they just seem to be other devices on the network pinging my phone to see if it's a DHCPv6 server...?
I've seen some suggestions on other forums to mess around with the router settings, which I can't do because it's campus internet.
Since you've tinkered with rom/kernels etc on phone without any seeming change, it's feasible that there's been some change recently on the other side of the equation namely the network settings of your campus wifi? Maybe your University's tech department has implemented something new etc? Have you tried asking others with wifi enabled phones if they are experiencing this as well?
Found this here (pretty sure you've come across this if you've been googling abt this issue but posting anyways)
"Another more elaborate solution if you rely on that network a lot, is to purchase a wireless bridge or gaming adapter and connect it to your apartment wifi and then connect your own wifi router to that. Then the gaming adapter would get the dhcp IP from your apartment (so who cares if it is renewing it constantly) and your router would treat the connection just as if you were connected directly to an internet connection. Then configure your router for static IP addresses or if your router does not cause issues with DHCP then you don't need static IPs."
from http://rootzwiki.com/topic/16134-kernel-wakelock-wlan-rx-wake/
I know I had an issue with some wlan rx wakelock thing last year but I cannot for the life of me remember how I got rid of it or what changed
Hmm, seems like an okay solution but my friend's devices don't seem to show the same symptom, and since I roam campus alot, a wifi extender wouldn't be ideal.
Bump. Any other ideas?
Sent from my Galaxy Nexus using xda app-developers app
I am seriously ripping my hair out from this goddamn wakelock ****.
I wake up at 9am and have to charge my phone by 4pm because it's at 16% with 40 minutes of screen on time. Seriously? This is a JOKE.
I've checked with BetterBatteryStats and CPU Spy. Both confirm the phone keeps sitting at 350MHz when it's supposed to be sleeping, as well as wlan_rx_wake keeping the phone awake.
I've set my phone to receive a static IP from my router (DIR-655) but it doesn't help. I really don't know WHAT to do. I've downloaded shark to my phone, sniffed packets, but haven't been able to get anything useful out of it since there is a LOT to sift through (unless you know what you're looking for - which I don't).
This is by far the worst bug/issue I have ever encountered with my phone and it is seriously getting on my nerves. I will be forever greatful to anyone who can help me pinpoint the issue and make it stop.
Also, i REFUSE to "go buy a new router" as it's bull****. This is a bug people experience only sometimes it seems and NO ONE has a fix for it. I read somewhere about a fix being implemented in some kernels but they were for other phones, never found anything like it for the GNex. If anyone knows anything about a fix like that, please show me the way.
I already checked for rogue apps, there were none keeping wifi awake. I've even tried with a totally stock, newly flashed phone with stock kernel and everything. NO extra apps installed except shark, CPU spy and betterbatterystats sideloaded. I didn't even input my GMail to stop the syncing. It STILL KEPT MY GODDAMN PHONE AWAKE.
I am SERIOUSLY desperate. Considering just selling my phone and opting for something else if this continues, it totally cripples everything.
/rant over
turn on WiFi, Bluetooth, and GPS, for about 30seconds, then turn them off. put your phone to sleep, then check if you're going into deep sleep. CPU spy is a good app to check if your hitting deep sleep.
Change wireless network encryption? Wpa2, tkip+aes, aes only, tkip only? Wpa?
Change wifi channel?
Edit: scratch that. Try disabling 5ghz band.
Sent from my i9250
I had a similar issue, it turned out it was Dropbox LANSync in my home LAN. I used an experimental forum build on my PC, so it could be this, but in the end I turned LANSync off, since Android doesn't make use of it anyway.
So try this if you have Dropbox running on your network clients.
simms22 said:
turn on WiFi, Bluetooth, and GPS, for about 30seconds, then turn them off. put your phone to sleep, then check if you're going into deep sleep. CPU spy is a good app to check if your hitting deep sleep.
Click to expand...
Click to collapse
At the moment I am fiddling with putting my router into different security configurations, per the quote below. But I will give your idea a try as well.
bk201doesntexist said:
Change wireless network encryption? Wpa2, tkip+aes, aes only, tkip only? Wpa?
Change wifi channel?
Edit: scratch that. Try disabling 5ghz band.
Sent from my i9250
Click to expand...
Click to collapse
5GHz band? Where do I disable this, the phone or the router? My router chooses channel automatically and is set to Auto 20MHz/40MHz channel width.
madd0g said:
I had a similar issue, it turned out it was Dropbox LANSync in my home LAN. I used an experimental forum build on my PC, so it could be this, but in the end I turned LANSync off, since Android doesn't make use of it anyway.
So try this if you have Dropbox running on your network clients.
Click to expand...
Click to collapse
I don't have DropBox on my phone or on any of my PC's
A quick update, I just tried all the suggestions in the quotes in my previous post but to no avail, still getting the wake locks. I'm seriously going crazy.
Turning wifi off did let the phone sleep, but that was expected as the wake lock is related to wifi. Nothing else has worked. NOTHING.
Sent from my Galaxy Nexus using xda app-developers app
EddieN said:
A quick update, I just tried all the suggestions in the quotes in my previous post but to no avail, still getting the wake locks. I'm seriously going crazy.
Turning wifi off did let the phone sleep, but that was expected as the wake lock is related to wifi. Nothing else has worked. NOTHING.
Sent from my Galaxy Nexus using xda app-developers app
Click to expand...
Click to collapse
This issue appeared again for me, it obviously also helps to disable the NETBIOS on your Windows PC network adapter. There are guides for that online. Also get the "Network Log" app in the Play Store, it shows the traffic so you can see which one's are for the kernel (wlan_rx_wake is a kernel wakelock).
Also uPNP feature in router can cause all kind of weird behavior. Better block it from router's firewall.
Sent from my slimbeaned GNex
What baffles me the most is that all of this shouldn't be needed. I shouldn't have to disable netbios and do things to OTHER devices just so my phone sleeps. This is a jellybean issue imo, I never had these problems on ICS.
The experiments continue, updates incoming.
Sent from my Galaxy Nexus using xda app-developers app
I also suspect the major issue was that my wifi channel was the same as the ones around me. When I changed it, the wlan wakelocks went down significantly.
Sent from my Galaxy Nexus using Tapatalk 2
EddieN said:
At the moment I am fiddling with putting my router into different security configurations, per the quote below. But I will give your idea a try as well.
5GHz band? Where do I disable this, the phone or the router? My router chooses channel automatically and is set to Auto 20MHz/40MHz channel width.
I don't have DropBox on my phone or on any of my PC's
Click to expand...
Click to collapse
5 Ghz band is disabled when you enter Wi - Fi - advanced - Wi - Fi frequency band ... It's set to auto by default, you try either 2.4 or 5 ghz on manual and check if that helps ( incase you didnt already )
Does anyone have any news about this issue? I have the same problem and I can't find the solution. I made several test without any good results.
lkeops said:
Does anyone have any news about this issue? I have the same problem and I can't find the solution. I made several test without any good results.
Click to expand...
Click to collapse
Change the Wifi channel.
Sent from my Galaxy Nexus using Tapatalk 2

Wi-Fi unreliable

Recently I've been having problems with Wi-Fi. My phone and nexus 7. They both stay on blue bars all the time claiming they're connected to Google servers. And it'll work good for about 20 seconds and then I'll have no connection for about a minute. Bars will stay blue like its connected and WiFi show that it's fill signal but pages won't load, apps will timeout and YouTube videos won't stream. Makes it impossible to download any Roms or apps at times. This just recently started happening. Videos will stream good for maybe 2 minutes tops. Then pause, after a minute Wi-Fi will stay streaming and going again by itself and stream. I haven't changed my router or is settings. I have static ip's assigned too. All other computers work just fine for internet. Never a problem.
I've tried changing kernels, Roms, complete wipes and reinstalls. Rebooted the router. Nothing fixes it. I'm getting really frustrated. I'm at the point where I'm going trio go buy a new router just cause I want to use 5ghz. Anyways, any suggestions to solve this?
There may be an error in aosp code that can cause wifi instability: http://forum.xda-developers.com/showpost.php?p=35146886&postcount=5128
mwalt2 said:
There may be an error in aosp code that can cause wifi instability: http://forum.xda-developers.com/showpost.php?p=35146886&postcount=5128
Click to expand...
Click to collapse
Weird how it affects just my device in an entire thread with a ton of people using the rom and same kernel.
I went and picked up a new router. I'll see if that fixes it. Thanks for the input though. I appreciate it.
Didn't help with new router. My WiFi still cutting out like crazy on Franco kernel. Almost as soon as I turn off screen. But its not turning WiFi off. Just goes into some sort of state where nothing comes through. When screen on everything is fine though now.
In Wifi settings, you could try unchecking "Avoid Poor Connections" and see if that helps.
Also do you have any other devices at home on the same wifi network - do they experience the same issues, I know where I am if we get a lot of rain, it causes intermittent internet slowdowns, I had similar issues and after testing other devices found this to be my problem not my Wifi.
Also, have you got any cordless phones in the house that might run on the same frequency?
I still have an issue keeping wifi at 100% d/l when the phone is asleep, even though the setting is for always on. It must be a hardware thing for me because every rom I've tried from ICS to the latest JB exhibit the same issue. If I am in a desperate need to d/l a large file on my phone, I just temporarily change the screen display off timer to 10 minutes of so so the wifi will stay at max d/l speed.
https://play.google.com/store/apps/details?id=com.ratcash.wifiperf
Could try this I use on my gnex for voip
Edit I am on a galaxy nexus forum
Sent from my Nexus 7 using Tapatalk 2
Ya avoid poor connections is unchecked. And wifi optimization is unchecked. I've tried putting my router on full auto, tried setting static ip addresses for everything. Changing from wireless n to wireless g. Changing security to off as well. Using the 5ghz band instead of 2.4. The nexus 7 is working perfectly fine with the new router. But my galaxy nexus is totally unreliable. Weird is that it just started happening within past couple weeks. And actually, it was good for the first day or so after new router. I can confirm all other wifi devices jn the house work just fine without any hiccups. I've never had a problem with other devices. No dropouts or anything. It's really puzzling me!
One thing I found weird, if I disable wmm on my router, my nexus 7 and galaxy nexus will not connect. Anyone else get this?
I hope you also have your router firmware completely up to date.
Please read forum rules before posting
Questions go in Q&A
Thread moved
Thank you for your cooperation
Friendly Neighborhood Moderator
CADude said:
I hope you also have your router firmware completely up to date.
Click to expand...
Click to collapse
Ya my router auto updates itself. Its a Cisco EA6500 in case your wondering and is helpful.
I use my wifi at work and it's very unreliable. At times going into an endless disconnect/reconnect loop. Sometimes restarting the wifi helps or putting it in and out of airplane mode. Other times nothing helps except a reboot of my phone. Some apps may make the issue worse. I don't think there is a fix and waiting for google to fix the flaw a user pointed out earlier.
Sent from my Nexus 7 using Tapatalk 2
chrisinsocalif said:
I use my wifi at work and it's very unreliable. At times going into an endless disconnect/reconnect loop. Sometimes restarting the wifi helps or putting it in and out of airplane mode. Other times nothing helps except a reboot of my phone. Some apps may make the issue worse. I don't think there is a fix and waiting for google to fix the flaw a user pointed out earlier.
Sent from my Nexus 7 using Tapatalk 2
Click to expand...
Click to collapse
Possibly a 4.2 issue. But its not affecting everyone it seems. But i see that there is a huge thread about this at the google site. Not an isolated case
When you say you set a static ip, you set one from the router, have you tried setting a static ip on the phones wifi advanced options as well?
Have you tried different radios?
Sent from my Galaxy Nexus using Tapatalk 2
Yup has happened to me mine connects to the net but has grey bars and doesn't open any websites and apps dont connect to the net a reboot solves the problem
chrisinsocalif said:
When you say you set a static ip, you set one from the router, have you tried setting a static ip on the phones wifi advanced options as well?
Have you tried different radios?
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
I set static on both router and the phone. I've tried all the north american radios. None of the euro ones. no effect. Sticking to the latest North American radio for now. I've managed to make it work sorta with CM10.1 with stock kernel on completely fresh install. It works, but the down arrow on the Wi-Fi icon stays lit almost 100% of the time. no idea why, only other device that was on all yesterday was the nexus 7, and that was on the 2.4ghz and phone the 5ghz. Huge wlan_rx_wake!
It's likely this:
http://code.google.com/p/android/issues/detail?id=40065&colspec=ID%20Type%20Status%20Owner%20Summary%20Stars&start=1000
See if that sounds about right and if so, you'll just have to wait for a Google Patch.
whitedragonz83 said:
It's likely this:
http://code.google.com/p/android/issues/detail?id=40065&colspec=ID%20Type%20Status%20Owner%20Summary%20Stars&start=1000
See if that sounds about right and if so, you'll just have to wait for a Google Patch.
Click to expand...
Click to collapse
Yeah. Just don't understand how so few here experience this. And only my phone, not my nexus 7 gets this.
M3drvr said:
Yeah. Just don't understand how so few here experience this. And only my phone, not my nexus 7 gets this.
Click to expand...
Click to collapse
When i first updated to 4.2, I was getting crazy dropouts. After unchecking the Wi-fi optimization, it was more consistent but still drops out frequently while at work. There is a known bug with the wifi driver that hasn't been addressed for years, but still trying to find the original articles describing the problems.
It seems you are having tons of issues, worse than most.
If you are having a problems suggested on this site, maybe this can help.
http://goo.gl/voSxF
It affects me as well. Completely random. Everything appears fine except that instead of blue, the icons are grey. Turning off wifi and turning it back on fixes it.
In the link above, there is a comment where you can submit more info for Google to help solving the problem:
http://support.google.com/nexus/bin/request.py?contact_type=bugreport&src=7679593
chrisinsocalif said:
When i first updated to 4.2, I was getting crazy dropouts. After unchecking the Wi-fi optimization, it was more consistent but still drops out frequently while at work. There is a known bug with the wifi driver that hasn't been addressed for years, but still trying to find the original articles describing the problems.
It seems you are having tons of issues, worse than most.
If you are having a problems suggested on this site, maybe this can help.
http://goo.gl/voSxF
Click to expand...
Click to collapse
the weird thing is, it just started happening about 2 weeks ago. It was perfectly fine up until then. Never had an issue with Wi-Fi. If this don't work i might try doing an entire wipe right back to stock and locking bootloader.

[Q] losing wifi connectivity- full bars but all gray

so, I've read around here on the XDA forum about problems with wifi connectivity where we have full bars for wifi but they are gray and you are not getting out. many describe my situation but I've not seen any real solutions...
my problem is that I can connect to my wifi router without issue but then a random amount of time later, sometimes fairly quickly and sometimes it's hours later, I will pick up the phone and see full bars but they are gray and I'm not getting out. I can try opening a terminal window and pinging the gateway/dns servers and can't even reach the gateway.
things I have tried:
- turned off MAC filtering on the wifi AP
- switched from a 5 GHZ wifi on the AP to 2.4 GHZ net on the AP and vice versa
- manually set the phone wifi preference to one or the other (5 or 2.4)
- battery pull on the phone
- delete network settings for my AP and reconfigure
I have not yet tried a static IP config on the phone but I can easily try that... {edited to add} well, I tried static config and that didn't help at all...
one other tidbit of info, I have a work Blackberry with wifi and it never loses wifi connectivity so this is a problem unique to my Nexus.
I'm running Cyanogen 10.0.0-toro and no, I haven't tried a full wipe and reload yet.
thoughts or suggestions?
I'm not trying to threadjack here, but I just wanted to share my experiences.
I've been have the exact same thing happen to my phone (Nexus maguro). I've tried every JB rom I could find, several different kernels and my wifi eventually always goes grey on me. All network activities stop. I'm back on stock everything right now and it still happens.
It happens on my home wifi as well as work wifi.
I'm about to puttstock ICS on my phone and try that out for a couple days.
Anyway, good luck with your problems, i'm going to follow this thread in hopes you'll get a solution that may help me.
If I do figure anything out i'll post back.
jrmacarthur said:
I'm not trying to threadjack here, but I just wanted to share my experiences.
I've been have the exact same thing happen to my phone (Nexus maguro). I've tried every JB rom I could find, several different kernels and my wifi eventually always goes grey on me. All network activities stop. I'm back on stock everything right now and it still happens.
It happens on my home wifi as well as work wifi.
I'm about to puttstock ICS on my phone and try that out for a couple days.
Anyway, good luck with your problems, i'm going to follow this thread in hopes you'll get a solution that may help me.
If I do figure anything out i'll post back.
Click to expand...
Click to collapse
seems that this is a topic that has been posted on a bit over time with no real single culprit or fix. I'll post back if I figure anything out... I know in the Cyanogen thread, I saw info that stated that the MAC address of the phone was changing and I'm going to try and determine if that is happening to mine.
I have the same issue. Sometimes even when i pick up the phone, if i look fast enough i see that the Wi-Fi bars weren't even there! Thats only 1 out of 5 times though. The other time its usually just grey bars. Sometimes it actually will click back and they'll flash to blue and grey 2-3 times and then go solid blue. Then sometimes like you, they'll stay grey. I've tried everything too...reverting to stock, Different kernels, ROMs, routers, static IP, 2.4 or 5ghz, full auto mode. The only fix that makes it a little more reliable, is using Wi-Fi PM Fast. But even that, is not reliable. I'd say its about 50% reliable then, for a huge sacrfice in battery life. For me i've noticed this started to happen with 4.2. Before that i never had a problem. All other devices though no problem. My Nexus 7 is just fine. But the galaxy nexus, no matter what router or where i am, the Wi-Fi is totally unreliable. For me, it happens within 2 minutes that it will disconnect most times. Then 1 in 10 times it'll be fine for 10 hours.
In all honesty, i've given up. Just come to deal with it. Use mobile networks when i'm not needing to download. I can download files and stream music just fine too. If there is traffic going through, it never disconnects. But when its just sitting there without traffic, it disconnects, or, loses connection to google servers i should say.
well that's not good to hear...
I installed stock 4.0.4 a couple days ago and have not had my wifi go grey on me yet.
Sent from my Galaxy Nexus using Tapatalk 2
jrmacarthur said:
I installed stock 4.0.4 a couple days ago and have not had my wifi go grey on me yet.
Sent from my Galaxy Nexus using Tapatalk 2
Click to expand...
Click to collapse
yeah, I love Cyanogen so not willing to go back to stock... waiting for them to finish 10.1 and I guess I'll see how it behaves then.
Hi all,
Just to say that I have the same problem. I have been upgraded from ICS to 4.2 and nothing had happened but I had to downgrade to 4.1.1 (AOKP Build 4) due to other issues and after that I started notice the WiFi problem.
At first I thought it was when the screen went off, but I has happened with screen on too. I have to turn WiFi off and the back on to connect properly again, very annoying.
As I said I started noticing this after I downgraded, but then again, I had used AOKP 4.1.1 before without this issue. I think that it is time to change my phone :/
tgeery said:
so, I've read around here on the XDA forum about problems with wifi connectivity where we have full bars for wifi but they are gray and you are not getting out. many describe my situation but I've not seen any real solutions...
my problem is that I can connect to my wifi router without issue but then a random amount of time later, sometimes fairly quickly and sometimes it's hours later, I will pick up the phone and see full bars but they are gray and I'm not getting out. I can try opening a terminal window and pinging the gateway/dns servers and can't even reach the gateway.
things I have tried:
- turned off MAC filtering on the wifi AP
- switched from a 5 GHZ wifi on the AP to 2.4 GHZ net on the AP and vice versa
- manually set the phone wifi preference to one or the other (5 or 2.4)
- battery pull on the phone
- delete network settings for my AP and reconfigure
I have not yet tried a static IP config on the phone but I can easily try that... {edited to add} well, I tried static config and that didn't help at all...
one other tidbit of info, I have a work Blackberry with wifi and it never loses wifi connectivity so this is a problem unique to my Nexus.
I'm running Cyanogen 10.0.0-toro and no, I haven't tried a full wipe and reload yet.
thoughts or suggestions?
Click to expand...
Click to collapse
I'm on Muzzy 4.2.2 and I'm currently having the same problem. It's not a new problem since I remember having it months ago (disabled my phone's WiFi because I kept missing emails and other notifications - grew tired of dealing with it). I thought it was my router, so I swapped it with a newer one recently, but it carried forward (old router was TRENDnet Draft N and the new one is ASUS RT-N66U).
I would like to know how to properly troubleshoot this problem.
I'm glad I didnt have to create a thread for this. I have been facing this problem quite a lot. I can confirm that WiFi works absolutely fine until 4.1.2, whether it is stock or CM10 (I havent tried the other ROMs yet). I have faced this problem only from 4.2. It still exists on 4.2.2. Happens on all the ROMs I have tried till now including CM10.1 nightly as well as the stock factory image.
When the phone is sleeping, it seems to lose WiFi connectivity and when woken up, the WiFi bars is grey though it is full. If I am very lucky, it will turn blue automatically. Most of the times, I have to switch WiFi off and back on for it to connect properly.
Anyone knows the root cause for this? In case this has been discussed in any other thread?
subhramani said:
I'm glad I didnt have to create a thread for this. I have been facing this problem quite a lot. I can confirm that WiFi works absolutely fine until 4.1.2, whether it is stock or CM10 (I havent tried the other ROMs yet). I have faced this problem only from 4.2. It still exists on 4.2.2. Happens on all the ROMs I have tried till now including CM10.1 nightly as well as the stock factory image.
When the phone is sleeping, it seems to lose WiFi connectivity and when woken up, the WiFi bars is grey though it is full. If I am very lucky, it will turn blue automatically. Most of the times, I have to switch WiFi off and back on for it to connect properly.
Anyone knows the root cause for this? In case this has been discussed in any other thread?
Click to expand...
Click to collapse
have you posted this information over in any of the threads where the developers are working such as Cyanogen in an effort to bring this issue to the forefront for more visibility?
I have had those wifi problems with every android version and rom I had on my GNex as far as I can remember.
Sometimes it will be able to reconnect but sometimes I have to disable and re-enable wifi to get it back.
I too thought that it might have been my crappy router as I have had multiple problems with it over the years (some Linksys router).
This is really annoying because it won't receive any e-mails until I randomly decide to have a look at my phone. :/
Fabur87 said:
I have had those wifi problems with every android version and rom I had on my GNex as far as I can remember.
Sometimes it will be able to reconnect but sometimes I have to disable and re-enable wifi to get it back.
I too thought that it might have been my crappy router as I have had multiple problems with it over the years (some Linksys router).
This is really annoying because it won't receive any e-mails until I randomly decide to have a look at my phone. :/
Click to expand...
Click to collapse
trust me, I understand your frustration... some days, I can go almost all day without loosing wifi data throughput and other days it won't last 10 minutes without going to gray bars.
unfortunately, no one is sharing any fixes which tells me that no one has a good handle on the problem.
Same issue for me on stock Android 4.2.2. Leave WiFi on overnight and when I wake up its connected to WiFi but gray bars...
Sent from my Galaxy Nexus using xda premium
The update to 4.2.2 drivers have fixed all WiFi issues for me. For the first time since 4.1 I can now use WiFi optimization now. And WiFi is fully reliable.
tgeery said:
so, I've read around here on the XDA forum about problems with wifi connectivity where we have full bars for wifi but they are gray and you are not getting out. many describe my situation but I've not seen any real solutions...
my problem is that I can connect to my wifi router without issue but then a random amount of time later, sometimes fairly quickly and sometimes it's hours later, I will pick up the phone and see full bars but they are gray and I'm not getting out. I can try opening a terminal window and pinging the gateway/dns servers and can't even reach the gateway.
things I have tried:
- turned off MAC filtering on the wifi AP
- switched from a 5 GHZ wifi on the AP to 2.4 GHZ net on the AP and vice versa
- manually set the phone wifi preference to one or the other (5 or 2.4)
- battery pull on the phone
- delete network settings for my AP and reconfigure
I have not yet tried a static IP config on the phone but I can easily try that... {edited to add} well, I tried static config and that didn't help at all...
one other tidbit of info, I have a work Blackberry with wifi and it never loses wifi connectivity so this is a problem unique to my Nexus.
I'm running Cyanogen 10.0.0-toro and no, I haven't tried a full wipe and reload yet.
thoughts or suggestions?
Click to expand...
Click to collapse
same thing happened to me on toroplus sourcery 5.1, after trying everything i could think of and talking to one of the devs, i finally did a fresh download of rom and gapps. wiped cache,wiped dalvik, factory reset, wipe system, deleted android folder off of storage then installed the fresh download of rom and gapps and its been working great for me since. hope this helps.
M3drvr said:
The update to 4.2.2 drivers have fixed all WiFi issues for me. For the first time since 4.1 I can now use WiFi optimization now. And WiFi is fully reliable.
Click to expand...
Click to collapse
Can you elaborate on this? I've flashed 5 different modems and still get this problem... it happens to my cell service bars, as well. Would love to know what the cause is.
aqcon said:
Can you elaborate on this? I've flashed 5 different modems and still get this problem... it happens to my cell service bars, as well. Would love to know what the cause is.
Click to expand...
Click to collapse
i just know ever since moving to a 4.2.2 kernel that has the 4.2.2 drivers my wifi has been stable. I know there was a post in the anarkia thread with the ak kernel that had the drivers. but i believe most any 4.2.2 kernel would have them implemented. i do have the newest bootloader and radio too. but i know as soon add i got the 4.2.2 drivers all issues were resolved wifi wise. of course i think if you have a 4.2.2 kennel you'll have them.
M3drvr said:
The update to 4.2.2 drivers have fixed all WiFi issues for me. For the first time since 4.1 I can now use WiFi optimization now. And WiFi is fully reliable.
Click to expand...
Click to collapse
I'm looking forward to that update - I've been watching the Cyanogen threads for when I think the 10.1 has matured enough to become my daily driver... good to know you've had positive results!
Temporary solution
me facing same issues , Solution would be to use an app called wifi fixer by zanish-g1 from the play store ...
it worked for me !! :good:

Categories

Resources