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?

                    de0u

                    Yes, I had no issues at all for the last week.

                    Is there a way I can mark this thread as closed?

                    • de0u replied to this.