Thursday, September 19, 2019

wi fi - Samsung S7, Wifi keeps disconnecting


I've searched around, and so I can ensure that this is not a duplicate.



  • Smart Network Switch is off

  • Keep Wifi on during sleep

  • Wifi works excellent for other devices

  • Wifi disconnects randomly even while the screen is open and device is in use



I opened up the Developer options, and turned on "Wi-Fi verbose logging" and when it disconnected, I saw these messages:



  • NETWORK_SELECTION_PERMANENTLY_DISABLED

  • NETWORK_SELECTION_DISABLED_BY_WIFI_MANAGER=2


Also in another occasion these:



  • NETWORK_SELECTION_DISABLED_BY_ASSOCIATION_REJECTION=1

  • NETWORK_SELECTION_DISABLED_BY_WIFI_MANAGER=1



The issue seems to be since installing an application, but I've uninstalled all recent applications on my phone, and it hasn't gotten better.


Safemode seemed to fix it, so there must be some kind of application interference, but the Wifi Control History only lists applications that turned on the wifi.


My only solution so far has been to disable wifi and re-enable it, or open up the wifi network manager in android, and tap the wifi connection. (presumably to override the 'network selection disabled')




Some logcat details:


[ 08-14 13:44:35.460  1364: 2509 E/WifiStateMachine ]
Did not find remoteAddress {10.100.5.1} in /proc/net/arp

and



I WifiHs20Service: Message received 5014
E WifiHs20Service: received HS20_UTILITY_ACTION_TYPE_HS20_CONFIGURATION_CHANGED
D WifiStateMachine: DisconnectedState !CMD_GET_CONFIGURED_NETWORKS uid=10225 rt=2982499/2982499 10225 0 num=40
D WifiStateMachine: ConnectModeState !CMD_GET_CONFIGURED_NETWORKS uid=10225 rt=2982500/2982500 10225 0 num=40
D WifiStateMachine: DisconnectedState !CMD_GET_CONFIGURED_NETWORKS uid=10225 rt=2982511/2982511 10225 0 num=40
D WifiStateMachine: ConnectModeState !CMD_GET_CONFIGURED_NETWORKS uid=10225 rt=2982511/2982511 10225 0 num=40

When turnnig wifi back on, I sometimes see:


WifiStateMachine: There are no configured ssid


followed by many SSIDs of wifis I've already used. The SSID in range is not listed. Perhaps because the SSID in range is marked 'permanently disabled' (see above)




Additional Edit, more info:



  • I'm unable to reliably replicate this. It only disconnects when I'm assuming it'll work, and it doesn't seem to be crashing while I'm trying to use it.

  • I got a disconnect while doing a beyondpod (podcast app) update: https://pastebin.com/Edx7ADXZ Things to note:

    • I could not duplicate it with just the podcast app

    • If you search in the log for beyondpod, you'll see more information about where the disconnect happens. Sometime before: "08-23 12:53:46.600"







Update 3:


I wiped my phone, and it was fine for a while, but it came back. The same error codes: NETWORK_SELECTION_PERMANENTLY_DISABLED and NETWORK_SELECTION_DISABLED_BY_WIFI_MANAGER=2


I guess wiping it was not sufficient.


Is there anything I can run to constantly reset my wifi (when the hardware switch is on) to effectively cancel out whatever is turning it off?



Answer



Android didn't indicate which applications where toggling the wifi status accurately, and the logs were unhelpful.


I later noticed that "MyCricket", an application that helps pay for my Phone Service, had a setting titled: Turning on Cricket Wi-Fi Manager



Turning off this setting fixed it. I wish the Android controls had been more helpful.


No comments:

Post a Comment

samsung galaxy s 2 - Cannot restore Kies backup after firmware upgrade

I backed up my Samsung Galaxy S2 on Kies before updating to Ice Cream Sandwich. After the upgrade I tried to restore, but the restore fails ...