When I'm running an AOSP Rom, my Wifi only scans for networks after a fresh boot. Once it has connected to a network, no more scanning happens, no matter how often I tell it to. It's quite an annoyance when I have to reboot my phone every time I leave home and want to connect to a coffeeshop Wifi outside.
Once it is connected, there are not further issues - signal is good, no random disconnects or anything. Just no scanning.
Everything works fine on stock, and I've successfully tried ViperX with Sense 5, but all AOSP Roms I've been trying recently had this behavior - I have no idea what's causing it. Maybe it's an issue with the CM kernel (most Roms use some form or other of it)?
I really have no idea. Thought I'll post a question here while I go do some more troubleshooting of my own.
I also just grabbed a snippet of what I hope is the relevant part of the logs: https://paste.xinu.at/WO9zZ/
On second thought, maybe it's not AOSP based, but rather 4.3. I haven't spent much time on 4.2 with this phone, so I don't remember if the problem existed back then. If I don't find a solution, I will downgrade later to make sure.
Solved Somewhat... Not really. Worked-around maybe.
I rolled back to CM 10.1.2, and the problem went away. Seems like it wasn't AOSP causing the problem, but the new always-on feature in 4.3, which allows scanning for networks even though Wifi is switched off. I've done some searching, and other people on all kinds of devices have had problems with Wifi since this change was implemented.
Once I disabled this feature and toggled Wifi off/on once, the problem seems to be gone on CM 10.2. Not quite a proper solution, but I guess I can live with that for now, I don't really have the time, energy or experience to look into this further. Maybe somebody more enlightened than I has a proper solution.
Hello everybody!
It's been 10 days since I got my M8 and I have finally managed to narrow the reason of the crashes down to WiFi connections.
My phone crashes at a random frequency as long as it is connected to any wifi network, does not do this on 3G/2G and I have so far tested using 3 different access points and using different wifi modes on the device.
2.4GHz
5GHz
Wi-Fi optimization on/off
On Build.prop I have tried to disable AC, N, b/g and tested all in an isolated manner.
Following these tests and no improvement; I've decided to root my device, flashed and tested using the two most commonly used kernels and ROMs: Still no result so I have decided to make this post, also following a long search on the web about this and no body seems to experience it, that I could find of at least.
I am stuck at this point, any thoughts?
AlienCraB said:
Hello everybody!
It's been 10 days since I got my M8 and I have finally managed to narrow the reason of the crashes down to WiFi connections.
My phone crashes at a random frequency as long as it is connected to any wifi network, does not do this on 3G/2G and I have so far tested using 3 different access points and using different wifi modes on the device.
2.4GHz
5GHz
Wi-Fi optimization on/off
On Build.prop I have tried to disable AC, N, b/g and tested all in an isolated manner.
Following these tests and no improvement; I've decided to root my device, flashed and tested using the two most commonly used kernels and ROMs: Still no result so I have decided to make this post, also following a long search on the web about this and no body seems to experience it, that I could find of at least.
I am stuck at this point, any thoughts?
Click to expand...
Click to collapse
This is clearly a hardware issue. Warranty it. I never understood why someone would root to add stability. Rooting will add features and customizability but not stability. Things will be most stable with stock, if things are crashing on stock that should work normally, it's time for warranty.
I have the Verizon HTC One M8 with s-off and rooted. I really want to use an aosp ROM, but I have wifi problems on all of them. I know that other people were also having issues with wifi disconnecting, but that is not my problem.
The wifi range is terrible. I have to be close to the wireless router to use the internet. When I am close the speed is perfect, but as soon as I move a few rooms away it cannot download anything. The phone still shows it is connected to the wifi with full bars but its impossible to even load a webpage. When I use my iPad from the same distance I can play HD video no problem.
The strange thing is the issue does not exist when I am using a Sense based ROM (stock, ARHD). I apologize if this is a common issue that I am unaware of but any help would be appreciated!
Its been a very well known and reported issue since the release of any AOSP based ROMs. Its not really strange that it works on Sense ROMs considering Sense ROMs are specifically made for this device. AOSP based ROMs have to be made to work on this device. You'll just have to be patient and wait for it to be fixed. Other than that, nothing can be done at the moment.
Dang, I thought for most people the issue was with wifi dcing! Oh well, next time I will make sure to look into it more before making a post. Also, where is a good place to look for updates pertaining to issues like this?
Thanks!
For updates you can look in a few places.
http://www.cmxlog.com/11/m8/
http://review.cyanogenmod.org/#/q/status:merged,n,z
https://github.com/CyanogenMod
When 14.1 was first introduced, I immediately flashed it and noticed that the tethering and portable hotspot option was greyed out. I moved onto a few others ROMs since and decided to give it a go hoping that they finally sorted it out and alas I still don't have the option. However, I searched around a bit and noticed some people were saying that it works for them, so I immediately wiped everything and flashed some different firmwares files and still nothing.
So my question is; Is the lack of the tethering and portable hotspot a known bug or have I just not installed something that needs to be? Thanks!
Your not the only one that noticed it only I was at a customers house that didn't have internet when I noticed it on mine
That's aggravating. My partner's OnePlus 2 has the same issue so I'll just stick with Sultan's CM for the time being.
The WiFi on my phone disconnects for about 2 seconds (every 15 minutes or so) for no reason at all. I have the same problem on EVERY single Android Pie ROM such as Lineage, Pixel Experience, AOSiP, AEX, etc. When the phone is in sleep mode the Wi-Fi will NOT reconnect, which means I constantly miss important notifications such as messages from friends. Also, when watching YouTube I keep seeing a message pop up saying 'Back Online' due to the WiFi disconnecting.
I have seen a couple of people on the forums with the same issue, but a solution has not yet been found. I know this is NOT a problem with my home broadband because I don't experience the same WiFi dropouts on other devices.
If anyone knows a solution to this problem, or just has a suggestion, PLEASE let me know as I would REALLY appreciate it.
P650SE said:
The WiFi on my phone disconnects for about 2 seconds every 15-30 minutes for no reason at all. I have the same problem on EVERY single Android Pie ROM such as Lineage, Pixel Experience, AOSiP, AEX, etc. When the phone is in sleep mode the Wi-Fi will NOT reconnect, which means I constantly miss important notifications such as messages from friends. Also, when watching YouTube I keep seeing a message pop up saying 'Back Online' because the WiFi keeps disconnecting.
I have seen a couple of people on the forums with the same issue, but a solution has not yet been found.
I know this is NOT a problem with my home broadband disconnecting because I do not experience the same WiFi dropouts whilst playing online games on my laptop.
If anyone knows a solution to this problem, or just has a suggestion, PLEASE let me know as I would REALLY appreciate it. I have been having this problem for months and it is driving me mad.
Click to expand...
Click to collapse
I'm using carbon rom, no problems when using WiFi or hotspot.
Psy Naveen said:
I'm using carbon rom, no problems when using WiFi or hotspot.
Click to expand...
Click to collapse
Hi. Thanks for the response. I will keep that in mind, I can't remember whether I tried Carbon ROM before.
However I have to think this problem is related to something more specific than just ROM, because if this problem was present on all installations of these popular ROMs like Lineage, AEX and Pixel Experience (as I have tested in my own experience) then we would likely see a lot more complaints about it on the forums. So I think the issue is related to something to do with a certain setting or configuration.
It is a VERY frustrating problem because I can't leave my phone for 15 minutes without it disconnecting from WiFi and loosing access to notifications.
Not that this will help but in the past I had issues with Samsung OEM ROMs I flashed using ODIN (equivalent to our QFIL) a firmware from another country and for some reason even though technically my phone WAS compatible, I would have similar results to yours. If I were you I would back up all your data and try a few different QFIL to see if you have any luck. I flashed the LATEST QFIL (not using miflash etc) and have never had any issues with my zuk
1qazwsx4 said:
Not that this will help but in the past I had issues with Samsung OEM ROMs I flashed using ODIN (equivalent to our QFIL) a firmware from another country and for some reason even though technically my phone WAS compatible, I would have similar results to yours. If I were you I would back up all your data and try a few different QFIL to see if you have any luck. I flashed the LATEST QFIL (not using miflash etc) and have never had any issues with my zuk
Click to expand...
Click to collapse
Thanks for that. I agree it might be the cause of the issue, something like what you describe. It would make sense because I have only found 2 other people on XDA with the same issue, and the problem happens on every ROM I have tried. I have owned the ZUK Z2 since 2016 and only now, in these past 2-3 months, am I experiencing these problems with Wi-Fi disconnecting.
From what I can see the latest QPST is 3.5.389 ST, so I will try flashing that next week (once I'm back from vacation) and see what happens!
1qazwsx4 said:
Not that this will help but in the past I had issues with Samsung OEM ROMs I flashed using ODIN (equivalent to our QFIL) a firmware from another country and for some reason even though technically my phone WAS compatible, I would have similar results to yours. If I were you I would back up all your data and try a few different QFIL to see if you have any luck. I flashed the LATEST QFIL (not using miflash etc) and have never had any issues with my zuk
Click to expand...
Click to collapse
Well, I tried flashing the 3.5.389 ST QPST and then flashing LineageOS 16.0 on top of that, but the problem is still the same. Wi-Fi disconnects for a few seconds whilst using the device, and also whilst the device is in sleep mode. Except when it disconnects in sleep mode, it will NOT reconnect meaning I miss all kinds of notifications until I manually check my device.
The frustrating thing is I don't know for sure whether it's something to do with my home broadband or router. But all of my other devices (such as Windows laptop) STAY connected at the same time my ZUK looses connection. So I have to assume it is software-related on the ZUK.
If I can't solve this soon I will just go out and buy a new phone. I can't deal with missing important notifications. It is sad because I really liked this phone and have kept it for 2½ years. I don't understand why this problem suddenly started because it was fine before.
P650SE said:
Well, I tried flashing the 3.5.389 ST QPST and then flashing LineageOS 16.0 on top of that, but the problem is still the same. Wi-Fi disconnects for a few seconds whilst using the device, and also whilst the device is in sleep mode. Except when it disconnects in sleep mode, it will NOT reconnect meaning I miss all kinds of notifications until I manually check my device.
The frustrating thing is I don't know for sure whether it's something to do with my home broadband or router. But all of my other devices (such as Windows laptop) STAY connected at the same time my ZUK looses connection. So I have to assume it is software-related on the ZUK.
If I can't solve this soon I will just go out and buy a new phone. I can't deal with missing important notifications. It is sad because I really liked this phone and have kept it for 2½ years. I don't understand why this problem suddenly started because it was fine before.
Click to expand...
Click to collapse
After you flashed the QPST did you boot into the rom and try using oem zuk to see if it resolved your issue? Apparently that fixes quite a few problems but requires actually booting into the rom. If you flashed an official QTSP using deep flash (not miflash) anf it STILL has that problem then it must be internal hardware. Guessing you have tried connecting to someone elses wifi and it does the same?
1qazwsx4 said:
After you flashed the QPST did you boot into the rom and try using oem zuk to see if it resolved your issue? Apparently that fixes quite a few problems but requires actually booting into the rom. If you flashed an official QTSP using deep flash (not miflash) anf it STILL has that problem then it must be internal hardware. Guessing you have tried connecting to someone elses wifi and it does the same?
Click to expand...
Click to collapse
Thanks. Well, sometimes I visit a relatives house where I can connect to a different router, but usually I am not there long enough to test whether the phone stays connected. But in response to your other question, I did boot into the ZUI ROM after flashing the QPST. But I didn't test to see whether the problem persisted because I hate ZUI and could never use it on a daily basis when there are other, much better stock Android-like ROMs available.
I was in contact with someone else on XDA who had the EXACT same problem and he suggested trying the latest build of AEX which seemed to solve the issue for him. So currently I'm trying that but I haven't had enough time to test it, yet. So far I have not noticed the phone disconnecting but it has only been about 1 hour since I flashed the ROM. I will know more after a few days of testing.
Switching to AEX made no difference. Still no success despite wiping entire device and flashing stock ROM with QFIL. I have tried almost every Android Pie ROM including LineageOS, AEX, AOSiP and Pixel Experience. I also changed channel on my broadband router. Nothing works.
P650SE said:
Switching to AEX made no difference. Still no success despite wiping entire device and flashing stock ROM with QFIL. I have tried almost every Android Pie ROM including LineageOS, AEX, AOSiP and Pixel Experience. I also changed channel on my broadband router. Nothing works.
Click to expand...
Click to collapse
Then it may be a hardware problem, the antenna wires can be disconnected or damaged. Have you tried a stock Rom?
@1qazwsx4 @bordi21
After an entire year of this problem, I have FINALLY found a solution to my phone disconnecting whilst on home Wi-Fi. Turns out it is nothing to do with the phone or custom ROMs...
In the router settings there is an option called 'Enable IPv6 on LAN side' that is checked by default. I unticked this and now my phone is able to hold connection flawlessly!
P650SE said:
@1qazwsx4 @bordi21
After an entire year of this problem, I have FINALLY found a solution to my phone disconnecting whilst on home Wi-Fi. Turns out it is nothing to do with the phone or custom ROMs...
In the router settings there is an option called 'Enable IPv6 on LAN side' that is checked by default. I unticked this and now my phone is able to hold connection flawlessly!
Click to expand...
Click to collapse
Glad you got things worked out mate ?