Coming directly from an ancient build of Lineage (17.1), I first installed version 4.12 from here Release iodéOS 4.x for Xiaomi Mi 9 · iodeOS/ota · GitHub.
When I noticed that I could not turn on WLAN, I searched for a solution and stumbled upon this repository that seemed to hold newer versions: cepheus · master · ota / release · GitLab.
Sadly version 4.14 also did not do the trick. Then I tried switching over to LineageOS 20.0 but that showed the same symptoms.
My next idea was installing stock MiUI to see whether it would work there, but that did not get past the boot logo. I must have done something wrong there.
It did however seem to have updated something (sorry, I am not so versed in the terminology of Android) as the open lock icon for the unlocked bootloader changed. It used to say “unlocked” at the bottom but now simply shows an open lock at the top of the screen.
On top of that it now says “powered by android” at the bottom of the screen when I start the phone which was also not there before.
So maybe I accidentally did a firmware(?) upgrade by installing stock MiUI?
WLAN was working perfectly before I started the flashing process yesterday morning and Bluetooth is perfectly fine with iodé right now, so I am assuming it is not a hardware issue.
The only thing I got so far are these logs:
logcat
08-11 09:40:09.802 1660 2633 I WifiService: setWifiEnabled package=com.android.systemui uid=10135 enable=true isPrivileged=true
08-11 09:40:09.803 1660 2166 D WifiActiveModeWarden: Starting primary ClientModeManager in connect mode
08-11 09:40:09.803 1660 2166 D WifiController: DisabledState.exit()
08-11 09:40:09.803 1660 2166 D WifiController: EnabledState.enter()
08-11 09:40:09.803 1660 2166 D WifiClientModeManager[unknown]: entering IdleState
08-11 09:40:09.805 1660 2166 I android_os_HwBinder: HwBinder: Starting thread pool for getting: android.hardware.wifi@1.0::IWifi/default
08-11 09:40:09.806 1660 2166 I WifiNative: Vendor HAL died. Cleaning up internal state.
08-11 09:40:30.182 955 955 E android.hardware.wifi@1.0-service: Failed to write driver state control param: Invalid argument
08-11 09:40:30.183 955 955 E android.hardware.wifi@1.0-service: Failed to load WiFi driver
08-11 09:40:30.183 955 955 E android.hardware.wifi@1.0-service: Failed to initialize firmware mode controller
08-11 09:40:30.183 955 955 E android.hardware.wifi@1.0-service: Wifi HAL start failed
08-11 09:40:30.183 1660 2166 E HalDevMgr: Cannot start IWifi: 9 ()
08-11 09:40:30.183 1660 2166 E WifiVendorHal: Failed to start vendor HAL
08-11 09:40:30.183 1660 2166 E WifiNative: Failed to start vendor HAL
08-11 09:40:30.183 1660 2166 E WifiNative: Failed to start Hal
08-11 09:40:30.183 1660 2166 E WifiClientModeManager[unknown]: Failed to create ClientInterface. Sit in Idle
08-11 09:40:30.184 1660 2166 E WifiActiveModeWarden: ClientModeManager start failed!ConcreteClientModeManager{id=816956 iface=null role=null}
08-11 09:40:30.184 1660 2166 D WifiScanRequestProxy: Sending scan available broadcast: false
08-11 09:40:30.184 1660 2170 I WifiScanningService: Received a request to disable scanning, UID = 1000
08-11 09:40:30.184 1660 2170 I WifiScanningService: wifi driver unloaded
08-11 09:40:30.184 1660 2166 I WifiScanRequestProxy: Scanning is disabled
08-11 09:40:30.185 1660 2166 I WifiCountryCode: No active mode, call onDriverCountryCodeChanged with Null
08-11 09:40:30.185 1660 2166 E WifiActiveModeWarden: One of the native daemons died. Triggering recovery
08-11 09:40:30.185 1660 2166 E WifiSelfRecovery: Triggering recovery for reason: WifiNative Failure
08-11 09:40:30.185 1660 2166 E WifiSelfRecovery: Already restarted wifi 2 times in last 1 hour. Disabling wifi
08-11 09:40:30.185 1660 2166 E HalDevMgr: IWifiEventCallback.onFailure: 9 ()
08-11 09:40:30.185 1660 2166 I WifiNative: Vendor HAL died. Cleaning up internal state.
08-11 09:40:30.185 1660 2166 D WifiController: STA disabled, return to DisabledState.
08-11 09:40:30.185 1660 2166 D WifiController: EnabledState.exit()
08-11 09:40:30.185 1660 2166 D WifiController: DisabledState.enter()
08-11 09:40:30.185 1660 2166 D WifiController: Recovery has been throttled, disable wifi
08-11 09:40:30.185 1660 2166 D WifiActiveModeWarden: Shutting down all mode managers
08-11 09:40:30.185 1660 2166 E WifiActiveModeWarden: One of the native daemons died. Triggering recovery
08-11 09:40:30.185 1660 2166 E WifiSelfRecovery: Triggering recovery for reason: WifiNative Failure
08-11 09:40:30.185 1660 2166 E WifiSelfRecovery: Already restarted wifi 2 times in last 1 hour. Disabling wifi
08-11 09:40:30.185 1660 2166 D WifiController: Recovery has been throttled, disable wifi
08-11 09:40:30.185 1660 2166 D WifiActiveModeWarden: Shutting down all mode managers
08-11 09:40:30.397 1660 2167 W WifiDiags: could not flush ringbuffer
08-11 09:40:30.606 1660 2167 W WifiDiags: could not flush ringbuffer
Any pointers in helping me debug or an outright fix for this would be greatly appreciated.