[OnePlus 5 & 5T Cross Device Development] Johnassel:
Coming from unofficial builds for OnePlus5 my WiFi won't start anymore - it just switches to disabled after a few seconds.

That is what ADB gives me:

11-12 10:58:22.545 1341 13793 I WifiService: setWifiEnabled package=com.android.settings uid=1000 enable=true
11-12 10:58:22.546 1341 2449 D WifiController: StaEnabledState.enter()
11-12 10:58:22.546 1341 2450 D WifiActiveModeWarden: received a message in WifiDisabledState: { when=0 what=0 target=com.android.internal.util.StateMachine$SmHandler }
11-12 10:58:22.546 1341 2450 D WifiActiveModeWarden: Switching from WifiDisabledState to ClientMode
11-12 10:58:22.546 1341 2450 D WifiActiveModeWarden: Entering ClientModeActiveState
11-12 10:58:22.546 1341 2450 D WifiClientModeManager: entering IdleState
11-12 10:58:22.546 1341 2450 D WifiActiveModeWarden: State changed from client mode. state = 2
11-12 10:58:22.547 1341 2450 I WifiVendorHal: Vendor Hal started successfully
11-12 10:58:22.547 1341 1341 D WifiP2pService: Wifi enabled=false, P2P Interface availability=true
11-12 10:58:22.548 1341 2451 I WifiP2pNative: Registering for interface available listener
11-12 10:58:22.549 1341 2450 I SupplicantStaIfaceHal: Starting supplicant using HIDL
11-12 10:58:22.551 1341 2450 I android_os_HwBinder: HwBinder: Starting thread pool for getting: android.hardware.wifi.supplicant@1.0::ISupplicant/default
11-12 10:58:22.552 1341 2450 E SupplicantStaIfaceHal: Death handler already present
11-12 10:58:28.794 840 840 I vendor.rmt_storage: rmt_storage_connect_cb: clnt_h=0x14 conn_h=0x7d1ca05010
11-12 10:58:28.794 840 840 I vendor.rmt_storage: rmt_storage_rw_iovec_cb: /boot/modem_fs1: req_h=0x14 msg_id=3: R/W request received (wr_count 4)
11-12 10:58:28.794 840 840 I vendor.rmt_storage: wakelock acquired: 1, error no: 42
11-12 10:58:28.794 840 1497 I vendor.rmt_storage: rmt_storage_client_thread: /boot/modem_fs1: Unblock worker thread (th_id: 537356590416)
11-12 10:58:28.860 840 1497 I vendor.rmt_storage: rmt_storage_client_thread: /boot/modem_fs1: req_h=0x14 msg_id=3: Bytes written = 2097152, wr_count 4
11-12 10:58:28.860 840 1497 I vendor.rmt_storage: rmt_storage_client_thread: /boot/modem_fs1: req_h=0x14 msg_id=3: Send response: res=0 err=0, wr_count 4
11-12 10:58:28.861 840 1497 I vendor.rmt_storage: rmt_storage_client_thread: /boot/modem_fs1: About to block rmt_storage client thread (th_id: 537356590416) wakelock released: 1, error no: 0
11-12 10:58:28.861 840 1497 I vendor.rmt_storage:
11-12 10:58:28.861 840 840 I vendor.rmt_storage: rmt_storage_disconnect_cb: clnt_h=0x14 conn_h=0x7d1ca05010
11-12 10:58:32.587 804 804 E WifiHAL : Timed out wating on Driver ready ...
11-12 10:58:32.587 804 804 E android.hardware.wifi@1.0-service: Timed out awaiting driver ready
11-12 10:58:32.588 804 804 E android.hardware.wifi@1.0-service: Failed to start legacy HAL: TIMED_OUT
11-12 10:58:32.588 1341 2450 D HalDevMgr: updateRttController: no one is interested in RTT controllers
11-12 10:58:32.589 1341 2450 E HalDevMgr: executeChipReconfiguration: configureChip error: 9 (, timed out)
11-12 10:58:32.589 1341 2450 E WifiVendorHal: Failed to create STA iface
11-12 10:58:32.589 1341 2450 E WifiNative: Failed to create STA iface in vendor HAL
11-12 10:58:32.589 1341 2450 E WifiClientModeManager: Failed to create ClientInterface. Sit in Idle
11-12 10:58:32.589 1341 2450 D WifiActiveModeWarden: State changed from client mode. state = 4
11-12 10:58:32.589 1341 2450 D WifiClientModeManager: expected stop, not triggering callbacks: newState = 1
11-12 10:58:32.590 1341 2450 E WifiNative: Could not get Iface object for interface null
11-12 10:58:32.595 1341 1341 D WifiP2pService: Wifi enabled=false, P2P Interface availability=true
11-12 10:58:32.599 1341 2450 D WifiActiveModeWarden: ClientMode failed, return to WifiDisabledState.
11-12 10:58:32.599 1341 2450 D WifiController: ClientMode unexpected failure: state unknown
11-12 10:58:32.599 1341 2450 D WifiClientModeManager: currentstate: IdleState
11-12 10:58:32.600 1341 2450 D WifiScanRequestProxy: Sending scan available broadcast: false
11-12 10:58:32.600 1341 2453 I WifiScanningService: wifi driver unloaded
11-12 10:58:32.603 1341 2450 I WifiScanRequestProxy: Scanning is disabled
11-12 10:58:32.615 1341 2450 D WifiActiveModeWarden: Entering WifiDisabledState
11-12 10:58:32.615 1341 2450 D WifiActiveModeWarden: received a message in WifiDisabledState: { when=-15ms what=3 target=com.android.internal.util.StateMachine$SmHandler }
11-12 10:58:32.615 1341 2450 D WifiActiveModeWarden: Switching from WifiDisabledState to WifiDisabled
11-12 10:58:32.615 1341 2450 D WifiActiveModeWarden: Entering WifiDisabledState

It is working on unofficial builds from October so it isn't a hardware failure.

I'm on firmware 10.0.1.