Potential slow WiFi speed fix - OnePlus 5 Guides, News, & Discussion

Hi all,
Before I get started I will say that I just so happened to test this method out and it worked for my problem specifically so it may not be the all WiFi fixing source you are looking for. Second, I'm no developer or programmer, I simply found an old thread, tested, and wanted to share. Let's get started.
Symptoms:
My home internet is 150/150 Mbps download and upload speed. The 5 GHz network always had the full 150 download but upload would be around 5 or 6 (rarely 150) regardless if I forced the 5 GHz connection only. At work on 2.4 GHz I would have much poorer WiFi signal strength than my old OnePlus One. At home my 2.4 GHz connection was very much a hit or miss -I believe this is similar to what many others have felt and the recommended fix is to force the 2.4 GHz connection. An interesting tidbit is when I used my VPN (PIA) the upload speed jumped up to nearly full speed, which made me think this is not a hardware related issue.
Potential fix:
I dug up an old OnePlus 2 article on XDA located here (and specifically page 2): https://forum.xda-developers.com/oneplus-2/general/fix-wifi-mm-based-roms-t3344190/page2
I took the WCNSS.zip, unzipped the WCNSS_qcom_cfg.ini file and replaced the file in system\etc\wifi. Please make a backup of your original but you should also note you can easily re-install it. Also note that this requires root. After doing that I rebooted my phone and my connection speeds at home have been great. It's the weekend so I haven't tested signal strength at work but I know I can adjust the Txpower value slightly and hope it doesn't overheat.
If it matters I am also using the ElementalX kernel with the Westwood TCP congestion algorithm. I also changed the gChannelBondingMode24GHz=1 which is actually not included in Oxygen OS 4.5.5. FWIW I tried to add that line in to the original file and there was no change.
TL;DR Root required. Download OP2 WCNSS.zip from here: https://forum.xda-developers.com/oneplus-2/general/fix-wifi-mm-based-roms-t3344190/page2
Replace the WCNSS_qcom_cfg.ini file located in system\etc\wifi. Reboot.
My last words for this post is that I don't know what effect or effects this may have but I wanted to do something about this issue on my own. Not sure if this helps anyone or not but it helped me so I thought I would share.
EDIT:
I found that changing the two values located near the bottom of the WCNSS_qcom_cfg.ini file for the OP5's original data got me the same results:
TSOEnable=1 to 0 -this is the TCP Offload which seems to change large amounts of network data into smaller bits. This doesn't work for my network apparently so disabling it helped my speed.
gChannelBondingMode24GHz=1 -add this in for wideband support (ie your 2.4GHz network on 40Hz)
gEnableWoW=3 -this is "commented" out with #, so remove that and set this value to 3. This has worked for some for stability and speed.
gEnableIpTcpUdpChecksumOffload=1 *I had this value at 0 but there is no effect for me changing it to 0 so leave it at 1 (default).
Edit 2 (Aug 12): I see that Qualcomm provides the WiFi so I took the WiFi folder from an HTC U11. I still found my upload to be slow so I changed TSOEnable=0 again and so far things have been good -I changed no other values. The wpa_supplicant_overlay.conf and wpa_supplicant.conf are slightly different than the stock OnePlus 5 files so I would recommend replacing the entire folder's contents to test.
https://drive.google.com/open?id=0By0BkGnCgaRUWWo2Q283STJhQ0k I uploaded it here.
OxygenOS 4.5.10 - WiFi fix seems to be fixed! There was an IPv6 issue with Snapdragon 835 (or so I was told by OnePlus).

darkdragon88 said:
Hi all,
Before I get started I will say that I just so happened to test this method out and it worked for my problem specifically so it may not be the all WiFi fixing source you are looking for. Second, I'm no developer or programmer, I simply found an old thread, tested, and wanted to share. Let's get started.
Symptoms:
My home internet is 150/150 Mbps download and upload speed. The 5 GHz network always had the full 150 download but upload would be around 5 or 6 (rarely 150) regardless if I forced the 5 GHz connection only. At work on 2.4 GHz I would have much poorer WiFi signal strength than my old OnePlus One. At home my 2.4 GHz connection was very much a hit or miss -I believe this is similar to what many others have felt and the recommended fix is to force the 2.4 GHz connection. An interesting tidbit is when I used my VPN (PIA) the upload speed jumped up to nearly full speed, which made me think this is not a hardware related issue.
Potential fix:
I dug up an old OnePlus 2 article on XDA located here (and specifically page 2): https://forum.xda-developers.com/oneplus-2/general/fix-wifi-mm-based-roms-t3344190/page2
I took the WCNSS.zip, unzipped the WCNSS_qcom_cfg.ini file and replaced the file in system\etc\wifi. Please make a backup of your original but you should also note you can easily re-install it. Also note that this requires root. After doing that I rebooted my phone and my connection speeds at home have been great. It's the weekend so I haven't tested signal strength at work but I know I can adjust the Txpower value slightly and hope it doesn't overheat.
If it matters I am also using the ElementalX kernel with the Westwood TCP congestion algorithm. I also changed the gChannelBondingMode24GHz=1 which is actually not included in Oxygen OS 4.5.5. FWIW I tried to add that line in to the original file and there was no change.
TL;DR Root required. Download OP2 WCNSS.zip from here: https://forum.xda-developers.com/oneplus-2/general/fix-wifi-mm-based-roms-t3344190/page2
Replace the WCNSS_qcom_cfg.ini file located in system\etc\wifi. Reboot.
My last words for this post is that I don't know what effect or effects this may have but I wanted to do something about this issue on my own. Not sure if this helps anyone or not but it helped me so I thought I would share.
Click to expand...
Click to collapse
Keen to know what you've experience since changing

benc88 said:
Keen to know what you've experience since changing
Click to expand...
Click to collapse
I've spent the majority of my day trying to use the original OP5 WCNSS_qcom_cfg.ini and find out what made this work for me and I think I did. I put it in my first post but the main part is I think disabling gEnableIpTcpUdpChecksumOffload and TSOEnable helped me reach my speeds. Everything has been pretty good so far in terms of speed. I walked around to each corner of my house and had twitch streams going the entire time on 2.4GHz.
On my personal home network I find that going from one AP to another results in a slow transfer rate for a little bit. I think that is the gActiveMaxChannelTime value but I can live with that.

I get close to 600 mbits on my wifi 5GHZ... i guess teh phone is working just fine!

Qualcomm released a new wifi driver recently. It's in the Revan kernel v15. I've personally never had issues with WiFi I, but I wonder if the new driver could help. Feel free to give the kernel a test drive.

I haven't had any issues, my speed are over 100 on 5GHZ network:good:

swhtownboy said:
I haven't had any issues, my speed are over 100 on 5GHZ network:good:
Click to expand...
Click to collapse
Thanks

Binary Assault said:
Qualcomm released a new wifi driver recently. It's in the Revan kernel v15. I've personally never had issues with WiFi I, but I wonder if the new driver could help. Feel free to give the kernel a test drive.
Click to expand...
Click to collapse
If I could navigate that kernel sharing drive I would try it out for sure. I guess I'll hope OnePlus includes this in their next update.

mikelsantanen said:
I get close to 600 mbits on my wifi 5GHZ... i guess teh phone is working just fine!
Click to expand...
Click to collapse
Do you mean on actual speed tests, or is that the association rate? I associate at 866Mbps but this is about the max speed I can pull on a speed test:

swhtownboy said:
I haven't had any issues, my speed are over 100 on 5GHZ network:good:
Click to expand...
Click to collapse
geoff5093 said:
Do you mean on actual speed tests, or is that the association rate? I associate at 866Mbps but this is about the max speed I can pull on a speed test:
Click to expand...
Click to collapse
Unless you two have tweaked your settings in a way that can help those who have had slow WiFi issues I would suggest taking your discussion elsewhere.

darkdragon88 said:
Unless you two have tweaked your settings in a way that can help those who have had slow WiFi issues I would suggest taking your discussion elsewhere.
Click to expand...
Click to collapse
Well I'm running ElementalX kernel. Its from people sharing experiences and what they're running that we can hopefully narrow down a fix.
Sent from my ONEPLUS A5000 using Tapatalk

Not sure what the issue is - my 5GHz speed is just fine

darkdragon88 said:
Unless you two have tweaked your settings in a way that can help those who have had slow WiFi issues I would suggest taking your discussion elsewhere.
Click to expand...
Click to collapse
No tweaks completely stock

geoff5093 said:
Do you mean on actual speed tests, or is that the association rate? I associate at 866Mbps but this is about the max speed I can pull on a speed test:
Click to expand...
Click to collapse
It's actually speed!
That result was a bit lower than usual because i have more than 10 devices connect to the router and netflix pumping...
(I have 1GB internet connection)

mikelsantanen said:
It's actually speed!
That result was a bit lower than usual because i have more than 10 devices connect to the router and netflix pumping...
(I have 1GB internet connection)
Click to expand...
Click to collapse
Where is the server you connect to? It's extremely strange you get 1ms ping on wifi.
Sent from my ONEPLUS A5000 using Tapatalk

geoff5093 said:
Where is the server you connect to? It's extremely strange you get 1ms ping on wifi.
Sent from my ONEPLUS A5000 using Tapatalk
Click to expand...
Click to collapse
There is nothing strange... i connect to the server located in the same city and same internet provider.
It's a know fact that the internet connections in Finland are top-notch and the infrastruture over-dimensioned. Also, i have a good router.
Do you think i would even waste my time trying to forge the results??? I have more important things to do in life

mikelsantanen said:
There is nothing strange... i connect to the server located in the same city and same internet provider.
It's a know fact that the internet connections in Finland are top-notch and the infrastruture over-dimensioned. Also, i have a good router.
Do you think i would even waste my time trying to forge the results??? I have more important things to do in life
Click to expand...
Click to collapse
Lol it's about wifi in general, I've never seen that low latency even when pinging your WiFi router.
Sent from my ONEPLUS A5000 using Tapatalk

geoff5093 said:
Lol it's about wifi in general, I've never seen that low latency even when pinging your WiFi router.
Sent from my ONEPLUS A5000 using Tapatalk
Click to expand...
Click to collapse
I was 4 meters from the router

mikelsantanen said:
I was 4 meters from the router
Click to expand...
Click to collapse
Doesn't matter lol. Probably just the app being weird
Sent from my ONEPLUS A5000 using Tapatalk

geoff5093 said:
Doesn't matter lol. Probably just the app being weird
Sent from my ONEPLUS A5000 using Tapatalk
Click to expand...
Click to collapse
I get those values with my iphone, ipad, apple tv 4G and mac mini. 1s-2s ping

Related

Unstable Wifi Connection on CM7

I'm having issues with the wifi connection having to be reset every few minutes when used. It seems to outright lose signal and can't even scan for networks until a reset. I'm on CM7 stable, using the latest OC kernel by Dalingrin. Anyone experiencing similar?
I have a similar issue.
From time to time (something like every 5 min), the connection seems ok (in the wifi pannel, it is stated as connected), but I can't access anything anymore by wifi. I have to disconnect and reconnect to my wifi router in order to make it work.
(I also use the last stable CM7... And apart from that, it's gorgeous ! )
So I'm indeed not alone in seeing this... interesting. Thanks for letting me know. As well, I agree, everything aside from the wifi works great and the tablet tweaks incorporated are nothing short of brilliant.
Mine is table with CM7 final and with Philmod 6, both with the 03/31 and 04/04 kernels.
same here - cm7 stable + 4/4 OC
just loaded up nightly 39 + 4/14/11A OC to try that combo
politiclaw said:
I'm having issues with the wifi connection having to be reset every few minutes when used. It seems to outright lose signal and can't even scan for networks until a reset. I'm on CM7 stable, using the latest OC kernel by Dalingrin. Anyone experiencing similar?
Click to expand...
Click to collapse
Is this not the same issue all over about AES? Check your router, if it's WPA2 it's AES, if it's WPA it could be AES.
CM7 and some routers have issues when AES is used, try to disable it.
installed nightly 39 + oc 4/14a no wifi issues so far
khaytsus said:
Is this not the same issue all over about AES? Check your router, if it's WPA2 it's AES, if it's WPA it could be AES.
CM7 and some routers have issues when AES is used, try to disable it.
Click to expand...
Click to collapse
Tanks : that worked for me !
FixB said:
Tanks : that worked for me !
Click to expand...
Click to collapse
You mind Starring this issue on the Cyanogen tracker? Make sure you put all the relevant information as well as your Router HW and FW. Thanks!
http://code.google.com/p/cyanogenmod/issues/detail?id=3314
I posted my remarks in a comment on the tracker.
But I'm afraid I don't know what you meant by "my Router HW and FW" ?
FixB said:
I posted my remarks in a comment on the tracker.
But I'm afraid I don't know what you meant by "my Router HW and FW" ?
Click to expand...
Click to collapse
hardware and firmware, ie brand name and model number and the version of software it's running.
animatechnica said:
installed nightly 39 + oc 4/14a no wifi issues so far
Click to expand...
Click to collapse
Can anyone else comment on this? I might just go down this route, but I'm wondering if there a few more who did similar and are seeing no wifi issue as a result.
Also, I'm surprised to see a CM7 final release with a wifi issue such as this. If it indeed is related to encryption (AES vs TKIP), that's further perplexing. While I could go about changing the settings for my router, I can't go about doing so for many others - particularly in public. As well, if I'm to tether from my N1, I'm going to do it with a password, meaning I'm to do it with AES as there isn't much choice built in.
I hate to say this as I'm impressed with the amount of work that went into (and normally always goes into) CM, but I figure it has to be said. To be fair, I'm not sure how widespread this issue may be (does it affect the version of CM7 on tablets, only?) but I'm surprised it can exist in a version of cm7 considered stable.
politiclaw said:
Can anyone else comment on this? I might just go down this route, but I'm wondering if there a few more who did similar and are seeing no wifi issue as a result.
Also, I'm surprised to see a CM7 final release with a wifi issue such as this. If it indeed is related to encryption (AES vs TKIP), that's further perplexing. While I could go about changing the settings for my router, I can't go about doing so for many others - particularly in public. As well, if I'm to tether from my N1, I'm going to do it with a password, meaning I'm to do it with AES as there isn't much choice built in.
Click to expand...
Click to collapse
I'll try 39 etc but I suspect if they made changes in that regard they would have said to retest in that logged bug.
As far as I know, I've heard reports this happens on some phones as well, not just tablets, not just the NC.
And it doesn't affect most people, in fact I'll bet it affects a minority of folks. If it affected everyone I'm sure CM7 wouldn't have released that way of course.
And yeah I'm with you, I _do not_ want to use my N1 tethered with Open encryption, but not much I can do until this is fixed.
khaytsus said:
I'll try 39 etc but I suspect if they made changes in that regard they would have said to retest in that logged bug.
As far as I know, I've heard reports this happens on some phones as well, not just tablets, not just the NC.
And it doesn't affect most people, in fact I'll bet it affects a minority of folks. If it affected everyone I'm sure CM7 wouldn't have released that way of course.
And yeah I'm with you, I _do not_ want to use my N1 tethered with Open encryption, but not much I can do until this is fixed.
Click to expand...
Click to collapse
Did you try 39 out? This issue is MIGHTY annoying for me as it is kind of hard getting a company with 39 000 employees to back away from AES on the WLAN..
Also going away from AES at home means that I cannot have my access point using 300 Mbit 802.11N which also is a real bummer.
I found this at the CM7 bugtracker, look at the final few posts there is a wifi-driver to try out.
http://code.google.com/p/cyanogenmod/issues/detail?id=3314
Also noticed there was a complete guide about pushing the file here: http://forum.xda-developers.com/showpost.php?p=11974146&postcount=22
So if CM7 on my phone works fine on wifi, that means a NC should work the same more or less, correct?
henel321 said:
Did you try 39 out? This issue is MIGHTY annoying for me as it is kind of hard getting a company with 39 000 employees to back away from AES on the WLAN..
Also going away from AES at home means that I cannot have my access point using 300 Mbit 802.11N which also is a real bummer.
I found this at the CM7 bugtracker, look at the final few posts there is a wifi-driver to try out.
http://code.google.com/p/cyanogenmod/issues/detail?id=3314
Also noticed there was a complete guide about pushing the file here: http://forum.xda-developers.com/showpost.php?p=11974146&postcount=22
Click to expand...
Click to collapse
I guess you didn't notice who posted in that bug, and posted tiwlan_drv.ko in the bug?
Anywho, for me it did help my own and work AP's, but it's still broken tethering to my phone. So it seems better but not perfect, give it a try. Just make a copy of the original tiwlan_drv.ko and push the single file from that zip up in its place and reboot.

CM7 Wifi Needs to be restarted every 3mb

Ok this is not your typical "my wifi wont connect issue"
i have tried a fios router, linksys cisco router w/ dd-wrt and linksys router stock. I first had cm7 on sd and assumed that was the issue so I flashed to emmc. It works great but the wifi stalls after about 3mb of transfer (or a couple of minutes of light usage) and i have to restart wifi with the power widget and it starts working again. EDIT: droid x and moto bravo work perfectly with these routers at the same time of the issue.
I already disabled wifi sleep policy.
I am using CM7 stable installed to emmc. its works fantastic otherwise but this is making it completely ususable for me. I dont think its a bad wifi chip since wifi was solid with HC on sd and seemed fine with stock nook 1.1.0
if i try to install an app it dies 75% through, if i try to play a youtube video it buffers 75% and then dies. it seems anything more than a simple web page lookup kills the wifi stack.
I havent had time yet to really dive in (been porting CWM to the motorola bravo in most my spare time) but hoping there is a simple fix out there, maybe i need to switch to dalgrin's kernel? but it also mentioned wifi issues and seems 2 weeks older than the kerenl supplied w/ cm7 but i am not sure.
This makes the nook completely unusable. Id rather not flash something else, it seems other people are having success w/ cm7 so I would like to work this out.
any ideeas? thanks
that sounds like possibly defective hardware honestly.... But you say it was fine on other ROMs so I dunno. I have had fewer problems on CM7 than Froyo myself. In fact CM7 has been solid with wifi. I wander around a lot with my NC and use many access points.
Do you have a logcat dump per chance?
If nothing is in the log, what is output of dmesg? Anything there that might suggest what's going on?
Also you might try checking out the command line program "wpa_cli". See if it helps you narrow down the issue. You can turn on additional debugging there.
Or, if you know how to rebuild your uRamdisk, appending "-DD" to the wpa_supplicant line in init.encore.rc would also give you more info in logcat...
One last thought-- if you are using dalingrins oc kernel, he took out a lot of debugging stuff (for speed), so if you want more info, revert to cm's stock...
swaaye said:
that sounds like possibly defective hardware honestly.... But you say it was fine on other ROMs so I dunno. I have had fewer problems on CM7 than Froyo myself. In fact CM7 has been solid with wifi. I wander around a lot with my NC and use many access points.
Click to expand...
Click to collapse
I hope its no hardware, its over 30 days old, i didnt get the extended warranty and I have a ghost armor on the screen
good to know your wifi is solid w/ cm7 and its not a general cm7 wifi issue. what encryption are you using?
bandroidx said:
I hope its no hardware, its over 30 days old, i didnt get the extended warranty and I have a ghost armor on the screen
good to know your wifi is solid w/ cm7 and its not a general cm7 wifi issue. what encryption are you using?
Click to expand...
Click to collapse
You have 1 year manufacture warranty.
Hello-
Its very unlikely to be Nook issue. I have had this issue with laptops and its always the ISP or the router.
Hope this helps.
Cheers,
mg
I had almost identical symptoms. I disabled encryption on my router and have had zero issues since.
Sent from my NookColor using Tapatalk
the same thing was happening to me and it just seemed to stop one day.. i think it was after nightly 35 or 36
Sent from my NookColor using Tapatalk
Calla969 said:
I had almost identical symptoms. I disabled encryption on my router and have had zero issues since.
Sent from my NookColor using Tapatalk
Click to expand...
Click to collapse
Check out my thread on wifi http://forum.xda-developers.com/showthread.php?t=959823&highlight=dummies
My guess is that it's something in the wifi chip driver ir the wifi software stack. I have the identical symptom where on youtube, it stops after a few mb of download. (Note for mine it was stock NC with auto-nooter 3.0.0) The fix for mine was to set the router to 802.11 g only. So try this test:
1. set the router to 802.11 g only
2. turn off encryption
Let us know what happens.
I'm thinking that these devices have varying wifi quality.
My Nook Color is rock solid with wireless, regardless of encryption. WPA2 AES works as well as no encryption. I use my NC regularly with about 5 different access points around town. I'm using Dalingrin's 1100 MHz kernel with CM7 stable.
On the other hand I have a Motorola Droid that barely works unless I either turn off encryption or go to 802.11b! Those Droids were rather notorious for poor wifi. It does the same thing the OP mentioned - it stops transferring after a few megabytes although it says it's still connected. The wireless must be disabled and re-enabled.
It's AES, plain and simple. Turn it off on your router. if you're using WPA2, set it to WPA.
Your problems will go away. Now go to this thread, star it, and add your info please: http://code.google.com/p/cyanogenmod/issues/detail?id=3314
khaytsus said:
It's AES, plain and simple. Turn it off on your router. if you're using WPA2, set it to WPA.
Your problems will go away. Now go to this thread, star it, and add your info please: http://code.google.com/p/cyanogenmod/issues/detail?id=3314
Click to expand...
Click to collapse
Lol I was 99% sure of this. I had the same problem on 2.6.29 kernels on my dx. it magically went away on 2.6.32.
I am using AES, I was going to try to turn it off next, now I know
thanks.
Fattire, thanks, I checked wpa_cli and it just fails to find anything and the scans fail once the issue happens.
The one thing all those routers I tried had in common was AES, its the only thing I really trust. I guess i will have to setup a stub network and seperate AP for the nook color
thanks!
After setting the AP to WPA2/WPA Mode the Nook's wifi is working perfectly under CM7 (except for needing to be restarted after the screen is off when sleep policy is on but i beleive this is a common documented issue)
thanks!
I posted on the cm7 thread and hopefully they will get this fixed asap.

Another Nexus 4 Wifi issue - BMPS?

As many of us know, there are many different wifi connectivity issues plaguing the Nexus series running Android 4.2. These issues have different but similar symptoms, and so many of us have come across solutions that work for us, but don't work for others. One is the ARP filtering issue which is expected to be fixed by Google in the android 4.2.2 release.
Over at the Android bug tracker on issue 40306, someone appears to have discovered a solution to another issue - one which is solved in a similar way, but by changing the gEnableBmps line rather than the McastBcastFilter line. (BMPS apparently stands for Beacon Mode Power Saving) However, as this appears to (similarly) disable a power-saving feature, the impact on battery life is significant.
The issue I have that this setting change fixes is that, while I can connect reliably to my router (Linksys e4200v2), my throughput becomes limited to a maximum of 50-60kbps shortly after connection. Oddly, with my router this only appears to happen over the 5Ghz band - over 2.4Ghz I hit no such restriction, but throughput still isn't great because of 2.4Ghz saturation in my area.
If you're having wifi issues, try this out (if you know what you're doing! please don't change system files otherwise) and see if it works. maybe someone smarter than me can provide the insight necessary to find a better workaround, or a fix?
To save a click, here's the fix:
1. Get root access
2. Open /system/etc/wifi/WCNSS_qcom_cfg.ini
3. Set gEnableBmps=0
This issue, like many others, appears not to be fixed in 4.2.2.
set the gEnableBmps=0 works for me
Hmm, I tried this. Now my Wi-Fi won't turn on. So I reverted the change and my Wi-Fi still will not turn on.
Sent from my Nexus 4 using xda app-developers app
That's really odd. I've been flipping it on and off for weeks and never had problems getting wifi to turn on.
Trek me about it, then this morning my data wasn't even working. Must have been something else, coincidence. Lucky I had a nand from earlier in the day do I'm all good now. Maybe I'll try it again...
Sent from my Nexus 4 using xda app-developers app
jonnyb16 said:
Hmm, I tried this. Now my Wi-Fi won't turn on. So I reverted the change and my Wi-Fi still will not turn on.
Sent from my Nexus 4 using xda app-developers app
Click to expand...
Click to collapse
Set permissions to rw-r-r... (then reboot)
Got all my permissions set, the change did hold in the INI file. Still haven't gotten around to trying it a second time.
Sent from my Nexus 4 using xda app-developers app
Anyone else getting nasty battery-drain without any actual improvements from this tweak? At least for me this increases the kernel wakelocks, consequently lowering the amount of deep sleep.
sigmabeta said:
As many of us know, there are many different wifi connectivity issues plaguing the Nexus series running Android 4.2. These issues have different but similar symptoms, and so many of us have come across solutions that work for us, but don't work for others. One is the ARP filtering issue which is expected to be fixed by Google in the android 4.2.2 release.
Over at the Android bug tracker on issue 40306, someone appears to have discovered a solution to another issue - one which is solved in a similar way, but by changing the gEnableBmps line rather than the McastBcastFilter line. (BMPS apparently stands for Beacon Mode Power Saving) However, as this appears to (similarly) disable a power-saving feature, the impact on battery life is significant.
The issue I have that this setting change fixes is that, while I can connect reliably to my router (Linksys e4200v2), my throughput becomes limited to a maximum of 50-60kbps shortly after connection. Oddly, with my router this only appears to happen over the 5Ghz band - over 2.4Ghz I hit no such restriction, but throughput still isn't great because of 2.4Ghz saturation in my area.
If you're having wifi issues, try this out (if you know what you're doing! please don't change system files otherwise) and see if it works. maybe someone smarter than me can provide the insight necessary to find a better workaround, or a fix?
To save a click, here's the fix:
1. Get root access
2. Open /system/etc/wifi/WCNSS_qcom_cfg.ini
3. Set gEnableBmps=0
Click to expand...
Click to collapse
Thank you so much! I did this gEnableBmps fix + the McastBcastFilter fix (described here http://forum.xda-developers.com/showthread.php?t=2072930 and I see a much more stable WiFi connection.
Thank you!
Toss3 said:
Anyone else getting nasty battery-drain without any actual improvements from this tweak? At least for me this increases the kernel wakelocks, consequently lowering the amount of deep sleep.
Click to expand...
Click to collapse
I'm the author of post #136 in Android issue #40306 (can't post link)
Yes, turning off Bmps multiplies by about 10x battery usage while device not in use (from 0.5%/hour to 5%/hour).
Unfortunately, I haven't found any other way to make it work at this time.

[Q] WiFi Reception Issues, Nook HD+, Regardless of ROM

Hey guys. I have made a couple posts about WiFi issues in other threads, such as the CM12 development thread, and I started a thread about my WiFi issues in CM12, but haven’t gotten feedback. Anyways, I now know my WiFi woes go beyond just CM12, so I’m not trying to duplicate threads, but rather I’m making a general thread about this issue as I am desperate for help.
Some time back I started having very poor WiFi reception on my Nook HD+. What I attributed it to at the time was installing CM12. However, it’s possible this started happening prior to CM12 when I was on SlimKat or CM11. I have done some more extensive testing on this and would like to give you guys the run-down and see if you have any ideas.
For the first 1+ year I had this tablet, I ran CM10.2.1 without any issues at all, and although the WiFi reception was a little bit weaker than my other devices, it was never weak enough to cause any issues. At some point this past fall I tried out some KitKat builds, CM11 and SlimKat. I had trouble with the stability of those builds, and I can’t recall if my WiFi reception was good or bad on those, but I think it was okay. Because of the stability issues on those ROMs, when CM12 came out I hopped on that to see if it was going to be better.
My WiFi reception on CM12 was very poor. Only sometimes could I stream my video and even then it would cut off after a few minutes. I figured CM12 was the issue so I rolled back to the ‘Jamus28’ ‘Unofficial CM10.2.1 Stable w/ TabletUI + ArchiDroid Optimizations’, since CM10.2.1 ran great for me for so long. I figured that although I wouldn't be running the latest and greatest (Lollipop), at least I would have my stability and more importantly, my WiFi stability back. Apparently I was mistaken.
I am still having WiFi reception issues regardless of which ROM I am on. I have tested at areas around my apartment on the different ROMs. I’ve done most of the testing on the CM10.2.1. The WiFi signal fluctuates greatly, mostly at very very low speeds (using Speedtest app, 1-2 Mbps in some areas, but never gets above 8 or so even right next to the router). On my other devices I get 20-30 Mbps. I've had similar troubles now at my church on their network, which used to have a great connection for me, so I don't feel it's specific to my network.
I have done a ‘hard factory reset’ of my router and set it up from scratch. Last night, I couldn't even start a stream up at all. All of my ROM flashes are always clean flashes. Part of what I’m wondering is – is there something that could be sticking in my tablet files, despite doing clean flashes, that could be causing these issues? Is there any universal command or file between the different ROMs I can check on? Do I need to try a complete and utter wipe of my Internal Storage and start from scratch? Or do you think I just have a device that the hardware has gone bad on? The main apps I stream and thus have had trouble with are WatchESPN and Netflix. I've also had the troubles with YouTube.
Any input, suggestions, or tips are greatly appreciated! Please let me know if I can provide any other information to help troubleshoot. Thanks in advance.
Have you installed a WiFi Analyzer? It can be very helpful for finding both sweet spots and trouble spots.
WiFi can be a fickle beast. Interference can come from a myriad of sources. If you're sure its your HD+, it could even come down to how you hold it. Do you have big,wet hands?
wellersl said:
Have you installed a WiFi Analyzer? It can be very helpful for finding both sweet spots and trouble spots.
WiFi can be a fickle beast. Interference can come from a myriad of sources. If you're sure its your HD+, it could even come down to how you hold it. Do you have big,wet hands?
Click to expand...
Click to collapse
Yes, thank you for the tip. I've used that app and optimized my network channels for my location, but it hasn't helped out the ole Nook.
And joking aside, I've tried all sorts of locations and positions!
d9ct said:
Yes, thank you for the tip. I've used that app and optimized my network channels for my location, but it hasn't helped out the ole Nook.
And joking aside, I've tried all sorts of locations and positions!
Click to expand...
Click to collapse
As you have found out it is hard to differentiate between hardware and software but my "guess" would be software. My thinking is signal strength is not your problem as distance makes very little difference. My suggestion, and I'm sure you have thought of this, would be to go back to stock (Leapinlar has great info and instructions) and move forward into CM 10.1 or CM 10.2. You can still download the official stable from the CM site. If going back to completely stock does not help then moving on to a different tablet is the option.
Kokercey just reminded me that I once had WiFi problems with my old tablet (BNTV250). I used WiFi Fixer from the Play Store. I recall that it solved the problem, though I don't recall what exactly the problem was. Anyway, it can't hurt. And it's a lot less traumatic than restoring to stock and starting over. But that would be my next step.
Thank you both for the suggestions. I will check out that WiFi fixer when I am at home.
I had thought about and read about the benefits of going back to stock. My curiosity is, does full-wiping and going to stock OS and then back to CM have an advantage over a complete Internal Storage wipe and then going back to CM?
d9ct said:
Thank you both for the suggestions. I will check out that WiFi fixer when I am at home.
I had thought about and read about the benefits of going back to stock. My curiosity is, does full-wiping and going to stock OS and then back to CM have an advantage over a complete Internal Storage wipe and then going back to CM?
Click to expand...
Click to collapse
One of the advantages of going back to stock and wiping instead of just wiping is going to stock also resets your bootdata and recovery partitions and wiping does not. That may not make a difference in your issues, but who knows.
Sent from my BN NookHD+ using XDA Premium HD app
Thanks guys. I tried the WiFi Fixer, but it seems more geared towards issues connecting to a network. I seem to connect okay.
One clue I forgot to mention is that when I use the speedtest app, my upload speeds are faster than my download speeds 98% of the time. Usually 5-7 Mbps compared with the dismal download speeds of ~1-3 Mbps.
@leapinlar, to go back to stock, I would reference item #6 in your CWM Root Tools thread? Flash the older recovery, full wipe, and flash the stock zip? Which stock zip do you recommend for just the reason of cleaning things up? Can I use the rooted zips? Whichever one makes it easiest to get back to a newer recovery and CM is obviously what I'd be looking for.
Thank you all for the help.
d9ct said:
Thanks guys. I tried the WiFi Fixer, but it seems more geared towards issues connecting to a network. I seem to connect okay.
One clue I forgot to mention is that when I use the speedtest app, my upload speeds are faster than my download speeds 98% of the time. Usually 5-7 Mbps compared with the dismal download speeds of ~1-3 Mbps.
@leapinlar, to go back to stock, I would reference item #6 in your CWM Root Tools thread? Flash the older recovery, full wipe, and flash the stock zip? Which stock zip do you recommend for just the reason of cleaning things up? Can I use the rooted zips? Whichever one makes it easiest to get back to a newer recovery and CM is obviously what I'd be looking for.
Thank you all for the help.
Click to expand...
Click to collapse
Yes, item 6. The newest plain stock, not the rooted one. And just use the older bootable CWM SD to put the cm10s on. Don't bother with putting recovery on internal until you are ready to put the newer one on for CM11, if you get that far.
Sent from my BN NookHD+ using XDA Premium HD app
leapinlar said:
Yes, item 6. The newest plain stock, not the rooted one. And just use the older bootable CWM SD to put the cm10s on. Don't bother with putting recovery on internal until you are ready to put the newer one on for CM11, if you get that far.
Sent from my BN NookHD+ using XDA Premium HD app
Click to expand...
Click to collapse
Thanks. Can you please check and/or correct my steps below?
- Make older bootable CWM card
- Boot to the bootable card recovery
- Wipe everything except external storage (will this wipe the current internal TWRP? Everything?)
- Flash stock zip
- Boot to stock?
- Reboot to the SD card CWM
- Factory reset wipe
- Flash CM10.x as normal
Will the device automatically boot to the SD card CWM and not my internal TWRP?
d9ct said:
Thanks. Can you please check and/or correct my steps below?
- Make older bootable CWM card
- Boot to the bootable card recovery
- Wipe everything except external storage (will this wipe the current internal TWRP? Everything?)
- Flash stock zip
- Boot to stock?
- Reboot to the SD card CWM
- Factory reset wipe
- Flash CM10.x as normal
Will the device automatically boot to the SD card CWM and not my internal TWRP?
Click to expand...
Click to collapse
The CWM SD should boot on its own after inserting it. If it does not then you need to remake it. After booting to the CWM SD do a factory reset with the CWM. That is the only wiping necessary. It does not remove the internal TWRP. The next step does that as part of flashing the stock zip. And yes boot to stock and set it up to test your wifi issues before moving on to CM.
Sent from my SCH-i705 using XDA Premium HD app
leapinlar said:
The CWM SD should boot on its own after inserting it. If it does not then you need to remake it. After booting to the CWM SD do a factory reset with the CWM. That is the only wiping necessary. It does not remove the internal TWRP. The next step does that as part of flashing the stock zip. And yes boot to stock and set it up to test your wifi issues before moving on to CM.
Sent from my SCH-i705 using XDA Premium HD app
Click to expand...
Click to collapse
Okay. I did the following:
- Made older bootable CWM card
- Booted to the bootable card CWM recovery
- Performed factory reset in CWM
- Flashed stock unrooted 2.2.0 zip
- Booted to stock and activated into the tablet through my WiFi network.
I've done a little testing running in the stock OS. The WiFi speeds seem to be almost identical to before this exercise (via the Speedtest app). The one difference I am noticing is in the usage of the WatchESPN app. Beforehand, a stream would start at a decent resolution (or not start at all) and then the stream would cut out and not reconnect, presumably when the signal fluctuated too low. Now on the stock OS, it is staying connected, but at a very very low resolution. So it almost seems to be more stable but a really low quality.
I don't remember exactly what the speeds used to be in the tablet's good days, because I never had a reason to study any speed tests. All I know is that anywhere around my apartment it would stream all of these apps at HD resolution with no problems. This is a bummer. Maybe it's just hardware gone bad.
d9ct said:
Thanks. Can you please check and/or correct my steps below?
- Make older bootable CWM card
- Boot to the bootable card recovery
- Wipe everything except external storage (will this wipe the current internal TWRP? Everything?)
- Flash stock zip
- Boot to stock?
- Reboot to the SD card CWM
- Factory reset wipe
- Flash CM10.x as normal
Will the device automatically boot to the SD card CWM and not my internal TWRP?
Click to expand...
Click to collapse
It sounds more like a router change if it is the same on both ROMs. Have you done anything different lately. Even connecting some other new device to the router. Other users have had issues when two devices interfere with each other. Like two HD+s on the same router.
Sent from my SCH-i705 using XDA Premium HD app
leapinlar said:
It sounds more like a router change if it is the same on both ROMs. Have you done anything different lately. Even connecting some other new device to the router. Other users have had issues when two devices interfere with each other. Like two HD+s on the same router.
Sent from my SCH-i705 using XDA Premium HD app
Click to expand...
Click to collapse
Interesting. I did get a new HP computer in December, which come to think of it could be when these problems started, but I can't say for sure. It runs on the same 2.4 GHz band that the Nook HD+ runs on. Some time before that my wife and I both changed phones. We almost always have the phones on my 5 GHz band. Other than that I have a laptop and Kindle Fire that we've had for a very long time.
Last weekend I did a factory reset of the router due to issues I was having with my phone connecting on Lollipop. I set it back up the same as it was prior. After doing the reset my phone was able to connect again. As noted above, it runs on the 5 GHz. Prior to last weekend the router had been the same for quite some time, certainly well before the tablet WiFi issue.
Perhaps try some testing with the new laptop shut down?
Edit: I did get a new router some time back, but I feel it was surely before these troubles, maybe last summer or so. Let's say it wasn't... how would I test this?
d9ct said:
Interesting. I did get a new HP computer in December, which come to think of it could be when these problems started, but I can't say for sure. It runs on the same 2.4 GHz band that the Nook HD+ runs on. Some time before that my wife and I both changed phones. We almost always have the phones on my 5 GHz band. Other than that I have a laptop and Kindle Fire that we've had for a very long time.
Last weekend I did a factory reset of the router due to issues I was having with my phone connecting on Lollipop. I set it back up the same as it was prior. After doing the reset my phone was able to connect again. As noted above, it runs on the 5 GHz. Prior to last weekend the router had been the same for quite some time, certainly well before the tablet WiFi issue.
Perhaps try some testing with the new laptop shut down?
Edit: I did get a new router some time back, but I feel it was surely before these troubles, maybe last summer or so. Let's say it wasn't... how would I test this?
Click to expand...
Click to collapse
To eliminate potential interference from other devices temporarily disconnect everything from the router except the Nook. Bluetooth could also be an issue. It runs on the 2.4GHz band too. As I remember the earlier issue was when an HD+ and an HD both connected the HD+ (and other devices) slowed way down. There was a software problem with the HD which got fixed eventually.
Sent from my BN NookHD+ using XDA Premium HD app
Your quickest path is to simply turn them all off and test only with what's needed for the nook, which is wifi router/modem and the nook. Unplug the house phones, turn off computers, forget the wifi on the mobiles/tablets, airplane mode, or similar. etc.
One other thing I will point out is that testing max wifi speed over internet isn't the best idea as the results are less guaranteed.. The internet is out of your hands and devices are recognized and delt with on that end as well. Using btsync (http://www.getsync.com/ , https://play.google.com/store/apps/details?id=com.bittorrent.sync&hl=en) and transferring locally a large file (few hunderd MBs or so) from your dektop/laptop to the device though the wifi router/modem (the desktop/laptop should be wired to the router for troubleshooting here) will be able to max out the wifi connection and it shows the transfer speed. Unfortunately, simple ways such es file explorer or similar cannot do so. Transferring small files though btsync also shouldn't max it out as that creates a bottleneck.
The best these things can do is just over 4MBps.
Okay guys, thank you for the help, I do appreciate it. I did a little more testing. I turned off everything I have and just ran the Nook on the modem and router. Unfortunately I didn't notice an improvement in the speeds doing my poor-mans tests (speedtest app and streaming). Similar to yesterday I am able to stream a decent-to-good quality in the immediate proximity of the router, but a low quality further away. I then whipped up the WiFi Analyzer again and decided to try a different channel, but I am still having similar results.
I have not tried the Sync app yet, but thank you for that suggestion, perhaps I will give it a try. Is 4 MBps really all these devices can do? That sure seems low, but I guess I don't know what is typical for a tablet...
I would like to point out clearly that I am in an apartment building. There are a LOT of surrounding networks and devices. However, I've been here for more than two years now and it wasn't an issue prior to these last however many months. Is it possible I have a new neighbor with some new device(s) that are causing additional interference, perhaps?
A side question I have, and maybe it should go in a new thread, is that I've tried a few times to bluetooth tether the Nook to my phone and use the phone's WiFi for the Nook, but when I get to the step of actually selecting to use the phone for WiFi, the Nook wouldn't allow me to select/activate. I would just press and nothing would happen. This was happening on CM; I haven't tried today as I still have it on the Stock OS. Any idea why that wouldn't work on CM?
d9ct said:
but a low quality further away. I then whipped up the WiFi Analyzer again and decided to try a different channel, but I am still having similar results.
Click to expand...
Click to collapse
With wifi analyzer if your wifi is -30 your in great shape with signal strength which one less bar may occur in the -50 range. And if it shows your wifi is on a good channel then its not going to do much for you.
d9ct said:
Is 4 MBps really all these devices can do? That sure seems low, but I guess I don't know what is typical for a tablet...
Click to expand...
Click to collapse
It is for the nooks. 65 link speed is absolute max.
d9ct said:
Is it possible I have a new neighbor with some new device(s) that are causing additional interference, perhaps?
Click to expand...
Click to collapse
I assume you have a mimo router (multiple antennas) and dual band as well in which case the nooks can't take advantage of that and interference could be more of an issue. But, if you have a cheap end HP laptop it may have the same basic wifi as the nooks - if you look at the connection info in the nook wifi settings and the connection info on the HP networking and they both show 65 link speed that would help confirm the nook is indeed having a problem with something (ignoring any possible differences between internal antenna design). (It looks like HP laptops MSRP above $1k get various combinations of dual band, dual antenna, ac wifi.)
sandsofmyst said:
With wifi analyzer if your wifi is -30 your in great shape with signal strength which one less bar may occur in the -50 range. And if it shows your wifi is on a good channel then its not going to do much for you.
It is for the nooks. 65 link speed is absolute max.
I assume you have a mimo router (multiple antennas) and dual band as well in which case the nooks can't take advantage of that and interference could be more of an issue. But, if you have a cheap end HP laptop it may have the same basic wifi as the nooks - if you look at the connection info in the nook wifi settings and the connection info on the HP networking and they both show 65 link speed that would help confirm the nook is indeed having a problem with something (ignoring any possible differences between internal antenna design). (It looks like HP laptops MSRP above $1k get various combinations of dual band, dual antenna, ac wifi.)
Click to expand...
Click to collapse
I will check this evening what type of signal strength it was. It is a low end HP laptop and it only runs the 2.4 GHz band so it sounds like what you're talking about. I can check on the device info this evening. However, I had it off yesterday when testing around again and I don't think I noticed much of a difference. Last night I watched a little more streaming and it's possible it was slightly better quality for longer periods, but I can't say for sure.
sandsofmyst said:
With wifi analyzer if your wifi is -30 your in great shape with signal strength which one less bar may occur in the -50 range. And if it shows your wifi is on a good channel then its not going to do much for you.
It is for the nooks. 65 link speed is absolute max.
I assume you have a mimo router (multiple antennas) and dual band as well in which case the nooks can't take advantage of that and interference could be more of an issue. But, if you have a cheap end HP laptop it may have the same basic wifi as the nooks - if you look at the connection info in the nook wifi settings and the connection info on the HP networking and they both show 65 link speed that would help confirm the nook is indeed having a problem with something (ignoring any possible differences between internal antenna design). (It looks like HP laptops MSRP above $1k get various combinations of dual band, dual antenna, ac wifi.)
Click to expand...
Click to collapse
Hey guys, I had some very busy weeks of work and then a vacation and then some more busyness. I haven't had any improvement in the tablet WiFi in that time. I did some testing today using the BT Sync software. Let me note a few more things first:
- I checked the Link Speed on my Nook HD+ and it mostly read 54 or 72 mbps. I never saw it at 65. I actually saw it go down to 1 a few times but then back to 54 or 72.
- I checked the Link Speed on my HP Laptop and it read 72 mbps, again I never saw 65; it stays steady at 72.
I've done some more using of the tablet around the HP laptop and it doesn't seem to have an effect that I can tell whether the HP is off or on.
FYI I have a Netgear N300 router.
My WiFi analyzer app shows that with my Nook literally within one foot of my router my signal strength gets no stronger than -50. Nowhere near -30 ever. In my further rooms from the router it drops to -60 to -70.
I did the testing using BT Sync you recommended. I connected my other laptop directly to the router and disabled it's wireless as well as the wireless on the HP laptop. I installed Sync on both the laptop and my Nook. I transferred (actually it's still attempting to transfer) a folder with several files, the main one being around 200 megs which it has been chugging away on. With all the other devices off this transfer topped out around 350 KB/s. More consistently it has been around 200 - 250 KB/s.
Edit: Let me know if you think I'm using the Sync app incorrectly to have that slow of speeds. However it doesn't seem far fetched to me based on my performance I have at times (browsing, app installs, etc.)
I hope this provides some more clues for you guys, I'll add a post if I think of anything else. I appreciate all continuing suggestions. Thank you for your help thus far.

[Q] - Nexus 6 Wifi Slow

Hello All,
Just got a nexus 6 and went ahead and installed a custom rom (Pure Nexus).
Not sure if its a ROM issue or not (Trying a different rom shortly), but my wifi is terribly slow. I put it next to my amazon fire tablet and ran a speed test multiple times.
Amazon - Avg is 15-20
Nexus is 5-7
I have read some forums that says changing the band helps or forgetting the network and readding but no luck.
Anyone else have any tips before I have to send it back for a new one?
How old is your router?
Strephon Alkhalikoi said:
How old is your router?
Click to expand...
Click to collapse
Less than a year. ATT UVerse provided router.
No problems here, I did a 135 down and 50 up on Comcast router
Looks like something with the Rom. I put Chroma on it and now get around 20 down. I do not think its app related as I just restored all using TB.
Going to clean flash pure and try again.
It's not Pure Nexus, but something else. I'm getting 160 down, 12 up (802.11ac) on Pure Nexus. Have you updated your device's baseband to the latest?
Stock ROM, 802.11n, reaching ISP cap of 60/10 on web speed tests.
Strephon Alkhalikoi said:
It's not Pure Nexus, but something else. I'm getting 160 down, 12 up (802.11ac) on Pure Nexus. Have you updated your device's baseband to the latest?
Click to expand...
Click to collapse
Found out it was a rogue app that caused it. Thanks for your responses. Can you point me to the latest baseband? I saw the Modem Collection thread here but the latest looks to be for the M preview back on 7/10?
Go to Google's firmware page and download the latest firmware package. Extract the files inside. I believe there will be an additional archive in the firmware package that you can extract that will contain the radio image.
I was having slow WiFi issues too. I updated the firmware on my router and switched the channel and now it flies.
That's not so easy to do when the entire 2.4GHz band is congested with connections, as it is in my area. Simply changing the channel didn't work for me, and I had to get new hardware that supported 5GHz. The gamers and video watchers in the house all appreciated it.
Other phone is same?
my problem previously was the same..i tried it with stock and aosp based roms, then i went to asked my sister to call our isp.. and the technician was able to verify the problems.. it was our internet cable.. they replaced it and it worked back to normal..
I had a similar problem, but only with the 2.4Ghz band, I live in an apartment complex and in Los Angeles so it's even worse. Luckily nobody uses the 5Ghz band so that works fine for me.
Update but found out that the issue is that my wifi slows down when my BT is on. Does not have to be connected, just have to be on...
Another Update is that I found out the combo is...
Wifi Connected + BT on (Does not have to be connected) + RetailMeNot App
I froze RTMN and now there is no slowness.
So the app is the culprit, not the combination of bluetooth and WiFi. Good thing you got it sorted.

Categories

Resources