Hi,
Today I noticed that on my pixel6a the wifi was stopping every couple of minutes. After a system upgrade I was unable to poweroff the device and it was instead rebooting. I somehow got out of this and now wifi wont turn on at all anymore.

Some logs:

06-06 17:37:49.660  wifi   894   894 I auditd  : avc=type=1400 audit(0.0:2794): avc:  denied  { read } for  comm="binder:894_1" name="u:object_r:persist_vendor_debug_wifi_prop:s0" dev="tmpfs" ino=287 scontext=u:r:hal_wifi_ext:s0
...
06-06 17:37:57.322  1000  1432  1787 E WifiSelfRecovery: Restarting wifi for reason: WifiNative Failure
06-06 17:37:57.332  wifi   894   928 W libc    : Access denied finding property "persist.vendor.debug.wifi.hal.preset_interface_combination_idx"
06-06 17:37:57.337  wifi   894  2718 E WifiHAL : wifi_pre_initialize
06-06 17:37:57.339  1000  1432  1795 I WifiScanningService: wifi driver unloaded
06-06 17:37:57.340  1000  1432  1787 D WifiController: Recovery triggered, disable wifi
06-06 17:37:57.341  1000  1432  1787 E WifiSelfRecovery: Restarting wifi for reason: WifiNative Failure
06-06 17:38:00.342  1000  1432  1787 D WifiController: Recovery in progress, start wifi
06-06 17:38:00.350  wifi   894  2718 W libc    : Access denied finding property "persist.vendor.debug.wifi.hal.preset_interface_combination_idx"
--------- switch to events
06-06 17:38:00.348  wifi   894   894 I auditd  : avc=type=1400 audit(0.0:3556): avc:  denied  { read } for  comm="binder:894_3" name="u:object_r:persist_vendor_debug_wifi_prop:s0" dev="tmpfs" ino=287 scontext=u:r:hal_wifi_ext:s0 tcontext=u:object_r:persist_vendor_debug_wifi_prop:s0 tclass=file permissive=0
--------- switch to main
06-06 17:38:00.348  wifi   894   894 W binder:894_3: type=1400 audit(0.0:3556): avc:  denied  { read } for  name="u:object_r:persist_vendor_debug_wifi_prop:s0" dev="tmpfs" ino=287 scontext=u:r:hal_wifi_ext:s0 tcontext=u:object_r:persist_vendor_debug_wifi_prop:s0 tclass=file permissive=0
06-06 17:38:00.361  wifi   894   928 E WifiHAL : wifi_pre_initialize
06-06 17:38:00.369  1000  1432  1795 I WifiScanningService: wifi driver unloaded
06-06 17:38:00.370  1000  1432  1787 E WifiSelfRecovery: Restarting wifi for reason: WifiNative Failure
....
06-06 17:39:49.573  1000  1432  1787 E WifiSelfRecovery: Already restarted wifi 10 times in last 1 hour. Disabling wifi
06-06 17:39:49.576  1000  1432  1787 D WifiController: Recovery has been throttled, disable wifi
...

Any help would be appreciated

Hmm Today everything is fine again. Weird

  • de0u replied to this.

    Unhidden Today everything is fine again.

    Thanks for reporting back!

    Problem occuring again. Wifi driver is constantly being unloaded / not working. and the device randomly rebooting with similiar errors in the logs and consuming a lot of battery while doing this.

    I have disabled the wifi for now in the hope that i can atleast use my device with cellular network but not having (reliable) wifi kind of sucks.

    I've rest app preferences now, in the hopes that I might have misconfigured a system service.

    That didnt fix the issue :( but threw me in a new cyclce of spontanius reboots. Even in safe mode didnt change anything. Wifi would not turn on at all. To get out this I booted into the bootloader (hold down vol down during boot) and selected poweroff.

    Now wifi starts and I am able to connect to my home network but after a couple of seconds I get disconnected again.

    Is there a way for me to get more/better/more detailed logs? So far Ive been looking at the system logs setting but that tdoesnt have logs of previous boots.

    Maybe a factory reset would fix this? But I dont really want to setup my phone again.

    • de0u replied to this.

      Unhidden Maybe a factory reset would fix this?

      Based on the symptoms so far, I can't help wondering whether the Wi-Fi hardware might be going bad. Unfortunately, a factory reset does seem likely to be diagnostic. If a factory reset solves the problem (for multiple days) then the issue might have been some mysterious corruption. If a factory reset does not solve the problem, probably the next step would be flashing back to Google's OS. If that doesn't solve the problem, it would probably indicate bad hardware.

        de0u f that doesn't solve the problem, it would probably indicate bad hardware.

        But how would bad hardware cause the driver to be unloaded?

        Enabled wifi verbosity and now found 2 wifi related timeouts close together.

        06-10 15:59:07.648  1000  1234  1527 E WifiThreadRunner: WifiThreadRunner.call() timed out!
        06-10 15:59:07.648  1000  1234  1527 E WifiThreadRunner: java.lang.Throwable: Caller thread Stack trace:
        06-10 15:59:07.648  1000  1234  1527 E WifiThreadRunner: 	at com.android.server.wifi.WifiThreadRunner.call(WifiThreadRunner.java:88)
        06-10 15:59:07.648  1000  1234  1527 E WifiThreadRunner: 	at com.android.server.wifi.WifiServiceImpl.getPrivilegedConfiguredNetworks(WifiServiceImpl.java:3263)
        06-10 15:59:07.648  1000  1234  1527 E WifiThreadRunner: 	at android.net.wifi.IWifiManager$Stub.onTransact(IWifiManager.java:1573)
        06-10 15:59:07.648  1000  1234  1527 E WifiThreadRunner: 	at android.os.Binder.execTransactInternal(Binder.java:1525)
        06-10 15:59:07.648  1000  1234  1527 E WifiThreadRunner: 	at android.os.Binder.execTransact(Binder.java:1464)
        06-10 15:59:07.649  1000  1234  1527 E WifiThreadRunner: WifiThreadRunner.call() timed out!
        06-10 15:59:07.649  1000  1234  1527 E WifiThreadRunner: java.lang.Throwable: Wifi thread Stack trace:
        06-10 15:59:07.649  1000  1234  1527 E WifiThreadRunner: 	at android.os.BinderProxy.transactNative(Native Method)
        06-10 15:59:07.649  1000  1234  1527 E WifiThreadRunner: 	at android.os.BinderProxy.transact(BinderProxy.java:586)
        06-10 15:59:07.649  1000  1234  1527 E WifiThreadRunner: 	at com.android.wifi.x.android.hardware.wifi.IWifiChip$Stub$Proxy.configureChip(IWifiChip.java:1388)
        06-10 15:59:07.649  1000  1234  1527 E WifiThreadRunner: 	at com.android.server.wifi.hal.WifiChipAidlImpl.configureChip(WifiChipAidlImpl.java:103)
        06-10 15:59:07.649  1000  1234  1527 E WifiThreadRunner: 	at com.android.server.wifi.hal.WifiChip.lambda$configureChip$0(WifiChip.java:529)
        06-10 15:59:07.649  1000  1234  1527 E WifiThreadRunner: 	at com.android.server.wifi.hal.WifiChip.$r8$lambda$OB_KjU2w6Ska7e1p6f899pE7Hxo(WifiChip.java:0)
        06-10 15:59:07.649  1000  1234  1527 E WifiThreadRunner: 	at com.android.server.wifi.hal.WifiChip$$ExternalSyntheticLambda35.get(R8$$SyntheticClass:0)
        06-10 15:59:07.649  1000  1234  1527 E WifiThreadRunner: 	at com.android.server.wifi.hal.WifiChip.validateAndCall(WifiChip.java:521)
        06-10 15:59:07.649  1000  1234  1527 E WifiThreadRunner: 	at com.android.server.wifi.hal.WifiChip.configureChip(WifiChip.java:528)
        06-10 15:59:07.649  1000  1234  1527 E WifiThreadRunner: 	at com.android.server.wifi.HalDeviceManager.executeChipReconfiguration(HalDeviceManager.java:2399)
        06-10 15:59:07.649  1000  1234  1527 E WifiThreadRunner: 	at com.android.server.wifi.HalDeviceManager.createIfaceIfPossible(HalDeviceManager.java:1755)
        06-10 15:59:07.649  1000  1234  1527 E WifiThreadRunner: 	at com.android.server.wifi.HalDeviceManager.createIface(HalDeviceManager.java:1634)
        06-10 15:59:07.649  1000  1234  1527 E WifiThreadRunner: 	at com.android.server.wifi.HalDeviceManager.createStaIface(HalDeviceManager.java:326)
        06-10 15:59:07.649  1000  1234  1527 E WifiThreadRunner: 	at com.android.server.wifi.HalDeviceManager.createStaIface(HalDeviceManager.java:354)
        06-10 15:59:07.649  1000  1234  1527 E WifiThreadRunner: 	at com.android.server.wifi.WifiVendorHal.createStaIface(WifiVendorHal.java:288)
        06-10 15:59:07.649  1000  1234  1527 E WifiThreadRunner: 	at com.android.server.wifi.WifiNative.createStaIface(WifiNative.java:1091)
        06-10 15:59:07.649  1000  1234  1527 E WifiThreadRunner: 	at com.android.server.wifi.WifiNative.setupInterfaceForClientInScanMode(WifiNative.java:1315)
        06-10 15:59:07.649  1000  1234  1527 E WifiThreadRunner: 	at com.android.server.wifi.ConcreteClientModeManager$ClientModeStateMachine$IdleState.processMessageImpl(ConcreteClientModeManager.java:985)
        06-10 15:59:07.649  1000  1234  1527 E WifiThreadRunner: 	at com.android.server.wifi.RunnerState.processMessage(RunnerState.java:67)
        06-10 15:59:07.649  1000  1234  1527 E WifiThreadRunner: 	at com.android.wifi.x.com.android.internal.util.StateMachine$SmHandler.processMsg(StateMachine.java:1001)
        06-10 15:59:07.649  1000  1234  1527 E WifiThreadRunner: 	at com.android.wifi.x.com.android.internal.util.StateMachine$SmHandler.handleMessage(StateMachine.java:819)
        06-10 15:59:07.649  1000  1234  1527 E WifiThreadRunner: 	at android.os.Handler.dispatchMessage(Handler.java:107)
        06-10 15:59:07.649  1000  1234  1527 E WifiThreadRunner: 	at android.os.Looper.loopOnce(Looper.java:232)
        06-10 15:59:07.649  1000  1234  1527 E WifiThreadRunner: 	at android.os.Looper.loop(Looper.java:317)
        06-10 15:59:07.649  1000  1234  1527 E WifiThreadRunner: 	at android.os.HandlerThread.run(HandlerThread.java:68)
        ``
        • de0u replied to this.

          Unhidden But how would bad hardware cause the driver to be unloaded?

          If the hardware does impossible things, the driver might crash or quit. Bad hardware does bad things.

          I have now reset the entire device with no effect. Really frustrating

          • de0u replied to this.

            Unhidden I have now reset the entire device with no effect. Really frustrating

            I can imagine!

            I think the next steps are probably:

            1. Flash back to Google's OS
            2. Declare the device to be broken

              de0u

              Weird. yesterday and so far today no issues, no random wifi disconnects, reboots, etc. I changed nothing compared to after resetting. Hopefully this continues :)

                Unhidden I have a hardware issue with wifi card on my PC. I got it from another used PC that got a new one. First days were fine, but today it started to refuse connection.
                I ordered a new card.
                However, a new card costs 15 bucks in is easily installed, contrary to a phone.

                9 days later

                Today bootloop problems returned after the update to 2024062000 (and minor issues occuring before). This time i got logs with kernel panics.

                As a last resort before considering hardware failure (still have 1 month or so of warranty) i have now complete reflashed the device. (in the hopes it was some firmware corruption or something related). So far things seem normal (finally). Will continue to monitor

                Thanks all for your input so far :)

                Nevermind, problem still ocurring. Trying the stock rom now

                That did not work either. Trying to see if there is something taht can be done with a warranty claim

                a month later

                Update: Contacted the vendor where i bought the device and they sent it somewhere for repair.

                Got the device back today and (if i read things correctly) got a replacement board and sim tray installed (as still under warranty i did not pay anything).

                Reflashed grapheneos and havent had any problems so far. I hope this is finally over.

                • de0u replied to this.

                  Unhidden I hope this is finally over.

                  I hope so too! Let us know how it goes.

                  6 days later

                  Unhidden I hope this is finally over.

                  Do you think this issue was resolved by the hardware repair?