Cool. Someone actually has the same problem that I have. I asked Gemini advanced model to do a research on this issue and it is a known issue with Android 15. It mostly affects Pixels and Samsungs. The problem is that during Doze Mode (deep sleep) a DHCP lease renewal happens and the phone misses the handshake and awakes, then it enters an inconsistent state, which causes wifi driver to crash and it will not recover without a restart. At home I have assigned a static IP for my home network, which is handled like an “indefinite lease”, so the handshake will not happen during Doze Mode. It still crashes sometimes, but less often. My guess is that other manufacturers have fixed the bug, but as Fairphone is almost pure AOSP, then it’s not fixed and the bug is part of AOSP.
Now it’s already 30 hours after enabling Wi-Fi band steering and everything works just fine. So it seems that this is not the main cause of the problem.
experiencing the same problem here. Hope there will be a fix by FP in stead of having to tweak my WiFI access points settings.
I wanted to rule out possible issues roaming between mesh points, so I reconfigured my network to keep only one Nest Wifi Pro active and basically working as a router. I’ve made the changes in the morning and the wifi crashed 3 times during the afternoon (that’s the first time I have more than one crash in the same day).
I have now configured a separate router that does not support WiFi 6 and connected the phone to it, let’s see how that goes.
Many days later, I noticed today I had no wifi on my phone again. Not sure when it broke again. Reboot fixed it.
Perhaps you can try to turn on Flight mode and then off instead of a reboot.
Pretty sure I tried that, and it didn’t help. Neither turning off wifi and back on. Just in case I am misremembering I’ll give it another try next time it happens though and report back.
@Maidenhead is right, switching on flight mode or trying to turn off and on WiFi doesn’t restore access. The logs in this thread confirm that the network device is unavailable once the issue is triggered.
Also have this issue. very annoying . it says “searching for networks” indefinitely and simply nothing shows up until i restart. if i press the wifi toggle to turn it off, it slides to the off position for a few moments and then goes back to the on position. really silly stuff.
No, not using WiFi 6
It’s been almost a week since I moved from the WiFi6 router to a regular router that only operates in 2.4 and 5GHz, and not a single issue or reboot.
The experience with the phone has also improved. Battery is lasting a bit longer than before and the WiFi signal is consistently high (it was oscillating a lot and was never full with wifi6).
I informed the Fairphone support about it, let’s see how it goes.
I ran a series of experiments and identified a single router setting that triggers the problem. When the 5 GHz Wi-Fi bandwidth is set to “Auto” (which it was by default), the issue occurs several times within a 24-hour period. When I change only this setting to 80 MHz (with “Auto” extension channel), the problem completely vanishes, with zero issues observed over more than 30 hours.
I also expected a fix from FP, but after several months of pain with multiple reboots per day, and a completely unhelpful conversation with FP support, I no longer believe they are working on this issue. A fix may eventually come from upstream driver developers, but that could take several more months, so the workaround using AP settings is a big deal for me.
Disabling Wi-Fi 6 (802.11ax) didn’t resolve the issue for me.
After a series of experiments I think I identified a single router setting that triggers the problem. When the 5 GHz Wi-Fi bandwidth is set to “Auto” (which it was by default), the issue occurs several times within a 24-hour period. When I change only this setting to 80 MHz (with “Auto” extension channel), the problem completely vanishes, with zero issues observed over more than 30 hours. I have 802.11ax (Wi-Fi 6) enabled for both for 2.5GHz and 5Ghz. Will see how it goes over a longer period of time.
Unfortunately, today - after more than 46 hours without issues - the problem occurred again:
01-17 09:53:38.390 1417 1471 E android.hardware.wifi-service: Could not set interface MAC address for wlan0 (Invalid argument)
01-17 09:53:38.390 1417 1471 E android.hardware.wifi-service: Could not set interface flags for wlan0 (Invalid argument)
01-17 09:53:38.390 1417 1471 E android.hardware.wifi-service: SetUpState(true) failed. Wait for driver ready.
Given that disabling automatic bandwidth selection on 5 GHz improved the situation, I have configured 2.4 GHz to a fixed 20 MHz bandwidth and will monitor the results.
Using 2.4 GHz would significantly reduce your data throughput. Your phone won’t attempt to use it unless you modify your router’s settings, for e.g. to give the frequency bands separate network “names”. I would not therefore expect your latest modification to change anything.
Given the very useful information you’ve already provided, I’m inclined to suspect a problem with certain routers, when they change the characteristics of the network. Hence, setting the 5 GHz bandwidth from Auto to 80 MHz removed one factor with positive results.
Your latest post shows that the same fundamental bug is still active, and in particular results in an error setting the interface MAC address. You might want to try using the device’s interface card’s factory MAC address instead of a randomized address (used by default to improve privacy). To use the static device address, go to
Settings > Network and Internet > Internet > Your_Network > details (cogged wheel).
Tap “Privacy” > Use device MAC
MAC addresses are usually randomized because a fixed address makes the device easy to track.
Disabling MAC randomization was the first thing I tried, before any tinkering with my router. Unfortunately, it didn’t make any difference. I suspect the message in the log is not related to the crash itself; it appears when Android tries to bring the wireless network interface back up after the crash.
Regarding 2.4 GHz, I have Wi-Fi band steering enabled, so the router can ask the phone to switch to 2.4 GHz or back. That’s why I’m hoping that setting a static bandwidth for 2.4 GHz could help.
Can someone from Fairphone Please help me? My phone keeps disconnecting from the wifi and uses my network, without a notification. I only notice when my network provider sends me a message to notify me that I have used up all my MB’s. When I then check to see if the wifi is on, there are no wifi channels visible in the overview. After turning the phone off and back on, it reconnect s to the wifi. But this is highly annoying, because every time this happens, it leads to me getting a high bill from my network provider. PLEASE HELP!
I had the same problem, and I deactivated the “Turn on Wi-Fi automatically” option in the network settings. The issue reappeared when I turned it back on, so I turned the setting off again, and it has been working since then.
I have the same issue