Oppo R5 - wifi not turning on
- /e/ version:0.12.p
- Device model(s):R5
Summary
The problem
Clicking wifi icon or wifi on switch in the settings menu does nothing. After a couple of seconds, the switch goes back to the "off" position
What is the current behavior?
Wifi doesn't turn on
What is the expected correct behavior?
Wifi would turn on and continue to the "choose a network" menu
Technical informations
Relevant logs (adb logcat
)
12-07 19:12:47.562 535 561 I WifiService: getVerboseLoggingLevel uid=1000
12-07 19:12:47.572 535 904 I WifiService: getConnectionInfo uid=1000
12-07 19:12:47.574 535 2252 I WifiService: getCurrentNetwork uid=1000
12-07 19:12:47.575 535 2837 I WifiService: getScanResults uid=1000
12-07 19:12:47.576 5166 5166 I WifiTracker: Fetched scan results: []
12-07 19:12:47.577 535 559 I WifiService: getConfiguredNetworks uid=1000
12-07 19:12:47.578 535 559 D WifiAsyncChannel.WifiService: sendMessageSynchronously sendMessageSynchronously.send message=131131
12-07 19:12:47.579 535 2107 D WifiStateMachine: DefaultState !CMD_GET_CONFIGURED_NETWORKS uid=1000 rt=1433365/1803421 1000 0 num=0
12-07 19:12:47.580 535 559 D WifiAsyncChannel.WifiService: sendMessageSynchronously sendMessageSynchronously.recv message=131131 sendingUid=1000
12-07 19:12:47.588 535 2279 I WifiService: getWifiEnabledState uid=1000
12-07 19:12:47.593 535 904 D ConnectivityService: listenForNetwork for uid/pid:1000/5166 NetworkRequest [ LISTEN id=69, [ Transports: WIFI Capabilities: NOT_VPN Unwanted: ] ]
12-07 19:12:47.595 535 2252 I WifiService: getWifiEnabledState uid=1000
12-07 19:12:47.606 535 559 I WifiService: getWifiEnabledState uid=1000
12-07 19:12:47.606 535 2838 I WifiService: getWifiEnabledState uid=1000
12-07 19:12:47.613 535 2252 I WifiService: getConfiguredNetworks uid=1000
12-07 19:12:47.614 535 2252 D WifiAsyncChannel.WifiService: sendMessageSynchronously sendMessageSynchronously.send message=131131
12-07 19:12:47.614 535 2107 D WifiStateMachine: DefaultState !CMD_GET_CONFIGURED_NETWORKS uid=1000 rt=1433401/1803456 1000 0 num=0
12-07 19:12:47.615 535 2252 D WifiAsyncChannel.WifiService: sendMessageSynchronously sendMessageSynchronously.recv message=131131 sendingUid=1000
12-07 19:12:47.620 535 2251 I WifiService: getPasspointConfigurations uid=1000
12-07 19:12:47.630 5166 5183 I DeviceIndex: Skipping: device index is not enabled
12-07 19:12:47.641 5166 5947 W TileUtils: Found com.android.settings.Settings$NotificationAppListActivity for intent Intent { act=com.android.settings.action.SETTINGS pkg=com.android.settings } missing metadata com.android.settings.category
12-07 19:12:47.648 5166 5947 W TileUtils: Found org.lineageos.lineageparts.trust.TrustPreferences for intent Intent { act=org.lineageos.lineageparts.action.SETTINGS pkg=org.lineageos.lineageparts } missing metadata
12-07 19:12:47.691 5166 5948 D SettingsActivity: No enabled state changed, skipping updateCategory call
12-07 19:12:47.720 5166 5166 I WifiTracker: Invoking onWifiStateChanged callback with state 1
12-07 19:12:47.720 535 2279 I WifiService: getWifiEnabledState uid=1000
12-07 19:12:47.724 535 2252 I WifiService: getConfiguredNetworks uid=1000
12-07 19:12:47.725 535 2252 D WifiAsyncChannel.WifiService: sendMessageSynchronously sendMessageSynchronously.send message=131131
12-07 19:12:47.725 535 2107 D WifiStateMachine: DefaultState !CMD_GET_CONFIGURED_NETWORKS uid=1000 rt=1433512/1803567 1000 0 num=0
12-07 19:12:47.726 535 2252 D WifiAsyncChannel.WifiService: sendMessageSynchronously sendMessageSynchronously.recv message=131131 sendingUid=1000
12-07 19:12:47.728 535 2837 I WifiService: getPasspointConfigurations uid=1000
12-07 19:12:47.730 535 561 I WifiService: getWifiEnabledState uid=1000
12-07 19:12:48.271 535 2110 D ConnectivityService: releasing NetworkRequest [ TRACK_DEFAULT id=66, [ Capabilities: INTERNET&NOT_RESTRICTED&TRUSTED Unwanted: Uid: 1000] ] (release request)
12-07 19:12:48.699 535 2252 D WifiService: setWifiEnabled: true pid=5166, uid=1000, package=com.android.settings
12-07 19:12:48.699 535 2252 I WifiService: setWifiEnabled package=com.android.settings uid=1000 enable=true
12-07 19:12:48.700 535 2106 D WifiController: StaEnabledState.enter()
12-07 19:12:48.701 535 2107 D WifiStateMachinePrime: received a message in WifiDisabledState: { when=0 what=0 target=com.android.internal.util.StateMachine$SmHandler }
12-07 19:12:48.701 535 2107 D WifiStateMachinePrime: Switching from WifiDisabledState to ClientMode
12-07 19:12:48.701 535 2107 D WifiStateMachinePrime: Entering ClientModeActiveState
12-07 19:12:48.708 535 2107 D WifiClientModeManager: entering IdleState
12-07 19:12:48.708 535 2107 D WifiStateMachine: DefaultState !CMD_SET_HIGH_PERF_MODE rt=1434495/1804550 0 0
12-07 19:12:48.709 535 2107 D WifiStateMachine: setSuspendOptimizations: 2 true
12-07 19:12:48.709 535 617 I WifiService: requestActivityInfo uid=1000
12-07 19:12:48.709 535 2107 D WifiStateMachine: mSuspendOptNeedsDisabled 4
12-07 19:12:48.709 535 617 I WifiService: reportActivityInfo uid=1000
12-07 19:12:48.709 535 617 I WifiService: getSupportedFeatures uid=1000
12-07 19:12:48.709 535 2107 D WifiStateMachinePrime: State changed from client mode. state = 2
12-07 19:12:48.709 535 2107 D WifiStateMachine: setting wifi state to: 2
12-07 19:12:48.711 535 617 D WifiAsyncChannel.WifiService: sendMessageSynchronously sendMessageSynchronously.send message=131133
12-07 19:12:48.712 535 535 D WifiP2pService: Wifi enabled=false, P2P Interface availability=true
12-07 19:12:48.713 535 2109 D WifiAsyncChannel.WifiP2pService: sendMessage sendMessage message=131205
12-07 19:12:48.718 535 904 I WifiService: getWifiEnabledState uid=10037
12-07 19:12:48.720 535 904 I WifiService: getWifiEnabledState uid=1000
12-07 19:12:48.721 535 2107 I WifiVendorHal: Device Manager onStatusChanged. isReady(): true, isStarted(): true
12-07 19:12:48.722 535 2107 I WifiVendorHal: Vendor Hal started successfully
12-07 19:12:48.722 535 2107 D WificondControl: Wificond handle already retrieved
12-07 19:12:48.723 535 2107 E SupplicantStaIfaceHal: Death handler already present
12-07 19:12:48.726 5166 5166 I WifiTracker: Invoking onWifiStateChanged callback with state 2
12-07 19:12:48.726 535 2279 I WifiService: getWifiEnabledState uid=1000
12-07 19:12:48.729 535 2107 D HalDevMgr: createIface: ifaceType=0, lowPriority=false
12-07 19:12:48.740 535 2107 D HalDevMgr: executeChipReconfiguration: ifaceCreationData={chipInfo={chipId=0, availableModes=[{.id = 0, .availableCombinations = [{.limits = [{.types = [0], .maxIfaces = 1}, {.types = [2], .maxIfaces = 1}]}]}, {.id = 1, .availableCombinations = [{.limits = [{.types = [1], .maxIfaces = 1}]}]}], currentModeIdValid=false, currentModeId=0, ifaces[1].length=0, ifaces[0].length=0, ifaces[2].length=0, ifaces[3].length=0), chipModeId=0, interfacesToBeRemovedFirst=[]), ifaceType=0
12-07 19:12:48.741 535 2107 D HalDevMgr: isModeConfigNeeded=true
12-07 19:12:50.058 335 335 I MSM-irqbalance: Decided to move IRQ57 from CPU5 to CPU4
12-07 19:12:51.808 318 318 D audio_hw_primary: out_standby: enter: stream (0xb526d800) usecase(1: low-latency-playback)
12-07 19:12:51.870 318 318 D audio_hw_primary: disable_audio_route: reset and update mixer path: low-latency-playback speaker
12-07 19:12:51.870 318 318 D hardware_info: hw_info_append_hw_type : device_name = speaker
12-07 19:12:51.871 318 318 D audio_hw_primary: disable_snd_device: snd_device(2: speaker)
12-07 19:12:52.082 535 734 E LightsService: Light requested not available on this device. 3
12-07 19:12:55.068 335 335 I MSM-irqbalance: Decided to move IRQ65 from CPU5 to CPU4
12-07 19:12:58.908 330 330 E android.hardware.wifi@1.0-service: Failed to write wlan fw path param: No such device
12-07 19:12:58.909 330 330 E android.hardware.wifi@1.0-service: Failed to change firmware mode
12-07 19:12:58.910 535 2107 E HalDevMgr: executeChipReconfiguration: configureChip error: 9 ()
12-07 19:12:58.910 535 2107 E WifiVendorHal: Failed to create STA iface
12-07 19:12:58.911 535 2107 E WifiVendorHal: createStaIface(l.420) returns null
12-07 19:12:58.911 535 2109 W system_server: Long monitor contention with owner WifiStateMachine (2107) at android.hardware.wifi.V1_0.IWifiIface com.android.server.wifi.HalDeviceManager.createIface(int, boolean, com.android.server.wifi.HalDeviceManager$InterfaceDestroyedListener, android.os.Handler)(HalDeviceManager.java:1322) waiters=0 in boolean com.android.server.wifi.HalDeviceManager.isWifiStarted() for 10.180s
12-07 19:12:58.911 535 2107 E WifiNative: Failed to create STA iface in vendor HAL
12-07 19:12:58.911 535 2107 E WifiClientModeManager: Failed to create ClientInterface. Sit in Idle
12-07 19:12:58.911 535 2107 D WifiStateMachinePrime: State changed from client mode. state = 4
12-07 19:12:58.911 535 2107 D WifiClientModeManager: expected stop, not triggering callbacks: newState = 1
12-07 19:12:58.911 535 2107 D WifiStateMachine: setting wifi state to: 1
12-07 19:12:58.913 535 2107 D WifiStateMachine: DefaultState !CMD_GET_SUPPORTED_FEATURES uid=1000 rt=1444699/1814755 0 0
12-07 19:12:58.914 535 535 D WifiP2pService: Wifi enabled=false, P2P Interface availability=true
12-07 19:12:58.915 535 2279 I WifiService: getWifiEnabledState uid=10037
12-07 19:12:58.916 535 2109 I WifiP2pNative: Registering for interface available listener
12-07 19:12:58.917 535 2252 I WifiService: getWifiEnabledState uid=1000
12-07 19:12:58.917 535 2109 D WifiAsyncChannel.WifiP2pService: sendMessage sendMessage message=131205
12-07 19:12:58.930 5166 5166 I WifiTracker: Invoking onWifiStateChanged callback with state 1
12-07 19:12:58.930 535 2107 D WifiStateMachine: DefaultState !CMD_DISABLE_P2P_RSP uid=1000 rt=1444716/1814772 0 0
12-07 19:12:58.930 535 2107 D WifiStateMachinePrime: ClientMode failed, return to WifiDisabledState.
12-07 19:12:58.930 535 2107 D WifiController: ClientMode unexpected failure: state unknown
12-07 19:12:58.930 535 617 D WifiAsyncChannel.WifiService: sendMessageSynchronously sendMessageSynchronously.recv message=131133 sendingUid=1000
12-07 19:12:58.930 535 2107 D WifiClientModeManager: currentstate: IdleState
12-07 19:12:58.930 535 4518 I WifiService: getWifiEnabledState uid=1000
12-07 19:12:58.931 535 617 E BatteryExternalStatsWorker: no controller energy info supplied for wifi
12-07 19:12:58.931 535 2107 D WifiStateMachinePrime: Entering WifiDisabledState
12-07 19:12:58.931 535 2107 D ActiveModeManager: sending scan available broadcast: false
12-07 19:12:58.933 535 2107 D WifiScanRequestProxy: Scanning for hidden networks is disabled
12-07 19:12:58.933 535 2107 D WifiStateMachine: DefaultState !CMD_DISABLE_P2P_RSP uid=1000 rt=1444719/1814775 0 0
12-07 19:12:58.933 535 2108 I WifiScanningService: wifi driver unloaded
12-07 19:12:58.933 535 2107 D WifiStateMachinePrime: received a message in WifiDisabledState: { when=0 what=1 target=com.android.internal.util.StateMachine$SmHandler }
12-07 19:12:58.934 535 2107 D WifiStateMachinePrime: Switching from WifiDisabledState to ScanOnlyMode
12-07 19:12:58.934 535 2107 D WifiStateMachinePrime: Entering ScanOnlyModeActiveState
12-07 19:12:58.936 535 904 I WifiService: getConfiguredNetworks uid=1000
12-07 19:12:58.936 535 904 D WifiAsyncChannel.WifiService: sendMessageSynchronously sendMessageSynchronously.send message=131131
12-07 19:12:58.938 535 2107 D WifiScanOnlyModeManager: entering IdleState
12-07 19:12:58.938 535 617 I WifiService: requestActivityInfo uid=1000
12-07 19:12:58.938 535 617 I WifiService: reportActivityInfo uid=1000
12-07 19:12:58.938 535 617 I WifiService: getSupportedFeatures uid=1000
12-07 19:12:58.940 535 617 D WifiAsyncChannel.WifiService: sendMessageSynchronously sendMessageSynchronously.send message=131133
12-07 19:12:58.948 535 2107 I WifiVendorHal: Device Manager onStatusChanged. isReady(): true, isStarted(): true
12-07 19:12:58.948 535 2107 I WifiVendorHal: Vendor Hal started successfully
12-07 19:12:58.948 535 2107 D WificondControl: Wificond handle already retrieved
12-07 19:12:58.949 535 2109 I WifiP2pNative: Registering for interface available listener
12-07 19:12:58.949 535 2107 E SupplicantStaIfaceHal: Death handler already present
12-07 19:12:58.954 535 2107 D HalDevMgr: createIface: ifaceType=0, lowPriority=true
12-07 19:12:58.965 535 2107 D HalDevMgr: executeChipReconfiguration: ifaceCreationData={chipInfo={chipId=0, availableModes=[{.id = 0, .availableCombinations = [{.limits = [{.types = [0], .maxIfaces = 1}, {.types = [2], .maxIfaces = 1}]}]}, {.id = 1, .availableCombinations = [{.limits = [{.types = [1], .maxIfaces = 1}]}]}], currentModeIdValid=false, currentModeId=0, ifaces[1].length=0, ifaces[0].length=0, ifaces[2].length=0, ifaces[3].length=0), chipModeId=0, interfacesToBeRemovedFirst=[]), ifaceType=0
12-07 19:12:58.965 535 2107 D HalDevMgr: isModeConfigNeeded=true
12-07 19:13:00.074 335 335 I MSM-irqbalance: Decided to move IRQ128 from CPU5 to CPU4
12-07 19:13:02.087 535 734 E LightsService: Light requested not available on this device. 3
12-07 19:13:05.068 335 335 I MSM-irqbalance: Decided to move IRQ215 from CPU5 to CPU4
12-07 19:13:09.129 330 330 E android.hardware.wifi@1.0-service: Failed to write wlan fw path param: No such device
12-07 19:13:09.129 330 330 E android.hardware.wifi@1.0-service: Failed to change firmware mode
12-07 19:13:09.130 535 2107 E HalDevMgr: executeChipReconfiguration: configureChip error: 9 ()
12-07 19:13:09.131 535 2107 E WifiVendorHal: Failed to create STA iface
12-07 19:13:09.132 535 2107 E WifiVendorHal: createStaIface(l.420) returns null
12-07 19:13:09.132 535 2107 E WifiNative: Failed to create STA iface in vendor HAL
12-07 19:13:09.132 535 2107 E WifiScanOnlyModeManager: Failed to create ClientInterface. Sit in Idle
12-07 19:13:09.133 535 2107 D WifiStateMachinePrime: ScanOnlyMode mode failed
12-07 19:13:09.133 535 2107 D WifiStateMachine: DefaultState !CMD_GET_CONFIGURED_NETWORKS uid=1000 rt=1454919/1824975 1000 0 num=0
12-07 19:13:09.134 535 2107 D WifiStateMachine: DefaultState !CMD_GET_SUPPORTED_FEATURES uid=1000 rt=1454920/1824976 0 0
12-07 19:13:09.134 535 904 D WifiAsyncChannel.WifiService: sendMessageSynchronously sendMessageSynchronously.recv message=131131 sendingUid=1000
12-07 19:13:09.136 535 4519 I WifiService: getPasspointConfigurations uid=1000
12-07 19:13:09.140 5166 5166 I Choreographer: Skipped 612 frames! The application may be doing too much work on its main thread.
12-07 19:13:09.148 535 2107 D WifiStateMachinePrime: ScanOnlyMode failed, return to WifiDisabledState.
12-07 19:13:09.148 535 2107 D WifiController: ScanOnlyMode unexpected failure: state unknown
12-07 19:13:09.148 535 617 D WifiAsyncChannel.WifiService: sendMessageSynchronously sendMessageSynchronously.recv message=131133 sendingUid=1000
12-07 19:13:09.149 535 2107 D WifiScanOnlyModeManager: currentstate: IdleState
12-07 19:13:09.149 535 617 E BatteryExternalStatsWorker: no controller energy info supplied for wifi
12-07 19:13:09.162 535 2107 D WifiStateMachinePrime: Entering WifiDisabledState
12-07 19:13:09.162 535 617 I WifiService: requestActivityInfo uid=1000
12-07 19:13:09.162 535 2107 D ActiveModeManager: sending scan available broadcast: false
12-07 19:13:09.162 535 617 I WifiService: reportActivityInfo uid=1000
12-07 19:13:09.162 535 617 I WifiService: getSupportedFeatures uid=1000
12-07 19:13:09.163 535 617 D WifiAsyncChannel.WifiService: sendMessageSynchronously sendMessageSynchronously.send message=131133
12-07 19:13:09.164 535 2107 D WifiScanRequestProxy: Scanning for hidden networks is disabled
12-07 19:13:09.164 535 2108 I WifiScanningService: wifi driver unloaded
12-07 19:13:09.165 535 2107 D WifiStateMachine: DefaultState !CMD_GET_SUPPORTED_FEATURES uid=1000 rt=1454951/1825007 0 0
12-07 19:13:09.185 535 617 D WifiAsyncChannel.WifiService: sendMessageSynchronously sendMessageSynchronously.recv message=131133 sendingUid=1000
12-07 19:13:09.186 535 617 E BatteryExternalStatsWorker: no controller energy info supplied for wifi
12-07 19:13:09.193 535 617 E KernelCpuSpeedReader: Failed to read cpu-freq: /sys/devices/system/cpu/cpu0/cpufreq/stats/time_in_state (No such file or directory)
12-07 19:13:10.198 335 335 I MSM-irqbalance: Decided to move IRQ130 from CPU5 to CPU4
n/a
Solutions
Workaround
No idea that I know of
Possible fixes Again, no idea