Wifi drop-out issues after upgrading to ICS - Sony Ericsson Xperia Neo, Pro

After hours and hours of finding my own solutions, reading here and there, I decide want to share the problem I'm facing, and I believe others also facing similar issue...that is - wifi dropouts every 10 seconds...
Generally, this issues is not only exclusive to Sony Neo ICS, but did happen to gingerbread as well, and to some others hardware too (galaxy nexus, xoom etc).
I'll already tried various suggested solutions - using wifi fix, changing wpa2 to wep, changing channel from auto to 11, but none of them work. - this only happen to my home router. This problem not happened if im using gingerbread.
bellow is the logcat..
Hope someone can helps...thanks
HTML:
19:48:35.656 Debug wpa_supplicant 10653 nl80211_priv_driver_cmd POWERMODE 0 len = 4096
19:48:35.656 Debug wpa_supplicant 10653 global POWERMODE set to 0 (wanted 0), ret 0
19:48:35.656 Debug wpa_supplicant 10653 wlan0: ap_scan = 2
19:48:35.656 Debug wpa_supplicant 10653 Setting scan request: 0 sec 0 usec
19:48:35.656 Debug wpa_supplicant 10653 Starting AP scan for wildcard SSID
19:48:35.656 Debug wpa_supplicant 10653 Scan requested (ret=0) - scan timeout 30 seconds
19:48:35.656 Debug wpa_supplicant 10653 nl80211: Event message available
19:48:35.656 Debug wpa_supplicant 10653 nl80211: Scan trigger
19:48:35.656 Debug wpa_supplicant 10653 wlan0: ap_scan = 2
19:48:35.656 Debug wpa_supplicant 10653 Ongoing scan action - reject new request
19:48:35.765 Debug wpa_supplicant 10653 nl80211: Event message available
19:48:35.765 Debug wpa_supplicant 10653 nl80211: New scan results available
19:48:35.765 Debug wpa_supplicant 10653 Event 3 received on interface wlan0
19:48:35.765 Debug wpa_supplicant 10653 nl80211: Associated on 2437 MHz
19:48:35.765 Debug wpa_supplicant 10653 Received scan results (3 BSSes)
19:48:35.765 Debug wpa_supplicant 10653 nl80211: Scan results indicate BSS status with 50:2a:8b:33:61:c0 as associated
19:48:35.765 Debug wpa_supplicant 10653 BSS: Start scan result update 2
19:48:35.765 Debug wpa_supplicant 10653 New scan results available
19:48:35.765 Debug wpa_supplicant 10653 Checking for other virtual interfaces sharing same radio (phy0) in event_scan_results
19:48:35.765 Debug wpa_supplicant 10653 RTM_NEWLINK: operstate=1 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP])
19:48:35.765 Debug wpa_supplicant 10653 RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
19:48:35.765 Debug wpa_supplicant 10653 Event 5 received on interface wlan0
19:48:35.765 Debug wpa_supplicant 10653 wlan0: ap_scan = 1
19:48:35.765 Debug wpa_supplicant 10653 WPS: attr type=0x104a len=1
19:48:35.765 Debug wpa_supplicant 10653 WPS: attr type=0x1044 len=1
19:48:35.765 Debug wpa_supplicant 10653 WPS: attr type=0x103b len=1
19:48:35.765 Debug wpa_supplicant 10653 WPS: attr type=0x1047 len=16
19:48:35.765 Debug wpa_supplicant 10653 WPS: attr type=0x1021 len=24
19:48:35.765 Debug wpa_supplicant 10653 WPS: attr type=0x1023 len=28
19:48:35.765 Debug wpa_supplicant 10653 WPS: attr type=0x1024 len=6
19:48:35.765 Debug wpa_supplicant 10653 WPS: attr type=0x1042 len=8
19:48:35.765 Debug wpa_supplicant 10653 WPS: attr type=0x1054 len=8
19:48:35.765 Debug wpa_supplicant 10653 WPS: attr type=0x1011 len=9
19:48:35.765 Debug wpa_supplicant 10653 WPS: attr type=0x1008 len=2
19:48:35.765 Debug wpa_supplicant 10653 WPS: attr type=0x103c len=1
19:48:35.765 Debug wpa_supplicant 10653 WPS: attr type=0x104a len=1
19:48:35.765 Debug wpa_supplicant 10653 WPS: attr type=0x1044 len=1
19:48:35.765 Debug wpa_supplicant 10653 WPS: attr type=0x103b len=1
19:48:35.765 Debug wpa_supplicant 10653 WPS: attr type=0x1047 len=16
19:48:35.765 Debug wpa_supplicant 10653 WPS: attr type=0x1021 len=24
19:48:35.765 Debug wpa_supplicant 10653 WPS: attr type=0x1023 len=28
19:48:35.765 Debug wpa_supplicant 10653 WPS: attr type=0x1024 len=6
19:48:35.765 Debug wpa_supplicant 10653 WPS: attr type=0x1042 len=8
19:48:35.765 Debug wpa_supplicant 10653 WPS: attr type=0x1054 len=8
19:48:35.765 Debug wpa_supplicant 10653 WPS: attr type=0x1011 len=9
19:48:35.765 Debug wpa_supplicant 10653 WPS: attr type=0x1008 len=2
19:48:35.765 Debug wpa_supplicant 10653 WPS: attr type=0x103c len=1
19:48:35.765 Debug wpa_supplicant 10653 WPS: attr type=0x104a len=1
19:48:35.765 Debug wpa_supplicant 10653 WPS: attr type=0x1044 len=1
19:48:35.765 Debug wpa_supplicant 10653 WPS: attr type=0x103b len=1
19:48:35.765 Debug wpa_supplicant 10653 WPS: attr type=0x1047 len=16
19:48:35.765 Debug wpa_supplicant 10653 WPS: attr type=0x1021 len=24
19:48:35.765 Debug wpa_supplicant 10653 WPS: attr type=0x1023 len=28
19:48:35.765 Debug wpa_supplicant 10653 WPS: attr type=0x1024 len=6
19:48:35.765 Debug wpa_supplicant 10653 WPS: attr type=0x1042 len=8
19:48:35.765 Debug wpa_supplicant 10653 WPS: attr type=0x1054 len=8
19:48:35.765 Debug wpa_supplicant 10653 WPS: attr type=0x1011 len=9
19:48:35.765 Debug wpa_supplicant 10653 WPS: attr type=0x1008 len=2
19:48:35.765 Debug wpa_supplicant 10653 WPS: attr type=0x103c len=1
19:48:35.765 Debug wpa_supplicant 10653 WPS: attr type=0x104a len=1
19:48:35.765 Debug wpa_supplicant 10653 WPS: attr type=0x1044 len=1
19:48:35.765 Debug wpa_supplicant 10653 WPS: attr type=0x1041 len=1
19:48:35.765 Debug wpa_supplicant 10653 WPS: attr type=0x103b len=1
19:48:35.765 Debug wpa_supplicant 10653 WPS: attr type=0x1047 len=16
19:48:35.765 Debug wpa_supplicant 10653 WPS: attr type=0x1021 len=6
19:48:35.765 Debug wpa_supplicant 10653 WPS: attr type=0x1023 len=7
19:48:35.765 Debug wpa_supplicant 10653 WPS: attr type=0x1024 len=7
19:48:35.765 Debug wpa_supplicant 10653 WPS: attr type=0x1042 len=8
19:48:35.765 Debug wpa_supplicant 10653 WPS: attr type=0x1054 len=8
19:48:35.765 Debug wpa_supplicant 10653 WPS: attr type=0x1011 len=7
19:48:35.765 Debug wpa_supplicant 10653 WPS: attr type=0x1008 len=2
19:48:35.765 Debug wpa_supplicant 10653 WPS: attr type=0x104a len=1
19:48:35.765 Debug wpa_supplicant 10653 WPS: attr type=0x1044 len=1
19:48:35.765 Debug wpa_supplicant 10653 WPS: attr type=0x1041 len=1
19:48:35.765 Debug wpa_supplicant 10653 WPS: attr type=0x103b len=1
19:48:35.765 Debug wpa_supplicant 10653 WPS: attr type=0x1047 len=16
19:48:35.765 Debug wpa_supplicant 10653 WPS: attr type=0x1021 len=6
19:48:35.765 Debug wpa_supplicant 10653 WPS: attr type=0x1023 len=7
19:48:35.765 Debug wpa_supplicant 10653 WPS: attr type=0x1024 len=7
19:48:35.765 Debug wpa_supplicant 10653 WPS: attr type=0x1042 len=8
19:48:35.765 Debug wpa_supplicant 10653 WPS: attr type=0x1054 len=8
19:48:35.765 Debug wpa_supplicant 10653 WPS: attr type=0x1011 len=7
19:48:35.765 Debug wpa_supplicant 10653 WPS: attr type=0x1008 len=2
19:48:35.765 Debug wpa_supplicant 10653 WPS: attr type=0x104a len=1
19:48:35.765 Debug wpa_supplicant 10653 WPS: attr type=0x1044 len=1
19:48:35.765 Debug wpa_supplicant 10653 WPS: attr type=0x1041 len=1
19:48:35.765 Debug wpa_supplicant 10653 WPS: attr type=0x103b len=1
19:48:35.765 Debug wpa_supplicant 10653 WPS: attr type=0x1047 len=16
19:48:35.765 Debug wpa_supplicant 10653 WPS: attr type=0x1021 len=6
19:48:35.765 Debug wpa_supplicant 10653 WPS: attr type=0x1023 len=7
19:48:35.765 Debug wpa_supplicant 10653 WPS: attr type=0x1024 len=7
19:48:35.765 Debug wpa_supplicant 10653 WPS: attr type=0x1042 len=8
19:48:35.765 Debug wpa_supplicant 10653 WPS: attr type=0x1054 len=8
19:48:35.765 Debug wpa_supplicant 10653 WPS: attr type=0x1011 len=7
19:48:35.765 Debug wpa_supplicant 10653 WPS: attr type=0x1008 len=2
19:48:40.687 Debug wpa_supplicant 10653 nl80211_priv_driver_cmd SETSUSPENDOPT 0 len = 4096
19:48:40.687 Error wpa_supplicant 10653 Unsupported command: SETSUSPENDOPT 0
19:48:40.687 Debug wpa_supplicant 10653 nl80211_priv_driver_cmd POWERMODE 0 len = 4096
19:48:40.687 Debug wpa_supplicant 10653 global POWERMODE set to 0 (wanted 0), ret 0
19:49:24.437 Debug wpa_supplicant 10653 nl80211_priv_driver_cmd SETSUSPENDOPT 0 len = 4096
19:49:24.437 Error wpa_supplicant 10653 Unsupported command: SETSUSPENDOPT 0
19:49:24.437 Debug wpa_supplicant 10653 nl80211_priv_driver_cmd POWERMODE 0 len = 4096
19:49:24.437 Debug wpa_supplicant 10653 global POWERMODE set to 0 (wanted 0), ret 0
19:51:38.765 Debug wpa_supplicant 10653 BSS: Expire BSS 1 due to age
19:51:38.765 Debug wpa_supplicant 10653 BSS: Remove id 1 BSSID 28:10:7b:ea:76:20 SSID '[email protected]'
19:51:38.765 Debug wpa_supplicant 10653 BSS: Expire BSS 2 due to age
19:51:38.765 Debug wpa_supplicant 10653 BSS: Remove id 2 BSSID 34:08:04:e3:6b:e5 SSID 'yamaha'
19:52:27.109 Debug wpa_supplicant 10653 nl80211_priv_driver_cmd SETSUSPENDOPT 0 len = 4096
19:52:27.109 Error wpa_supplicant 10653 Unsupported command: SETSUSPENDOPT 0
19:52:27.109 Debug wpa_supplicant 10653 nl80211_priv_driver_cmd POWERMODE 0 len = 4096
19:52:27.109 Debug wpa_supplicant 10653 global POWERMODE set to 0 (wanted 0), ret 0

This happen also with GB and some routers !
For example my wifi drops every X (5 or 10) minutes with my netgear. If i turn Off and On the router, the connection is stable, but sometimes drops the same, one time in an hour for example. With other router or access point all is fine.
It is very common, you could see the discussion on the sony support.
They are unable to provide a fix, the issue seems releted to off line beacon.
I think there is a terrible wifi software (maybe cheap hardware), so i hope some developer can fix when Sony fails !!!

just read at htc sensation forum, saying:-
the kernel is located inside Boot.img , and Also the kernel components ( when you install a rom ) are located in System \ lib \ modules . the Module Folder is a Kernel Folder . if there is a mismatch between kernel and kernel components you will have WiFi error
Click to expand...
Click to collapse
this make me think, this problem also applied to my device...
now want to relock my device, and flash with ics...
hope the problem disappear.
will update later...
edit: not working...
here is the original link

im facing the same thing on ICS but not on GB.
it connects fine and wifi connection work for like 30 seconds (sometimes less).
then just connection just stops responding. wifi stays connected but every app in phone that need internet connection responds with connection timeouts.
that is happening from KA09 rom on. even on stock ICS with stock kernel.
none of GB versions have that issue (tested on stock .42, stock .62, cm7 / 9 FXP, some MIUI i tried and codename_05.1 that i currently use).
would be very grateful if we at least that is causing this thing

it connects fine and wifi connection work for like 30 seconds (sometimes less).
then just connection just stops responding. wifi stays connected but every app in phone that need internet connection responds with connection timeouts.
+1

i found a temporary solution..
using a reverse tethering tool found here
however, if we want to use that tool, it will has some limitation such as can't download apps from market because the market need wifi or 3g connection.
but im able to download from market by using simple trick...
make sure your device is connected to the wifi network.
yeah, its a usb tethering, and you must always close to your computer...

masterinc said:
i found a temporary solution..
using a reverse tethering tool found here
however, if we want to use that tool, it will has some limitation such as can't download apps from market because the market need wifi or 3g connection.
but im able to download from market by using simple trick...
make sure your device is connected to the wifi network.
yeah, its a usb tethering, and you must always close to your computer...
Click to expand...
Click to collapse
Man try a other kernel;usually wi-fi problems apear from kernel;i use nightelf rc2 kernel and works perfect

umarian said:
Man try a other kernel;usually wi-fi problems apear from kernel;i use nightelf rc2 kernel and works perfect
Click to expand...
Click to collapse
yup, try that too..wont worked...

This is weird. After ICS update, the stability and range of wifi connection has increased for my phone.
But then I am using neo v. Could this problem be specific to neo? Or your phone and router?
Sent from my MT11i using xda premium

I also faced same problem when i flashed ICS official on my neo v
It got solved after i updated my phone again to ICS via SUS(Sony update service)
you can find sus here :http://www.sonymobile.com/global-en/tools/update-service/

muzik_demon said:
This is weird. After ICS update, the stability and range of wifi connection has increased for my phone.
But then I am using neo v. Could this problem be specific to neo? Or your phone and router?
Sent from my MT11i using xda premium
Click to expand...
Click to collapse
well i guess its a router problem, tried at some restaurants with wpa2-psk and some open network. worked fine.
oh, btw, im using neo v

dhwanik said:
I also faced same problem when i flashed ICS official on my neo v
It got solved after i updated my phone again to ICS via SUS(Sony update service)
you can find sus here :http://www.sonymobile.com/global-en/tools/update-service/
Click to expand...
Click to collapse
i did repair my phone using SUS yesterday, won't resolve the issues tho...

masterinc said:
well i guess its a router problem, tried at some restaurants with wpa2-psk and some open network. worked fine.
Click to expand...
Click to collapse
What router are you using at home?

solve. i add another router and set it as new access point...
thanks everyone for helping

masterinc said:
solve. i add another router and set it as new access point...
thanks everyone for helping
Click to expand...
Click to collapse
So with what router(s) you had problems?

exactly, say us which is the old router and which is the new one.
However the strange thing with these xperia phone is that they don't tolerate some routers, while others device work so fine with them.
This is absurd and bad, sign of cheap hardware and bad software management.

Its not specific to xperia or sony, or ics same issues surfaced when gb was new.
Tbh its as much the router manufacturers are as much to blame
Sent from my MT15i using Tapatalk

Madfysh said:
So with what router(s) you had problems?
Click to expand...
Click to collapse
custom router provided by my ISP..i don't know what brand...
maRRRco89 said:
exactly, say us which is the old router and which is the new one.
However the strange thing with these xperia phone is that they don't tolerate some routers, while others device work so fine with them.
This is absurd and bad, sign of cheap hardware and bad software management.
Click to expand...
Click to collapse
default router - custom router provided by my ISP.
new router - Belkin F5D7230-4 - i'm glad my house mate still keep this very old router. Only support b & g mode only...but its works...
mpiekp said:
Its not specific to xperia or sony, or ics same issues surfaced when gb was new.
Tbh its as much the router manufacturers are as much to blame
Sent from my MT15i using Tapatalk
Click to expand...
Click to collapse
they don't release new firmware or if they release it, they don't educate their client to do the necessary updates...
I found out that, almost all of house mate who use Android (Galaxy S II, HTC) and some Blackberry can't connect to the default router. I only got to know that when I want to add another router. I'm a saviour to them.. ;-)

masterinc said:
custom router provided by my ISP..i don't know what brand...
default router - custom router provided by my ISP.
Click to expand...
Click to collapse
Can't you read from some sticker on it or something like that? or it doesn't have anything on itself..

Gjole86 said:
im facing the same thing on ICS but not on GB.
it connects fine and wifi connection work for like 30 seconds (sometimes less).
then just connection just stops responding. wifi stays connected but every app in phone that need internet connection responds with connection timeouts.
that is happening from KA09 rom on. even on stock ICS with stock kernel.
none of GB versions have that issue (tested on stock .42, stock .62, cm7 / 9 FXP, some MIUI i tried and codename_05.1 that i currently use).
would be very grateful if we at least that is causing this thing
Click to expand...
Click to collapse
+1 , the same prob I have too

Related

[Q] CF Root - DHCP for WiFi not working

Hi everybody,
I upgraded my Samsung Galaxy last week to an S2 and I ve been using custom roms on the Galaxy all the time - so no newbie...
My S2 is from t-mobile UK it was sim locked: Kernel-Version
2.6.35.7-I9100BOKK1-CL511356
[email protected] #2
I installed CF-Root-SGS2_XW_XEN_KK2-v5.0-CWM5 and unlocked the sim.
Everything works except that I can't connect to my WiFi via DHCP anymore. The phone is always stuck at "Optaining IP Address".
If I use a static ip address it works like a charm. Also any other Wifi devices e.g. my Galaxy, my laptop, can connect and get an ip address. And no, I am not using MAC based security.
I ve tried two other kernels (CF-Root-SGS2_XW_OXA_KK5-v5.0-CWM5 and CF-Root-SGS2_XW_XEU_KE7-v4.0-CWM4) with the same result.
I need your help guys!
Best,
Torsten
You should search a zip file name WI FI Fix. Very useful app. Search in original android development
078gregory said:
You should search a zip file name WI FI Fix. Very useful app. Search in original android development
Click to expand...
Click to collapse
Well, I downloaded the zip, installed it via CWM and the result is the same:
No IP-address via DHCP but everything is fine with static IP.
Any other idea?
Knoefel said:
Well, I downloaded the zip, installed it via CWM and the result is the same:
No IP-address via DHCP but everything is fine with static IP.
Any other idea?
Click to expand...
Click to collapse
Same times you need to wait longer to connect, more than 10 min. Also flash this kernel http://forum.xda-developers.com/showthread.php?t=1363738, then flash kernel you want
Do you have adb available or Terminal Emulator installed on your phone ?
078gregory said:
Same times you need to wait longer to connect, more than 10 min. Also flash this kernel http://forum.xda-developers.com/showthread.php?t=1363738, then flash kernel you want
Click to expand...
Click to collapse
I have waited more than 30min...
Also I do not use a router - I have an industrial standard access point and I am running a dedicated dhcp server and I can see any dhcp request in the server log file. It seems the f...ing phone does not send ANY dhcp requests.
I applied the zip than installed the DarKnight kernel -> same result.
VAXXi said:
Do you have adb available or Terminal Emulator installed on your phone ?
Click to expand...
Click to collapse
I have a terminal emu. Not installed actual version of adb but can upgrade if that makes it easier.
What to check?
Terminal emulator is just fine. Try this as root:
Code:
# rm /data/misc/dhcp/*
and reboot.
VAXXi said:
Terminal emulator is just fine. Try this as root:
Code:
# rm /data/misc/dhcp/*
and reboot.
Click to expand...
Click to collapse
Well, I checked the directory IS already empty.
Well, I was thinking the cause is an old lease which isn't cleaned up phone-side; removing everything in that folder should have forced a new DHCP negotiation.
Other than looking in logs to see any DHCP complaints or setting a fixed IP assignment (MAC-based), I'm out of ideas. A (weird) fix also mentions trying to run Allshare first, which should re-enable getting IPs through DHCP.
Well, two questions:
1. Where are the logs - I am coming from Linux but on android there is no /var directory.
2. What do you mean with "Allshare"?
Give 'Shark for Root' a try. It will create a PCAP dump file from the WIFI traffic on your phone.
After starting the capture try obtaining an IP address by DHCP from your server. Now tell 'Shark for Root' to stop capturing traffic and copy the PCAP file to your PC. Use 'Wireshark' to analyze the PCAP file on your PC.
Good luck
Knoefel said:
Well, two questions:
1. Where are the logs - I am coming from Linux but on android there is no /var directory.
2. What do you mean with "Allshare"?
Click to expand...
Click to collapse
1. "adb logcat" on your computer, with USB debugging enabled
2. Allshare is a Samsung application which comes with Samsung's ROMs. Some users report running it once restores DHCP functionality.
I have done the log using QtADB:
Its a complete session from associating with the AP to disconnecting.
I believe the red line is the problem but I do not know enough about android.
Do you understand whats going on?
18:21:54.625 Info GTalkService 3496 doConnect: start...
18:21:56.374 Info wpa_supplicant 8343 CTRL-EVENT-STATE-CHANGE id=-1 state=2 BSSID=00:00:00:00:00:00
18:21:56.374 Info wpa_supplicant 8343 wpa_supplicant_scan: BROAD SCAN, BROAD Assoc
18:21:56.374 Verbose WifiMonitor 3284 Event [CTRL-EVENT-STATE-CHANGE id=-1 state=2 BSSID=00:00:00:00:00:00]
18:21:56.374 Verbose WifiStateTracker 3284 Changing supplicant state: DORMANT ==> SCANNING
18:21:56.374 Debug NetworkStateTracker 3284 setDetailed state, old =FAILED and new state=SCANNING
18:21:56.374 Info wpa_supplicant 8343 Trying to associate with e0:91:f5:16:b9:00 (SSID='Knoefel' freq=2422 MHz rssi=-47dBm)
18:21:56.374 Debug ConnectivityService 3284 Dropping ConnectivityChange for WIFI: DISCONNECTED/SCANNING
18:21:56.374 Verbose WifiMonitor 3284 Event [Trying to associate with e0:91:f5:16:b9:00 (SSID='Knoefel' freq=2422 MHz rssi=-47dBm)]
18:21:56.374 Info wpa_supplicant 8343 CTRL-EVENT-STATE-CHANGE id=-1 state=3 BSSID=e0:91:f5:16:b9:00
18:21:56.374 Verbose WifiMonitor 3284 Event [CTRL-EVENT-STATE-CHANGE id=-1 state=3 BSSID=e0:91:f5:16:b9:00]
18:21:56.374 Verbose WifiStateTracker 3284 Changing supplicant state: SCANNING ==> ASSOCIATING
18:21:56.485 Debug NetworkStateTracker 3284 setDetailed state, old =SCANNING and new state=CONNECTING
18:21:56.485 Debug WifiSettings 3515 updateConnectionState state(SCANNING) hasError (false)
18:21:56.485 Debug ConnectivityService 3284 ConnectivityChange for WIFI: CONNECTING/CONNECTING
18:21:56.590 Debug WifiSettings 3515 updateConnectionState state(CONNECTING) hasError (false)
18:21:56.698 Info wpa_supplicant 8343 Wireless event: new AP: e0:91:f5:16:b9:00
18:21:56.698 Info wpa_supplicant 8343 CTRL-EVENT-STATE-CHANGE id=0 state=4 BSSID=e0:91:f5:16:b9:00
18:21:56.698 Verbose WifiMonitor 3284 Event [CTRL-EVENT-STATE-CHANGE id=0 state=4 BSSID=e0:91:f5:16:b9:00]
18:21:56.698 Verbose WifiStateTracker 3284 Changing supplicant state: ASSOCIATING ==> ASSOCIATED
18:21:56.698 Debug NetworkStateTracker 3284 setDetailed state, old =CONNECTING and new state=CONNECTING
18:21:56.698 Info wpa_supplicant 8343 Current ps mode is 0
18:21:56.698 Info wpa_supplicant 8343 Associated with e0:91:f5:16:b9:00
18:21:56.698 Verbose WifiMonitor 3284 Event [Associated with e0:91:f5:16:b9:00]
18:21:56.698 Info wpa_supplicant 8343 CTRL-EVENT-STATE-CHANGE id=0 state=5 BSSID=00:00:00:00:00:00
18:21:56.698 Verbose WifiMonitor 3284 Event [CTRL-EVENT-STATE-CHANGE id=0 state=5 BSSID=00:00:00:00:00:00]
18:21:56.698 Verbose WifiStateTracker 3284 Changing supplicant state: ASSOCIATED ==> FOUR_WAY_HANDSHAKE
18:21:56.698 Debug NetworkStateTracker 3284 setDetailed state, old =CONNECTING and new state=AUTHENTICATING
18:21:56.698 Debug ConnectivityService 3284 Dropping ConnectivityChange for WIFI: CONNECTING/AUTHENTICATING
18:21:56.699 Info wpa_supplicant 8343 CTRL-EVENT-STATE-CHANGE id=0 state=5 BSSID=00:00:00:00:00:00
18:21:56.699 Debug WifiSettings 3515 updateConnectionState state(CONNECTING) hasError (false)
18:21:56.699 Verbose WifiMonitor 3284 Event [CTRL-EVENT-STATE-CHANGE id=0 state=5 BSSID=00:00:00:00:00:00]
18:21:56.699 Verbose WifiStateTracker 3284 Changing supplicant state: FOUR_WAY_HANDSHAKE ==> FOUR_WAY_HANDSHAKE
18:21:56.699 Info wpa_supplicant 8343 CTRL-EVENT-STATE-CHANGE id=0 state=6 BSSID=00:00:00:00:00:00
18:21:56.699 Verbose WifiMonitor 3284 Event [CTRL-EVENT-STATE-CHANGE id=0 state=6 BSSID=00:00:00:00:00:00]
18:21:56.699 Verbose WifiStateTracker 3284 Changing supplicant state: FOUR_WAY_HANDSHAKE ==> GROUP_HANDSHAKE
18:21:56.699 Info wpa_supplicant 8343 WPA: Key negotiation completed with e0:91:f5:16:b9:00 [PTK=CCMP GTK=TKIP]
18:21:56.699 Verbose WifiMonitor 3284 Event [WPA: Key negotiation completed with e0:91:f5:16:b9:00 [PTK=CCMP GTK=TKIP]]
18:21:56.699 Info wpa_supplicant 8343 CTRL-EVENT-STATE-CHANGE id=0 state=7 BSSID=00:00:00:00:00:00
18:21:56.699 Verbose WifiMonitor 3284 Event [CTRL-EVENT-STATE-CHANGE id=0 state=7 BSSID=00:00:00:00:00:00]
18:21:56.699 Info wpa_supplicant 8343 CTRL-EVENT-CONNECTED - Connection to e0:91:f5:16:b9:00 completed (reauth) [id=0 id_str=]
18:21:56.699 Verbose WifiMonitor 3284 Event [CTRL-EVENT-CONNECTED - Connection to e0:91:f5:16:b9:00 completed (reauth) [id=0 id_str=]]
18:21:56.699 Info wpa_supplicant 8343 Current ps mode is 2
18:21:56.699 Debug NetworkStateTracker 3284 setDetailed state, old =AUTHENTICATING and new state=AUTHENTICATING
18:21:56.700 Verbose WifiStateTracker 3284 Changing supplicant state: GROUP_HANDSHAKE ==> COMPLETED
18:21:56.700 Verbose WifiStateTracker 3284 New network state is CONNECTED
18:21:56.700 Debug NetworkStateTracker 3284 setDetailed state, old =AUTHENTICATING and new state=OBTAINING_IPADDR
18:21:56.700 Debug WifiSettings 3515 updateConnectionState state(AUTHENTICATING) hasError (false)
18:21:56.700 Debug ConnectivityService 3284 Dropping ConnectivityChange for WIFI: CONNECTING/OBTAINING_IPADDR
18:21:56.700 Debug WifiStateTracker 3284 mWakeLock acquired
18:21:56.700 Debug WifiStateTracker 3284 DHCP request started
18:21:56.700 Error libnetutils 3284 dhcp start cmd interface : [dhcpcd:-ABK eth0]
18:21:56.700 Info dhcpcd 8387 dhcpcd 4.0.15 starting
18:21:56.700 Debug WifiSettings 3515 i 0 SSID: Knoefel
18:21:56.808 Info dhcpcd 8387 AP Address Get.111... e0:91:f5...
18:21:56.808 Info dhcpcd 8387 if(eth0)bssid info get Success. (MAC : E0:91:F5:16:B9:00
18:21:56.808 Info dhcpcd 8387 Current ST = 0
18:21:56.808 Debug WifiSettings 3515 updateConnectionState state(AUTHENTICATING) hasError (false)
18:21:56.808 Warning dhcpcd 8387 host does not support a monotonic clock - timing can skew
18:21:56.808 Info dhcpcd 8387 broadcasting for a lease
18:21:56.808 Debug WifiSettings 3515 updateConnectionState state(OBTAINING_IPADDR) hasError (false)
18:21:56.808 Debug WifiSettings 3515 updateConnectionState state(null) hasError (false)
18:21:56.808 Debug WifiSettings 3515 updateConnectionState state(OBTAINING_IPADDR) hasError (false)
18:21:56.808 Debug libnetutils 3284 Wait for the dhcpcd to return a result
18:21:59.865 Info StatusBarPolicy 3419 onDataActivity-D:2
18:22:00.849 Info StatusBarPolicy 3419 onDataActivity-D:0
18:22:01.832 Debug dalvikvm 3988 GC_EXPLICIT freed 16K, 49% free 2752K/5379K, external 0K/0K, paused 85ms
18:22:01.832 Info StatusBarPolicy 3419 onDataActivity-D:3
18:22:02.924 Info StatusBarPolicy 3419 onDataActivity-D:0
18:22:04.889 Info StatusBarPolicy 3419 onDataActivity-D:2
18:22:05.877 Info StatusBarPolicy 3419 onDataActivity-D:3
18:22:06.857 Debug dalvikvm 3898 GC_EXPLICIT freed 87K, 47% free 3651K/6855K, external 548K/1035K, paused 114ms
18:22:07.073 Debug dalvikvm 3284 GC_EXPLICIT freed 1661K, 40% free 6984K/11591K, external 1884K/2396K, paused 126ms
18:22:08.167 Info GTalkService 3496 connectionEstablished
18:22:08.275 Info GTalkService 3496 [GTalkConnection.22] connectionEstablished: release wakelock
18:22:08.275 Info GTalkService 3496 [GTalkConnection.22] releaseAsyncWakeLock: clear timer: WakeLock{40533850 held=false, refCount=0}
18:22:08.275 Debug ConnectivityService 3284 reportNetworkCondition(0, 100)
18:22:08.275 Debug ConnectivityService 3284 Inet connectivity change, net=0, condition=100,mActiveDefaultNetwork=0
18:22:08.275 Debug ConnectivityService 3284 starting a change hold
18:22:08.275 Info GTalkService 3496 [GTalkConnection.22] (WORKER THREAD) update account status
18:22:08.383 Info GTalkService 3496 [GTalkConnection.22] (WORKER THREAD) update account status - done, took 151 ms
18:22:08.711 Debug ConnectivityService 3284 Inet hold end, net=0, condition =100, published condition =0
18:22:08.711 Error StatusBarService 3419 InetConditionChanged()
18:22:08.711 Info StatusBarPolicy 3419 updateConnectivity-TYPE_MOBILE
18:22:08.711 Info StatusBarPolicy 3419 updateDataNetType-T:2
18:22:08.711 Debug StatusBarPolicy 3419 updateSignalStrength: numeric=26203, curOperator=MEDION Mobile
18:22:08.820 Debug JKayIcon 3419 color is normal!
18:22:09.912 Info StatusBarPolicy 3419 onDataActivity-D:0
18:22:13.845 Debug dalvikvm 3828 GC_EXPLICIT freed 18K, 49% free 2760K/5379K, external 0K/0K, paused 87ms
18:22:18.104 Error wpa_supplicant 8343 ioctl[SIOCGIWSCAN]: 11
18:22:18.104 Info wpa_supplicant 8343 CTRL-EVENT-SCAN-RESULTS
18:22:18.104 Verbose WifiMonitor 3284 Event [ SCAN-RESULTS ]
18:22:18.104 Error wpa_supplicant 8343 ioctl[SIOCGIWSCAN]: 11
18:22:18.104 Error wpa_supplicant 8343 ioctl[SIOCGIWSCAN]: 11
18:22:18.104 Debug WifiSettings 3515 updateAccessPoints(), WifiConfigureation list updated
18:22:18.104 Error wpa_supplicant 8343 ioctl[SIOCGIWSCAN]: 11
18:22:18.104 Debug WifiSettings 3515 updateAccessPoints(), ScanResult list updated
18:22:19.964 Debug BatteryService 3284 update start
18:22:19.964 Error BatteryService 3284 TMU status = 0
18:22:19.964 Debug BatteryService 3284 updateBattery level:63 scale:100 status:2 health:2 present:true voltage: 3921 temperature: 320 technology: Li-ion AC powered:false USB powered:true icon:17302233
18:22:19.964 Debug PhoneUtils 3438 updateRAFT() : FactoryMode : false
18:22:19.964 Info StatusBarPolicy 3419 BAT. S:2 H:2
18:22:26.729 Error dhcpcd 8387 timed out
18:22:26.840 Info dhcpcd 8387 broadcasting for a lease
18:22:26.948 Debug libnetutils 3284 set the property[dhcp.eth0.result] by dhcpcd
18:22:26.948 Error libnetutils 3284 DHCP result was failed
18:22:26.948 Error WifiStateTracker 3284 DHCP request failed: DHCP result was failed
AllShare
I have an app "AllShare Player" - I believe you are talking about this?
I have used it but same result.
The Phone does not send dhcp requests.
Knoefel said:
problem but I do not know enough about android.
Click to expand...
Click to collapse
Actually, no. It looks like worrying, but dhcpcd (DHCP client daemon) starts after that:
Code:
18:21:56.700 Info dhcpcd 8387 dhcpcd 4.0.15 starting
18:21:56.700 Debug WifiSettings 3515 i 0 SSID: Knoefel
18:21:56.808 Info dhcpcd 8387 AP Address Get.111... e0:91:f5...
18:21:56.808 Info dhcpcd 8387 if(eth0)bssid info get Success. (MAC : E0:91:F5:16:B9:00
It sends a lease request:
Code:
18:21:56.808 Debug libnetutils 3284 Wait for the dhcpcd to return a result
Doesn't get a response and times out, leaving you without an IP address:
Code:
18:22:26.729 Error dhcpcd 8387 timed out
18:22:26.840 Info dhcpcd 8387 broadcasting for a lease
18:22:26.948 Debug libnetutils 3284 set the property[dhcp.eth0.result] by dhcpcd
18:22:26.948 Error libnetutils 3284 DHCP result was failed
18:22:26.948 Error WifiStateTracker 3284 DHCP request failed: DHCP result was failed
So, either your router doesn't give an IP lease for various reasons (MAC filtering or something else), either the DHCP client doesn't pick up the response. Indeed, now you have to do a packet capture and see if the response arrives or not from the router. If the DHCP ACK is not present in the capture, then it's your router; if it's present, then it's your phone.
There are some wpa_supplicant errors too, might be worth to read a little here also.
I give up on this - I will reflash stock.
Knoefel said:
I give up on this - I will reflash stock.
Click to expand...
Click to collapse
Did you try to dump the Wifi traffic as I suggested in post 12?

[Q] Wifi problem

Code:
D/NetdConnector( 421): SND -> {22 softap fwreload wlan0 STA}
D/WifiCommon( 99): wifi_change_fw_path [STA]
D/WifiCommon( 99): Hal cmd: "hal load p2p"
D/Hald ( 104): ======Receive cmd======
D/Hald ( 104): cmd <load p2p>
D/Hald ( 104): Check NvRAM status.
D/Hald ( 104): NvRAM is READY!
D/Hald ( 104): Start load P2P driver.
D/vold ( 421): size2:0
E/Hald ( 104): SET_P2P_MODE enable[1], mode[0] Failed
E/Hald ( 104): No such device
D/WifiCommon( 99): Hal cmd response code: "200"
D/NetdConnector( 421): RCV <- {200 22 Softap operation succeeded}
D/NetdConnector( 421): RMV <- {200 22 Softap operation succeeded}
D/NetdConnector( 421): SND -> {23 interface getcfg wlan0}
D/vold ( 421): size2:0
W/CommandListener( 99): Failed to retrieve HW addr for wlan0 (No such device)
D/NetdConnector( 421): RCV <- {213 23 00:00:00:00:00:00 0.0.0.0 0 down}
D/NetdConnector( 421): RMV <- {213 23 00:00:00:00:00:00 0.0.0.0 0 down}
D/NetdConnector( 421): SND -> {24 interface setcfg wlan0 0.0.0.0 0 down}
D/CommandListener( 99): Setting iface cfg
D/vold ( 421): size2:0
D/NetdConnector( 421): RCV <- {400 24 Failed to set address (No such device)}
D/NetdConnector( 421): RMV <- {400 24 Failed to set address (No such device)}
E/WifiStateMachine( 421): Unable to change interface settings: java.lang.IllegalStateException: command '24 interface setcfg wlan0 0.0.0.0 0 down' failed with '400 24 Failed to set address (No such device)'
D/WifiCommon( 421): Stop "p2p_supplicant"
D/WifiCommon( 421): [wlan0]wifi_close_supplicant_connection
D/WifiCommon( 421): wifi_start_supplicant [1]
D/WifiCommon( 421): Start "p2p_supplicant"
D/WifiStateMachine( 421): Supplicant start successful
D/dalvikvm( 421): create interp thread : stack size=32KB
D/dalvikvm( 421): create new thread
D/dalvikvm( 421): update thread list
D/dalvikvm( 421): threadid=79: interp stack at 0x52ffb000
D/dalvikvm( 421): threadid=79: created from interp
D/dalvikvm( 421): start new thread
D/StateMachine( 421): transitionTo: destState=SupplicantStartingState
D/StateMachine( 421): handleMessage: new destination call exit
D/StateMachine( 421): setupTempStateStackWithStatesToEnter: X mTempStateStackCount=1,curStateInfo: state=DefaultState,active=true,parent=null
D/StateMachine( 421): invokeExitMethods: DriverLoadedState
D/StateMachine( 421): moveTempStackToStateStack: i=0,j=1
D/StateMachine( 421): moveTempStackToStateStack: X mStateStackTop=1,startingIndex=1,Top=SupplicantStartingState
D/StateMachine( 421): invokeEnterMethods: SupplicantStartingState
D/WifiStateMachine( 421): SupplicantStartingState
D/StateMachine( 421): handleMessage: X
D/dalvikvm( 421): threadid=79: notify debugger
D/dalvikvm( 421): threadid=79 (WifiMonitor): calling run()
D/WifiCommon( 421): [wlan0]wifi_connect_to_supplicant
D/wpa_supplicant( 2329): wpa_supplicant v2.0-devel-4.1.1
D/wpa_supplicant( 2329): random: Added entropy from /data/misc/wifi/entropy.bin (own_pool_ready=2)
D/wpa_supplicant( 2329): random: Trying to read entropy from /dev/random
D/wpa_supplicant( 2329): random: Updated entropy file /data/misc/wifi/entropy.bin (own_pool_ready=2)
D/wpa_supplicant( 2329): Initializing interface 'wlan0' conf '/data/misc/wifi/wpa_supplicant.conf' driver 'nl80211' ctrl_interface 'N/A' bridge 'N/A'
D/wpa_supplicant( 2329): Configuration file '/data/misc/wifi/wpa_supplicant.conf' -> '/data/misc/wifi/wpa_supplicant.conf'
D/wpa_supplicant( 2329): Reading configuration file '/data/misc/wifi/wpa_supplicant.conf'
D/wpa_supplicant( 2329): ctrl_interface='/data/misc/wpa_supplicant'
D/wpa_supplicant( 2329): update_config=1
D/wpa_supplicant( 2329): manufacturer='MediaTek Inc.'
D/wpa_supplicant( 2329): device_name='Wireless Client'
D/wpa_supplicant( 2329): model_name='MTK Wireless Model'
D/wpa_supplicant( 2329): model_number='1.0'
D/wpa_supplicant( 2329): serial_number='2.0'
D/wpa_supplicant( 2329): os_version=01020300
D/wpa_supplicant( 2329): config_methods='display push_button keypad'
D/wpa_supplicant( 2329): Could not open file /sys/class/net/wlan0/phy80211/name: No such file or directory
I/wpa_supplicant( 2329): rfkill: Cannot open RFKILL control device
D/wpa_supplicant( 2329): nl80211: RFKILL status not available
D/wpa_supplicant( 2329): nl80211: Set mode ifindex 0 iftype 2 (STATION)
D/wpa_supplicant( 2329): nl80211: Failed to set interface 0 to mode 2: -19 (No such device)
E/wpa_supplicant( 2329): nl80211: Could not configure driver to use managed mode
D/wpa_supplicant( 2329): netlink: Operstate: linkmode=0, operstate=6
E/wpa_supplicant( 2329): Could not read interface wlan0 flags: No such device
D/wpa_supplicant( 2329): nl80211: Set mode ifindex 0 iftype 2 (STATION)
D/wpa_supplicant( 2329): nl80211: Failed to set interface 0 to mode 2: -19 (No such device)
E/wpa_supplicant( 2329): wlan0: Failed to initialize driver interface
D/wpa_supplicant( 2329): Failed to add interface wlan0
D/wpa_supplicant( 2329): [WAPI] wpa_supplicant_deinit_wapi <===
D/wpa_supplicant( 2329): wlan0: Cancelling scan request
D/wpa_supplicant( 2329): wlan0: Cancelling authentication timeout
D/wpa_supplicant( 2329): random: Updated entropy file /data/misc/wifi/entropy.bin (own_pool_ready=2)
I/logwrapper( 2327): /system/bin/wpa_supplicant terminated by exit(255)
I hav successfully ported a rom but a problem is here i am a noob and now my wifi isnt working . i hav uploaded logcat log. Any help.???

[Q] Android Wifi : How to change network interface used by android

When I boot up my Android Device and go to Wifi settings,the status of wifi remains "Turning Wi-Fi on" forever.I looked up in logcat logs,below is the error that I see.
E/wpa_supplicant( 1713): nl80211: Could not set interface 'wlan0' UP
E/wpa_supplicant( 1713): wlan0: Failed to initialize driver interface
E/wpa_supplicant( 1713): Could not read interface wlan0 flags: No such device
Below is some useful information.
Code:
[email protected]:/ # netcfg
netcfg
lo UP 127.0.0.1/8 0x00000049 00:00:00:00:00:00
gannet0 DOWN 0.0.0.0/0 0x00001082 1e:e9:6e:bf:45:f7
dummy0 DOWN 0.0.0.0/0 0x00000082 ba:ad:f6:ae:6a:09
rmnet0 DOWN 0.0.0.0/0 0x00000000 00:00:00:00:00:00
rmnet1 DOWN 0.0.0.0/0 0x00000000 00:00:00:00:00:00
rmnet2 DOWN 0.0.0.0/0 0x00000000 00:00:00:00:00:00
rmnet3 DOWN 0.0.0.0/0 0x00000000 00:00:00:00:00:00
rmnet4 DOWN 0.0.0.0/0 0x00000000 00:00:00:00:00:00
rmnet5 DOWN 0.0.0.0/0 0x00000000 00:00:00:00:00:00
rmnet6 DOWN 0.0.0.0/0 0x00000000 00:00:00:00:00:00
rmnet7 DOWN 0.0.0.0/0 0x00000001 00:00:00:00:00:00
sit0 DOWN 0.0.0.0/0 0x00000080 00:00:00:00:00:00
ip6tnl0 DOWN 0.0.0.0/0 0x00000080 00:00:00:00:00:00
Contents of /system/etc/wifi/wpa_supplicant.conf:
Code:
update_config=1
ctrl_interface=wlan0
eapol_version=1
ap_scan=1
fast_reauth=1
Question: How can I enable android to use some other interface other than wlan0 ?
Things tried:
1)I tried to edit ctrl_interface parameter in /system/etc/wifi/wpa_supplicant.conf usiny adb pull and push to other interfaces shown by netcfg but android still tries to use wlan0.
2)I also tried to start wpa_supplicant daemon using below command.
Code:
/system/bin/wpa_supplicant -Dnl80211 -idummy0 -c/system/etc/wifi/wpa_supplicant.conf
but this gives error.
Code:
E/wpa_supplicant( 5390): dummy0: Failed to initialize driver interface

[CM12.1] THL t100s Wifi drop issues

Hi all, I've got a problem I cannot get fixed so my best guess is to ask the experts here.
I've succesfully ported the CM12.1 - 5.1.1 Rom from the Jiayu G4S to the THL t100s.
I've take the modem and all other belongings so that a nice goos fairly stable ROM is ready.
3G/2G is very stable but Wifi drops are very frequent. As I've googled, this is a CM12 thing because almost all other developers report this issue aswell. There are aparently fixes for the One-plus-One but they have offcourse a different Wifi module with different drivers.
I've started running logcat over the Wifi to capture the drops and it seems that the driver sometimes sends a SUSPEND to the hardware for no reason. So I went into the Settings > Wifi > Advanced and set Wifi Sleep mode so that it never goes to sleep but this still makes the driver send SUSPENDs to the hardware module.
I will copy and paste here a piece of the logcat log to hopefully get some help from the higher level developers here, since I cannot debug how to get this solved by myself.
Code:
D/wpa_supplicant(26734): wlan0: Control interface command 'SCAN TYPE=ONLY'
D/wpa_supplicant(26734): wlan0: Setting scan request: 0.000000 sec
D/wpa_supplicant(26734): wlan0: Starting AP scan for wildcard SSID
D/wpa_supplicant(26734): WPS: Building WPS IE for Probe Request
D/wpa_supplicant(26734): WPS: * Version (hardcoded 0x10)
D/wpa_supplicant(26734): WPS: * Request Type
D/wpa_supplicant(26734): WPS: * Config Methods (4288)
D/wpa_supplicant(26734): WPS: * UUID-E
D/wpa_supplicant(26734): WPS: * Primary Device Type
D/wpa_supplicant(26734): WPS: * RF Bands (3)
D/wpa_supplicant(26734): WPS: * Association State
D/wpa_supplicant(26734): WPS: * Configuration Error (0)
D/wpa_supplicant(26734): WPS: * Device Password ID (0)
D/wpa_supplicant(26734): WPS: * Manufacturer
D/wpa_supplicant(26734): WPS: * Model Name
D/wpa_supplicant(26734): WPS: * Model Number
D/wpa_supplicant(26734): WPS: * Device Name
D/wpa_supplicant(26734): WPS: * Version2 (0x20)
D/wpa_supplicant(26734): P2P: * P2P IE header
D/wpa_supplicant(26734): P2P: * Capability dev=25 group=00
D/wpa_supplicant(26734): P2P: * Listen Channel: Regulatory Class 81 Channel 1
D/wpa_supplicant(26734): wlan0: Add radio work 'scan'@0xb6038218
D/wpa_supplicant(26734): wlan0: First radio work item in the queue - schedule start immediately
D/wpa_supplicant(26734): wlan0: Starting radio work 'scan'@0xb6038218 after 0.000032 second wait
D/wpa_supplicant(26734): wlan0: nl80211: scan request
D/wpa_supplicant(26734): nl80211: Scan SSID - hexdump(len=0): [NULL]
D/wpa_supplicant(26734): nl80211: Scan extra IEs - hexdump(len=143): dd 7a 00 50 f2 04 10 4a 00 01 10 10 3a 00 01 00 10 08 00 02 42 88 10 47 00 10 6e 48 0c 78 b5 d6 ...
D/wpa_supplicant(26734): Scan requested (ret=0) - scan timeout 30 seconds
D/wpa_supplicant(26734): nl80211: Event message available
D/wpa_supplicant(26734): nl80211: Drv Event 33 (NL80211_CMD_TRIGGER_SCAN) received for wlan0
D/wpa_supplicant(26734): wlan0: nl80211: Scan trigger
D/wpa_supplicant(26734): wlan0: Event SCAN_STARTED (49) received
D/wpa_supplicant(26734): wlan0: Own scan request started a scan in 0.000231 seconds
D/wpa_supplicant(26734): CTRL_IFACE monitor sent successfully to /data/misc/wifi/sockets/wpa_ctrl_607-8\x00
D/MdnsClient( 1686): Multicast lock held. Releasing
D/wpa_supplicant(26734): wlan0: Control interface command 'DRIVER RXFILTER-STOP'
D/wpa_supplicant(26734): iface wlan0 recv cmd RXFILTER-STOP
D/wpa_supplicant(26734): wlan0: Control interface command 'DRIVER RXFILTER-REMOVE 2'
D/wpa_supplicant(26734): iface wlan0 recv cmd RXFILTER-REMOVE 2
D/wpa_supplicant(26734): wlan0: Control interface command 'DRIVER RXFILTER-START'
D/wpa_supplicant(26734): iface wlan0 recv cmd RXFILTER-START
D/AudioMTKHardware( 168): +setParameters(): screen_state=off
D/AudioMTKHardware( 168): -setParameters(): screen_state=off
E/WifiStateMachine( 607): cancelDelayedScan -> 100
D/wpa_supplicant(26734): wlan0: Control interface command 'DRIVER SETSUSPENDMODE 1'
D/wpa_supplicant(26734): iface wlan0 recv cmd SETSUSPENDMODE 1
I/wpa_supplicant(26734): Unsupported command
D/wpa_supplicant(26734): wpa_driver_nl80211_driver_cmd: ret = 0 used = 4096 total = 4096
I/wpa_supplicant(26734): wpa_driver_nl80211_driver_cmd: buf = SETSUSPENDMODE 1 ret = 4096 used = 4096 total = 4096
D/agps ( 175): [agps] WARNING: [CP] cp2_fd_1_req_sim_num_timeout
D/agps ( 175): [agps][n][CP] [MD_1] write sim_info_req
D/wpa_supplicant(26734): RTM_NEWLINK: ifi_index=16 ifname=wlan0 wext ifi_family=0 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP])
D/wpa_supplicant(26734): nl80211: Event message available
D/wpa_supplicant(26734): nl80211: Drv Event 34 (NL80211_CMD_NEW_SCAN_RESULTS) received for wlan0
D/wpa_supplicant(26734): wlan0: nl80211: New scan results available
D/wpa_supplicant(26734): nl80211: Scan probed for SSID ''
D/wpa_supplicant(26734): nl80211: Scan included frequencies: 2412 2417 2422 2427 2432 2437 2442 2447 2452 2457 2462 2467 2472 5180 5200 5220 5240 5260 5280 5300 5320 5500 5520 5540 5560 5580 5600 5620 5640 5660 5680 5700 5745 5765 5785 5805 5825 5845 5865
D/wpa_supplicant(26734): wlan0: Event SCAN_RESULTS (3) received
D/wpa_supplicant(26734): wlan0: Scan completed in 2.910987 seconds
D/wpa_supplicant(26734): nl80211: Associated on 2462 MHz
D/wpa_supplicant(26734): nl80211: Associated with 60:02:92:2f:71:76
D/wpa_supplicant(26734): nl80211: Received scan results (13 BSSes)
D/wpa_supplicant(26734): nl80211: Scan results indicate BSS status with 60:02:92:2f:71:76 as associated
D/wpa_supplicant(26734): wlan0: BSS: Start scan result update 46
D/wpa_supplicant(26734): wlan0: BSS: Add new id 53 BSSID 60:02:92:05:66:76 SSID 'Ziggo65822'
D/wpa_supplicant(26734): CTRL_IFACE monitor sent successfully to /data/misc/wifi/sockets/wpa_ctrl_607-8\x00
D/wpa_supplicant(26734): wlan0: BSS: Add new id 54 BSSID b0:c2:87:e5:ad:bf SSID 'Ziggo01613'
D/wpa_supplicant(26734): CTRL_IFACE monitor sent successfully to /data/misc/wifi/sockets/wpa_ctrl_607-8\x00
D/wpa_supplicant(26734): wlan0: BSS: Add new id 55 BSSID b2:c2:87:e5:ad:b0 SSID 'Ziggo'
D/wpa_supplicant(26734): CTRL_IFACE monitor sent successfully to /data/misc/wifi/sockets/wpa_ctrl_607-8\x00
D/wpa_supplicant(26734): BSS: last_scan_res_used=13/32
D/wpa_supplicant(26734): wlan0: Scan-only results received
D/wpa_supplicant(26734): CTRL_IFACE monitor sent successfully to /data/misc/wifi/sockets/wpa_ctrl_607-8\x00
D/wpa_supplicant(26734): wlan0: Radio work 'scan'@0xb6038218 done in 2.916573 seconds
D/wpa_supplicant(26734): RTM_NEWLINK: ifi_index=16 ifname=wlan0 wext ifi_family=0 ifi_flags=0x11043 ([UP][RUNNING][LOWER_UP])
D/wpa_supplicant(26734): wlan0: Control interface command 'BSS RANGE=0- MASK=0x21987'
D/wpa_supplicant(26734): wlan0: Control interface command 'STATUS-NO_EVENTS'
So I found another interesting thing about this, the problem is gone on a non-password protected Wifi channel.
Here in the office we have a public guest network and there is no drop then. This might indicate that the issue in the first post is really a WPA security problem.
There is a great source of information available on setting options in thw wpa-supplicant.conf file here:
https: // w1.fi / cgit / hostap / plain / wpa_supplicant / wpa_supplicant.conf
(remove spaces , I'm not allowed yet to post outside links)
I'm experimenting now with a set of specific settings which could improve this WPA(2) password drop issue.
Loneliest topic ever
Well I've managed to solve it and create a rock solid solution by porting the original 4.4.2 kernel to the CM12.1 ROM. It not only is now behaving faster, but also uses a lot less power, without dropping WiFi signal. Also not a single random reboot for more than 6 hours straight
Celebrating by myself
So let us join your fun I'd like to install and check your rom. Where to download?
Hi Weimerd,
Well I can not post the link here because I do not have 10 messages yet, so please find it when Google-ing for 'needrom t100s'.
You cannot miss it then
Well there are quite some small bugs still in CM12.1 but I will continue to work untill a Vanilla AOSP for the MT6592 comes out, probably with a new kernel.
as i understand you have Jiayu G4S with CM12.1 - 5.1.1 Rom on board, could You post it on needrom, or where i can download it?
thanks
rom needed
hi, im using the one from badr. it has frequent wifi drops and restarts my unit at ramdom times. can u send me your nice stable rom? thank you in advance. i hope this thread is still up.
my best regards.
_arr

MT6620 no Wi-FI, no BT, no FM - Lenovo A10-70F Stock 4.4.4, TWRP2870, multi-user mod

Lenovo A10-70F KitKat 4.4.4 Stock ROM build A10-70F_S000021_150501_ROW
multi-user mod in build.prop
TWRP2870 recovery
SuperSU
Terminal Emulator as root
This uses a MediaTek MT6620 for Wi-Fi, Bluetooth, GPS & FM
All these functions have stopped working. Attempting to turn on the wi-fi in settings
gives
Code:
adb logcat wpa_supplicant:V *:S
Code:
D/wpa_supplicant(23240): wpa_supplicant v2.1-devel-4.4.4
D/wpa_supplicant(23240): Add randomness: count=1 entropy=0
D/wpa_supplicant(23240): random pool - hexdump(len=128): [REMOVED]
D/wpa_supplicant(23240): random_mix_pool - hexdump(len=8): [REMOVED]
D/wpa_supplicant(23240): random_mix_pool - hexdump(len=20): [REMOVED]
D/wpa_supplicant(23240): random pool - hexdump(len=128): [REMOVED]
D/wpa_supplicant(23240): random: Added entropy from /data/misc/wifi/entropy.bin
(own_pool_ready=2)
D/wpa_supplicant(23240): random: Trying to read entropy from /dev/random
D/wpa_supplicant(23240): Get randomness: len=20 entropy=1
D/wpa_supplicant(23240): random from os_get_random - hexdump(len=20): [REMOVED]
D/wpa_supplicant(23240): random_mix_pool - hexdump(len=20): [REMOVED]
D/wpa_supplicant(23240): random from internal pool - hexdump(len=16): [REMOVED]
D/wpa_supplicant(23240): random_mix_pool - hexdump(len=20): [REMOVED]
D/wpa_supplicant(23240): random from internal pool - hexdump(len=16): [REMOVED]
D/wpa_supplicant(23240): mixed random - hexdump(len=20): [REMOVED]
D/wpa_supplicant(23240): random: Updated entropy file /data/misc/wifi/entropy.bi
n (own_pool_ready=2)
D/wpa_supplicant(23240): Global control interface '@android:wpa_wlan0'
D/wpa_supplicant(23240): Using Android control socket 'wpa_wlan0'
I/wpa_supplicant(23240): Successfully initialized wpa_supplicant
D/wpa_supplicant(23240): Override interface parameter: ctrl_interface ('(null)'
-> '/data/misc/wifi/sockets')
D/wpa_supplicant(23240): Initializing interface 'wlan0' conf '/data/misc/wifi/wp
a_supplicant.conf' driver 'nl80211' ctrl_interface '/data/misc/wifi/sockets' bri
dge 'N/A'
D/wpa_supplicant(23240): Configuration file '/data/misc/wifi/wpa_supplicant.conf
' -> '/data/misc/wifi/wpa_supplicant.conf'
D/wpa_supplicant(23240): Reading configuration file '/data/misc/wifi/wpa_supplic
ant.conf'
D/wpa_supplicant(23240): ctrl_interface='wlan0'
D/wpa_supplicant(23240): update_config=1
D/wpa_supplicant(23240): manufacturer='MediaTek Inc.'
D/wpa_supplicant(23240): device_name='Wireless Client'
D/wpa_supplicant(23240): model_name='MTK Wireless Model'
D/wpa_supplicant(23240): model_number='1.0'
D/wpa_supplicant(23240): serial_number='2.0'
D/wpa_supplicant(23240): os_version=01020300
D/wpa_supplicant(23240): config_methods='display push_button keypad'
D/wpa_supplicant(23240): p2p_no_group_iface=1
D/wpa_supplicant(23240): driver_param='use_p2p_group_interface=1'
D/wpa_supplicant(23240): Reading configuration file '/system/etc/wifi/wpa_suppli
cant_overlay.conf'
D/wpa_supplicant(23240): p2p_no_group_iface=1
D/wpa_supplicant(23240): driver_param='use_p2p_group_interface=1'
I/wpa_supplicant(23240): rfkill: Cannot open RFKILL control device
D/wpa_supplicant(23240): nl80211: RFKILL status not available
D/wpa_supplicant(23240): interface wlan0 doesn't exist, wait 1s to retry
D/wpa_supplicant(23240): interface wlan0 doesn't exist, wait 1s to retry
D/wpa_supplicant(23240): interface wlan0 doesn't exist, wait 1s to retry
D/wpa_supplicant(23240): interface wlan0 doesn't exist, wait 1s to retry
I/wpa_supplicant(23240): nl80211: Driver does not support authentication/associa
tion or connect commands
D/wpa_supplicant(23240): netlink: Operstate: linkmode=0, operstate=6
E/wpa_supplicant(23240): Could not read interface wlan0 flags: No such device
D/wpa_supplicant(23240): set wowlan for if wlan0, index 0
D/wpa_supplicant(23240): nl80211: set_wowlan failed; err=-19 No such device)
D/wpa_supplicant(23240): nl80211: Set mode ifindex 0 iftype 2 (STATION)
D/wpa_supplicant(23240): nl80211: Failed to set interface 0 to mode 2: -19 (No s
uch device)
E/wpa_supplicant(23240): wlan0: Failed to initialize driver interface
D/wpa_supplicant(23240): Failed to add interface wlan0
there is no rfkill entry in /sys/class
An unfiltered adb logcat spews this repeatedly
Code:
D/agps ( 197): [agps] WARNING: [CP] cp2_fd_1_reconnect_timeout
E/agps ( 197): [agps] ERR: [CP] get_ccci_uart open failed node=[/dev/ttyC2]
reason=[No such file or directory]
E/agps ( 197): [agps] ERR: [CP] get_eemcs_uart open failed node=[/dev/eemcs
_ipc_uart] reason=[No such file or directory]
E/agps ( 197): [agps] ERR: [CP] ccci_uart_1 open failed
I/6620_launcher( 184): Can't open device node(/dev/stpwmt)
I/6620_launcher( 184): Can't open device node(/dev/stpwmt)
I/6620_launcher( 184): Can't open device node(/dev/stpwmt)
I/6620_launcher( 184): Can't open device node(/dev/stpwmt)
I/6620_launcher( 184): Can't open device node(/dev/stpwmt)
I/6620_launcher( 184): Can't open device node(/dev/stpwmt)
I/6620_launcher( 184): Can't open device node(/dev/stpwmt)
however, the expected mt6620 devices are present in /dev, e.g.
Code:
crw-rw---- system system 190, 0 2010-01-02 01:01 stpwmt
Any known fixes, or is MT6620 chip dead ?
Unhappy 7-year-old :crying:
Tab wasn't rooted when wi-fi stopped working - I have only rooted it as part of diagnostics today

Categories

Resources