WIFI not turning on on HTC 10 - General Questions and Answers

Since yesterday my 3-year-old HTC 10 is not turning on Wifi anymore. When trying to reset network settings under Settings > Backup & Reset > Reset network settings, the Settings app crashes.
I tried to debug this problem via ADB, running `logcat | grep wifi` in ADB shell returns this:
Code:
08-21 10:44:45.466 700 700 I [email protected]: Wifi HAL started
08-21 10:44:45.476 700 700 E [email protected]: Could not read interface state for wlan0 (No such device)
08-21 10:44:45.476 700 700 E [email protected]: Failed to set WiFi interface up
08-21 10:44:45.476 700 700 E [email protected]: Failed to start legacy HAL: UNKNOWN
08-21 10:44:45.681 700 700 I [email protected]: Wifi HAL stopped
08-21 10:44:45.688 2893 3043 D WificondControl: tearing down interfaces in wificond
08-21 10:44:45.689 2893 2893 D HtcHotspotSleepPolicy: onReceive, action:android.net.wifi.WIFI_STATE_CHANGED
08-21 10:44:45.693 2585 2585 E wificond: Failed to get wiphy indices
08-21 10:44:45.712 700 700 I [email protected]: Wifi HAL started
08-21 10:44:45.724 700 700 E [email protected]: Could not read interface state for wlan0 (No such device)
08-21 10:44:45.724 700 700 E [email protected]: Failed to set WiFi interface up
08-21 10:44:45.724 700 700 E [email protected]: Failed to start legacy HAL: UNKNOWN
08-21 10:44:45.928 700 700 I [email protected]: Wifi HAL stopped
08-21 10:44:45.934 2893 2893 D HtcHotspotSleepPolicy: onReceive, action:android.net.wifi.WIFI_STATE_CHANGED
08-21 10:44:45.935 2893 3043 D WificondControl: tearing down interfaces in wificond
08-21 10:44:45.936 2585 2585 E wificond: Failed to get wiphy indices
08-21 10:44:45.945 700 700 I [email protected]ice: Wifi HAL started
08-21 10:44:45.956 700 700 E [email protected]: Could not read interface state for wlan0 (No such device)
08-21 10:44:45.956 700 700 E [email protected]: Failed to set WiFi interface up
08-21 10:44:45.956 700 700 E [email protected]: Failed to start legacy HAL: UNKNOWN
Is this definitely a hardware problem or could this issue be fixed still?
Thanks for your help...

jonaloeffler said:
Since yesterday my 3-year-old HTC 10 is not turning on Wifi anymore.........
Click to expand...
Click to collapse
I don't have this device myself but, within the following area of the forum that's specific to your device and variants...
https://forum.xda-developers.com/htc-10
... I've seen allot of various issues pertaining to the WiFi specifically.
Also, you may be able to obtain some member guidance within the following Q&A thread that's located on the above area as well.
https://forum.xda-developers.com/showthread.php?t=3527639
Good Luck!
~~~~~~~~~~~~~~~
Unless asked to do so, PLEASE don't PM me regarding support. Sent using The ClaRetoX Forum App on my Apple Macintosh.

Related

[UPDATED 11/14/09] Wifi now working in Blur via CLI

Ok I'm setting up this thread as a place to collect my thoughts as I'm trying to get wifi working in Blur. I'm also hoping others will chime in and offer their help.
Currently I have wifi working from the commandline now
Here is what I have so far.
Wifi module (wlan.ko) loads into the kernel
Code:
insmod /system/lib/modules/wlan.ko
Produces the following output from lsmod
wlan 555768 1 - Live 0xbf11a000
Click to expand...
Click to collapse
I am able to now load the wifi driver
Code:
start wlan_loader
Produces the following output from dmesg
TIWLAN: Driver loading
wifi_probe
trout_wifi_power: 1
trout_wifi_reset: 0
trout_wifi_set_carddetect: 1
TIWLAN: Found SDIO controller (vendor 0x104c, device 0x9066)
tiwlan0 (): not using net_device_ops yet
TIWLAN: Driver initialized (rc 0)
TIWLAN: 1251 PG 1.2
TIWLAN: Driver loaded
Click to expand...
Click to collapse
I can now get wpa_supplicant loading after some mods to wpa_supplicant.conf
Code:
wpa_supplicant -Dwext -itiwlan0 -c /etc/wifi/wpa_supplicant.conf -dd
Produces the following shortened output. It's long so I cropped it
wpa_supplicant -Dwext -itiwlan0 -c /etc/wifi/wpa_supplicant.conf -dd
Initializing interface 'tiwlan0' conf '/etc/wifi/wpa_supplicant.conf' driver 'wext' ctrl_interface 'N/A' bridge 'N/A'
Configuration file '/etc/wifi/wpa_supplicant.conf' -> '/etc/wifi/wpa_supplicant.conf'
Reading configuration file '/etc/wifi/wpa_supplicant.conf'
update_config=1
ctrl_interface='/data/system/wpa_supplicant'
eapol_version=1
ap_scan=1
fast_reauth=1
Initializing interface (2) 'tiwlan0'
.....shortened output......
WEXT: Operstate: linkmode=0, operstate=6
Click to expand...
Click to collapse
Next is a verification we have the device
Code:
ls -l /dev/socket/wpa*
srw-rw---- 1 1010 1010 0 Nov 14 16:48 wpa_tiwlan0
Next let's verify we can scan open wireless networks
Code:
[B]wpa_cli[/B]
> [B]scan[/B]
OK
<2>CTRL-EVENT-STATE-CHANGE id=-1 state=2
>
<2>CTRL-EVENT-SCAN-RESULTS Ready
> [B]scan results[/B]
bssid / frequency / signal level / flags / ssid
00:14:6c:18:2f:0e 2462 -53 [WPA-PSK-TKIP] Quantum
00:24:01:7a:72:9d 2422 -75 [WPA-PSK-TKIP+CCMP][WPA2-PSK-TKIP+CCMP] frankiejparker
00:24:56:19:68:61 2412 -78 [WEP] 2WIRE466
00:1f:b3:d5:da:59 2427 -82 [WPA-PSK-TKIP] 2WIRE699
00:1e:c7:21:48:b9 2442 -83 [WPA-PSK-TKIP] 2WIRE604
00:21:29:9e:26:da 2412 -85 [WPA-PSK-TKIP+CCMP][WPA2-PSK-TKIP+CCMP] Leightons Network
02:18:41:e0:7f:f3 2437 -86 [WEP] 2WIRE817
00:1b:5b:1d:37:49 2417 -91 [WPA-PSK-TKIP] 2WIRE523
00:25:3c:d0:c3:d1 2427 -92 [WPA-PSK-TKIP] 2WIRE297
00:1f:33:b5:c9:e2 2452 -94 [WEP] Martinez
>
<2>CTRL-EVENT-STATE-CHANGE id=-1 state=1
Here I'll add a network, enable it, configure variables, save config, connect to a network, then start dhcp
Code:
> [B]add_network[/B]
0
> [B]list_network[/B]
network id / ssid / bssid / flags
0 any [DISABLED]
> [B]enable_network 0[/B]
OK
> [B]set_network 0 ssid "yourSSID"[/B]
OK
> [B]list_network[/B]
network id / ssid / bssid / flags
0 yourSSID any
> [B]set_network 0 psk "your wpa passkey"[/B]
OK
> [B]save_config[/B]
OK
<2>CTRL-EVENT-SCAN-RESULTS Ready
<2>Trying to associate with 00:14:6c:18:2f:0e (SSID='yourSSID' freq=2462 MHz)
<2>CTRL-EVENT-STATE-CHANGE id=-1 state=3
<2>CTRL-EVENT-STATE-CHANGE id=0 state=4
<2>Associated with 00:14:6c:18:2f:0e
<2>CTRL-EVENT-STATE-CHANGE id=0 state=5
<2>CTRL-EVENT-STATE-CHANGE id=0 state=5
<2>CTRL-EVENT-STATE-CHANGE id=0 state=6
<2>CTRL-EVENT-STATE-CHANGE id=0 state=6
<2>WPA: Key negotiation completed with 00:14:6c:18:2f:0e [PTK=TKIP GTK=TKIP]
<2>CTRL-EVENT-STATE-CHANGE id=0 state=7
<2>CTRL-EVENT-CONNECTED - Connection to 00:14:6c:18:2f:0e completed (auth) [id=0 id_str=]
> quit
Now let's start up dhcp so we can get an IP
Code:
[B]start dhcpcd[/B]
[B]/system/xbin/bb/ifconfig tiwlan0[/B]
tiwlan0 Link encap:Ethernet HWaddr 00:18:41:A9:48:5F
inet addr:192.168.1.9 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:11 errors:0 dropped:0 overruns:0 frame:0
TX packets:7 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:1901 (1.8 KiB) TX bytes:894 (894.0 B)
And there ya go, wireless is now functional from the commandline but since we're not actually activating it from the Android UI then you are not able to simply go into Settings->Wireless and connect to a network. So far it will have to be done from the commandline using the binary wpa_cli.
If an android developer would like to make a frontend be my guest
I've now provided you with what you need to make it work. I'll be releasing a Blur rom today that will have all the proper files and environment so these commands will work.
good job, hopefully this can be implemented into a blur rom for others use.
Added the code to actually connect to a wireless network and get an IP via dhcp
I guess no one else is excited but I'm freakin pumped!
I only get 10MB of data a month on my wireless plan so blur roms are a no go without WiFi.
Thank you so much for your hard work shafty on this and the hero roms also!
abteer said:
I guess no one else is excited but I'm freakin pumped!
I only get 10MB of data a month on my wireless plan so blur roms are a no go without WiFi.
Thank you so much for your hard work shafty on this and the hero roms also!
Click to expand...
Click to collapse
No problem, just took a good 2 hrs to figure out and get working. If you use the app that redirects all internet traffic through wifi then that would pretty much simulate what happens when you connect to wifi through the android UI.
One thing to note, once you add a network say like at your house and save the config you won't have to do any of that again.
To turn off wifi you'd just do
Code:
wpa_cli terminate
To re-enable
Code:
start wpa_supplicant
start dhcpcd
im def excited about this...thank you shafty for your hard work man...you getting closer and closer everyday to perfecting this rom...
Shafty, you are the man. Thank you again for all your efforts for the community.
Thank you much for posting this! I can't wait until it drops so I can finally run this ROM. I live in a GPRS/EDGE area and can't do ANYTHING w/o it. Are you going to add the working BT to the ROM also? I saw it working on 1 of them...can't remember which 1 though. ::Hoping:: It's another must for me.
Again...THANKS FOR YOUR TIME/EFFORTS!!!
Seriously? This is great news! I might be able to try out a blur finally! Happy dance! Happy dance! Happy dance! Happy dance!
shagge68 said:
Thank you much for posting this! I can't wait until it drops so I can finally run this ROM. I live in a GPRS/EDGE area and can't do ANYTHING w/o it. Are you going to add the working BT to the ROM also? I saw it working on 1 of them...can't remember which 1 though. ::Hoping:: It's another must for me.
Again...THANKS FOR YOUR TIME/EFFORTS!!!
Click to expand...
Click to collapse
BT is working in 1.071
shafty023 said:
Ok I'm setting up this thread as a place to collect my thoughts as I'm trying to get wifi working in Blur. I'm also hoping others will chime in and offer their help.
Currently I have wifi working from the commandline now
Here is what I have so far.
Wifi module (wlan.ko) loads into the kernel
Code:
insmod /system/lib/modules/wlan.ko
Produces the following output from lsmod
I am able to now load the wifi driver
Code:
start wlan_loader
Produces the following output from dmesg
I can now get wpa_supplicant loading after some mods to wpa_supplicant.conf
Code:
wpa_supplicant -Dwext -itiwlan0 -c /etc/wifi/wpa_supplicant.conf -dd
Produces the following shortened output. It's long so I cropped it
Next is a verification we have the device
Code:
ls -l /dev/socket/wpa*
srw-rw---- 1 1010 1010 0 Nov 14 16:48 wpa_tiwlan0
Next let's verify we can scan open wireless networks
Code:
[B]wpa_cli[/B]
> [B]scan[/B]
OK
<2>CTRL-EVENT-STATE-CHANGE id=-1 state=2
>
<2>CTRL-EVENT-SCAN-RESULTS Ready
> [B]scan results[/B]
bssid / frequency / signal level / flags / ssid
00:14:6c:18:2f:0e 2462 -53 [WPA-PSK-TKIP] Quantum
00:24:01:7a:72:9d 2422 -75 [WPA-PSK-TKIP+CCMP][WPA2-PSK-TKIP+CCMP] frankiejparker
00:24:56:19:68:61 2412 -78 [WEP] 2WIRE466
00:1f:b3:d5:da:59 2427 -82 [WPA-PSK-TKIP] 2WIRE699
00:1e:c7:21:48:b9 2442 -83 [WPA-PSK-TKIP] 2WIRE604
00:21:29:9e:26:da 2412 -85 [WPA-PSK-TKIP+CCMP][WPA2-PSK-TKIP+CCMP] Leightons Network
02:18:41:e0:7f:f3 2437 -86 [WEP] 2WIRE817
00:1b:5b:1d:37:49 2417 -91 [WPA-PSK-TKIP] 2WIRE523
00:25:3c:d0:c3:d1 2427 -92 [WPA-PSK-TKIP] 2WIRE297
00:1f:33:b5:c9:e2 2452 -94 [WEP] Martinez
>
<2>CTRL-EVENT-STATE-CHANGE id=-1 state=1
Here I'll add a network, enable it, configure variables, save config, connect to a network, then start dhcp
Code:
> [B]add_network[/B]
0
> [B]list_network[/B]
network id / ssid / bssid / flags
0 any [DISABLED]
> [B]enable_network 0[/B]
OK
> [B]set_network 0 ssid "yourSSID"[/B]
OK
> [B]list_network[/B]
network id / ssid / bssid / flags
0 yourSSID any
> [B]set_network 0 psk "your wpa passkey"[/B]
OK
> [B]save_config[/B]
OK
<2>CTRL-EVENT-SCAN-RESULTS Ready
<2>Trying to associate with 00:14:6c:18:2f:0e (SSID='yourSSID' freq=2462 MHz)
<2>CTRL-EVENT-STATE-CHANGE id=-1 state=3
<2>CTRL-EVENT-STATE-CHANGE id=0 state=4
<2>Associated with 00:14:6c:18:2f:0e
<2>CTRL-EVENT-STATE-CHANGE id=0 state=5
<2>CTRL-EVENT-STATE-CHANGE id=0 state=5
<2>CTRL-EVENT-STATE-CHANGE id=0 state=6
<2>CTRL-EVENT-STATE-CHANGE id=0 state=6
<2>WPA: Key negotiation completed with 00:14:6c:18:2f:0e [PTK=TKIP GTK=TKIP]
<2>CTRL-EVENT-STATE-CHANGE id=0 state=7
<2>CTRL-EVENT-CONNECTED - Connection to 00:14:6c:18:2f:0e completed (auth) [id=0 id_str=]
> quit
Now let's start up dhcp so we can get an IP
Code:
[B]start dhcpcd[/B]
[B]/system/xbin/bb/ifconfig tiwlan0[/B]
tiwlan0 Link encap:Ethernet HWaddr 00:18:41:A9:48:5F
inet addr:192.168.1.9 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:11 errors:0 dropped:0 overruns:0 frame:0
TX packets:7 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:1901 (1.8 KiB) TX bytes:894 (894.0 B)
And there ya go, wireless is now functional from the commandline but since we're not actually activating it from the Android UI then you are not able to simply go into Settings->Wireless and connect to a network. So far it will have to be done from the commandline using the binary wpa_cli.
If an android developer would like to make a frontend be my guest
I've now provided you with what you need to make it work. I'll be releasing a Blur rom today that will have all the proper files and environment so these commands will work.
Click to expand...
Click to collapse
Dude, I could almost Kiss you Right now. That's the only thing that was holding me back from Blur!!!!!!!!!!!!!!!
You Rock Dude. Think that will work on Pulse?
damn this is great news.. guess i wont have to buy the motocliq after all.. lol.. ready for a working blur rom with wifi
just wondering i heard motoblur was open sourced could you just edit the source to automate this process for the g1?
eugene373 said:
Dude, I could almost Kiss you Right now. That's the only thing that was holding me back from Blur!!!!!!!!!!!!!!!
You Rock Dude. Think that will work on Pulse?
Click to expand...
Click to collapse
Yup it should
jokersax11 said:
just wondering i heard motoblur was open sourced could you just edit the source to automate this process for the g1?
Click to expand...
Click to collapse
No this part was not released. They only released gpl code
omg this is great i can finally try out a blur rom on my g1 thanks shafty
hey shafty, your expertise has been a huge asset to the android community once again! you're the bomb.
Just curious, I can completely follow your instructions until the code box where you're adding the network(when you're actually dealing with wpa_cli)
How does wpa_cli work? which things that appear there did you type and which did it print out?
jcarrz1 said:
hey shafty, your expertise has been a huge asset to the android community once again! you're the bomb.
Just curious, I can completely follow your instructions until the code box where you're adding the network(when you're actually dealing with wpa_cli)
How does wpa_cli work? which things that appear there did you type and which did it print out?
Click to expand...
Click to collapse
If you launch "wpa_cli" by itself it will launch a "> " prompt waiting for u to type a command. The commands I typed are in bold. Try typing "help" at the prompt after launching wpa_cli.
Keep in mind it's very unlikely you'll get it working b/c u don't have the right kernel/wifi module/wifi driver/scripts/binaries. It took a while for me to get the right ones.
I'll release a copy when I have a script in place to automate it all. Have a busy weekend so won't be able to do it anytime soon. But feel free to try, at least if u find the right files you can be proud to know u made it work on ur own. Why else do u think I'd post all my work? So others can learn and try on their own good luck!
On 1.071 i type insmod /system/lib/modules/wlan.ko and it gives me an error:
# insmod /system/lib/modules/wlan.ko
insmod: init_module '/system/lib/modules/wlan.ko' failed (Exec format error)
crater said:
On 1.071 i type insmod /system/lib/modules/wlan.ko and it gives me an error:
# insmod /system/lib/modules/wlan.ko
insmod: init_module '/system/lib/modules/wlan.ko' failed (Exec format error)
Click to expand...
Click to collapse
I haven't released a build w/ the files to make this work yet. When I do it'll be v1.08. Hang tight and in a few days/this week I will. Very busy weekend for me

Froyo O3D suddenly won't connect to wifi modem

Last night my Froyo O3D (waiting for gb update) disconnected from my wireless router and every time I click the wifi tab to connect it connects then says authentication error (sometimes says nothing) then disconnects despite not having installed any new apps recently.
The error log when I try to connect wirelessly reads as follows (edited the SSID number for posting)
Code:
Changing supplicant state: INACTIVE ==> SCANNING
STATE_CHANGED for: featureId: -1, typeName: WIFI; stateDISCONNECTED/SCANNING
Dropping ConnectivityChange for WIFI: DISCONNECTED/SCANNING
Trying to associate with 00:25:69:53:a7:9d (SSID='SKY42908' freq=2412 MHz)
CCKM: WPA: set AP WPA IE
CTRL-EVENT-STATE-CHANGE id=-1 state=3 BSSID=00:25:69:53:a7:9d
setDetailed state, old =SCANNING and new state=CONNECTING
Event [Trying to associate with 00:25:69:53:a7:9d (SSID='SKY****' freq=2412 MHz)]
Event [CTRL-EVENT-STATE-CHANGE id=-1 state=3 BSSID=00:25:69:53:a7:9d]
get scan results
Changing supplicant state: SCANNING ==> ASSOCIATING
STATE_CHANGED for: featureId: -1, typeName: WIFI; stateCONNECTING/CONNECTING
ConnectivityChange for WIFI: CONNECTING/CONNECTING
CTRL-EVENT-STATE-CHANGE id=2 state=4 BSSID=00:25:69:53:a7:9d
setDetailed state, old =CONNECTING and new state=CONNECTING
Associated with 00:25:69:53:a7:9d
CTRL-EVENT-STATE-CHANGE id=2 state=5 BSSID=00:00:00:00:00:00
setDetailed state, old =CONNECTING and new state=AUTHENTICATING
Event [CTRL-EVENT-STATE-CHANGE id=2 state=4 BSSID=00:25:69:53:a7:9d]
Changing supplicant state: ASSOCIATING ==> ASSOCIATED
Event [Associated with 00:25:69:53:a7:9d]
Event [CTRL-EVENT-STATE-CHANGE id=2 state=5 BSSID=00:00:00:00:00:00]
Changing supplicant state: ASSOCIATED ==> FOUR_WAY_HANDSHAKE
STATE_CHANGED for: featureId: -1, typeName: WIFI; stateCONNECTING/AUTHENTICATING
Dropping ConnectivityChange for WIFI: CONNECTING/AUTHENTICATING
[GsmDataConnectionTracker] rx 2978, tx 3090
Fast dormancy check PDP num =1
2g screen on) Set Timer to 1000
2army log acquireWakeLock flags=0x1 tag=GTALK_CONNuid=10022
2army log acquireWakeLock flags=0x1 tag=GTALK_CONNuid=10022
[RosterMgr] roster not modified
2army log acquireWakeLock flags=0x1 tag=RILJuid=1001
setIndicatorValue: 6,3
JBtlAg context is disabled
2army log acquireWakeLock flags=0x1 tag=GTALK_CONNuid=10022
2army log acquireWakeLock flags=0x1 tag=GTALK_CONNuid=10022
2army log acquireWakeLock flags=0x1 tag=GTALK_CONNuid=10022
2army log acquireWakeLock flags=0x1 tag=GTALK_CONNuid=10022
2army log acquireWakeLock flags=0x1 tag=GTALK_CONNuid=10022
[OtrMgr] OTR not modified
[GsmDataConnectionTracker] rx 2981, tx 3092
Fast dormancy check PDP num =1
2g screen on) Set Timer to 1000
CTRL-EVENT-STATE-CHANGE id=2 state=5 BSSID=00:00:00:00:00:00
Event [CTRL-EVENT-STATE-CHANGE id=2 state=5 BSSID=00:00:00:00:00:00]
Changing supplicant state: FOUR_WAY_HANDSHAKE ==> FOUR_WAY_HANDSHAKE
2army log acquireWakeLock flags=0x1 tag=RILJuid=1001
setIndicatorValue: 6,4
JBtlAg context is disabled
[GsmDataConnectionTracker] rx 2981, tx 3092
isRilReset data = false
[GsmDataConnectionTracker] notifyDataActivity(NONE)
Fast dormancy check PDP num =1
2g screen on) Set Timer to 1000
updateDataIcon : Srv=true DataSrv=true DataSt=2 RAT=2
CTRL-EVENT-STATE-CHANGE id=2 state=5 BSSID=00:00:00:00:00:00
Event [CTRL-EVENT-STATE-CHANGE id=2 state=5 BSSID=00:00:00:00:00:00]
Changing supplicant state: FOUR_WAY_HANDSHAKE ==> FOUR_WAY_HANDSHAKE
2army log acquireWakeLock flags=0x1 tag=RILJuid=1001
updateSignalState : Don't send RSSI-timeSinceRequest: 998
setTimeoutLocked mPolicy.isKeyguardShowingAndNotHidden = false
[GsmDataConnectionTracker] rx 2981, tx 3092
Fast dormancy check PDP num =1
2g screen on) Set Timer to 1000
CTRL-EVENT-STATE-CHANGE id=2 state=5 BSSID=00:00:00:00:00:00
Event [CTRL-EVENT-STATE-CHANGE id=2 state=5 BSSID=00:00:00:00:00:00]
Changing supplicant state: FOUR_WAY_HANDSHAKE ==> FOUR_WAY_HANDSHAKE
Everything else works wirelessly just not my Android phone, any ideas why?
Dave

[Solved]Wifi problem with all Motorola Android 2.3.6 rom

How can help with this problem?
Code:
Sending a DHCP renewal
D/WifiStateTracker( 2717): Disable Bluetooth co-ex mode
V/WifiStateTracker( 2717): AutoIP is disabled
D/WifiStateTracker( 2717): DhcpHandler: DHCP request started
E/wpa_supplicant(11431): ERROR - wpa_driver_tista_private_send - error sending Wext private IOCTL to STA driver (ioctl_cmd = 8000305, drv->errors = 1, errno = 95 - Operation not supported on transport endpoint)
E/wpa_supplicant(11431): ERROR - Failed to handle rx data filter command!
D/WifiStateTracker( 2717): DHCP renewal started
- wifi disconnect on some router every 5-8 min.
- no problem with the same router on Android 2.3.4
- kernel problem?
Solution for this problem
- it is a problem with android >2.3.6
- there is no fix from google
- Change lease time for IP adress at your router from unlimited to 2 weeks or 2 year or 2 month ....
Code:
--------- beginning of /dev/log/main
D/alogcat (12049): stopped
D/alogcat (12049): starting ...
--------- beginning of /dev/log/system
W/InputManagerService( 2717): Window already focused, ignoring focus gain of: [email protected]
D/RadioSignalLevel( 3382): Gsm Radio Signal level: 4
D/RadioSignalLevel( 3382): Gsm Radio Signal level: 4
W/InputManagerService( 2717): Window already focused, ignoring focus gain of: [email protected]
D/WifiStateTracker( 2717): Sending a DHCP renewal
D/WifiStateTracker( 2717): Disable Bluetooth co-ex mode
V/WifiStateTracker( 2717): AutoIP is disabled
D/WifiStateTracker( 2717): DhcpHandler: DHCP request started
E/wpa_supplicant(11431): ERROR - wpa_driver_tista_private_send - error sending Wext private IOCTL to STA driver (ioctl_cmd = 8000305, drv->errors = 1, errno = 95 - Operation not supported on transport endpoint)
E/wpa_supplicant(11431): ERROR - Failed to handle rx data filter command!
D/WifiStateTracker( 2717): DHCP renewal started
I/ActivityManager( 2717): Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.HOME] flg=0x10200000 cmp=com.motorola.blur.home/.HomeActivity } from pid 2717
V/alogcat (12049): save instance
V/alogcat (12049): paused
I/ActivityManager( 2717): No longer want com.android.settings (pid 10969): hidden #21
D/battery_widget_monitor(10800): onReceive:Intent { act=android.appwidget.action.APPWIDGET_UPDATE cmp=ccc71.bmw/.lib.bmw_widget (has extras) }
W/battery_widget_monitor(10800): total active Widgets:4
I/ActivityManager( 2717): Resumed Activity: org.jtb.alogcat/.LogActivity totalTime: 182 ms
D/alogcat (12049): stopping ...
W/InputManagerService( 2717): Starting input on non-focused client [email protected] (uid=10099 pid=12049)
D/alogcat (12049): stopped
I/EventLogService( 3514): Aggregate from 1329512002062 (log), 1329512002062 (data)
I/ActivityManager( 2717): Starting: Intent { act=com.motorola.blur.apps.ACTION_APPS flg=0x10200000 cmp=com.motorola.blur.home/com.motorola.blur.apps.AppsActivity (has extras) } from pid 3414
I/ActivityManager( 2717): Displayed com.motorola.blur.home/com.motorola.blur.apps.AppsActivity: +621ms
D/dalvikvm(12049): GC_EXPLICIT freed 902K, 64% free 3238K/8967K, external 2939K/3671K, paused 70ms
I/ActivityManager( 2717): Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] flg=0x10200000 cmp=org.jtb.alogcat/.LogActivity } from pid 3414
V/alogcat (12049): started
I/alogcat (12049): new intent: android.intent.action.MAIN
D/alogcat (12049): stopping ...
D/alogcat (12049): canceling periodic saves
V/alogcat (12049): resumed
D/alogcat (12049): starting ...
I/ActivityManager( 2717): Resumed Activity: org.jtb.alogcat/.LogActivity totalTime: 217 ms
W/InputManagerService( 2717): Starting input on non-focused client [email protected] (uid=10141 pid=3414)
W/KeyCharacterMap(12049): Can't open keycharmap file
W/KeyCharacterMap(12049): Error loading keycharmap file '/data/usr/keychars/qtouch-touchscreen.kcm.bin'. hw.keyboards.65537.devname='qtouch-touchscreen'
W/KeyCharacterMap(12049): Can't open keycharmap file
W/KeyCharacterMap(12049): Error loading keycharmap file '/system/usr/keychars/qtouch-touchscreen.kcm.bin'. hw.keyboards.65537.devname='qtouch-touchscreen'
W/KeyCharacterMap(12049): Can't open keycharmap file
W/KeyCharacterMap(12049): Using default keymap: /system/usr/keychars/qwerty.kcm.bin
Hi,
I found this with TPLINK routers (firewalls, etc.). I think the problem is about TPLINK's DHCP server implementation. I have a TPLINK firewall since 6 month ago, and I have this bug too.
TPLINK's DHCP server deamon (and sometimes their client) has some known incompatbility with ISP's DHCP solutions.
Of course, something is changed in 2.3.6 compared to 2.3.4, because same router is perfectly work with older version.
My workaround about this is disabling DHCP: I use manual IP, or use a "wifi profiler", which turns on/off predefined Fix IP on specified WIFI SSID.
I know it is not a perfect solution in foreign places.
I tried to replace dhcp deamon, wifi drivers, wifi configuration files from 2.3.4, but no success. (I am not a linux expert, so maybe I didn't change every dependent modules, etc.)
DHCP bug is allways present, whenever I'am using open, wep and wpa/wpa2 wireless link - if same DHCP server used.
(OFF: However I have another Wifi bug on CM7/MIUI ROMs with WPA2: after some minutes or transferring a few megabytes, the connection will "stuck" - no more dataflow, I have to reconnect.)
walter79 said:
How can help with this problem?
- wifi disconnect on some router every 5-8 min.
- no problem with the same router on Android 2.3.4
- kernel problem?
Click to expand...
Click to collapse
As a Defy+ user, I'd like to report this bug to official Motorola forum. I've already reported the search bug FC in app drawer. Please tell me how to report.
LeopardSurd said:
As a Defy+ user, I'd like to report this bug to official Motorola forum. I've already reported the search bug FC in app drawer. Please tell me how to report.
Click to expand...
Click to collapse
Copy the Logfile. For me the problem can find on router from Vodafon. (Vodafon Easybox 803 and 903) This router can only buy with a DSL-contract from Vodafon in germany. Maybe it is a kernel problem. I can`t test v3 kernel from motorola. I use a Android 2.3.4 kernel. I tried all v2 gingerbread kernels.
walter79 said:
Copy the Logfile. For me the problem can find on router from Vodafon. (Vodafon Easybox 803 and 903) This router can only buy with a DSL-contract from Vodafon in germany. Maybe it is a kernel problem. I can`t test v3 kernel from motorola. I use a Android 2.3.4 kernel. I tried all v2 gingerbread kernels.
Click to expand...
Click to collapse
ok, thanks!
There is a bug report on Motorola forum:
https://forums.motorola.com/posts/6c79bca040
Any way of using CM's WiFi driver on stock ROM?
Cm7 wifi is way faster than stock!
Can someone test to change ip adress lease time from unlimited to 2 weeks. You have to change this in your router
I found this in the Motorola forums, might help.
https://forums.motorola.com/posts/6808fc89ae
cdlq456 said:
I found this in the Motorola forums, might help.
https://forums.motorola.com/posts/6808fc89ae
Click to expand...
Click to collapse
This a different problem. I think only changing router DHCP settings will work.
I have no problems w Netgear WNR1000 ( this is my router model I think) , my rom is GGL ROM - Defy Green Lens [Android 2.3.6] . WIFI is working as a charm ,it is fast (faster than on CM72 roms) and energy efficient . I used to have problems with roms 2.1 , 2.2 - never with gingerbread roms . But those problems was connected with security settings .
This wifi bug is present in all Android 2.3.6 or 3.2 builds. Samsung has this bug too.
http://code.google.com/p/android/issues/detail?id=20461
There is no fix. You can only change the ip lease time of your router from unlimited to anything else.
I will check that in my router setup .
Solution for this problem
- it is a problem with android >2.3.6
- there is no fix from google
- Change lease time for IP adress at your router from unlimited to 2 weeks or 2 year or 2 month ....
http://review.cyanogenmod.com/#change,6098
Wifi problem is a framework problem. It is fixable by edit framework.jar on each >= android 2.3.6 rom.
I will test the fix on my MS2Ginger rom.
Thanks to quarx he found the fix on cm7 review page.
I know this is an oold thread, but I think that it's importannt that there's a fix that doesn't include changing settings in any rooter:
http://chromloop.com/2011/09/how-to...roblem-wifi-connected-but-no-internet-access/
My friend just bought the Defy+ from a store, new and quite expensive and was REALLY dissapointed to find out that it crashes most(all?) wireless N routers, cause he travels a lot and connects from a lot of random rooters. Applied this easy mod(after Framaroot-ing) and all seems ok after being connected for about 30 minutes now . Hurray!!:victory:

Beanstalk and WiFi?

I am having an issue where my WiFi keeps disconnecting. Its only on my home router that I've noticed. Its a fritzbox. I have reinstalled the ROM. Plus wiped everything. No restore with titainium this time just in case. (I only restore user apps anyway.) This has been happening on the last two builds. Which strikes me as odd because I have been running Scotts cm10 with out issue from almost the beginning. And switched to beanstalk on day one. Its just been the last two builds of beanstalk giving me a hard time. Let me know your ideas. I've searched through the menus, but with all these added features I could have missed something.
Sent from my SGH-I997 using xda app-developers app
Same here...
Having the same basic issue, though it's more of a minor annoyance than anything else. Get kicked off wifi. Turn wifi off and then back on. Then reconnect and usually it works.
And I should say that this is just a minor, minor glitch in what is otherwise an awesome ROM. Thanks for all your work on it, Scott!
Any thoughts on wifi fixes?
I am happy with CM10 11/15 release. Everything is working and I recommend others to go to that release.
New releases, codename, etc. is just a toy for developers to experiment. There will always be something not working or working incorrectly.
I have been fed by "ultra smooth", "buttery smooth", etc. BS, basically no changes from earlier CM10. It is smooth until you have some app taking more cpu or available memory is close to 0. Then all smoothness disappears.
Just find a version which works for you and stop making troubles to yourself with newer and newer versions.
0.02c
Newest working for me fine
Sent from my SGH-I997 using Tapatalk 2
Scott's Beanstalk build does the same thing to me (haven't tried the 2/3 release), it seems to only happen when I turn WiFi sleep on. If I leave it set to never sleep, it doesn't disconnect.
I've been having this issue too, I think it has been happening for me since switching to any ICS or JB rom but it seems worse lately. I've been tempted to switch back to the latest official GB release to see if I still have the issue but haven't tried that yet
I've checked the wifi sleep settings and tried all possible options. If seems to go to sleep and never wakeup. If I am hooked to power it doesn't seem to happen or if there is something active it doesn't happen.
In the logcat it happens about here:
I/EventLogService( 1047): Aggregate from 1358904794591 (log), 1358904794591 (data)
W/wpa_supplicant(19752): wlan0: Failed to initiate AP scan
W/ThrottleService( 443): unable to find stats for iface pdp0
W/wpa_supplicant(19752): wlan0: Failed to initiate AP scan
I/wpa_supplicant(19752): wlan0: CTRL-EVENT-DISCONNECTED bssid=c0:c1:c0:dc:f5:cc reason=1
E/wpa_supplicant(19752): wpa_driver_nl80211_driver_cmd: failed to issue private commands
D/CommandListener( 142): Clearing all IP addresses on wlan0
D/ConnectivityService( 443): ConnectivityChange for WIFI: DISCONNECTED/DISCONNECTED
D/ConnectivityService( 443): Attempting to switch to mobile
D/ConnectivityService( 443): Attempting to switch to BLUETOOTH_TETHER
D/NetUtils( 443): android_net_utils_resetConnections in env=0x2a292630 clazz=0xef500001 iface=wlan0 mask=0x3
D/ConnectivityService( 443): resetConnections(wlan0, 3)
W/wpa_supplicant(19752): wlan0: Failed to initiate AP scan
D/NetUtils( 443): android_net_utils_resetConnections in env=0x2a292630 clazz=0xf1b00001 iface=wlan0 mask=0x3
D/ConnectivityService( 443): ConnectivityChange for WIFI: DISCONNECTED/DISCONNECTED
D/ConnectivityService( 443): Attempting to switch to mobile
D/ConnectivityService( 443): Attempting to switch to BLUETOOTH_TETHER
D/ConnectivityService( 443): resetConnections(wlan0, 3)
D/dalvikvm( 806): GC_CONCURRENT freed 625K, 22% free 4256K/5408K, paused 7ms+2ms, total 129ms
D/dalvikvm( 443): GC_CONCURRENT freed 1861K, 40% free 16643K/27640K, paused 10ms+9ms, total 102ms
D/dalvikvm( 443): WAIT_FOR_CONCURRENT_GC blocked 52ms
W/wpa_supplicant(19752): wlan0: Failed to initiate AP scan
W/wpa_supplicant(19752): wlan0: Failed to initiate AP scan
W/wpa_supplicant(19752): wlan0: Failed to initiate AP scan
W/wpa_supplicant(19752): wlan0: Failed to initiate AP scan
W/wpa_supplicant(19752): wlan0: Failed to initiate AP scan
W/wpa_supplicant(19752): wlan0: Failed to initiate AP scan
W/wpa_supplicant(19752): wlan0: Failed to initiate AP scan
W/wpa_supplicant(19752): wlan0: Failed to initiate AP scan
The "Failed to initiate AP scan" repeats until wifi is disabled and restarted.
Only issue I have with the latest 2/3 build is that when I connect BT to car for talk... the sound comes across like I'm listening to a Walkie Talkie from the person I'm talking to.
They here me fine though. Also. The BT to Streaming music sounds good.
I ended up just wiping and restoring the PREVIOUS build which was working perfect.
I'm at a loss on this one. I reverted to stock and then tried Aeon for a while and had the same issue, although Aeon would sometimes bring the Wifi back on its own without me having to disable wifi and re-enable it. With Aeon I had a problem with the screen not coming back on after a deep sleep that I had with some other GB releases so I decided to go back up to Bean Stalk.
Did a complete format, wipe, and install and I'm having the same wifi issue. It acts like "Keep Wi-Fi on during sleep" is set to "Only when plugged in" even though I have it set to Always. When it wakes back up the only way to bring wifi back is to disable/enable it. I'm tempted to start timing how long it takes
Some more logcat info:
I/PowerManagerService( 428): Going to sleep due to screen timeout...
I/wpa_supplicant( 595): wlan0: CTRL-EVENT-DISCONNECTED bssid=c0:c1:c0:dc:f5:cc reason=1
E/wpa_supplicant( 595): wpa_driver_nl80211_driver_cmd: failed to issue private commands
D/CommandListener( 142): Clearing all IP addresses on wlan0
D/ConnectivityService( 428): ConnectivityChange for WIFI: DISCONNECTED/DISCONNECTED
D/ConnectivityService( 428): Attempting to switch to mobile
D/ConnectivityService( 428): Attempting to switch to BLUETOOTH_TETHER
D/NetUtils( 428): android_net_utils_resetConnections in env=0x2a170ed0 clazz=0x6ac00001 iface=wlan0 mask=0x3
D/ConnectivityService( 428): resetConnections(wlan0, 3)
W/wpa_supplicant( 595): wlan0: Failed to initiate AP scan
D/dalvikvm( 587): GC_CONCURRENT freed 503K, 24% free 3101K/4080K, paused 7ms+53ms, total 152ms
D/SurfaceFlinger( 145): Screen released, type=0 flinger=0x2a007318
E/wpa_supplicant( 595): wpa_driver_nl80211_driver_cmd: failed to issue private commands
V/TransportControlView( 428): Create TCV com.android.internal.policy.impl.keyguard.KeyguardTransportControlView{41677960 V.E..... ......I. 0,0-0,0 #102030a android:id/keyguard_transport_control}
D/dalvikvm( 428): JIT code cache reset in 4 ms (1048448 bytes 1/0)
D/dalvikvm( 428): GC_CONCURRENT freed 1669K, 37% free 9285K/14728K, paused 3ms+9ms, total 103ms
V/KeyguardViewManager( 428): State lockbackground:null
W/wpa_supplicant( 595): wlan0: Failed to initiate AP scan
D/dalvikvm( 428): GC_FOR_ALLOC freed 664K, 37% free 9354K/14728K, paused 59ms, total 61ms
W/wpa_supplicant( 595): wlan0: Failed to initiate AP scan
W/wpa_supplicant( 595): wlan0: Failed to initiate AP scan
D/Tethering( 428): MasterInitialState.processMessage what=3
D/ConnectivityService( 428): handleInetConditionChange: no active default network - ignore
D/PicasaUploaderSyncManager( 1602): active network: null
I fixed mine by shutting off WiFi optimization in the WiFi advanced settings. All is back to normal now.
Sent from my SGH-I997 using xda app-developers app
I might have figured out my problem, hopefully I'm not jinxing myself by posting this.
I installed Wifi Fixer and that didn't really help, but it would make the network reconnect after it dropped. What really helped was turning on the logging and seeing what was happening.
I have a Linksys router that is 802.11A/N and 802.11B/G compatible. Well I had the same ssid for for sets of bands so I think there is either weird power saving on the A/N or something weird where it would switch back and forth and get into some weird state. I changed the ssid on my A/N to something different and it hasn't dropped in a while now
After I'm sure it is fixed I might add the A/N ssid to my phone to see if that works.
Hopefully this helps someone else out there.
Well I still had issues with Beanstalk (the latest 4.2.1 version). Last night I flashed back to stock GB and I'm going to see if the wifi problem persists for me.
I'd really like to be on a ICS/JB rom but with the wifi constantly freaking out and the crazy battery life I might end up sticking with GB.
What is the best GB for Infuse?
I am done playing QA. 8 months testing and I can't stay with : GPS is not turning up if not used for some time ( Maps or other GPS can't turn it on. Have to reboot ), 720p not working, 480p produces video which gallery sometimes have problems creating/viewing thumbnails (really slow response from phone and eating battery; if this happens screen stays black for minutes until it starts re-drawing), WiFi issues (I stopped using WiFi tethering, which was the main reason to try 4+), very frequent DEBUG logs (OS Monitor) eat CPU for no reason, bluetooth issues only on my phone.

[Completed] Wifi Scans with No Results

WiFi scans but cannot see any WiFi networks but sees WiFi Direct networks.
Logcat:
11-23 16:19:12.300 1781-16576/? D/WifiHW: Read wifi chip type OK ! wifi_chip_type = RTL8188EU
11-23 16:19:12.300 1781-16576/? D/WifiHW: wifi_load_driver: DRIVER_MODULE_PATH = /system/lib/modules/8188eu.ko, DRIVER_MODULE_ARG = ifname=wlan0 if2name=p2p0
11-23 16:19:12.300 1781-7431/? D/WifiService: setWifiEnabled: true pid=16022, uid=1000
11-23 16:19:12.350 16022-16022/? E/BluetoothAdapter: Bluetooth binder is null
11-23 16:19:13.630 89-173/? W/Vold: subsystem found in netlink event
11-23 16:19:13.630 89-173/? D/Vold: usb, 1
11-23 16:19:13.630 89-173/? D/Vold: == current usb device: 0BDA/0179 ===
11-23 16:19:13.630 89-173/? W/Vold: subsystem found in netlink event
11-23 16:19:13.630 89-173/? D/Vold: usb, 1
11-23 16:19:13.660 1781-4796/? D/Tethering: sendTetherStateChangedBroadcast 1, 0, 0
11-23 16:19:13.670 1781-4796/? D/Tethering: InitialState.processMessage what=4
11-23 16:19:13.670 1781-5164/? W/UsbSettingsManager: no meta-data for ResolveInfo{41467230 com.estrongs.android.pop.view.FileExplorerActivity p=0 o=0 m=0x108000}
11-23 16:19:13.680 1781-4796/? D/Tethering: sendTetherStateChangedBroadcast 0, 0, 0
11-23 16:19:13.690 1781-5164/? W/ContextImpl: Calling a method in the system process without a qualified user: android.app.ContextImpl.sendBroadcast:1041 com.android.server.usb.UsbSettingsManager.deviceAttached:619 com.android.server.usb.UsbHostManager.usbDeviceAdded:156 com.android.server.usb.UsbHostManager.monitorUsbHostBus:-2 com.android.server.usb.UsbHostManager.access$000:38
11-23 16:19:13.700 1781-16576/? D/WifiHW: Wifi driver is ready for now. timeout=138
11-23 16:19:13.700 90-662/? E/SoftapController_rtl: Wifi chip is from realtek, not need to change fw!
11-23 16:19:13.710 90-662/? D/CommandListener: Setting iface cfg
11-23 16:19:13.710 90-662/? D/CommandListener: Trying to bring down wlan0
11-23 16:19:13.720 16579-16579/? I/wpa_supplicant: Successfully initialized wpa_supplicant
11-23 16:19:13.720 16579-16579/? I/wpa_supplicant: rfkill: Cannot open RFKILL control device
11-23 16:19:14.350 16579-16579/? I/wpa_supplicant: nl80211: no Using driver-based off-channel TX
11-23 16:19:14.400 16579-16579/? I/wpa_supplicant: rfkill: Cannot open RFKILL control device
11-23 16:19:14.410 16579-16579/? I/wpa_supplicant: nl80211: no Using driver-based off-channel TX
11-23 16:19:14.470 90-662/? D/CommandListener: Setting iface cfg
11-23 16:19:14.470 90-662/? D/CommandListener: Trying to bring up p2p0
11-23 16:19:14.480 1781-1824/? D/WifiDisplayController: mDesiredDevice == NULL, So it is a sink device
11-23 16:19:14.490 1781-1824/? D/WifiDisplayController: ####onConnectionInfoAvailable(), mWfdEnabled networkInfo.isConnected()falsefalse
11-23 16:19:14.490 1781-1824/? D/WifiDisplayController: ######mWifiWFDServicerOn =mWfdEnabled+ networkInfo.isConnected()falsefalsefalse
11-23 16:19:14.530 16022-16027/? D/dalvikvm: GC_CONCURRENT freed 512K, 14% free 4012K/4616K, paused 1ms+5ms, total 45ms
11-23 16:19:14.540 16022-16022/? E/BluetoothAdapter: Bluetooth binder is null
Hello,
Welcome to XDA.
http://forum.xda-developers.com/android/help
The experts there may be able to help.
Register an XDA account to post and reply in the forums. Good luck.

Categories

Resources