dmesg: the "Time-out!!!" seems realted to the wifi as I don't see this message otherwise.
Code:
[ 310.142879] Wifi Turning On from UI
[ 312.806654] onyx_charging_temp_check_work: batt temp: 193, charger temp: 183, current charger level: 0
[ 315.152210] onyx_pm_notifier_list_call_chain:onyx-pm-notifier: need onyx_pm_notifier_chain, state:0x10
[ 315.152219] onyx-tp-power: get notifier: old_state:1, new_state:0
[ 315.152222] onyx-tp-power: ignored notifier: old_state:1, new_state:0
[ 315.152225] PM: ONYX_PM_STATE from freeze[1] to on[0]
[ 315.487471] healthd: battery l=100 v=4386 t=19.3 h=2 st=5 c=0 fc=2396000 cc=0 chg=a
[ 323.047213] onyx_charging_temp_check_work: batt temp: 193, charger temp: 182, current charger level: 0
[ 323.676588] healthd: battery l=100 v=4386 t=19.3 h=2 st=5 c=0 fc=2396000 cc=0 chg=a
[ 325.159844] onyx_pm_notifier_list_call_chain:onyx-pm-notifier: need onyx_pm_notifier_chain, state:0x01
[ 325.159853] onyx-tp-power: get notifier: old_state:0, new_state:1
[ 325.159856] onyx-tp-power: ignored notifier: old_state:0, new_state:1
[ 325.159859] PM: ONYX_PM_STATE from on[0] to freeze[1]
[ 330.720189] Timed-out!!
Logcat is more verbose
Code:
09-11 03:57:41.657 1400 1946 I WifiService: setWifiEnabled package=com.android.shell uid=0 enable=true
09-11 03:57:41.660 1400 1531 D WifiActiveModeWarden: Starting ClientModeManager
09-11 03:57:41.660 1400 1531 D WifiClientModeManager7: Starting with role ROLE_CLIENT_SCAN_ONLY
09-11 03:57:41.660 1400 1531 D WifiController: DisabledState.exit()
09-11 03:57:41.660 1400 1531 D WifiController: EnabledState.enter()
09-11 03:57:41.660 1400 1531 D WifiClientModeManager7: entering IdleState
09-11 03:58:01.739 759 759 E android.hardware.wifi@1.0-service: Failed to write driver state control param: Invalid argument
09-11 03:58:01.739 759 759 E android.hardware.wifi@1.0-service: Failed to load WiFi driver
09-11 03:58:01.739 759 759 E android.hardware.wifi@1.0-service: Failed to initialize firmware mode controller
09-11 03:58:01.739 759 759 E android.hardware.wifi@1.0-service: Wifi HAL start failed
09-11 03:58:01.740 1400 1531 E HalDevMgr: Cannot start IWifi: 9 ()
09-11 03:58:01.740 1400 1531 E WifiVendorHal: Failed to start vendor HAL
09-11 03:58:01.740 1400 1531 E WifiNative: Failed to start vendor HAL
09-11 03:58:01.740 1400 1531 E WifiNative: Failed to start Hal
09-11 03:58:01.740 1400 1531 E WifiClientModeManager7: Failed to create ClientInterface. Sit in Idle
09-11 03:58:01.740 1400 1531 D WifiScanRequestProxy: Sending scan available broadcast: false
09-11 03:58:01.741 1400 1534 I WifiScanningService: Received a request to disable scanning, UID = 1000
09-11 03:58:01.741 1400 1534 I WifiScanningService: wifi driver unloaded
09-11 03:58:01.741 1400 1531 I WifiScanRequestProxy: Scanning is disabled
09-11 03:58:01.742 1400 1531 D WifiClientModeManager7: received an invalid message: { when=-20s82ms what=2 arg1=2 target=com.android.wifi.x.com.android.internal.util.StateMachine$SmHandler }
09-11 03:58:01.742 1400 1531 D WifiController: STA disabled, return to DisabledState.
09-11 03:58:01.742 1400 1531 D WifiController: EnabledState.exit()
09-11 03:58:01.742 1400 1531 D WifiController: DisabledState.enter()
Also I can read the following lines above:
Code:
01-02 02:12:59.073 1127 1127 I cnss-daemon: /data/vendor/wifi/wlfw_cal_00.bin cal file does not exists
01-02 02:12:59.073 1127 1127 I cnss-daemon: /data/vendor/wifi/wlfw_cal_01.bin cal file does not exists
01-02 02:12:59.073 1127 1127 I cnss-daemon: /data/vendor/wifi/wlfw_cal_02.bin cal file does not exists
01-02 02:12:59.073 1127 1127 I cnss-daemon: /data/vendor/wifi/wlfw_cal_03.bin cal file does not exists
01-02 02:12:59.073 1127 1127 I cnss-daemon: /data/vendor/wifi/wlfw_cal_04.bin cal file does not exists
01-02 02:12:59.441 1127 1256 I cnss-daemon: wlfw_read_file: No such file /data/vendor/wifi/wlfw_cal_00.bin
01-02 02:12:59.441 1127 1256 I cnss-daemon: wlfw_build_cal_table: not read /data/vendor/wifi/wlfw_cal_00.bin
01-02 02:12:59.441 1127 1256 I cnss-daemon: wlfw_read_file: No such file /data/vendor/wifi/wlfw_cal_01.bin
01-02 02:12:59.441 1127 1256 I cnss-daemon: wlfw_build_cal_table: not read /data/vendor/wifi/wlfw_cal_01.bin
01-02 02:12:59.441 1127 1256 I cnss-daemon: wlfw_read_file: No such file /data/vendor/wifi/wlfw_cal_02.bin
01-02 02:12:59.441 1127 1256 I cnss-daemon: wlfw_build_cal_table: not read /data/vendor/wifi/wlfw_cal_02.bin
01-02 02:12:59.441 1127 1256 I cnss-daemon: wlfw_read_file: No such file /data/vendor/wifi/wlfw_cal_03.bin
01-02 02:12:59.441 1127 1256 I cnss-daemon: wlfw_build_cal_table: not read /data/vendor/wifi/wlfw_cal_03.bin
01-02 02:12:59.441 1127 1256 I cnss-daemon: wlfw_read_file: No such file /data/vendor/wifi/wlfw_cal_04.bin
01-02 02:12:59.441 1127 1256 I cnss-daemon: wlfw_build_cal_table: not read /data/vendor/wifi/wlfw_cal_04.bin
Here is the full logcat logs (grep -i wifi):
https://gist.github.com/yvon/4063ed6...64afa8213e6a3c
And here is the full dmesg (grep -i wifi too):
https://gist.github.com/yvon/d25182b...21e1c04f27bec6
In both logs we can see files missing in /data/vendor/wifi.
Here are the files in /data/vendor/wifi
Code:
BOOX:/ # ls /data/vendor/wifi/
cnss_diag.conf hostapd sockets wigig_hostapd wlan_logs wpa wpa_supplicant