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:


Also in another occasion these:


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 {} in /proc/net/arp


I WifiHs20Service: Message received 5014
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?


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.


Same issue for me as well ----

I have used Samsung S7 Edge in the year 2016 & 2017 two years. Experienced no issues at all, later switched to apple for a year then came back to Android with same Samsung S7 edge device, after the release of S8 & S9. I started to experience a weird issue. The internet connectivity on the home Wi-Fi keeps disconnecting. I must turn off the Wi-Fi then turn it on to make it work, and after a period of time the issue re-occurs. This is totally irritating, I must toggle ON & OFF switch for wi-Fi under settings options (which is not a big deal, but yet) every time to make the internet active. At times when I keep the phone in idle; the internet connection goes off, which I am not even aware of and I tend to miss important mails.

The issue does not occur if I am using the mobile data; the internet stays connected for a very long time; the same issue does not occur if I am connected to my office WI-FI or restaurant WI-FI. The issue only persists for my home WI-FI Initially I though this is my internet ISP provider issue, then thought it’s the router issue, later when I started to use my laptop; I have not experienced the same issue. Which rules out my ISP & router issues which is suspected, all the other devices in my home works perfectly except the Samsung S7 edge.

I did few searches on the internet and found there are few other people who have experienced the same problem; with the solutions they have provided – tried all the possible software configuration. Did reset the network settings, then finally did format the phone it observed it for few days. The issue has not occurred, then have done all the security updates to the phone and made the phone up to date with software update, there you go the issue popped up again. Totally irritated. Then I thought this might one device defect issue. Thought to give another change to Samsung brand. Gave the old phone to my finance who relays only on mobile data for internet.

Then I bought a new phone Samsung S7; there was no issues for couple of days, did all software updates there you go – the issue occurred again. I have been experiencing this issue for the last 6 months totally lost patience today as I have done this Wi-Fi switch toggle today exactly for 67 times for the last 6 hours; though I have not been using the mobile device for the whole 6 hours. I would say I have used my phone for 2 or 3 hours where I have ended up toggling the Wi-Fi switch.

Like apple did to drain out the device batteries for Apple devices, I guess Samsung found this way to irritate users to switch phones. I must confess here to Samsung that you have succeed in your plan, as now I have given up the Samsung S7 and the Samsung brand. Not a big fan of Chinese brand but lately with the devices that Huawei manufactures I have decided to go with Huawei brand. Good bye Samsung.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.