[Q] WIFI Unable to scan for networks + cannot read SIM - Desire HD Q&A, Help & Troubleshooting

I have this problem with my unit that came up without warning. It just stopped scanning for wifi all of a sudden, then stopped reading my SIM when I rebooted. Trying to turn on the wifi takes a long time and comes up with a 'unable to scan for networks' error before automatically turning off again.
I'm using LeeDroid latest with the recommended radio. So far I've tried:
Using the SIM in another phone = SIM works. (that's one variable out)
Switching a different SIM to the DHD = I tried 2. One was okay, the other had the same problem. (?)
Switched to an earlier backup = Same problems.
Switched to a different ROM = Same problems.
Clean install of the current ROM = Same problems.
I'm about to try switching radios and RILs right now.
If that fails, I'm stumped. Does anyone have suggestions for this? The unit is less than 6 months old (still under warranty) but I'd like to avoid the hassle of putting it back to stock, turning it in for repair and switching to another phone.
Edit: Radio and RIL change don't work. I'm troubleshooting without a SIM just to remove that variable. Thought I'd try to get wifi working first.

Logcat:
I/WifiHW ( 1694): wifi_load_driver end right 3
I/WifiHW ( 1694): wifi_start_supplicant enter
D/WifiHW ( 1694): create dhcp dir ok!
I/WifiHW ( 1694): ensure_config_file_exists
I/WifiHW ( 1694): wifi_start_supplicant end right 2
D/WifiService( 1694): [smart wifi] mSmartWiFiStatus: 0 mBatteryLevel: 90 mWifiConnected: false
I/WifiHW ( 1694): can't access IFACE_DIR OK
E/dalvikvm( 1694): Cannot get policy, owner thread id=1840
E/dalvikvm( 1694): Cannot get policy, waiter thread id=1721
D/NetSharing_NSReceiver( 2057): onReceive : android.net.wifi.WIFI_STATE_CHANGED
D/NetSharing( 2057): wifi enabled change, state = false
E/dalvikvm( 1694): Cannot get policy, owner thread id=1721
E/dalvikvm( 1694): Cannot get policy, waiter thread id=1701
E/dalvikvm( 1694): Cannot get policy, owner thread id=5229
E/dalvikvm( 1694): Cannot get policy, waiter thread id=1939
D/dalvikvm( 3648): GC_CONCURRENT freed 840K, 53% free 2969K/6279K, external 75K/587K, paused 3ms+34ms
E/dalvikvm( 1694): Cannot get policy, owner thread id=1840
E/dalvikvm( 1694): Cannot get policy, waiter thread id=1721
E/dalvikvm( 1694): Cannot get policy, owner thread id=5229
E/dalvikvm( 1694): Cannot get policy, waiter thread id=5231
I/wpa_supplicant( 5228): Initial scan channel number: 11
W/wpa_supplicant( 5228): ioctl[SIOCSIWPRIV]
W/wpa_supplicant( 5228): ioctl[SIOCGIFFLAGS]
W/wpa_supplicant( 5228): ioctl[SIOCSIWPMKSA]
W/wpa_supplicant( 5228): ioctl[SIOCSIWMODE]
W/wpa_supplicant( 5228): ioctl[SIOCGIRANGE]
I//system/bin/wpa_supplicant( 5227): Could not get interface 'eth0' flags
I//system/bin/wpa_supplicant( 5227): Could not configure driver to use managed mode
W/wpa_supplicant( 5228): ioctl[SIOCGIWMODE]
W/wpa_supplicant( 5228): ioctl[SIOCSIWAP]
W/wpa_supplicant( 5228): ioctl[SIOCSIWENCODEEXT]
I//system/bin/wpa_supplicant( 5227): ioctl[SIOCGIFINDEX]: No such device
W/wpa_supplicant( 5228): ioctl[SIOCSIWENCODE]
W/wpa_supplicant( 5228): ioctl[SIOCSIWENCODEEXT]
W/wpa_supplicant( 5228): ioctl[SIOCSIWENCODE]
W/wpa_supplicant( 5228): ioctl[SIOCSIWENCODEEXT]
W/wpa_supplicant( 5228): ioctl[SIOCSIWENCODE]
W/wpa_supplicant( 5228): ioctl[SIOCSIWENCODEEXT]
W/wpa_supplicant( 5228): ioctl[SIOCSIWENCODE]
I/wpa_supplicant( 5228): CTRL-EVENT-STATE-CHANGE id=-1 state=0 BSSID=00:00:00:00:00:00
E/wpa_supplicant( 5228): Failed to disable WPA in the driver.
W/wpa_supplicant( 5228): ioctl[SIOCGIWMODE]
W/wpa_supplicant( 5228): ioctl[SIOCSIWAP]
W/wpa_supplicant( 5228): ioctl[SIOCGIFFLAGS]
I/logwrapper( 5227): /system/bin/wpa_supplicant terminated by exit(255)

Related

[Q] No wifi/GPS after recent flash - MAC address unavailable.

Hi,
I recently moved from a rooted stock (with minor tweaks) sense 2.2. rom to CM7. Everything works great except the wifi! It only turns on (or appears to) for a few seconds before turning off (doesn't even scan) and shows "mac address unavailable". GPS also doesn't appear to be working.
I've tried reflashing everything (radio, recovery, rom) and no luck. I've read some people have resolved it by a simple reboot (or installing wefi) but that doesnt work!
Any help would be much appreciated!
Many thanks
Other info:
Radio: 5.17.05.23
Recovery: ClockworkMod 3.2.0.1
S-off
ROM: CM 7.1.0 RC1 (and i've tried the latest nightly builds too).
I commented on an old similar thread, but I hope this is a more suitable place for it!
Hi,
After experimenting with many ROMs, radios and kernals, I am still without wifi!
I read a post around removing the wpa_supplicant.conf file from /data/misc/wifi but that didn't work either.
Wifi only works when I revert back to a rooted stock rom.
Any ideas?
hi,
I'm starting to run out of ideas on this one. Everything else works fine bar this issue, and I really don't want to revert back to a stock ROM! I've attached a logcat extract in the hope that someone can help! Please!
Thanks in advance!
D/WifiStateTracker( 182): Disabling interface
D/SettingsAppWidgetProvider( 535): Widget is from a previous version... Let's update
D/SettingsAppWidgetProvider( 535): No instances yet... Wait for at least one instance to exist before adding global settings
D/dalvikvm( 320): GC_CONCURRENT freed 397K, 50% free 3168K/6215K, external 0K/512K, paused 5ms+3ms
D/dalvikvm( 406): GC_EXPLICIT freed 163K, 51% free 2813K/5703K, external 0K/0K, paused 51ms
D/dalvikvm( 535): GC_EXPLICIT freed 85K, 45% free 3148K/5703K, external 837K/1034K, paused 91ms
I/power ( 182): *** set_screen_state 0
D/SurfaceFlinger( 182): About to give-up screen, flinger = 0x93d20
D/AK8973 ( 138): Compass CLOSE
D/dalvikvm( 182): GC_CONCURRENT freed 851K, 41% free 6069K/10119K, external 35K/547K, paused 8ms+6ms
I/power ( 182): *** set_screen_state 1
D/SurfaceFlinger( 182): Screen about to return, flinger = 0x93d20
D/AK8973 ( 138): Compass Start
D/szipinf ( 297): Initializing inflate state
D/szipinf ( 182): Initializing inflate state
I/ActivityManager( 182): Starting: Intent { act=android.settings.SETTINGS flg=0x10200000 cmp=com.android.settings/.Settings } from pid 297
I/ActivityManager( 182): Starting: Intent { act=android.intent.action.MAIN cmp=com.android.settings/.WirelessSettings } from pid 535
I/ActivityManager( 182): Displayed com.android.settings/.WirelessSettings: +331ms
D/SettingsAppWidgetProvider( 535): Widget is from a previous version... Let's update
D/SettingsAppWidgetProvider( 535): No instances yet... Wait for at least one instance to exist before adding global settings
I/TelephonyRegistry( 182): notifyServiceState: 0 home T-Mobile T-Mobile 23430 GPRS CSS not supported -1 -1RoamInd: -1DefRoamInd: -1EmergOnly: false
I/TelephonyRegistry( 182): notifyDataConnection: state=2 isDataConnectivityPossible=true reason=null interfaceName=rmnet0 networkType=1
D/WifiService( 182): ACTION_BATTERY_CHANGED pluggedType: 2
D/SettingsAppWidgetProvider( 535): Widget is from a previous version... Let's update
D/SettingsAppWidgetProvider( 535): No instances yet... Wait for at least one instance to exist before adding global settings
E/wpa_supplicant( 1240): ioctl[SIOCGIFFLAGS]
E/wpa_supplicant( 1240): ioctl[SIOCSIWPMKSA]
E/wpa_supplicant( 1240): ioctl[SIOCSIWMODE]
E/wpa_supplicant( 1240): ioctl[SIOCGIRANGE]
E/wpa_supplicant( 1240): ioctl[SIOCGIWMODE]
E/wpa_supplicant( 1240): ioctl[SIOCSIWAP]
E/wpa_supplicant( 1240): ioctl[SIOCSIWENCODEEXT]
E/wpa_supplicant( 1240): ioctl[SIOCSIWENCODE]
E/wpa_supplicant( 1240): ioctl[SIOCSIWENCODEEXT]
E/wpa_supplicant( 1240): ioctl[SIOCSIWENCODE]
E/wpa_supplicant( 1240): ioctl[SIOCSIWENCODEEXT]
E/wpa_supplicant( 1240): ioctl[SIOCSIWENCODE]
E/wpa_supplicant( 1240): ioctl[SIOCSIWENCODEEXT]
E/wpa_supplicant( 1240): ioctl[SIOCSIWENCODE]
I/wpa_supplicant( 1240): CTRL-EVENT-STATE-CHANGE id=-1 state=0 BSSID=00:00:00:00:00:00
E/wpa_supplicant( 1240): Failed to disable WPA in the driver.
E/wpa_supplicant( 1240): ioctl[SIOCGIWMODE]
E/wpa_supplicant( 1240): ioctl[SIOCSIWAP]
E/wpa_supplicant( 1240): ioctl[SIOCGIFFLAGS]
I/ActivityManager( 182): Starting: Intent { act=android.intent.action.MAIN cmp=com.android.settings/.wifi.WifiSettings } from pid 535
D/WifiStateTracker( 182): Reset connections and stopping DHCP
D/WifiStateTracker( 182): Disabling interface
I/ActivityManager( 182): Displayed com.android.settings/.wifi.WifiSettings: +6s721ms
E/WifiHW ( 182): Supplicant not running, cannot connect
W/InputManagerService( 182): Window already focused, ignoring focus gain of: [email protected]
E/WifiHW ( 182): Supplicant not running, cannot connect
D/dalvikvm( 297): GC_EXPLICIT freed 762K, 58% free 3414K/8071K, external 6407K/7021K, paused 67ms
E/WifiHW ( 182): Supplicant not running, cannot connect
V/WifiStateTracker( 182): Supplicant died unexpectedly
D/WifiStateTracker( 182): Reset connections and stopping DHCP
D/WifiStateTracker( 182): Disabling interface
D/WifiStateTracker( 182): Reset connections and stopping DHCP
D/SettingsAppWidgetProvider( 535): Widget is from a previous version... Let's update
D/SettingsAppWidgetProvider( 535): No instances yet... Wait for at least one instance to exist before adding global settings
D/WifiStateTracker( 182): Disabling interface
D/SettingsAppWidgetProvider( 535): Widget is from a previous version... Let's update
D/SettingsAppWidgetProvider( 535): No instances yet... Wait for at least one instance to exist before adding global settings
I/WindowManager( 182): Setting rotation to 1, animFlags=0
I/ActivityManager( 182): Config changed: { scale=1.0 imsi=234/30 loc=en_GB touch=3 keys=1/1/2 nav=3/1 orien=2 layout=34 uiMode=17 seq=4 themeResource=null}
I/PowerWidget( 254): Clearing any old widget stuffs
I/PowerWidget( 254): Setting up widget
I/PowerWidget( 254): Default buttons being loaded
I/PowerWidget( 254): Button list: toggleWifi|toggleBluetooth|toggleGPS|toggleSound
I/PowerWidget( 254): Setting up button: toggleWifi
I/PowerWidget( 254): Setting up button: toggleBluetooth
I/PowerWidget( 254): Setting up button: toggleGPS
I/PowerWidget( 254): Setting up button: toggleSound

[Q] Phone intermittently reboots and has no WiFi

This is driving me nuts!
Realizing that my Desire GSM (PVT3, S-OFF, stock HBOOT) won't ever go beyond GB only with the help of HTC, I started looking at alternatives and flashed a ICS build. This was at an early stage so I wasn't expecting much and that's what I got: not much. System app hung, leaving me with no alternative but to take the battery out and wipe Dalvik to boot it.
As the ROMs have progressed, my expectations have risen but still I two major issues:
1) Spontaneous reboots
Often when picking up the phone, I need to enter my PIN because the phone has rebooted. Sometimes I can go a day without that happening, sometimes it happens 3 or 4 times in a row.
2) No WiFi
It won't even turn on, the aLogcat trace is as below.
Seems it can't find the H/W at all! Is this something that can be attributed to the RIL?
This is all really confusing to me, had no problems at all w/ stock HTC ROMs. I have so far tried different versions of Sandvold and MIUI ROMs. Anybody experience the same or has a clue to what's wrong?
Still no go - more evidence
As I thought WiFi was dead, I restored the phone to stock HTC 2.2. Lo and behold, now WiFi worked!
Armed with fresh new confidence I installed a number of 2.3 Sense and non-Sense ROMs (Runnymede, CM 7.1 etc.) just to see the same problem again.
Any idea? According to the dmesg below it's a hardware problem but since it work at least sometimes with stock ROMs it can't be that bad. Any other 2.3 user who could post their dmesg for a functioning WiFi card?
Code:
[ 509.333282] [WLAN] wifi_set_power = 1
[ 509.333404] bravo_wifi_power: 1
[ 509.618499] [WLAN] wifi_set_carddetect = 1
[ 509.618713] bravo_wifi_set_carddetect: 1
[ 509.618804] mmc0: card_present 1
[ 509.618896] mmc0: Slot status change detected (0 -> 1)
[ 509.620269] [WLAN] Dongle Host Driver, version 4.218.204.2
[ 512.170501] mmc0: queuing CIS tuple 0x91 length 3
[ 512.170928] mmc0: new high speed SDIO card at address 0001
[ 514.212982] mmc0: Data timeout
[ 514.213256] mmc0: Controller has been reset
[ 516.248565] mmc0: Data timeout
[ 516.248840] mmc0: Controller has been reset
[ 518.286071] mmc0: Data timeout
[ 518.286529] mmc0: Controller has been reset
[ 519.613403] [WLAN][WRN] dhd_module_init: sdio_register_driver timeout
[ 520.323638] mmc0: Data timeout
[ 520.324096] mmc0: Controller has been reset
[ 522.359191] mmc0: Data timeout
[ 522.359405] mmc0: Controller has been reset
[ 524.396606] mmc0: Data timeout
[ 524.396911] mmc0: Controller has been reset
[ 524.397430] [WLAN][WRN] dhdsdio_probe_attach: si_attach failed!
[ 524.397827] [WLAN][WRN] dhdsdio_probe: dhdsdio_probe_attach failed
[ 524.399444] [WLAN] wifi_set_carddetect = 0
[ 524.399841] bravo_wifi_set_carddetect: 0
[ 524.400054] mmc0: card_present 0
[ 524.400268] mmc0: Slot status change detected (1 -> 0)
[ 524.400665] [WLAN] wifi_set_power = 0
[ 524.400878] bravo_wifi_power: 0
[ 524.404449] btsdio: probe of mmc0:0001:3 failed with error -123
[ 524.407867] mmc0: card 0001 removed
First of all, go back to stock 2.2 (clean install from RUU, not a nandroid) and keep runnin' it for a few days while monitoring WiFi. If the WiFi's stable with stock, then it must be a software fault, in which case i'd advise you to upgrade to the latest radio from the official GB ROM when using GB/ICS ROMs. If the WiFi's not stable even with stock 2.2 + stock 2.2 radio, then you have a hardware problem on your hands and my bet is that nobody but an HTC service can help you with that.
Here's my logcat for enabling the WiFi connection + connecting to my router (i have replaced the MAC strings with ADDR).
Code:
D/WifiStatusBarPreference( 188): set wifi enable: true
D/WifiService( 122): setWifiEnabled =truemAirplaneModeOverwridden =false
D/WifiService( 122): setWifiEnabledBlocking:Enable Wifi
I/WifiHW ( 122): wifi_load_driver enter
I/WifiHW ( 122): check_driver_loaded
I/WifiHW ( 122): insmod
D/NetSharing_NSReceiver( 4957): onReceive : android.net.wifi.WIFI_STATE_CHANGED
D/NetSharing( 4957): wifi enabled change, state = false
D/NetSharing( 4957): wifi enabled change, state = false
I/WifiHW ( 122): wifi_load_driver end right 3
I/WifiHW ( 122): wifi_start_supplicant enter
D/WifiHW ( 122): create dhcp dir ok!
I/WifiHW ( 122): ensure_config_file_exists
I/WifiHW ( 122): wifi_start_supplicant end right 2
D/WifiService( 122): [smart wifi] mSmartWiFiStatus: 0 mBatteryLevel: 83 mWifiConnected: false
D/WifiService( 122): [smart wifi] ACTION_BATTERY_CHANGED pluggedType: 0
I/WifiHW ( 122): can't access IFACE_DIR OK
D/WifiService( 122): acquireWifiLockLocked: WifiLock{NetworkLocationProvider type=2 [email protected]} Mode: 2
D/NetSharing_NSReceiver( 4957): onReceive : android.net.wifi.WIFI_STATE_CHANGED
D/NetSharing( 4957): wifi enabled change, state = false
D/NetSharing( 4957): wifi enabled change, state = false
D/WifiService( 122): releaseWifiLockLocked: WifiLock{NetworkLocationProvider type=2 [email protected]} Mode: 2
I/WifiHW ( 122): Connect to Supplicant done
D/WifiService( 122): enable and start wifi due to updateWifiState
D/WifiService( 122): enable and start wifi due to updateWifiState
D/WifiStateTracker( 122): Not get IP address yet, shall not do WiFi offload
V/WifiMonitor( 122): Event [CTRL-EVENT-STATE-CHANGE id=-1 state=2 BSSID=00:00:00:00:00:00]
I/wpa_supplicant( 5325): Check WiFi offload status: wpa_s->vh_wifi_to_mobile:-1 ,wpa_s->vh_user_connect:-1
V/WifiMonitor( 122): Event [Trying to associate with ADDR (SSID='TV' freq=2412 MHz)]
V/WifiMonitor( 122): Event [CTRL-EVENT-STATE-CHANGE id=-1 state=3 BSSID=ADDR]
V/WifiStateTracker( 122): Connection to supplicant established, state=DISCONNECTED
V/WifiStateTracker( 122): KeyStore.LOCKED
V/WifiStateTracker( 122): Changing supplicant state: DISCONNECTED ==> SCANNING
V/WifiStateTracker( 122): Changing supplicant state: SCANNING ==> ASSOCIATING
V/WifiStateTracker( 122): KeyStore.LOCKED
D/ConnectivityService( 122): ConnectivityChange for WIFI: CONNECTING/CONNECTING
D/ConnectivityService( 122): Dropping ConnectivityChange for WIFI: CONNECTING/CONNECTING
V/WifiMonitor( 122): Event [CTRL-EVENT-STATE-CHANGE id=5 state=4 BSSID=ADDR]
V/WifiStateTracker( 122): Changing supplicant state: ASSOCIATING ==> ASSOCIATED
V/WifiMonitor( 122): Event [Associated with ADDR]
V/WifiMonitor( 122): Event [CTRL-EVENT-STATE-CHANGE id=5 state=5 BSSID=00:00:00:00:00:00]
V/WifiStateTracker( 122): Changing supplicant state: ASSOCIATED ==> FOUR_WAY_HANDSHAKE
D/ConnectivityService( 122): Dropping ConnectivityChange for WIFI: CONNECTING/AUTHENTICATING
V/WifiMonitor( 122): Event [CTRL-EVENT-STATE-CHANGE id=5 state=5 BSSID=00:00:00:00:00:00]
V/WifiStateTracker( 122): Changing supplicant state: FOUR_WAY_HANDSHAKE ==> FOUR_WAY_HANDSHAKE
V/WifiMonitor( 122): Event [CTRL-EVENT-STATE-CHANGE id=5 state=6 BSSID=00:00:00:00:00:00]
V/WifiStateTracker( 122): Changing supplicant state: FOUR_WAY_HANDSHAKE ==> GROUP_HANDSHAKE
V/WifiMonitor( 122): Event [WPA: Key negotiation completed with ADDR [PTK=CCMP GTK=TKIP]]
V/WifiMonitor( 122): Event [CTRL-EVENT-STATE-CHANGE id=5 state=7 BSSID=00:00:00:00:00:00]
V/WifiMonitor( 122): Event [CTRL-EVENT-CONNECTED - Connection to ADDR completed (auth) [id=5 id_str=]]
V/WifiStateTracker( 122): Changing supplicant state: GROUP_HANDSHAKE ==> COMPLETED
V/WifiStateTracker( 122): New network state is CONNECTED
D/WifiStateTracker( 122): DhcpHandler: acquire ddWakeLock
D/WifiStateTracker( 122): DhcpHandler: DHCP request started
D/ConnectivityService( 122): Dropping ConnectivityChange for WIFI: CONNECTING/OBTAINING_IPADDR
D/NetSharing_NSReceiver( 4957): onReceive : android.net.wifi.STATE_CHANGE
I/NetSharing_NSReceiver( 4957): wifienabled:false
V/WifiStateTracker( 122): DhcpHandler: DHCP request succeeded
D/WifiStateTracker( 122): DhcpHandler: release ddWakeLock
D/WifiStateTracker( 122): change state to connected for wifi supplicant state=COMPLETED
D/StatusBarService( 188): updateIcon slot=wifi index=16 viewIndex=10 old=StatusBarIcon(pkg=com.android.systemui id=0x7f0200d3 level=0 visible=false num=0 ) icon=StatusBarIcon(pkg=com.android.systemui id=0x7f0200d2 level=0 visible=true num=0 )
D/WifiWatchdogService( 122): (android.server.ServerThread) TV (ADDR) does not require the watchdog
D/NetSharing_NSReceiver( 4957): onReceive : android.net.wifi.STATE_CHANGE
I/NetSharing_NSReceiver( 4957): wifienabled:true
D/WifiStateTracker( 122): adding routing rule table=>wifi fromIp=all, toIp=all priority=3001
I/ipd ( 78): IP CMD: /system/bin/ip ro flush table wifi
V/WifiStateTracker( 122): IP configuration: ipaddr 192.168.100.5 gateway 192.168.100.1 netmask 255.255.255.0 dns1 192.168.100.1 dns2 0.0.0.0 DHCP server 192.168.100.1 lease 86400 seconds
I/wpa_supplicant( 5325): WiFi gateway: 0x 164a8c0
D/ConnectivityService( 122): ConnectivityChange for WIFI: CONNECTED/CONNECTED
V/NetworkStateTracker( 122): Setting TCP values: [4095,87380,110208,4096,16384,110208] which comes from [net.tcp.buffersize.wifi]
D/ConnectivityService( 122): adding dns 192.168.100.1 for WIFI
I/ipd ( 78): IP CMD: /system/bin/ip ro add 192.168.100.0/24 dev eth0 src 192.168.100.5 table wifi
D/WifiService( 122): type: WIFI, connected: true
D/StatusBarService( 188): updateIcon slot=wifi index=16 viewIndex=10 old=StatusBarIcon(pkg=com.android.systemui id=0x7f0200d2 level=0 visible=true num=0 ) icon=StatusBarIcon(pkg=com.android.systemui id=0x7f0200d9 level=0 visible=true num=0 )
I/ipd ( 78): IP CMD: /system/bin/ip ro add default via 192.168.100.1 dev eth0 table wifi
I/ipd ( 78): IP CMD: /system/bin/ip ru del from all to all table wifi prio 3001
I/ipd ( 78): IP CMD: /system/bin/ip ru add from all to all table wifi prio 3001
D/Tethering( 122): Tethering got CONNECTIVITY_ACTION type: WIFI, subtype: , status: CONNECTED
D/AutoSetting( 3674): receiver - NetworkInfo: type: WIFI[], state: CONNECTED/CONNECTED, reason: (unspecified), extra: (none), roaming: false, failover: false, isAvailable: true, if: eth0
D/AutoSetting( 3674): Util - wifi connected
D/AutoSetting( 3674): Util - wifi connected
D/GpsLocationProvider( 122): updateNetworkState available info: NetworkInfo: type: WIFI[], state: CONNECTED/CONNECTED, reason: (unspecified), extra: (none), roaming: false, failover: false, isAvailable: true, if: eth0
D/StatusBarService( 188): updateIcon slot=wifi index=16 viewIndex=10 old=StatusBarIcon(pkg=com.android.systemui id=0x7f0200d9 level=0 visible=true num=0 ) icon=StatusBarIcon(pkg=com.android.systemui id=0x7f0200d9 level=0 visible=true num=0 )
DMESG:
Code:
<6>[29199.683929] [WLAN] wifi_set_power = 1
<6>[29199.683929] bravo_wifi_power: 1
<6>[29199.959381] [WLAN] wifi_set_carddetect = 1
<6>[29199.959503] bravo_wifi_set_carddetect: 1
<7>[29199.959686] mmc0: card_present 1
<6>[29199.959808] mmc0: Slot status change detected (0 -> 1)
<6>[29199.962219] [WLAN] Dongle Host Driver, version 4.218.204.2
<7>[29202.517456] mmc0: queuing CIS tuple 0x91 length 3
<6>[29202.517944] mmc0: new high speed SDIO card at address 0001
<6>[29202.538635] [WLAN] DHD: dongle ram size is set to 294912(orig 294912)
<6>[29202.783966] [WLAN] irq: 239
<6>[29202.784729] [WLAN] firmware version: wl0: Aug 2 2010 16:45:25 version 4.218.207.0
<6>[29202.786743] [WLAN] wifi: Disable 802.11n
<6>[29202.929382] [WLAN] dhd_preinit_ioctls:str=0x6e756c6c207061636b657400
<6>[29202.937347] [WLAN] eth0: Broadcom Dongle Host Driver mac=xx:xx:xx:xx:xx:xx
<6>[29202.942016] [WLAN] enter dhd_set_multicast_list
<6>[29202.943939] [WLAN] enter dhd_set_multicast_list
<6>[29202.948150] [WLAN] enter dhd_set_multicast_list
<6>[29202.953033] [ATS][press_widget][launch]
<6>[29203.873687] [WLAN] Send Event ISCAN complete
<6>[29204.597991] [WLAN] disassoc client!
<6>[29204.621032] [LS][CM3602] ALS value: 0x0, level: 1 #
<6>[29204.703704] [WLAN] wl_iw_iscan_get_scan return to WE 852 bytes APs=4
<6>[29204.713378] [WLAN] pfn: set ssid = TV
<6>[29204.713500] [WLAN] lightest is 0, weightest is 0, samessid = 65535
<6>[29204.728271] [WLAN] Enter set packet filter
<6>[29204.729187] [WLAN] start to add pkt filter 100
<6>[29204.730865] [WLAN] RXFILTER-ADD MULTICAST filter
<6>[29204.730987] [WLAN] Enter set packet filter
<6>[29204.731933] [WLAN] start to add pkt filter 104
<6>[29204.733917] [WLAN] Enter set packet filter
<6>[29204.734893] [WLAN] start to add pkt filter 102
<6>[29205.651885] [LS][CM3602] ALS value: 0x0, level: 1 #
<6>[29205.842590] [WLAN] wake lock 15 secs!
<6>[29205.843170] [WLAN] Link UP
<6>[29205.881042] [WLAN] STA connect received 1
<6>[29205.946594] [WLAN] getpower: and_pm = 0, dhd_pm: 2, ctrl_mask: 0x0, usb_act: 1
<6>[29205.947204] [WLAN] power active. ctrl_mask: 0x1
<6>[29205.948211] [WLAN] btcoex_dhcp_timer_start: sco time=0
<6>[29207.952178] [WLAN] update pm: PM_FAST, wifiLock: 0
<6>[29207.970855] [WLAN] Enter set packet filter
<6>[29207.973663] [WLAN] start to add pkt filter 101
<6>[29207.975738] [WLAN] ip: c0a86405
<6>[29208.118255] [WLAN] Driver GET GATEWAY-ADD CMD!!!
<6>[29208.118499] [WLAN] gatewaybuf: c0a86401
Looking through your logs and comparing them to mine, it seems to me that your logs say that your device doesn't seem to be able to properly mount the SD card.
Code:
[ 512.170928] mmc0: new high speed SDIO card at address 0001
[ 514.212982] mmc0: Data timeout
[ 514.213256] mmc0: Controller has been reset
I know (from reading XDA) that USB bricks are associated with SD card read errors, WiFi dropouts, network dropouts etc. While i am in no way versed in mobile devices, i believe that your issue is somehow software-related, not a hardware fault. If i were in your place, as i said earlier, i'd try reverting to stock 2.2 (full RUU - stock bootloader, stock radio, stock everything) and i'd monitor the device for a couple of days. If i would encounter the same problems as under the ICS ROM you're using, i'd switch to a different custom recovery (some recoveries/recovery versions are known to have bugs) and i'd try to use ye olde USB brick fixes. Only if all would fail i'd call it a hardware issue and dip the phone in liquid Frackitol.
Thanks for your suggestions, TVTV.
I have tried reverting to stock RUU 2.2 - naturally the WiFi works... Right now, I'm running RunnyMede 5.0.1 (Android 2.3.5, Sense 3.5) and everything just works - WiFi running well and no hard or soft reboots. With any ICS build, though, I get the "data timeout" and occasional CRC check failure for mmc0 as above.
Your post got me thinking of the USB brick case. Although I have none of the other symptons, it could be a case of messed up misc partition, I guess. Tried updating to Alpharev HBOOT and them misc reset as described here -> android.modaco.com/topic/309939-usb-brickrickrolledb0rked-fixed/
Running out of ideas so pass me that bottle of Frackitol, please...
It seems that you're not the only one who ran into this issue. Check this thread out.
The OP seems to have solved his problem by replacing his/her SD card which was faulty and was being mounted as read-only.

[Q]G2 Wifi issue persists through unroot, ota updates, downgrade, re-root, wipe, etc.

As the thread says, I have a wi-fi problem that seems to persist no matter what I do. I was running g2 slim, and whenever I turned on wi-fi, the phone would go into a restart loop until I turned wi-fi off. When I unrooted, stock froyo also failed to connect, but instead of restarting it just said "failed to search for networks". OTA Gingerbread acted the same as G2Slim, unsurprisingly. Downgrade, re-root, superwipe, and reinstall G2Slim, same problem.
The problem seems to be dependent on a particular access point, I'm guessing someone else's router in my apt. complex. At school I can connect to wi-fi no problem. At home I cannot, even if I use a different router.
In the logcat I see various errors associated with wi-fi, but I am not sure what is significant and what is not. Is there a particular filter I should run with logcat to make troubleshooting wi-fi easier?
Would it be worth to mess around with installing different radios to see if that fixes the problem?
If I'm understanding the output of logcat correct, here is the log from enabling wifi to the fatal exception:
Code:
I/Kineto::main( 2618): Kineto: WifiAppStatusCallback Enter ganMode: 80
I/ActivityManager( 2533): Starting: Intent { act=android.intent.action.MAIN cmp=com.android.settings/.WirelessSettings } from pid 2868
I/ActivityManager( 2533): Displayed com.android.settings/.WirelessSettings: +324ms
I/Kineto::wifi( 2618): onReceive Enter
I/Kineto::wifi( 2618): onReceive Exit
I/Kineto::wifi( 2618): onReceive Enter
I/Kineto::wifi( 2618): handleWifiStateChanged: WIFI_STATE_ENABLED
I/Kineto::main( 2618): Kineto: HandleWifiChangeStatus val: 3
I/Kineto::main( 2618): Kineto: WifiAvailable
I/Kineto::wifi( 2618): onReceive Exit
I/Kineto::main( 2618): handleMessage: 8
I/Kineto::main( 2618): handleMessage (Handler): 8
I/Kineto::main( 2618): Kineto: WIFI_AVAILABLE
I/Kineto::main( 2618): Kineto: InitNotify Enter reason: 8 CurrGanPref: 3
E/WifiStateTracker( 2533): Can't get status, wait 0.1s : WifiState = 3
I/wpa_supplicant( 2969): Initial scan channel number: 11
I//system/bin/wpa_supplicant( 2968): ioctl[SIOCSIWPRIV]: No such device
E/wpa_supplicant( 2969): ioctl[SIOCGIFFLAGS]
I//system/bin/wpa_supplicant( 2968): Could not get interface 'eth0' flags
E/wpa_supplicant( 2969): ioctl[SIOCSIWPMKSA]
E/wpa_supplicant( 2969): ioctl[SIOCSIWMODE]
I//system/bin/wpa_supplicant( 2968): Could not configure driver to use managed mode
E/wpa_supplicant( 2969): ioctl[SIOCGIRANGE]
E/wpa_supplicant( 2969): ioctl[SIOCGIWMODE]
E/wpa_supplicant( 2969): ioctl[SIOCSIWAP]
E/wpa_supplicant( 2969): ioctl[SIOCSIWENCODEEXT]
E/wpa_supplicant( 2969): ioctl[SIOCSIWENCODE]
E/wpa_supplicant( 2969): ioctl[SIOCSIWENCODEEXT]
E/wpa_supplicant( 2969): ioctl[SIOCSIWENCODE]
E/wpa_supplicant( 2969): ioctl[SIOCSIWENCODEEXT]
E/wpa_supplicant( 2969): ioctl[SIOCSIWENCODE]
E/wpa_supplicant( 2969): ioctl[SIOCSIWENCODEEXT]
I//system/bin/wpa_supplicant( 2968): ioctl[SIOCGIFINDEX]: No such device
E/wpa_supplicant( 2969): ioctl[SIOCSIWENCODE]
I/wpa_supplicant( 2969): CTRL-EVENT-STATE-CHANGE id=-1 state=0 BSSID=00:00:00:00:00:00
E/wpa_supplicant( 2969): Failed to disable WPA in the driver.
E/wpa_supplicant( 2969): ioctl[SIOCGIWMODE]
E/wpa_supplicant( 2969): ioctl[SIOCSIWAP]
E/wpa_supplicant( 2969): ioctl[SIOCGIFFLAGS]
I/logwrapper( 2968): /system/bin/wpa_supplicant terminated by exit(255)
D/dalvikvm( 2709): GC_CONCURRENT freed 455K, 50% free 2964K/5895K, external 1625K/2137K, paused 8ms+3ms
D/dalvikvm( 2638): GC_EXPLICIT freed 123K, 46% free 3083K/5703K, external 4960K/5610K, paused 65ms
E/WifiStateTracker( 2533): Can't get status, wait 0.1s : WifiState = 3
E/WifiStateTracker( 2533): Can't get status, wait 0.1s : WifiState = 3
E/WifiStateTracker( 2533): Can't get status, wait 0.1s : WifiState = 3
E/WifiStateTracker( 2533): Can't get status, wait 0.1s : WifiState = 3
E/WifiStateTracker( 2533): Can't get status, wait 0.1s : WifiState = 3
E/WifiStateTracker( 2533): Can't get status, wait 0.1s : WifiState = 3
E/WifiStateTracker( 2533): Can't get status, wait 0.1s : WifiState = 3
E/WifiStateTracker( 2533): Can't get status, wait 0.1s : WifiState = 3
E/WifiStateTracker( 2533): Can't get status, wait 0.1s : WifiState = 3
E/WifiStateTracker( 2533): Can't get status, wait 0.1s : WifiState = 3
E/WifiStateTracker( 2533): Can't get status, wait 0.1s : WifiState = 3
E/WifiStateTracker( 2533): Can't get status, wait 0.1s : WifiState = 3
E/WifiStateTracker( 2533): Can't get status, wait 0.1s : WifiState = 3
E/WifiStateTracker( 2533): Can't get status, wait 0.1s : WifiState = 3
E/WifiStateTracker( 2533): Can't get status, wait 0.1s : WifiState = 3
E/WifiStateTracker( 2533): Can't get status, wait 0.1s : WifiState = 3
E/WifiStateTracker( 2533): Can't get status, wait 0.1s : WifiState = 3
E/WifiStateTracker( 2533): Can't get status, wait 0.1s : WifiState = 3
E/WifiStateTracker( 2533): Can't get status, wait 0.1s : WifiState = 3
E/WifiStateTracker( 2533): Can't get status over 2s : WifiState = 3
I/Kineto::main( 2618): KinetoNotify: CurrGanPref: 3 mAppSts: Not Connected to Wi-Fi mAppSts2: Connect to Wi-Fi network to make Wi-Fi calls
I/Kineto::main( 2618): stopAlarmTimer AlarmEvent
E/WifiHW ( 2533): Supplicant not running, cannot connect
E/WifiHW ( 2533): Supplicant not running, cannot connect
E/WifiHW ( 2533): Supplicant not running, cannot connect
V/WifiStateTracker( 2533): Supplicant died unexpectedly
D/WifiStateTracker( 2533): Reset connections and stopping DHCP
E/WifiStateTracker( 2533): Exception caught!
D/WifiStateTracker( 2533): Disabling interface
W/dalvikvm( 2533): threadid=27: thread exiting with uncaught exception (group=0x4001d570)
E/AndroidRuntime( 2533): *** FATAL EXCEPTION IN SYSTEM PROCESS: ConnectivityThread
Tried a handful of radios with G2 Slim, including stock froyo radios, all cause restart loop.
Unfortunately, most likely thing is a HW level issue...
It could be Wifi Calling screwing with things though. Have you tried using wifi without any wifi calling apk or libs?
Alright, well at least I can stop chasing it now.
The unroot procedure I used took me down to pre-OTA Froyo, which doesn't have wifi calling, and it still wouldn't search for networks.
phelixthecat said:
Alright, well at least I can stop chasing it now.
The unroot procedure I used took me down to pre-OTA Froyo, which doesn't have wifi calling, and it still wouldn't search for networks.
Click to expand...
Click to collapse
Anyone able to fix this issue?
It happened after CM 7.2 stable upgrade.
here is what I have tried so far:
1. reset permissions on conf file (and made wifi owner)
2. tried wpa_supplicant starting from shell. Gave error that:
Code:
# wpa_supplicant -Dwext -ieth0 -c/data/misc/wifi/wpa_supplicant.conf -dd
Could not get interface 'eth0' flags
Could not configure driver to use managed mode
ioctl[SIOCGIFINDEX]: No such device
Code:
D/wpa_supplicant( 2012): Initializing interface 'eth0' conf '/data/misc/wifi/wpa_supplicant.conf' driver 'wext' ctrl_interface 'N/A' bridge 'N/A'
D/wpa_supplicant( 2012): Configuration file '/data/misc/wifi/wpa_supplicant.conf' -> '/data/misc/wifi/wpa_supplicant.conf'
D/wpa_supplicant( 2012): Reading configuration file '/data/misc/wifi/wpa_supplicant.conf'
D/wpa_supplicant( 2012): update_config=1
D/wpa_supplicant( 2012): ctrl_interface='eth0'
D/wpa_supplicant( 2012): eapol_version=1
D/wpa_supplicant( 2012): ap_scan=1
D/wpa_supplicant( 2012): fast_reauth=1
D/wpa_supplicant( 2012): Initializing interface (2) 'eth0'
E/wpa_supplicant( 2012): ioctl[SIOCGIFFLAGS]
E/wpa_supplicant( 2012): ioctl[SIOCSIWPMKSA]
E/wpa_supplicant( 2012): ioctl[SIOCSIWMODE]
E/wpa_supplicant( 2012): ioctl[SIOCGIRANGE]
E/wpa_supplicant( 2012): ioctl[SIOCGIWMODE]
E/wpa_supplicant( 2012): ioctl[SIOCSIWAP]
D/wpa_supplicant( 2012): WEXT: Operstate: linkmode=1, operstate=5
D/wpa_supplicant( 2012): Failed to add interface eth0
D/wpa_supplicant( 2012): wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
E/wpa_supplicant( 2012): ioctl[SIOCSIWENCODEEXT]
D/wpa_supplicant( 2012): Driver did not support SIOCSIWENCODEEXT, trying SIOCSIWENCODE
E/wpa_supplicant( 2012): ioctl[SIOCSIWENCODE]
D/wpa_supplicant( 2012): wpa_driver_wext_set_key: alg=0 key_idx=1 set_tx=0 seq_len=0 key_len=0
E/wpa_supplicant( 2012): ioctl[SIOCSIWENCODEEXT]
D/wpa_supplicant( 2012): Driver did not support SIOCSIWENCODEEXT, trying SIOCSIWENCODE
E/wpa_supplicant( 2012): ioctl[SIOCSIWENCODE]
D/wpa_supplicant( 2012): wpa_driver_wext_set_key: alg=0 key_idx=2 set_tx=0 seq_len=0 key_len=0
E/wpa_supplicant( 2012): ioctl[SIOCSIWENCODEEXT]
D/wpa_supplicant( 2012): Driver did not support SIOCSIWENCODEEXT, trying SIOCSIWENCODE
E/wpa_supplicant( 2012): ioctl[SIOCSIWENCODE]
D/wpa_supplicant( 2012): wpa_driver_wext_set_key: alg=0 key_idx=3 set_tx=0 seq_len=0 key_len=0
E/wpa_supplicant( 2012): ioctl[SIOCSIWENCODEEXT]
D/wpa_supplicant( 2012): Driver did not support SIOCSIWENCODEEXT, trying SIOCSIWENCODE
E/wpa_supplicant( 2012): ioctl[SIOCSIWENCODE]
D/wpa_supplicant( 2012): State: DISCONNECTED -> DISCONNECTED
I/wpa_supplicant( 2012): CTRL-EVENT-STATE-CHANGE id=-1 state=0 BSSID=00:00:00:00:00:00
D/wpa_supplicant( 2012): wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
D/wpa_supplicant( 2012): WEXT: Operstate: linkmode=-1, operstate=5
D/wpa_supplicant( 2012): wpa_driver_wext_set_wpa
D/wpa_supplicant( 2012): WEXT: SIOCSIWAUTH(param 7 value 0x0) failed: No such device)
E/wpa_supplicant( 2012): Failed to disable WPA in the driver.
D/wpa_supplicant( 2012): wpa_driver_wext_set_drop_unencrypted
D/wpa_supplicant( 2012): WEXT: SIOCSIWAUTH(param 5 value 0x0) failed: No such device)
D/wpa_supplicant( 2012): wpa_driver_wext_set_countermeasures
D/wpa_supplicant( 2012): WEXT: SIOCSIWAUTH(param 4 value 0x0) failed: No such device)
D/wpa_supplicant( 2012): No keys have been configured - skip key clearing
D/wpa_supplicant( 2012): Cancelling scan request
D/wpa_supplicant( 2012): Cancelling authentication timeout
E/wpa_supplicant( 2012): ioctl[SIOCGIWMODE]
E/wpa_supplicant( 2012): ioctl[SIOCSIWAP]
D/wpa_supplicant( 2012): WEXT: Operstate: linkmode=0, operstate=6
E/wpa_supplicant( 2012): ioctl[SIOCGIFFLAGS]

[Q] Wifi Error

So i flashed Camera4.2 and after it booted my wifi wont turn on.. it says error.. Anyway to fix this without reflashing whole rom? i removed all libs and apks that came from the zip and still no luck...
Sasba sense 4.0 v7
Logcat
Code:
D/WifiStateMachine( 1508): WiFiDisplay: getWifidisplayApEnabled=false
D/WifiStateMachine( 1508): WiFiDisplay: getWifidisplayApEnabled=false
D/StateMachine( 1508): handleMessage: new destination call exit
D/StateMachine( 1508): invokeExitMethods: DriverUnloadedState
D/StateMachine( 1508): handleMessage: new destination call exit
D/StateMachine( 1508): invokeExitMethods: WaitForP2pDisableState
D/WifiService( 1508): setWifiEnabled enable=true
D/WifiService( 1508): setWifiEnabled- =true
D/WifiService( 1508): setWifiEnabledPersist enable=true, persist=true, getCallingPid()=3837
D/WifiService( 1508): STA (mIfWiFiRegBastReceiver:true, mIfWiFiHostpotRegBastReceiver:false)
D/WifiP2pService( 1508): P2pDisabledState{ what=131203 when=-1ms }
D/WirelessDisplayService( 1508): WifiReceiver: action:android.net.wifi.WIFI_STATE_CHANGEDstate1
D/WifiHW ( 1508): wifi_load_driver no load module
D/WifiStateMachine( 1508): Driver load successful
D/StateMachine( 1508): handleMessage: new destination call exit
D/StateMachine( 1508): invokeExitMethods: DriverLoadingState
E/WifiHW ( 1380): Failed to open wlan fw path param (No such file or directory)
E/SoftapController( 1380): Softap fwReload - failed: -1
E/WifiStateMachine( 1508): Failed to reload STA firmware java.lang.IllegalStateException: Error communicating to native daemon
I/NetSharing_NSReceiver( 3837): customizedNS:true
I/NetSharing_NSReceiver( 3837): sp customizedNS:true
I/NetSharing_NSReceiver( 3837): LAN Type:false ML Type:true
I/NetSharing_NSReceiver( 3837): IS Type:true IS_ML:false
D/NetSharing_NSReceiver( 3837): onReceive : android.net.wifi.WIFI_STATE_CHANGED hasTethered:false
D/NetSharing( 3837): wifi enabled change, state = false
I/NetSharing( 3837): mobildata:false wifienabled:false wimaxenabled:false
W/CommandListener( 1380): Failed to retrieve HW addr for wlan0 (No such device)
D/CommandListener( 1380): Setting iface cfg
D/NetworkManagementService( 1508): rsp <213 00:00:00:00:00:00 0.0.0.0 0 [down]>
D/NetworkManagementService( 1508): flags <[down]>
E/WifiStateMachine( 1508): Unable to change interface settings: java.lang.IllegalStateException: Unable to communicate with native
daemon to interface setcfg - com.android.server.NativeDaemonConnectorException: Cmd {interface setcfg wlan0 0.0.0.0 0 [down]} fai
led with code 400 : {Failed to set address (No such device)}
D/WifiHW ( 1508): wifi_start_supplicant_common enter
D/StateMachine( 1508): handleMessage: new destination call exit
D/StateMachine( 1508): invokeExitMethods: DriverLoadedState
E/wpa_supplicant( 4898): Starting wpa_supplicant...
I/wpa_supplicant( 4898): rfkill: Cannot open RFKILL control device
E/wpa_supplicant( 4898): Could not read interface wlan0 flags: No such device
E/wpa_supplicant( 4898): Could not read interface wlan0 flags: No such device
D/PhoneStatusBarPolicy( 1622): silentresetvalue = 0, mTimerEnabled = false
D/PhoneStatusBarPolicy( 1622): updateSignalStrength(), in service, remove timer
E/wpa_supplicant( 4898): Could not read interface wlan0 flags: No such device
D/PhoneStatusBarPolicy( 1622): isCdma():false hasService:true mSimState=UNKNOWN gprsState=0 mDataState=-1 dataActivity=0 mPhone.ht
cModemLinkOn:false hspa==true
D/PhoneStatusBarPolicy( 1622): updateDataIcon(), silentresetvalue = 0, mTimerEnabled = false
D/PhoneStatusBarPolicy( 1622): updateDataIcon(), in data service, do nothing
E/wpa_supplicant( 4898): Could not read interface wlan0 flags: No such device
E/wpa_supplicant( 4898): Could not read interface wlan0 flags: No such device
E/wpa_supplicant( 4898): Could not read interface wlan0 flags: No such device
E/wpa_supplicant( 4898): Could not read interface wlan0 flags: No such device
I/rmt_storage( 4915): rmt_storage user app start
I/rmt_storage( 4915): rmt_storage open success
I/rmt_storage( 4915): rmt_storage shared memory ioctl success
I/rmt_storage( 4915): rmt_storage mmap addr = 40268000
E/rmt_storage( 4915): rmt_storage wait event ioctl failed
E/wpa_supplicant( 4898): Could not read interface wlan0 flags: No such device
E/wpa_supplicant( 4898): Could not read interface wlan0 flags: No such device
E/wpa_supplicant( 4898): Could not read interface wlan0 flags: No such device
E/wpa_supplicant( 4898): Could not read interface wlan0 flags: No such device
E/wpa_supplicant( 4898): nl80211: Could not set interface 'wlan0' UP
E/wpa_supplicant( 4898): wlan0: Failed to initialize driver interface
I/logwrapper( 4896): /system/bin/wpa_supplicant terminated by exit(255)
I/rmt_storage( 4924): rmt_storage user app start
I/rmt_storage( 4924): rmt_storage open success
I/rmt_storage( 4924): rmt_storage shared memory ioctl success
I/rmt_storage( 4924): rmt_storage mmap addr = 401c1000
E/rmt_storage( 4924): rmt_storage wait event ioctl failed
D/PhoneStatusBarPolicy( 1622): silentresetvalue = 0, mTimerEnabled = false
D/PhoneStatusBarPolicy( 1622): updateSignalStrength(), in service, remove timer
D/PhoneStatusBarPolicy( 1622): isCdma():false hasService:true mSimState=UNKNOWN gprsState=0 mDataState=-1 dataActivity=0 mPhone.ht
cModemLinkOn:false hspa==true
D/PhoneStatusBarPolicy( 1622): updateDataIcon(), silentresetvalue = 0, mTimerEnabled = false
D/PhoneStatusBarPolicy( 1622): updateDataIcon(), in data service, do nothing
E/WifiHW ( 1508): Supplicant not running, cannot connect
I/rmt_storage( 4925): rmt_storage user app start
I/rmt_storage( 4925): rmt_storage open success
I/rmt_storage( 4925): rmt_storage shared memory ioctl success
I/rmt_storage( 4925): rmt_storage mmap addr = 40193000
E/rmt_storage( 4925): rmt_storage wait event ioctl failed
E/WifiHW ( 1508): Supplicant not running, cannot connect
E/WifiHW ( 1508): Supplicant not running, cannot connect
E/WifiHW ( 1508): Supplicant not running, cannot connect
E/WifiHW ( 1508): Supplicant not running, cannot connect
E/WifiStateMachine( 1508): Failed to setup control channel, restart supplicant
D/WifiHW ( 1508): wifi_stop_supplicant enter
D/WifiHW ( 1508): wifi_stop_supplicant end rifgt 1
D/StateMachine( 1508): handleMessage: new destination call exit
D/StateMachine( 1508): invokeExitMethods: SupplicantStartingState
E/WifiHW ( 1380): Failed to open wlan fw path param (No such file or directory)
E/SoftapController( 1380): Softap fwReload - failed: -1
E/WifiStateMachine( 1508): Failed to reload STA firmware java.lang.IllegalStateException: Error communicating to native daemon
W/CommandListener( 1380): Failed to retrieve HW addr for wlan0 (No such device)
D/NetworkManagementService( 1508): rsp <213 00:00:00:00:00:00 0.0.0.0 0 [down]>
D/NetworkManagementService( 1508): flags <[down]>
D/CommandListener( 1380): Setting iface cfg
E/WifiStateMachine( 1508): Unable to change interface settings: java.lang.IllegalStateException: Unable to communicate with native
daemon to interface setcfg - com.android.server.NativeDaemonConnectorException: Cmd {interface setcfg wlan0 0.0.0.0 0 [down]} fai
led with code 400 : {Failed to set address (No such device)}
D/WifiHW ( 1508): wifi_start_supplicant_common enter
D/StateMachine( 1508): handleMessage: new destination call exit
D/StateMachine( 1508): invokeExitMethods: DriverLoadedState
E/wpa_supplicant( 4948): Starting wpa_supplicant...
I/wpa_supplicant( 4948): rfkill: Cannot open RFKILL control device
E/wpa_supplicant( 4948): Could not read interface wlan0 flags: No such device
E/wpa_supplicant( 4948): Could not read interface wlan0 flags: No such device
E/wpa_supplicant( 4948): Could not read interface wlan0 flags: No such device
E/wpa_supplicant( 4948): Could not read interface wlan0 flags: No such device
E/wpa_supplicant( 4948): Could not read interface wlan0 flags: No such device
E/wpa_supplicant( 4948): Could not read interface wlan0 flags: No such device
E/wpa_supplicant( 4948): Could not read interface wlan0 flags: No such device
I/rmt_storage( 4965): rmt_storage user app start
I/rmt_storage( 4965): rmt_storage open success
I/rmt_storage( 4965): rmt_storage shared memory ioctl success
I/rmt_storage( 4965): rmt_storage mmap addr = 401fb000
E/rmt_storage( 4965): rmt_storage wait event ioctl failed
E/wpa_supplicant( 4948): Could not read interface wlan0 flags: No such device
E/wpa_supplicant( 4948): Could not read interface wlan0 flags: No such device
E/wpa_supplicant( 4948): Could not read interface wlan0 flags: No such device
E/wpa_supplicant( 4948): Could not read interface wlan0 flags: No such device
E/wpa_supplicant( 4948): nl80211: Could not set interface 'wlan0' UP
E/wpa_supplicant( 4948): wlan0: Failed to initialize driver interface
I/logwrapper( 4946): /system/bin/wpa_supplicant terminated by exit(255)
bilibox said:
So i flashed Camera4.2 and after it booted my wifi wont turn on.. it says error.. Anyway to fix this without reflashing whole rom? i removed all libs and apks that came from the zip and still no luck...
Click to expand...
Click to collapse
I would dirty-flash the ROM. Clear cache and dalvik, reflash the ROM, and reboot. It will replace the files from Camera 4.2, and since it's the exact same ROM it shouldn't have problems.
bananagranola said:
I would dirty-flash the ROM. Clear cache and dalvik, reflash the ROM, and reboot. It will replace the files from Camera 4.2, and since it's the exact same ROM it shouldn't have problems.
Click to expand...
Click to collapse
I would but i have taken a lot of things out of the stock rom and didn't want to again :/ Shouldn't have flashed that haha wasn't worth it
The Camera 4.2 shouldnt effect wifi..
Masyby you remove a little to much from the rom ?
jorgen_gustavsson said:
The Camera 4.2 shouldnt effect wifi..
Masyby you remove a little to much from the rom ?
Click to expand...
Click to collapse
Nope :/ Dirty flashed again and took out everything i took out before and wifi working perfectly

JB 4.1.2 ROM has bugs in WiFi

I tried both ROM which using latest 4.1.2 JellyBean, but found bugs when connecting wifi. It's always obtaining ip address..
But sometimes, it can get ip.. toggling wifi on/off cannot success connecting.
Here's the logcat, hope some experts here can give me solutions
As I'm now very dissapointed why some people not getting this problem..
Code:
E/WifiHW ( 2529): supplicant_name : wpa_supplicant
I/wpa_supplicant(29520): wpa_supplicant v2.0-devel-4.1.2 2012-11-26/18:22:02
E/wpa_supplicant(29520): Can't open default ap file
I/wpa_supplicant(29520): rfkill: Cannot open RFKILL control device
E/WifiHW ( 2529): wifi_wpa_ctrl_cleanup is skiped.
I/p2p_supplicant(29523): wpa_supplicant v2.0-devel-4.1.200
I/wpa_supplicant(29520): State: DISCONNECTED -> SCANNING
I/wpa_supplicant(29520): CTRL-EVENT-STATE-CHANGE id=-1 state=3 BSSID=00.00.00
I/wpa_supplicant(29520): Scan requested (ret=0) - scan timeout 10 seconds
I/wpa_supplicant(29520): nl80211: Received scan results (2 BSSes)
I/wpa_supplicant(29520): Trying to associate with F4.7C.2A (freq=2412 MHz rssi=-50dBm)
I/wpa_supplicant(29520): 6369706C756B
I/wpa_supplicant(29520): ASSOC when wpa_state = 3, do_assoc = 0, reassociate = 0
I/wpa_supplicant(29520): State: SCANNING -> ASSOCIATING
I/wpa_supplicant(29520): CTRL-EVENT-STATE-CHANGE id=-1 state=5 BSSID=F4.7C.2A
I/wpa_supplicant(29520): Start Assoc status = [0] !!!!!
W/wpa_supplicant(29520): wlan0: Failed to initiate AP scan
E/wpa_supplicant(29520): wlan0: Not associated - Delay processing of received EAPOL frame !!!!
I/wpa_supplicant(29520): State: ASSOCIATING -> ASSOCIATED
I/wpa_supplicant(29520): CTRL-EVENT-STATE-CHANGE id=0 state=6 BSSID=F4.7C.2A
I/wpa_supplicant(29520): 6369706C756B
I/wpa_supplicant(29520): Associated with F4.7C.2A
I/wpa_supplicant(29520): State: ASSOCIATED -> 4WAY_HANDSHAKE
I/wpa_supplicant(29520): CTRL-EVENT-STATE-CHANGE id=0 state=7 BSSID=00.00.00
I/wpa_supplicant(29520): 6369706C756B
I/wpa_supplicant(29520): State: 4WAY_HANDSHAKE -> 4WAY_HANDSHAKE
I/wpa_supplicant(29520): State: 4WAY_HANDSHAKE -> GROUP_HANDSHAKE
I/wpa_supplicant(29520): CTRL-EVENT-STATE-CHANGE id=0 state=8 BSSID=00.00.00
I/wpa_supplicant(29520): 6369706C756B
I/wpa_supplicant(29520): WPA: Key negotiation completed with F4.7C.2A [PTK=CCMP GTK=CCMP]
I/wpa_supplicant(29520): State: GROUP_HANDSHAKE -> COMPLETED
I/wpa_supplicant(29520): CTRL-EVENT-CONNECTED - Connection to F4.7C.2A completed (auth) [id=0 id_str=]
I/wpa_supplicant(29520): CTRL-EVENT-STATE-CHANGE id=0 state=9 BSSID=00.00.00
I/wpa_supplicant(29520): 6369706C756B
I/dhcpcd (29551): dhcp main start
I/dhcpcd (29551): if(wlan0) info get Success. (MAC : F4.7C.2A)
I/dhcpcd (29551): bssid match
E/DhcpStateMachine( 2529): DHCP failed on wlan0: Timed out waiting for DHCP to finish
I/dhcpcd (30384): dhcp main start
I/dhcpcd (30384): if(wlan0) info get Success. (MAC : F4.7C.2A)
I/dhcpcd (30384): bssid match
hendry said:
I tried both ROM which using latest 4.1.2 JellyBean, but found bugs when connecting wifi. It's always obtaining ip address..
But sometimes, it can get ip.. toggling wifi on/off cannot success connecting.
Here's the logcat, hope some experts here can give me solutions
As I'm now very dissapointed why some people not getting this problem..
Code:
E/WifiHW ( 2529): supplicant_name : wpa_supplicant
I/wpa_supplicant(29520): wpa_supplicant v2.0-devel-4.1.2 2012-11-26/18:22:02
E/wpa_supplicant(29520): Can't open default ap file
I/wpa_supplicant(29520): rfkill: Cannot open RFKILL control device
E/WifiHW ( 2529): wifi_wpa_ctrl_cleanup is skiped.
I/p2p_supplicant(29523): wpa_supplicant v2.0-devel-4.1.200
I/wpa_supplicant(29520): State: DISCONNECTED -> SCANNING
I/wpa_supplicant(29520): CTRL-EVENT-STATE-CHANGE id=-1 state=3 BSSID=00.00.00
I/wpa_supplicant(29520): Scan requested (ret=0) - scan timeout 10 seconds
I/wpa_supplicant(29520): nl80211: Received scan results (2 BSSes)
I/wpa_supplicant(29520): Trying to associate with F4.7C.2A (freq=2412 MHz rssi=-50dBm)
I/wpa_supplicant(29520): 6369706C756B
I/wpa_supplicant(29520): ASSOC when wpa_state = 3, do_assoc = 0, reassociate = 0
I/wpa_supplicant(29520): State: SCANNING -> ASSOCIATING
I/wpa_supplicant(29520): CTRL-EVENT-STATE-CHANGE id=-1 state=5 BSSID=F4.7C.2A
I/wpa_supplicant(29520): Start Assoc status = [0] !!!!!
W/wpa_supplicant(29520): wlan0: Failed to initiate AP scan
E/wpa_supplicant(29520): wlan0: Not associated - Delay processing of received EAPOL frame !!!!
I/wpa_supplicant(29520): State: ASSOCIATING -> ASSOCIATED
I/wpa_supplicant(29520): CTRL-EVENT-STATE-CHANGE id=0 state=6 BSSID=F4.7C.2A
I/wpa_supplicant(29520): 6369706C756B
I/wpa_supplicant(29520): Associated with F4.7C.2A
I/wpa_supplicant(29520): State: ASSOCIATED -> 4WAY_HANDSHAKE
I/wpa_supplicant(29520): CTRL-EVENT-STATE-CHANGE id=0 state=7 BSSID=00.00.00
I/wpa_supplicant(29520): 6369706C756B
I/wpa_supplicant(29520): State: 4WAY_HANDSHAKE -> 4WAY_HANDSHAKE
I/wpa_supplicant(29520): State: 4WAY_HANDSHAKE -> GROUP_HANDSHAKE
I/wpa_supplicant(29520): CTRL-EVENT-STATE-CHANGE id=0 state=8 BSSID=00.00.00
I/wpa_supplicant(29520): 6369706C756B
I/wpa_supplicant(29520): WPA: Key negotiation completed with F4.7C.2A [PTK=CCMP GTK=CCMP]
I/wpa_supplicant(29520): State: GROUP_HANDSHAKE -> COMPLETED
I/wpa_supplicant(29520): CTRL-EVENT-CONNECTED - Connection to F4.7C.2A completed (auth) [id=0 id_str=]
I/wpa_supplicant(29520): CTRL-EVENT-STATE-CHANGE id=0 state=9 BSSID=00.00.00
I/wpa_supplicant(29520): 6369706C756B
I/dhcpcd (29551): dhcp main start
I/dhcpcd (29551): if(wlan0) info get Success. (MAC : F4.7C.2A)
I/dhcpcd (29551): bssid match
E/DhcpStateMachine( 2529): DHCP failed on wlan0: Timed out waiting for DHCP to finish
I/dhcpcd (30384): dhcp main start
I/dhcpcd (30384): if(wlan0) info get Success. (MAC : F4.7C.2A)
I/dhcpcd (30384): bssid match
Click to expand...
Click to collapse
Why are you posting this here when you've already posted it in the Omega 8 thread? This is not the place to be posting it. I'm not seeing any wifi problems.
I want some experts here can give me solutions on what's wrong with my device.. so everybody can see
My friend also never got problem using 4.1.2 based ROM. I think maybe the structure android files on my devices has invalid permission access or something else i dont know.. That's why i want to get any explanation on this..
Here i added more logcat debug data
Code:
I/WifiManager( 2820): setWifiEnabled : true
E/WifiHW ( 2529): ##################### set firmware type 0 #####################
D/WifiStateMachine( 2529): setWifiEnabled : WifiNative.setFwType(0)
D/WifiService( 2529): setWifiEnabled: true pid=2820, uid=10092
I/WifiHW ( 2529): module is semco
E/WifiHW ( 2529): ==========[WIFI] Station firmware load ===========
I/WifiHW ( 2529): Start Check B2 #######
I/WifiHW ( 2529): wifi_trigger_poke : Found 4334B3
I/WifiHW ( 2529): ==========[WIFI] SEMCO MODULE ===========
D/WfdService( 2529): intent recieved android.net.wifi.WIFI_STATE_CHANGED
D/STATUSBAR-NetworkController( 2820): onReceive() - RSSI_CHANGED_ACTION, WIFI_STATE, NETWORK_STATE
D/STATUSBAR-WifiQuickSettingButton( 2820): Wifi onReceive(2)
D/TMSERVER/TMNetworkReceiver( 4961): TMNetworkReceiver.onReceive() Action android.net.wifi.WIFI_STATE_CHANGED
E/WifiHW ( 2529): supplicant_name : wpa_supplicant
D/WifiP2pService( 2529): P2pDisabledState{ what=131203 }
E/WifiHW ( 2529): wifi_wpa_ctrl_cleanup is skiped.
E/WifiHW ( 2529): supplicant_name : p2p_supplicant
D/WifiP2pService( 2529): Supplicant start successful
D/WifiP2pService( 2529): P2pEnablingState
E/WifiHW ( 2529): Unable to open connection to supplicant on "/data/misc/wifi/sockets/p2p0": Connection refused
D/STATUSBAR-NetworkController( 2820): onReceive() - RSSI_CHANGED_ACTION, WIFI_STATE, NETWORK_STATE
D/STATUSBAR-WifiQuickSettingButton( 2820): Wifi onReceive(3)
D/WfdService( 2529): intent recieved android.net.wifi.WIFI_STATE_CHANGED
D/WifiP2pService( 2529): P2pEnablingState{ what=143378 }
D/WifiP2pService( 2529): DefaultState{ what=143378 }
E/WifiP2pService( 2529): Unhandled message { what=143378 }
E/WifiHW ( 2529): ##################### set firmware type 0 #####################
D/WifiStateMachine( 2529): setWifiEnabled : WifiNative.setFwType(0)
D/WifiService( 2529): startScan: false pid=31094, uid=10027
E/WifiHW ( 2529): ##################### set firmware type 0 #####################
D/WifiStateMachine( 2529): setWifiEnabled : WifiNative.setFwType(0)
D/WifiService( 2529): startScan: false pid=3240, uid=10031
D/WifiNative( 2529): callSECApiBoolean - ID [13]
D/TMSERVER/TMNetworkReceiver( 4961): TMNetworkReceiver.onReceive() Action android.net.wifi.WIFI_STATE_CHANGED
D/WifiNative( 2529): callSECApiVoid - ID [50]
D/WfdService( 2529): intent recieved android.net.wifi.STATE_CHANGE
D/STATUSBAR-NetworkController( 2820): onReceive() - RSSI_CHANGED_ACTION, WIFI_STATE, NETWORK_STATE
D/STATUSBAR-NetworkController( 2820): onReceive() - RSSI_CHANGED_ACTION, WIFI_STATE, NETWORK_STATE
E/WifiP2pStateTracker( 2529): getNetworkInfo : NetworkInfo: type: WIFI_P2P[], state: DISCONNECTED/DISCONNECTED, reason: (unspecified), extra: (none), roaming: false, failover: false, isAvailable: false
D/TMSERVER/TMNetworkReceiver( 4961): TMNetworkReceiver.onReceive() Action android.net.wifi.STATE_CHANGE
E/WifiHW ( 2529): ##################### set firmware type 0 #####################
D/WifiStateMachine( 2529): setWifiEnabled : WifiNative.setFwType(0)
E/WifiHW ( 2529): ##################### set firmware type 0 #####################
D/WifiStateMachine( 2529): setWifiEnabled : WifiNative.setFwType(0)
D/WifiP2pService( 2529): P2pEnablingState{ what=147457 }
D/WifiP2pService( 2529): P2p socket connection successful
D/WifiP2pService( 2529): P2pEnabledState
D/WifiP2pService( 2529): sending p2p connection changed broadcast
I/STATUSBAR-QuickSettingButton( 2820): action: android.net.wifi.p2p.STATE_CHANGED
E/WifiStateMachine( 2529): BroadcastReceiver : WIFI_P2P_STATE_CHANGED_ACTION is : android.net.wifi.p2p.STATE_CHANGED
D/WfdService( 2529): intent recieved android.net.wifi.p2p.STATE_CHANGED
D/WfdService( 2529): intent recieved android.net.wifi.p2p.CONNECTION_STATE_CHANGE
D/WfdService( 2529): onReceive << WIFI_P2P_CONNECTION_CHANGED_ACTION
D/WfdService( 2529): WIFI_P2P_CONNECTION_CHANGED_ACTION >> isConnected() false
W/WifiP2pStateTracker( 2529): WifiP2pStateReceiver : android.net.wifi.p2p.CONNECTION_STATE_CHANGE
D/WifiP2pService( 2529): DeviceAddress: 3a:76:f1
D/WifiP2pService( 2529): InactiveState
D/WifiP2pService( 2529): InactiveState{ what=147462 }
D/WifiP2pService( 2529): P2pEnabledState{ what=147462 }
D/WfdService( 2529): intent recieved android.net.wifi.p2p.THIS_DEVICE_CHANGED
D/WfdService( 2529): WIFI_P2P_THIS_DEVICE_CHANGED_ACTION arrived
D/WifiP2pService( 2529): DefaultState{ what=147462 }
D/WifiDirectBR( 5039): WifiDirectBroadcastReceiver::onReceive() : android.net.wifi.p2p.STATE_CHANGED
D/WifiDirectBR( 5039): WifiDirectBroadcastReceiver::onReceive() : android.net.wifi.p2p.CONNECTION_STATE_CHANGE
D/WifiDirectBR( 5039): WifiDirectBroadcastReceiver::onReceive(), Action : WifiP2pManager.WIFI_P2P_CONNECTION_CHANGED_ACTION, isConnected() == false
D/WifiDirectBR( 5039): stopServiceTest : false
try installing this modem LJ2 http://www.mediafire.com/?9wfmm51c87b2bwn
I think the problem lies in the modem/router software, it only is a problem on specific routers. I haven`t had a issue yet so far.
Flash the official stock 4.1.2 polish release that must came out. Check it out, may solve your problem!
I already tried several ways, from installing poland 4.1.2 stock ROM, same problem...
I think router is okay.. why using stock 4.1.1 ROM, wifi always working good and always getting ip address whatever i toggle on/off wifi several times..
I also already flashed modem from 4.1.1 stock rom, but still no success..
The only solutions is to copy /etc/wifi folder from 4.1.1 stock to any 4.1.2 custom rom.. I just got this solutions from someone here in this forum too..
Strange, why it happened on some devices. Why most people not suffering this problem like me..If my device has some hardware broken, why using 4.1.1 stock rom, the problem dissapeared ?
If this is the bugs on 4.1.2 ROM, we should report it to samsung, so they can fix this bugs on the next build of the ROM..
Also custom rom developer should patch their ROM to avoid this bugs..
I have same problem with 4.1.1 it is perfect, but with 4.1.2 it has same problems as yours.
---------- Post added at 02:33 PM ---------- Previous post was at 02:16 PM ----------
hendry said:
I already tried several ways, from installing poland 4.1.2 stock ROM, same problem...
I think router is okay.. why using stock 4.1.1 ROM, wifi always working good and always getting ip address whatever i toggle on/off wifi several times..
I also already flashed modem from 4.1.1 stock rom, but still no success..
The only solutions is to copy /etc/wifi folder from 4.1.1 stock to any 4.1.2 custom rom.. I just got this solutions from someone here in this forum too..
Strange, why it happened on some devices. Why most people not suffering this problem like me..If my device has some hardware broken, why using 4.1.1 stock rom, the problem dissapeared ?
Click to expand...
Click to collapse
Can you please attach the /etc/wifi folder from 4.1.1 stock??? I want to fix my wifi problem.
Thanks
hendry said:
I already tried several ways, from installing poland 4.1.2 stock ROM, same problem...
I think router is okay.. why using stock 4.1.1 ROM, wifi always working good and always getting ip address whatever i toggle on/off wifi several times..
I also already flashed modem from 4.1.1 stock rom, but still no success..
The only solutions is to copy /etc/wifi folder from 4.1.1 stock to any 4.1.2 custom rom.. I just got this solutions from someone here in this forum too..
Strange, why it happened on some devices. Why most people not suffering this problem like me..If my device has some hardware broken, why using 4.1.1 stock rom, the problem dissapeared ?
Click to expand...
Click to collapse
Yes your right . i am also facing wifi problem disconcerting in 4.1.2 .. in previous version 4.1.1 working fine
Well i dont have this problem as yours....have a stranger one lol
I have 50 mbits internet speed at home with speed of 5.2 MB/S while just on 4.1.2 speed dont cross 2 or 3 mbits out of 50 mbits while download speed is only 200 to 270 KB/S.....
Sent from my GT-N7100 using XDA Premium HD app
I've some problem with wifi on galaxy tab 3 7.0 (JB 4.1.2)
When connect using hotspot laptop or tethering via other device, my wifi always scanning every 7s. make my battery run out.
I was trying use advance setting (static IP) but still same.
How to solved this problem?

Categories

Resources