OnePlus 3T - intermittent DNS resolution with Wi-Fi fully connected - LineageOS News & Discussion

Ever since I upgraded to 15.1 I've been having an issue where my wifi will be fully connected (any network). Then all of a sudden web pages will stop loading but the Wi-Fi is still fully connected with no question mark over the icon. If I turn off Wi-Fi and turn it back on, it fixes the problem. Getting kind of frustrated doing it every half hour though. I searched all over and haven't been able to find anything related to this exactly.

Gvoice2600 said:
Ever since I upgraded to 15.1 I've been having an issue where my wifi will be fully connected (any network). Then all of a sudden web pages will stop loading but the Wi-Fi is still fully connected with no question mark over the icon. If I turn off Wi-Fi and turn it back on, it fixes the problem. Getting kind of frustrated doing it every half hour though. I searched all over and haven't been able to find anything related to this exactly.
Click to expand...
Click to collapse
I don't have this device but, the following thread is the Official LineageOS 15.1 thread specific to your device.
https://forum.xda-developers.com/showthread.php?t=3739169
Situations like this does throw some (inexperienced) members off when developments like this becomes a unified development (aka cross development) and this one is for both the OP3/OP3T.
Good Luck!
~~~~~~~~~~~~~~~
I DO NOT provide support via PM unless asked/requested by myself. PLEASE keep it in the threads where everyone can share.

Related

Inconsistent Connection - sometimes unstable?

Hey i have a 32B UK Vodafone Magic running Cyanogens 4.0.4 stable rom and have had the magic for about a month now.
For some reason my phone randomly loses connection - both 3G and 2G, the drop down notification will just say "No Service" and will only usually restore if i turn on- and off airplane mode.
There are also often times where ill be browsing the internet or the market and while it'll tell me i have 3G/2G, it wont actually "connect" and download/upload data e.g. the market will often tell me it has no connection and web pages will randomly not load, getting the "webpage cannot be found"-like error for no reason. wouldnt be such a bother but it seems to be a daily occurance that spoils an otherwise amazing device.
Is this a common problem? does anyone know how i can solve this if a solution is available (i thoguht it may be to upgrade the radio but i dont know how and ive heard its possible "brick-territory")
hope you guys can help
Hi there, this is getting to be a well known issue on the Vodafone technical forums.
http://forum.vodafone.co.uk/index.php?showtopic=25796&st=0&start=0
have you read this and posted there?
Would be good from some feedback on here too from "the experts"
I'm having the same problems with my phone: http://forum.xda-developers.com/showthread.php?t=556843
So far, turning off 3G has stopped it, but that's not really an acceptable long-term solution...
as you say, disabling 3g is not a solution to the problem encountered considering the device and its expected use, its connectivity should at least e stable.
i did not know about the thread on the vodafone forum and read through all of the posts, there didnt seem to be any strict correlation between the other guys devices and the problem itself, some had diff radios, some likely had flashed roms (but theyre not exactly going to mention that on a voda forum).
thanks for the help regardless, i think im going to do some testing of custom ROMs and some of the radios/SPLs to see if one of them may fix it. though again i dont think its a probplem that can be fixed from a ROM/android update alone
I've been having this issue too, i've gone through multiple roms in search of a fix, none of them solved it though. . .
Are you guys having any other issues coupled with this? My phone also won't autosync email anymore. No notifications, then i'll check manually it will find a slew of emails from earlier in the day. It's set to check every 5 minutes, but alas.
same here with a vodafone magic. I have this prob not only with 3g even with wifi. Turning wifi/3g on/off solves this issue. Its annoying though...

[Solved]Wlan problem - loosing connection alot

Anyone else experiencing problems with the Wlan? Everyday I have to shut down Wifi, and start Wifi again to reconnect to my router. This mostly happens after the phone has been unused for a few minutes.
When I start using the phone again, it still says i´m connected, I still have the IP, and the signalbar. But when trying to use the internet there is no connection.
My X10, asus lamborghini, hp laptop and desktop pc works flawlessly, so there cant be anything wrong with the router.
Would like to confirm that this is a general problem, and not just my phone...
I didn't have this problem until I played with the WiFi sleep policy. I switched it from 'Never' to 'Sleep when screen is off' and I then got the problem you described. I have since switched my phone back to 'Never' and the problem has gone away.
Andrew Phillips said:
I didn't have this problem until I played with the WiFi sleep policy. I switched it from 'Never' to 'Sleep when screen is off' and I then got the problem you described. I have since switched my phone back to 'Never' and the problem has gone away.
Click to expand...
Click to collapse
Yeah, I have mine set to never also. Still have the same problem.
Just added a videon on youtube to show how it keeps disconnecting itself, and how I restore connection.
http://www.youtube.com/watch?v=sL-1aAQWPu0
I've got the same problem with my phone, its really annoying
There are three threads and one poll dedicated to Wi-Fi. There was no definitive answer in those threads so I doubt there will be one in this thread. Do a search.
Same problem here, not sure if it's down to running a customer rom, anyone having this problem on stock rom?
Yes I've had this problem and tried to send my phone back over it.
It appears to be a problem with WPA1 - the wifi driver hangs and the phone kills it (from adb logcat).
It happened on my home wifi - I switched it to WPA2 and it went away; however, my employer uses 802.1X and I have to use HSPDA at work as wifi keeps crashing.
Please god, not another ten pages of the same questions, theories, and debates. Here's the original Wi-Fi thread, continue your musings here:
http://forum.xda-developers.com/showthread.php?t=1067473
Finally solved the WLAN problem! It seems the Belkin N+ router is not fully compatible with the Galaxy S2. Bought the Asus RT-N56U router a few days ago, and the Wlan - Wifi connection to the phone has worked flawlessly since then!
So now you know!
BarryH_GEG said:
Please god, not another ten pages of the same questions, theories, and debates. Here's the original Wi-Fi thread, continue your musings here:
http://forum.xda-developers.com/showthread.php?t=1067473
Click to expand...
Click to collapse
Yup noobs shouldn't be able to make threads...only replies on posts for a at least a year. Saves a lot of junk. Plus we get a variety of useful threads page after page.
Sent from my GT-I9100 using XDA App
corb06 said:
Finally solved the WLAN problem! It seems the Belkin N+ router is not fully compatible with the Galaxy S2. Bought the Asus RT-N56U router a few days ago, and the Wlan - Wifi connection to the phone has worked flawlessly since then!
So now you know!
Click to expand...
Click to collapse
Already discussed. Next time make use of the search button before making new topic please.
Sent from my GT-I9100 using XDA App
Get off your high horses. I found a solution in this 'noob' thread that I did not find in the pages of waffle on the main thread.
It may have cost me £100 but it is a solution which is what some of us pragmatic types want. The rest of the high and mighty around here can cast around for an understanding of the underlying issue but some just want to get things to work and get on with our lives. Both attitudes are valid and one camp should not set themselves as more 'worthy' than the other.
A sense of superiority is seldom founded on anything useful.
"Up here for thinking, down there for dancing."
C2k6 said:
Get off your high horses. I found a solution in this 'noob' thread that I did not find in the pages of waffle on the main thread.
It may have cost me £100 but it is a solution which is what some of us pragmatic types want. The rest of the high and mighty around here can cast around for an understanding of the underlying issue but some just want to get things to work and get on with our lives. Both attitudes are valid and one camp should not set themselves as more 'worthy' than the other.
A sense of superiority is seldom founded on anything useful.
"Up here for thinking, down there for dancing."
Click to expand...
Click to collapse
At least give us thread link then close this thread . I am not finding the particular NOOB thread

[Q] Constant WIFI Download (Android OS usage slightly higher)

Hi all,
I'm having a very strange issue that I'm hoping someone can shed some light into. For some reason my VS980 as well as my Nexus 7 (2013) and all of the other Android devices in my house appear to be constantly downloading something. This activity gets translated to slightly worse battery life and is manifested in the Android OS process. I'm running CloudyStock 2.2 and have clean flashed it 2 times to see if that is the issue. All of the Android devices on our network have this issue though.
I've checked our router's outbound requests and none of the devices are making outbound requests so it appears as though the issue is purely on the LAN. I have seen other forum posts describing this exact issue in its entirety and nobody has found a solution as of yet.
http://hardforum.com/showthread.php?t=1758079
http://forum.xda-developers.com/galaxy-s3/help/android-os-draining-battery-connected-t1829677
I'm fairly certain the issue is network/router specific as the problem is even more severe at my workplace. At my home I have the Asus rt-N66U (http://www.asus.com/Networking/RTN66U/) running the latest version of Merlin. I've tried to a hard reset on the router as well and still the issue persists.
I'll post battery screenshots and BBS screenshots as well as network logs when I get home. Any advice and suggestions are welcomed!

Well, this fixed wi-fi issues for me...

Just wanted to share my personal experience in hope it will help someone else out there as well.
Problems with wi-fi appeared on my rooted N9005 out of the blue.
"Your wi-fi connection is unstable" message followed by complete halt of wi-fi. I read the forums, tried this and that, different firmwares - nothing. Annoying as it was, I gave up on the matter as it was impossible for me to solve at the time. The only band-aid was resetting my router and restarting my Note 3. Then it would work only for a limited time, until when it just wouldn't work anymore.
As a desperate move I tried disabling my AdBlock Plus app. And then a truly wtf moment - everything started working flawlessly. My wi-fi connection is rock solid. :silly:
Well, it didn't seem obvious to me, but then again I AM a newbie. Perhaps you android veterans already had this app on your radar. But listing through forums I never once encountered this as a possible fix, hence I'm sharing this here.
Hopefully it will do the trick for some of you.
Best of luck.

[FIX][Cm12/12.1] Wifi Connectivity Issues/Drops

Usually i switch on WiFi and disable mobile data manually while at home. It turns out that i don't receive any Push Notifications like WhatsApp, Threema, Facebook and GMail/Inbox (those who are using gcm) when the device is connected to WiFi solely and the screen is locked. If i unlock the device after a certain amount of time, a bunch of notifications are popping up. This is reproducable and won't occur on mobile data. Just do the following, while i.e. at home:
Connect to WiFi
Deactivate your Mobile Data
Lock your screen and let your Device rest for a couple of seconds
Tell someone to send you a Mail to your Gmail Account (or on any other GCM-Push related way)
You probably may notice that your device won't wake up to notify you about this incoming message until you pick it up and unlock it. I have tested this since weeks with multiple official nightlies of CM12, custom builds and even unofficial CM12.1 builds, they all show the same behaviour. Even with official CM11s this issue persists, but can be worked around by unchecking "WiFi Optimizations" in advanced WiFi-Settings. Unfortunately Lollipop doesn't have this WiFi Optimization trigger anymore. Ofc "Keep WiFi on during sleep" is set to "always". After all tests i came to the conclusion that the device simply gets no wakelock trigger from notifications if connected to WiFi solely. I've fixed this for me by fiddeling with the configuration files (root needed).
Open /system/etc/wifi/WCNSS_qcom_cfg.ini and change
Code:
hostNSOffload=0
to
Code:
hostNSOffload=1
After this change and a reboot, your device should be able to wake up from incoming notifications instantly while on WiFi. Some custom ROM, like SlimSaber have set this out of the box, while official cm nightlies and other custom ROM, like exodus, haven't.
Have you tested IPv6 over WiFi with 12.1? As that is also broken on 12.
JaY_III said:
Have you tested IPv6 over WiFi with 12.1? As that is also broken on 12.
Click to expand...
Click to collapse
Usually i've disabled ivp6, because of the known problems with it. I've tested it with ipv6 enabled and it worked.
Meanwhile i was able to test a lil bit more on other networks. It seems like this all is router dependant. While having the chance to exessively using another WiFi network yesterday, i was able to check that there are no such problems as described before. After went home, problems reappeared. I have to conclude that there must be some culprit with my router at least (Telekom Speedport W724V).
I noticed such notification flood several times.
I can't say under which circumstances because I didn't care about it yet but your post made me remember this.
I gonna investigate that asap.
As far as I can say this happened only at home yet. My router is an AVM FritzBox 7390.
On my OPO I have usually always one of the newest official CM12 nightlies installed.
I've tested stock settings while connected to a completely different router a few days ago and wasn't able to reproduce the issue. It really turns out that it has something to do with certain routers, in my case a Speedport W724V Type A (by Huawei). It seems like this issues has something to do with ARP Offloading and filtering of Broadcast/Multicast. As far as i understand, Androids MAC Adress isn't hard coded and the router loses the connection to the device if it goes into sleep state. Therefore the router has to broadcast via arp to look for the device, but the device simply doesn't respond to the arp request, coz the wifi driver is configured to ignore that broadcasts and continue sleeping. This issue is, as i read, present since KitKat where it could at least be worked around by disabling the WiFi Optimizations, which seems to be only a checkbox for above mentioned manual method Lollipop.
Currently i've no idea how to fix this in a better way, since my described method works flawlessly, but it's definately a lil battery drainer. Another way to work around this is by setting "Keep Wi-Fi on during sleep" to "never" and let the device handover the data connection to mobile data while sleeping. This, at least, ensures the battery savings which were intended by the developers.
Steve Kondik merged an interesting commit today, which i am not aware of if this will change anything related to this issue. As this commit was merged into cm12.1 branch i doubt that we will see anything related in cm12 based roms, nor the upcoming cm12s. Maybe some nifty dev like @ak or @Lord Boeffla can take a look into this and implement it into their kernel.
I put the interesting commit into my cm12.1 kernel, which comes out tomorrow.
If all goes well I can look to back port it to cm12 and maybe even cm11(s).
Let's see. First we need opinions on the test kernel tomorrow.
Andi
Genericxx said:
I've tested stock settings while connected to a completely different router a few days ago and wasn't able to reproduce the issue. It really turns out that it has something to do with certain routers, in my case a Speedport W724V Type A (by Huawei). It seems like this issues has something to do with ARP Offloading and filtering of Broadcast/Multicast. As far as i understand, Androids MAC Adress isn't hard coded and the router loses the connection to the device if it goes into sleep state. Therefore the router has to broadcast via arp to look for the device, but the device simply doesn't respond to the arp request, coz the wifi driver is configured to ignore that broadcasts and continue sleeping. This issue is, as i read, present since KitKat where it could at least be worked around by disabling the WiFi Optimizations, which seems to be only a checkbox for above mentioned manual method Lollipop.
Currently i've no idea how to fix this in a better way, since my described method works flawlessly, but it's definately a lil battery drainer. Another way to work around this is by setting "Keep Wi-Fi on during sleep" to "never" and let the device handover the data connection to mobile data while sleeping. This, at least, ensures the battery savings which were intended by the developers.
Steve Kondik merged an interesting commit today, which i am not aware of if this will change anything related to this issue. As this commit was merged into cm12.1 branch i doubt that we will see anything related in cm12 based roms, nor the upcoming cm12s. Maybe some nifty dev like @ak or @Lord Boeffla can take a look into this and implement it into their kernel.
Click to expand...
Click to collapse
It fixed my wifi bug so far on euphoria 5.1
Okay guys, i've tried AK's latest experimental kernel (v203). Beside of some small problems which are still under developement, WiFi seems to be fixed completely with the implementation of the new prima drivers for me. This could mean, that they will be automatically fixed with the release of the official cm12.1 nightlies. As for now i will thank everyone, especially @ak and @Lord Boeffla for participating and help to hunt down and solve this annoying issue. You're great guys :good:
Genericxx said:
Okay guys, i've tried AK's latest experimental kernel (v203). Beside of some small problems which are still under developement, WiFi seems to be fixed completely with the implementation of the new prima drivers for me. This could mean, that they will be automatically fixed with the release of the official cm12.1 nightlies. As for now i will thank everyone, especially @ak and @Lord Boeffla for participating and help to hunt down and solve this annoying issue. You're great guys :good:
Click to expand...
Click to collapse
Thanks. With the latest beta kernel for cm12.1 which I released this morning, these drivers are also included.
If they turn out to work better - my other kernel variants (cm11s, cm11, cm12) are also already ready with these new drivers backported. Just have not released them as I want to give it some more testing.
Andi
Anyone else notice the same issue on Oxygen Os? I'm not sure if it's just the router I connect to at work, since this doesn't happen at home. Can't tell yet, will give this a shot.
xxBrun0xx said:
Anyone else notice the same issue on Oxygen Os? I'm not sure if it's just the router I connect to at work, since this doesn't happen at home. Can't tell yet, will give this a shot.
Click to expand...
Click to collapse
Would be an interesting test.
We cannot look into the driver used for Oxygen OS as the kernel code is not yet released as far as I know (if it is, I would be happily be corrected )
Andi
I'll bet that oxygen suffers of the same problems as every cm12 build does (even if it's more aosp) and CyanogenOS 12 (CM12s) will also.
Genericxx said:
I'll bet that oxygen suffers of the same problems as every cm12 build does (even if it's more aosp) and CyanogenOS 12 (CM12s) will also.
Click to expand...
Click to collapse
Let's see.
I backported the new drivers to CM12, CM11s and CM11 already.
Just need to decide whether I ship that or not
Andi
Lord Boeffla said:
Let's see.
I backported the new drivers to CM12, CM11s and CM11 already.
Just need to decide whether I ship that or not
Andi
Click to expand...
Click to collapse
is it already out ?
reyscott1968 said:
is it already out ?
Click to expand...
Click to collapse
Indeed it is.
Andi
Just to report back, this did seem to fix my wifi issues, although I've since switched to Exodus, so I didn't have a ton of time to play with it.
Thanks for taking the time to investigate this issue. I should have done the same I will ago when it started bothering me.
I will try one of the kernels and see if it fixes it. If not I'll try your method once I am back home.
Thanks!
Jur1nator said:
Thanks for taking the time to investigate this issue. I should have done the same I will ago when it started bothering me.
I will try one of the kernels and see if it fixes it. If not I'll try your method once I am back home.
Thanks!
Click to expand...
Click to collapse
You're welcome. I have to admit that the problem reappeared. So the new Wi-Fi drivers have no permanent solution for me. As told in the other thread I found my temporary solution by simply let Wi-Fi auto turn off when device for to sleep. My data plan allows me this easily, but if you're on a 200mb data plan this could be ****ty for you. Let's see if future commits of cm will change anything.
I fortunately have a 3gb lte contract, so this shouldn't be the issue. I just don't want to accept that there might not be a solution without tradeoffs.
I'll let you know if I find anything
Jur1nator said:
I fortunately have a 3gb lte contract, so this shouldn't be the issue. I just don't want to accept that there might not be a solution without tradeoffs.
I'll let you know if I find anything
Click to expand...
Click to collapse
Would be nice. I'm hunting this issue down since January, so far, as said, without any real solution other than using another router. it works anywhere except at home, so i know exactly how annoying this is. It's not that big problem to use mobile data when screen is off, but is pisses me off, if i just forget this sometimes and miss urgend messages from WhatsApp or Threema, coz they're arriving hours later. As desribed above, there is a way to prevent the OnePlus to not filter the WiFi Broadcasts. You just have to edit this one line in the configuration manually, but it comes at the cost of battery.

Categories

Resources