[LG Optimus L3 II, L5 II, L7 II, L9 II] JoseRocha:
Hello :)

My sister-in-law has a LG Optimus L5 II ( e450f ) and in the last few weeks her cellphone can't turning on the wi-fi service. It stucks showing the message "Turning On Wi-Fi".

Searching here and also in other forums, I tried some possibilities, but unfortunately none of it, works.

1. I did it a hard reset

2. I reinstall it the stock rom using LGMobile Support Tool

3. I rooted the cellphone and deleted the /data/misc/wifi/wpa_supplicant.conf configuration file

4. I changed the permission to the file /dev/wmtWifi

Below, a part of dmesg command result:

I/WifiServiceExt( 409): WIFI_STATE_CHANGED_ACTION [2]
D/WifiCommon( 409): wifi_load_driver
D/WifiCommon( 409): wifi_set_power on!
E/COMPANION( 2745): [LGSW]false, [WIFIUI]false, [WIFI]false, [HOTSPOT]false, [OBEXSERVICE]false
D/QuickSettingsReceiverStation( 496): Received: android.net.wifi.WIFI_STATE_CHANGED
D/WifiCommon( 409): Hal cmd: "hal load wifi"
D/Hald ( 120): cmd <load wifi>
D/Hald ( 120): Start load wifi driver.
E/Hald ( 120): Set "/dev/wmtWifi" [1] failed
D/WifiCommon( 409): Hal cmd response code: "200"
D/WifiStateMachine( 409): Driver load successful
D/WifiStateMachine( 409): DriverLoadingState{ what=131075 when=0 target=Handler (com.android.internal.util.StateMachine$SmHandler) {42c94270} }
D/WifiStateMachine( 409): DriverLoadedState
D/WifiStateMachine( 409): DriverLoadedState{ what=131083 when=-1h8m58s272ms target=Handler (com.android.internal.util.StateMachine$SmHandler) {42c94270} }
D/WifiCommon( 115): wifi_change_fw_path [STA]
D/WifiCommon( 115): Hal cmd: "hal load p2p"
D/WifiCommon( 115): Hal cmd response code: "200"
E/WifiStateMachine( 409): Unable to change interface settings: java.lang.IllegalStateException: command '208 interface setcfg wlan0 0.0.0.0 0 down' failed with
'400 208 Failed to set address (No such device)'
D/WifiCommon( 409): Stop "p2p_supplicant"
D/WifiCommon( 409): [wlan0]wifi_close_supplicant_connection
D/WifiCommon( 409): wifi_start_supplicant [1]
D/WifiCommon( 409): Start "p2p_supplicant"
D/WifiStateMachine( 409): Supplicant start successful
D/WifiStateMachine( 409): SupplicantStartingState
D/WifiStateMachine( 409): SupplicantStartingState{ what=131144 when=-1h8m58s297ms arg1=1 target=Handler (com.android.internal.util.StateMachine$SmHandler) {42c
94270} }
D/WifiStateMachine( 409): SupplicantStartingState{ what=131085 when=-1h8m58s297ms target=Handler (com.android.internal.util.StateMachine$SmHandler) {42c94270}
}
D/WifiCommon( 409): [wlan0]wifi_connect_to_supplicant
D/wpa_supplicant( 6322): random: Added entropy from /data/misc/wifi/entropy.bin (own_pool_ready=2)
D/wpa_supplicant( 6322): random: Updated entropy file /data/misc/wifi/entropy.bin (own_pool_ready=2)
D/wpa_supplicant( 6322): Initializing interface 'wlan0' conf '/data/misc/wifi/wpa_supplicant.conf' driver 'nl80211' ctrl_interface 'N/A' bridge 'N/A'
D/wpa_supplicant( 6322): Configuration file '/data/misc/wifi/wpa_supplicant.conf' -> '/data/misc/wifi/wpa_supplicant.conf'
D/wpa_supplicant( 6322): Reading configuration file '/data/misc/wifi/wpa_supplicant.conf'
D/wpa_supplicant( 6322): random: Updated entropy file /data/misc/wifi/entropy.bin (own_pool_ready=2)
D/WifiService( 409): onReceive, action=android.intent.action.BATTERY_CHANGED
V/Provider/Setting( 409): from settings cache , name = wifi_idle_ms value = null
D/WifiService( 409): ACTION_BATTERY_CHANGED pluggedType: 2
V/Provider/Setting( 409): from settings cache , name = wifi_sleep_policy value = 2
E/WifiCommon( 409): [wlan0]wifi_connect_to_supplicant Failed!!
D/WifiCommon( 409): [wlan0]wifi_connect_to_supplicant
E/WifiCommon( 409): [wlan0]wifi_connect_to_supplicant Failed!!
D/WifiCommon( 409): [wlan0]wifi_connect_to_supplicant
D/WifiService( 409): onReceive, action=android.intent.action.BATTERY_CHANGED
V/Provider/Setting( 409): from settings cache , name = wifi_idle_ms value = null
D/WifiService( 409): ACTION_BATTERY_CHANGED pluggedType: 2
V/Provider/Setting( 409): from settings cache , name = wifi_sleep_policy value = 2
E/WifiCommon( 409): [wlan0]wifi_connect_to_supplicant Failed!!
D/WifiCommon( 409): [wlan0]wifi_connect_to_supplicant
E/WifiCommon( 409): [wlan0]wifi_connect_to_supplicant Failed!!
D/WifiCommon( 409): [wlan0]wifi_connect_to_supplicant

Tks :)