No wifi on samsung s7edge/hero2lte
- /e/ version: e-0.11-o-2020082870470-dev-hero2lte
- Device model: SM-G935F
- When it started to occur: shortly after upgrading
- Reproducible with the last /e/ version: yes
- Reproducible with LineageOS: Didn't test
Summary
Wifi cannot be brought up/powered on
-
The device is unusable -
The bug is the source of a data loss or a big waste of time -
The bug concerns a third-party application -
The bug concerns security -
The bug concerns privacy
The problem
Steps to reproduce
Try to enable wifi
What is the current behavior?
Wifi fails to start
What is the expected correct behavior?
Wifi should be enabled and hopefully connected to known networks
Technical informations
Relevant logs (adb logcat
)
Logcat:
09-04 22:38:26.579 3655 14972 I WifiService: getWifiEnabledState uid=1000
09-04 22:38:26.581 3478 3478 I android.hardware.wifi@1.0-service: Wifi HAL started
09-04 22:38:26.581 3655 14972 I WifiService: getWifiApEnabledState uid=1000
09-04 22:38:26.582 3655 14972 I WifiService: getWifiEnabledState uid=1000
09-04 22:38:28.682 3478 3478 E android.hardware.wifi@1.0-service: Could not set interface flags for wlan0 (Operation not permitted)
09-04 22:38:28.682 3478 3478 E android.hardware.wifi@1.0-service: Failed to set WiFi interface up
09-04 22:38:28.682 3478 3478 E android.hardware.wifi@1.0-service: Failed to start legacy HAL: UNKNOWN
09-04 22:38:28.682 3655 4277 E HalDeviceManager: executeChipReconfiguration: configureChip error: 9 (unknown)
09-04 22:38:28.883 3478 3478 I android.hardware.wifi@1.0-service: Wifi HAL stopped
09-04 22:38:28.884 3655 4277 E WifiNative-wlan0: Failed to start HAL for client mode
09-04 22:38:28.886 3655 3655 E WifiController: WifiControllerWifi turn on failed
09-04 22:38:28.886 3655 4277 I WifiVendorHal: Vendor Hal stopped
09-04 22:38:28.886 3655 4277 D WificondControl: tearing down interfaces in wificond
09-04 22:38:28.891 3478 3478 I android.hardware.wifi@1.0-service: Wifi HAL started
09-04 22:38:28.893 3655 15057 I WifiService: getConnectionInfo uid=10002
09-04 22:38:28.897 3655 15057 I WifiService: getConfiguredNetworks uid=10002
09-04 22:38:28.942 3655 14972 I WifiService: getWifiEnabledState uid=1000
09-04 22:38:28.944 3655 14972 I WifiService: getWifiEnabledState uid=1000
09-04 22:38:28.945 3655 14972 I WifiService: getWifiApEnabledState uid=1000
09-04 22:38:28.946 3655 14972 I WifiService: getWifiEnabledState uid=1000
09-04 22:38:29.719 3655 3721 D SensorService: [SO] 0.388 1.765 9.486
09-04 22:38:30.982 3478 3478 E android.hardware.wifi@1.0-service: Could not set interface flags for wlan0 (Operation not permitted)
09-04 22:38:30.982 3478 3478 E android.hardware.wifi@1.0-service: Failed to set WiFi interface up
09-04 22:38:30.982 3478 3478 E android.hardware.wifi@1.0-service: Failed to start legacy HAL: UNKNOWN
09-04 22:38:30.982 3655 4277 E HalDeviceManager: executeChipReconfiguration: configureChip error: 9 (unknown)
09-04 22:38:31.183 3478 3478 I android.hardware.wifi@1.0-service: Wifi HAL stopped
09-04 22:38:31.184 3655 4277 E WifiNative-wlan0: Failed to start HAL for client mode
09-04 22:38:31.185 3655 3655 E WifiController: WifiControllerWifi turn on failed
09-04 22:38:31.186 3655 4277 I WifiVendorHal: Vendor Hal stopped
09-04 22:38:31.186 3655 4277 D WificondControl: tearing down interfaces in wificond
Dmesg:
[54758.731679] wifi_platform_set_power = 1
[54758.731714] ------------------------------------------------
[54758.731730] ------------------------------------------------
[54758.731748] dhd_wlan_power Enter: power on
[54758.731783] exynos-pcie 15660000.pcie0: exynos_pcie_poweron, start of poweron, pcie state: 0
[54758.731902] exynos-pcie 15660000.pcie0: pcie clk enable, ret value = 0
[54758.731960] exynos-pcie 15660000.pcie0: exynos_pcie_establish_link: Before set perst, gpio val = 0
[54758.731985] exynos-pcie 15660000.pcie0: exynos_pcie_establish_link: After set perst, gpio val = 1
[54758.734914] [SSP]: MSG From MCU - Sensor_ACC-174,437,4021,60,-1 ldo_toggle :0
[54758.753018] exynos-pcie 15660000.pcie0: phy clk enable, ret value = 0
[54758.753065] exynos-pcie 15660000.pcie0: D state: 0, 9f2c00
[54758.762317] exynos-pcie 15660000.pcie0: exynos_pcie_establish_link: Link up:3c9c311
[54758.762339] exynos-pcie 15660000.pcie0: exynos_pcie_establish_link: Link up:11
[54758.762377] exynos-pcie 15660000.pcie0: l1ss enabled(0x0)
[54758.762463] exynos-pcie 15660000.pcie0: exynos_pcie_poweron, end of poweron, pcie state: 3
[54758.971441] dhd_bus_devreset: == Power ON ==
[54758.978267] DHD: dongle ram size is set to 917504(orig 917504) at 0x160000
[54758.978525] dhdpcie_irq_enabled: depth:0
[54758.978571] ----- CHIP 4359 C0 -----
[54758.978683] dhd_check_module_b90: It's neither b90b nor b90s
[54758.978725] dhd_set_blob_support: ----- blob file dosen't exist -----
[54758.978740] dhd_bus_download_firmware: firmware path=/system/vendor/etc/wifi/bcmdhd_sta.bin_c0, nvram path=/vendor/vendor/etc/wifi/nvram_net.txt_c0
[54758.979250] dhdpcie_download_code_file: download firmware /system/vendor/etc/wifi/bcmdhd_sta.bin_c0
[54759.044924] _dhdpcie_download_firmware: dongle nvram file download failed
[54759.044954] dhd_bus_start: failed to download firmware /system/vendor/etc/wifi/bcmdhd_sta.bin_c0
[54759.044972] dhd_bus_devreset: dhd_bus_start: -1
[54759.044989] dhd_net_bus_devreset: dhd_bus_devreset: -1
[54759.045005] \x0afailed to power up wifi chip, retry again (0 left) **\x0a
[54759.045034] dhd_wl_ioctl: returning as busstate=0
[54759.045050] dhd_bus_devreset: == Power OFF ==
[54759.045076] dhdpcie_oob_intr_unregister: irq is not registered
[54759.045092] dhd_dpc_kill: tasklet disabled
[54759.047011] dhd_bus_devreset: WLAN OFF Done
[54759.047029] wifi_platform_set_power = 0
[54759.047044] ------------------------------------------------
[54759.047054] ------------------------------------------------
[54759.047066] dhd_wlan_power Enter: power off
[54759.047086] exynos-pcie 15660000.pcie0: exynos_pcie_send_pme_turn_off: link state:14
[54759.047312] exynos-pcie 15660000.pcie0: ack message is ok
[54759.047328] exynos-pcie 15660000.pcie0: received Enter_L23_READY DLLP packet
[54759.047342] exynos-pcie 15660000.pcie0: exynos_pcie_poweroff, start of poweroff, pcie state: 2
[54759.047368] exynos-pcie 15660000.pcie0: exynos_pcie_poweroff: Before set perst, gpio val = 1
[54759.047387] exynos-pcie 15660000.pcie0: exynos_pcie_poweroff: After set perst, gpio val = 0
[54759.047516] exynos-pcie 15660000.pcie0: exynos_pcie_poweroff, end of poweroff, pcie state: 0
[54759.151595] \x0afailed to power up wifi chip, max retry reached **\x0a
[54759.151655] dhd_open : wl_android_wifi_on failed (-1)
[54759.151687] wl_android_wifi_off in
[54759.151710] dhd_wl_ioctl: returning as busstate=0
[54759.151736] dhd_bus_devreset: == Power OFF ==
[54759.151758] dhdpcie_free_irq: PCIe IRQ is not registered
[54759.151782] dhdpcie_oob_intr_unregister: irq is not registered
[54759.151803] dhd_dpc_kill: tasklet disabled
[54759.154403] dhd_bus_devreset: WLAN OFF Done
[54759.154426] wifi_platform_set_power = 0
[54759.154446] ------------------------------------------------
[54759.154460] ------------------------------------------------
[54759.154478] dhd_wlan_power Enter: power off
[54759.154502] exynos-pcie 15660000.pcie0: RC0 already off
Edited by Ricardo Sousa