[CM12.1] THL t100s Wifi drop issues - Android Q&A, Help & Troubleshooting

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

Related

[Q] When browsing with enabled VPN, phone reboots itself.

I created VPN connection: L2TP/IPSec CRT VPN
When i connect to it and then start browsing using any of browsers available: Dolphin HD, FF or original one the effect is the same.
Website will start to open and then - SGS2 will suddenly reboot itself. This happens every each time, like 100% of attempts.
I have Android 2.3.4 on non-rooted phone. The same was when i had 2.3.3.
All browsers are up to date.
Have someone met with similar issue?
Does anyone use VPN on SGS2?
Maybe you could say which VPN settings work for you and don't crash your phone?
I've the similar issues.
every time I try to connect VPN(via PPTP), it reboots 100%.
EDIT: this only happens in 3G network. It's fine in wireless network. and when I had official Fireware, VPN connection is fine in wireless network, but can't connect in 3G network.(not reboot, but can't connect).
UPDATE: I use openvpn now, it works both in 3G and wireless network.
Android version: 2.3.5
Baseband version: I9100XXKI4
Kernel version: [email protected] #20
Build number: VillainROM 3.0
below is last log.
...
D/VpnSettings( 2860): received connectivity: lin: connected? CONNECTING err=0
I/SProxy_mtpd( 3713): Stop VPN daemon: mtpd
D/SProxy_mtpd( 3713): mtpd is stopped after 0 msec
D/SProxy_mtpd( 3713): stopping mtpd, success? true
I/SProxy_racoon( 3713): Stop VPN daemon: racoon
D/SProxy_racoon( 3713): racoon is stopped after 0 msec
D/SProxy_racoon( 3713): stopping racoon, success? true
D/VpnService( 3713): Local IP: 172.20.197.241, if: pdp0
D/VpnService( 3713): VPN UP: down
I/SProxy_mtpd( 3713): Start VPN daemon: mtpd
D/SProxy_mtpd( 3713): mtpd is running after 0 msec
D/SProxy_mtpd( 3713): service not yet listen()ing; try again
D/mtpd ( 3761): Waiting for control socket
W/WindowManager( 2628): Window Window{40917ff0 InputMethod paused=false} destroyed surface Surface(name=InputMethod, identity=-1, mNativeSurface=0), session Session{405875b0 uid 10023}
W/WindowManager( 2628): Window Window{40954400 com.android.settings/com.android.settings.vpn.VpnSettings paused=false} destroyed surface Surface(name=com.android.settings/com.android.settings.vpn.VpnSettings, identity=-1, mNativeSurface=0), session Session{40a1f480 uid 1000}
I/AudioFlinger( 2517): stop output streamType (0, 1) for 1
D/mtpd ( 3761): Received 20 arguments
I/mtpd ( 3761): Using protocol pptp
I/mtpd ( 3761): Connecting to 208.87.241.242 port 1723
I/SProxy_mtpd( 3713): got data from control socket: 20
I/WindowOrientationListener( 2628): orientation = 2.7881243 Tilt = 49.877125 -- 0 , 5 , 6
I/StatusBarPolicy( 2757): onDataActivity-D:2
W/PowerManagerService( 2628): Timer 0x3->0x3|0x0
I/WindowOrientationListener( 2628): orientation = 352.82892 Tilt = 51.894356 -- -1 , 5 , 7
I/StatusBarPolicy( 2757): onDataActivity-D:0
I/ALSAModule( 2517): Terminated ALSA PLAYBACK device hifi
I/TelephonyRegistry( 2628): notifyDataConnection: state=2 activeState=2 isDataConnectivityPossible=true reason=networkTypeChanged apn=3gnet interfaceName=pdp0 networkType=10
I/StatusBarPolicy( 2757): onDataConnectionStateChanged-S:2 T:10
I/StatusBarPolicy( 2757): updateDataNetType-T:10
D/MobileDataStateTracker( 2628): replacing old mInterfaceName (pdp0) with pdp0 for hipri
D/MobileDataStateTracker( 2628): replacing old mInterfaceName (pdp0) with pdp0 for supl
D/MobileDataStateTracker( 2628): default Received state= CONNECTED, old= CONNECTED, reason= networkTypeChanged, apnTypeList= default,supl
D/PhoneApp( 2776): CONNECTED - hideDataDisconnectedRoaming()
I/TelephonyRegistry( 2628): notifyDataConnection: state=2 activeState=2 isDataConnectivityPossible=true reason=networkTypeChanged apn=3gnet interfaceName=pdp0 networkType=10
D/MobileDataStateTracker( 2628): replacing old mInterfaceName (pdp0) with pdp0 for hipri
I/StatusBarPolicy( 2757): onDataConnectionStateChanged-S:2 T:10
I/StatusBarPolicy( 2757): updateDataNetType-T:10
D/MobileDataStateTracker( 2628): replacing old mInterfaceName (pdp0) with pdp0 for supl
D/MobileDataStateTracker( 2628): default Received state= CONNECTED, old= CONNECTED, reason= networkTypeChanged, apnTypeList= default,supl
D/PhoneApp( 2776): CONNECTED - hideDataDisconnectedRoaming()
I/DBG_WSS_DM( 2889): [DMService.java Line:1680] ProtoIsWIFIConnected WiFi DisConnected
I/DBG_WSS_DM( 2889): [wssdminitadapter.java Line:47] smlNetAdpGetNetStatus Network Status is DATA CONNECTED!
I/DBG_WSS_DM( 2889): [wssdmdb.java Line:4606] smldmdbGetFUMOStatus smldmdbGetFUMOStatus 0
I/DBG_WSS_DM( 2889): [DMService.java Line:1680] ProtoIsWIFIConnected WiFi DisConnected
I/DBG_WSS_DM( 2889): [wssdminitadapter.java Line:47] smlNetAdpGetNetStatus Network Status is DATA CONNECTED!
I/DBG_WSS_DM( 2889): [wssdmdb.java Line:4606] smldmdbGetFUMOStatus smldmdbGetFUMOStatus 0
I/WindowOrientationListener( 2628): orientation = 344.46457 Tilt = 48.900993 -- -1 , 6 , 7
I/mtpd ( 3761): Connection established (socket = 15)
D/mtpd ( 3761): Sending SCCRQ
I/StatusBarPolicy( 2757): onDataActivity-D:3
D/PowerManagerService( 2628): onSensorChanged: light value: 100
D/mtpd ( 3761): Received SCCRP -> Sending OCRQ (local = 20894)
I/mtpd ( 3761): Tunnel established
D/mtpd ( 3761): Received OCRQ (remote = 14)
I/mtpd ( 3761): Session established
I/mtpd ( 3761): Creating PPPoX socket
I/mtpd ( 3761): Starting pppd (pppox = 16)
I/mtpd ( 3761): Pppd started (pid = 3766)
I/pppd ( 3766): Using PPPoX (socket = 16)
I/WindowOrientationListener( 2628): orientation = 342.6661 Tilt = 50.072685 -- -1 , 6 , 7
D/pppd ( 3766): using channel 1
D/Tethering( 2628): ppp0 is not a tetherable iface, ignoring
D/NetdConnector( 2628): RCV <- {600 Iface added ppp0}
I/pppd ( 3766): Using interface ppp0
I/pppd ( 3766): Connect: ppp0 <-->
I/WindowOrientationListener( 2628): orientation = 343.91614 Tilt = 51.024433 -- -1 , 5 , 7
D/NetdConnector( 2628): doCommand :: cmd = interface readrxcounter rmnet0
D/NetdConnector( 2628): sendCommand :: command = interface readrxcounter rmnet0, argument = null
D/NetdConnector( 2628): SND -> {interface readrxcounter rmnet0} {null}
D/NetdConnector( 2628): RCV <- {216 0}
D/NetdConnector( 2628): RSP <- {216 0}
D/NetdConnector( 2628): doCommand :: cmd = interface readtxcounter rmnet0
D/NetdConnector( 2628): sendCommand :: command = interface readtxcounter rmnet0, argument = null
D/NetdConnector( 2628): SND -> {interface readtxcounter rmnet0} {null}
D/NetdConnector( 2628): RCV <- {217 0}
D/NetdConnector( 2628): RSP <- {217 0}
I/WindowOrientationListener( 2628): orientation = 344.20612 Tilt = 51.3699 -- -1 , 5 , 7
I/WindowOrientationListener( 2628): orientation = 344.7156 Tilt = 51.8557 -- -1 , 5 , 7
I/StatusBarPolicy( 2757): onDataActivity-D:2
# lose connect and reboot
Click to expand...
Click to collapse
Same problem here. I opened another thread about this.
It looks like the problem is there with 2.3.4 and 2.3.5
http://forum.xda-developers.com/showthread.php?t=1297120
I use L2TP IpSec with PSK (because PPTP won't connect with my carrier in China). And everytime my phone reboots after a while (it's not only when surfing, just doing anything using data connection).

[Q] [MINI] WiFi Connection Problem

Hey guys,
I've been searching for a solution to this high and low, but it seems that I'm the only one here with the problem. :/
I have a Sony Ericsson Xperia Mini ST15i, and a Linksys WAG54G2 router currently set to WPA-Personal for Security. Initial connection for the first few hours seems to be alright, but subsequently the phone can no longer connect to the router. It displays "scanning", "connecting", followed by an immediate status update displaying "disconnected".
The phone remains unrooted. I've tried restarting the phone, clearing user settings etc, but it wouldn't work. The only way to fix this would be to restart the router, after which the above scenario repeats itself.
The logcat for a case of failure is as follows:
Code:
I/wpa_supplicant(12017): CTRL-EVENT-DRIVER-STATE STARTED
V/WifiMonitor( 230): Event [CTRL-EVENT-DRIVER-STATE STARTED]
I/wpa_supplicant(12017): Trying to associate with 00:22:6b:eb:47:07 (SSID='Wangfamily Wireless' freq=2462 MHz)
I/wpa_supplicant(12017): WAPIDBG wpa_supplicant_associate: setting external mode
I/wpa_supplicant(12017): WAPIDBG wapi_set_assoc_ie
I/wpa_supplicant(12017): WAPIDBG wapi_set_assoc_ie: DONE
I/wpa_supplicant(12017): CTRL-EVENT-STATE-CHANGE id=-1 state=5 BSSID=00:22:6b:eb:47:07
E/wpa_supplicant(12017): Ongoing Scan action...
D/kernel ( 125): [277605.933807] ADDRCONF(NETDEV_UP): wlan0: link is not ready
V/WifiMonitor( 230): Event [Trying to associate with 00:22:6b:eb:47:07 (SSID='Wangfamily Wireless' freq=2462 MHz)]
V/WifiMonitor( 230): Event [CTRL-EVENT-STATE-CHANGE id=-1 state=5 BSSID=00:22:6b:eb:47:07]
V/WifiStateTracker( 230): Connection to supplicant established, state=ASSOCIATING
I/wpa_supplicant(12017): Scan Channels command = 11
V/WifiStateTracker( 230): Changing supplicant state: ASSOCIATING ==> SCANNING
I/wpa_supplicant(12017): Scan Channels command = 11
V/WifiStateTracker( 230): Changing supplicant state: SCANNING ==> ASSOCIATING
I/wpa_supplicant(12017): WAPI wapi_notify_disassoc: received disassoc, reinit sm
I/wpa_supplicant(12017): WAPI wapi_deinit_sm: deinit wapi sm
I/wpa_supplicant(12017): WAPI wapi_init_sm: init wapi sm
I/wpa_supplicant(12017): CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
V/WifiMonitor( 230): Event [CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys]
V/WifiStateTracker( 230): New network state is DISCONNECTED
I/wpa_supplicant(12017): CTRL-EVENT-STATE-CHANGE id=0 state=0 BSSID=00:22:6b:eb:47:07
V/WifiMonitor( 230): Event [CTRL-EVENT-STATE-CHANGE id=0 state=0 BSSID=00:22:6b:eb:47:07]
D/kernel ( 125): [277606.959320] TIWLAN: 2193.996421: -------------------------------------
D/kernel ( 125): [277606.959381] TIWLAN: 2193.996512: CONN LOST
D/kernel ( 125): [277606.959442] TIWLAN: 2193.996573: -------------------------------------
V/WifiStateTracker( 230): Changing supplicant state: ASSOCIATING ==> DISCONNECTED
I/WifiService( 230): Number of channels set to 11
D/WifiStateTracker( 230): Reset connections and stopping DHCP
D/WifiStateTracker( 230): Disabling interface
Any solution to this? :/ Thanks!
- RagnaParadise
I have the same issue on my Xperia Active. What helped me is I changed encryption to WEP
Used to get this constantly on my old x10 mini pro, only with my dlink at home, was fine at work with wpa2 enterprise or other places with wpa2 personal. Eventually gave up and bought a cheap usb wifi dongle for the pc attached to the router and had a network just for my phone
Sent from my SK17i using xda premium

[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?

Wifi not working

I rooted my phone earlier today no problem. When i used a wifi password recovery and backup to restore my wifi it has caused my wifi to not work. The wifi will look like it's searching for a network ,but wont show any networks. I've done a factory reset and used my backup I made before rooting to try and fix this. Nothing has worked. Should I redo the root and see if that fix's it? Thanks
jgc86 said:
I rooted my phone earlier today no problem. When i used a wifi password recovery and backup to restore my wifi it has caused my wifi to not work. The wifi will look like it's searching for a network ,but wont show any networks. I've done a factory reset and used my backup I made before rooting to try and fix this. Nothing has worked. Should I redo the root and see if that fix's it? Thanks
Click to expand...
Click to collapse
Does your phone detect any wireless networks?
You could try logcat to see what happens.
Lelus said:
Does your phone detect any wireless networks?
You could try logcat to see what happens.
Click to expand...
Click to collapse
It's not detecting any networks. I will use logcat and see if that shows the error. Thanks for the reply. I don't think i messed up anything permanent.
used logcat
I get the follow error in logcatE/wifiHW ( 282) Supplicant not running. Cannot Connect.
Here is the text file from LogCat
--------- beginning of /dev/log/main
D/SurfaceFlinger( 174): createSurface for (1 x 1) Name=Toast
E/WifiHW ( 282): Supplicant not running, cannot connect
E/WifiStateMachine( 282): Failed to setup control channel, restart supplicant
D/WifiHW ( 172): wifi_change_fw_path is called..
D/WifiHW ( 172): wifi_change_fw_path is /etc/firmware/fw_bcmdhd.bin
D/SoftapController( 172): Softap fwReload - Ok
E/SoftapController( 172): Softap fwrealod - Add delay.
--------- beginning of /dev/log/system
D/NetdConnector( 282): SND -> {softap fwreload wlan0 STA} {null}
V/FASTDORMANCY( 448): [DCH/FACH] FDCount : 0 intent received :com.android.internal.telephony.ACTION_CHECK_NETSTAT
I/FASTDORMANCY( 448): [DCH/FACH] FDCount : 0 NetStat Event is received.
V/FASTDORMANCY( 448): [DCH/FACH] FDCount : 0 prev: TxPkts(3786), RxPkts(7489)
V/FASTDORMANCY( 448): [DCH/FACH] FDCount : 0 curr: TxPkts(3786), RxPkts(7489)
I/FASTDORMANCY( 448): [DCH/FACH] FDCount : 1 Scheduling checkNetStat for 1250 msec using INTENT_CHECK_NETSTAT_ALARM
D/PhoneStatusBarPolicy( 354): ACTION_SIGNAL_STRENGTH_CHANGED!!!
D/LGPhoneStatusBarPolicy( 354): ACTION_SIGNAL_STRENGTH_CHANGED!!!
D/NetdConnector( 282): RCV <- {200 Softap operation succeeded}
D/NetdConnector( 282): RSP <- {200 Softap operation succeeded}
D/NetdConnector( 282): SND -> {interface getcfg wlan0} {null}
D/NetdConnector( 282): RCV <- {213 00:90:4c:11:22:33 0.0.0.0 0 [down broadcast multicast]}
D/NetdConnector( 282): RSP <- {213 00:90:4c:11:22:33 0.0.0.0 0 [down broadcast multicast]}
D/NetworkManagementService( 282): rsp <213 00:90:4c:11:22:33 0.0.0.0 0 [down broadcast multicast]>
D/NetworkManagementService( 282): flags <[down broadcast multicast]>
D/CommandListener( 172): Setting iface cfg
D/CommandListener( 172): Trying to bring down wlan0
D/CommandListener( 172): broadcast flag ignored
D/CommandListener( 172): multicast flag ignored
D/NetdConnector( 282): SND -> {interface setcfg wlan0 0.0.0.0 0 [down broadcast multicast]} {null}
D/NetdConnector( 282): RCV <- {200 Interface configuration set}
D/NetdConnector( 282): RSP <- {200 Interface configuration set}
D/NetdConnector( 282): SND -> {interface ipv6privacyextensions wlan0 enable} {null}
D/NetdConnector( 282): RCV <- {200 IPv6 privacy extensions changed}
D/NetdConnector( 282): RSP <- {200 IPv6 privacy extensions changed}
E/WifiHW ( 282): Supplicant not running, cannot connect
D/dalvikvm( 2306): GC_FOR_ALLOC freed 3035K, 40% free 9449K/15663K, paused 21ms
D/dalvikvm( 2306): GC_CONCURRENT freed 30K, 29% free 11202K/15663K, paused 1ms+3ms
E/WifiHW ( 282): Supplicant not running, cannot connect
V/FASTDORMANCY( 448): [DCH/FACH] FDCount : 1 intent received :com.android.internal.telephony.ACTION_CHECK_NETSTAT
I/FASTDORMANCY( 448): [DCH/FACH] FDCount : 1 NetStat Event is received.
V/FASTDORMANCY( 448): [DCH/FACH] FDCount : 1 prev: TxPkts(3786), RxPkts(7489)
V/FASTDORMANCY( 448): [DCH/FACH] FDCount : 1 curr: TxPkts(3786), RxPkts(7489)
I/FASTDORMANCY( 448): [DCH/FACH] FDCount : 2 Scheduling checkNetStat for 1250 msec using INTENT_CHECK_NETSTAT_ALARM
D/SurfaceFlinger( 174): removeLayer_l = Toast
D/SurfaceFlinger( 174): removeLayer_l = Toast
D/PhoneStatusBarPolicy( 354): ACTION_SIGNAL_STRENGTH_CHANGED!!!
D/LGPhoneStatusBarPolicy( 354): ACTION_SIGNAL_STRENGTH_CHANGED!!!
E/WifiHW ( 282): Supplicant not running, cannot connect
V/FASTDORMANCY( 448): [DCH/FACH] FDCount : 2 intent received :com.android.internal.telephony.ACTION_CHECK_NETSTAT
I/FASTDORMANCY( 448): [DCH/FACH] FDCount : 2 NetStat Event is received.
V/FASTDORMANCY( 448): [DCH/FACH] FDCount : 2 prev: TxPkts(3786), RxPkts(7489)
V/FASTDORMANCY( 448): [DCH/FACH] FDCount : 2 curr: TxPkts(3786), RxPkts(7489)
I/FASTDORMANCY( 448): [DCH/FACH] FDCount : 3 Scheduling checkNetStat for 1250 msec using INTENT_CHECK_NETSTAT_ALARM
D/dalvikvm( 2306): GC_FOR_ALLOC freed 1594K, 29% free 11198K/15663K, paused 21ms
D/ViewRootImpl( 2306): ViewRoot TouchDown(Absolute) DOWN (137 , 608)
D/dalvikvm( 2306): GC_FOR_ALLOC freed 2241K, 33% free 10621K/15663K, paused 16ms
E/WifiHW ( 282): Supplicant not running, cannot connect
D/FASTDORMANCY( 448): [DCH/FACH] FDCount : 3 lgeOnDormancyState. state = 105[PS_SIG DISCONN=0 CONN=1][PCH=104,105 FACH=106 DCH=107]
D/FASTDORMANCY( 448): [DCH/FACH] FDCount : 3 DataConnection FD event CELL_PCH or URA_PCH
D/FASTDORMANCY( 448): [DCH/FACH] FDCount : 3 Exit from DCH or FACH State
D/FASTDORMANCY( 448): [IDLE] Enter to IDLE State
D/FASTDORMANCY( 448): [IDLE] resetAll()
V/FASTDORMANCY( 448): [IDLE] prev: TxPkts(3786), RxPkts(7489)
V/FASTDORMANCY( 448): [IDLE] curr: TxPkts(3786), RxPkts(7489)
E/WifiHW ( 282): Supplicant not running, cannot connect
D/PhoneStatusBarPolicy( 354): ACTION_SIGNAL_STRENGTH_CHANGED!!!
D/LGPhoneStatusBarPolicy( 354): ACTION_SIGNAL_STRENGTH_CHANGED!!!
E/WifiHW ( 282): Supplicant not running, cannot connect
E/WifiStateMachine( 282): Failed 6 times to start supplicant, unload driver
D/WifiHW ( 172): wifi_change_fw_path is called..
D/WifiHW ( 172): wifi_change_fw_path is /etc/firmware/fw_bcmdhd.bin
D/NetdConnector( 282): SND -> {softap fwreload wlan0 STA} {null}
D/SoftapController( 172): Softap fwReload - Ok
E/SoftapController( 172): Softap fwrealod - Add delay.
D/NetdConnector( 282): RCV <- {200 Softap operation succeeded}
D/NetdConnector( 282): RSP <- {200 Softap operation succeeded}
D/NetdConnector( 282): SND -> {interface getcfg wlan0} {null}
D/NetdConnector( 282): RCV <- {213 00:90:4c:11:22:33 0.0.0.0 0 [down broadcast multicast]}
D/NetdConnector( 282): RSP <- {213 00:90:4c:11:22:33 0.0.0.0 0 [down broadcast multicast]}
D/NetworkManagementService( 282): rsp <213 00:90:4c:11:22:33 0.0.0.0 0 [down broadcast multicast]>
D/NetworkManagementService( 282): flags <[down broadcast multicast]>
D/CommandListener( 172): Setting iface cfg
D/CommandListener( 172): Trying to bring down wlan0
D/CommandListener( 172): broadcast flag ignored
D/CommandListener( 172): multicast flag ignored
D/NetdConnector( 282): SND -> {interface setcfg wlan0 0.0.0.0 0 [down broadcast multicast]} {null}
D/NetdConnector( 282): RCV <- {200 Interface configuration set}
D/NetdConnector( 282): RSP <- {200 Interface configuration set}
D/NetdConnector( 282): SND -> {interface ipv6privacyextensions wlan0 enable} {null}
E/WifiHW ( 282): Supplicant not running, cannot connect
D/NetdConnector( 282): RCV <- {200 IPv6 privacy extensions changed}
D/NetdConnector( 282): RSP <- {200 IPv6 privacy extensions changed}
D/ViewRootImpl( 2306): ViewRoot TouchDown(Absolute) DOWN (456 , 602)
D/ViewRootImpl( 354): ViewRoot TouchDown(Absolute) DOWN (422 , 20)
D/SurfaceFlinger( 174): createSurface for (540 x 922) Name=TrackingView
E/WifiHW ( 282): Supplicant not running, cannot connect
D/dalvikvm( 2306): GC_CONCURRENT freed 1889K, 33% free 10549K/15663K, paused 2ms+9ms
D/QuickSettings( 354): setAllButtonsStatus()
D/QuickSettings( 354): setAirplaneButton!!!
D/QuickSettings( 354): setGPSButton()
E/QuickSettings( 354): ### setBrightnessButton -automatic=false ,level=5
D/QuickSettings( 354): setHotspotButton:: !!!
D/QuickSettings( 354): Current content://settings/system/power_save_enabled : 0
D/QuickSettings( 354): Current content://settings/system/power_save_mode : 30
D/QuickSettings( 354): Current content://settings/system/eco_mode : 0
D/QuickSettings( 354): isLteOnly? 0
D/QuickSettings( 354): isLteEnabled? 0
D/QuickSettings( 354): LTE Network disabled.
D/QuickSettings( 354): onShow()
D/ConnectivityService( 282): getMobileDataEnabled returning true
D/ViewRootImpl( 354): ViewRoot TouchDown(Absolute) DOWN (305 , 917)
E/WifiHW ( 282): Supplicant not running, cannot connect
D/QuickSettings( 354): onHide()
D/OpenGLRenderer( 354): Flushing caches (mode 0)
D/SurfaceFlinger( 174): removeLayer_l = TrackingView
D/SurfaceFlinger( 174): removeLayer_l = TrackingView
W/InputManagerService( 282): Window already focused, ignoring focus gain of: [email protected]
D/ViewRootImpl( 2306): ViewRoot TouchDown(Absolute) DOWN (333 , 90)
E/WifiHW ( 282): Supplicant not running, cannot connect
D/dalvikvm( 2306): GC_CONCURRENT freed 1095K, 28% free 11278K/15663K, paused 2ms+2ms
E/WifiHW ( 282): Supplicant not running, cannot connect
E/WifiHW ( 282): Supplicant not running, cannot connect
E/WifiStateMachine( 282): Failed to setup control channel, restart supplicant
D/WifiHW ( 172): wifi_change_fw_path is called..
D/WifiHW ( 172): wifi_change_fw_path is /etc/firmware/fw_bcmdhd.bin
D/SoftapController( 172): Softap fwReload - Ok
E/SoftapController( 172): Softap fwrealod - Add delay.
D/NetdConnector( 282): SND -> {softap fwreload wlan0 STA} {null}
D/dalvikvm( 2306): GC_FOR_ALLOC freed 1696K, 28% free 11290K/15663K, paused 20ms
D/NetdConnector( 282): RCV <- {200 Softap operation succeeded}
D/NetdConnector( 282): RSP <- {200 Softap operation succeeded}
D/NetdConnector( 282): SND -> {interface getcfg wlan0} {null}
D/NetdConnector( 282): RCV <- {213 00:90:4c:11:22:33 0.0.0.0 0 [down broadcast multicast]}
D/NetdConnector( 282): RSP <- {213 00:90:4c:11:22:33 0.0.0.0 0 [down broadcast multicast]}
D/NetworkManagementService( 282): rsp <213 00:90:4c:11:22:33 0.0.0.0 0 [down broadcast multicast]>
D/CommandListener( 172): Setting iface cfg
D/CommandListener( 172): Trying to bring down wlan0
D/CommandListener( 172): broadcast flag ignored
D/CommandListener( 172): multicast flag ignored
D/NetworkManagementService( 282): flags <[down broadcast multicast]>
D/NetdConnector( 282): SND -> {interface setcfg wlan0 0.0.0.0 0 [down broadcast multicast]} {null}
D/NetdConnector( 282): RCV <- {200 Interface configuration set}
D/NetdConnector( 282): RSP <- {200 Interface configuration set}
D/NetdConnector( 282): SND -> {interface ipv6privacyextensions wlan0 enable} {null}
D/NetdConnector( 282): RCV <- {200 IPv6 privacy extensions changed}
D/NetdConnector( 282): RSP <- {200 IPv6 privacy extensions changed}
E/WifiHW ( 282): Supplicant not running, cannot connect
I had this problem.....I just restored with someone else's cwm backup and it worked
Sent from my LG-P769 using xda app-developers app
Thank you
mike6696 said:
I had this problem.....I just restored with someone else's cwm backup and it worked
Sent from my LG-P769 using xda app-developers app
Click to expand...
Click to collapse
Thanks for the reply. I downloaded a cwm backup. I will try it tomorrow and post my results.
jgc86 said:
Thanks for the reply. I downloaded a cwm backup. I will try it tomorrow and post my results.
Click to expand...
Click to collapse
nobody can actually help you if you dont inform about your L9 variant and which rom you have flashed or restored. Directly flashed a KDZ file or was that a CWM backup of someone else.
Please always be descriptive and dont make people assume many things for you. Otherwise you will always get solutions in wrong direction.
I'm a newbie to forums
cmahendra said:
nobody can actually help you if you dont inform about your L9 variant and which rom you have flashed or restored. Directly flashed a KDZ file or was that a CWM backup of someone else.
Please always be descriptive and dont make people assume many things for you. Otherwise you will always get solutions in wrong direction.
Click to expand...
Click to collapse
My L9 variant is the LGP769V10G. I used LGP769_AP[6].bin and FACTORY KDZ OF V10G USA Tmobile to root and flash. Worked great and was really easy. Then after the wifi password restore wifi went crazy. Sorry about not being descriptive. I'm new to forums. I didn't mean to post this in general as well. I was posting from my phone. I've got everything with CWM downloaded and I can boot into recovery mode ,but there is no CWM backup folder on my external SD to put the recovery folder in.
Got wifi to turn on ,but wont obtain IP
jgc86 said:
My L9 variant is the LGP769V10G. I used LGP769_AP[6].bin and FACTORY KDZ OF V10G USA Tmobile to root and flash. Worked great and was really easy. Then after the wifi password restore wifi went crazy. Sorry about not being descriptive. I'm new to forums. I didn't mean to post this in general as well. I was posting from my phone. I've got everything with CWM downloaded and I can boot into recovery mode ,but there is no CWM backup folder on my external SD to put the recovery folder in.
Click to expand...
Click to collapse
I've flashed with CWM back up that matched my L9 and the wifi will turn off and on ,but wont obtain an IP. Now when I install rooted applications my superuser wont grant access to some files. I'm starting to get really discouraged.
jgc86 said:
I've flashed with CWM back up that matched my L9 and the wifi will turn off and on ,but wont obtain an IP. Now when I install rooted applications my superuser wont grant access to some files. I'm starting to get really discouraged.
Click to expand...
Click to collapse
Just live and learn I guess. Do cwm backup right after you install recovery. Sure, using someone elses backup might be fine but you really don't know what you're getting.
jgc86 said:
I've flashed with CWM back up that matched my L9 and the wifi will turn off and on ,but wont obtain an IP. Now when I install rooted applications my superuser wont grant access to some files. I'm starting to get really discouraged.
Click to expand...
Click to collapse
Did my flash over again with the Root files and my wifi is back up and running. Thanks for everyone that commented on this thread with ideas. If anybody ever runs into this problem again I will be able to guide them.
Trial and Error
Lelus said:
Just live and learn I guess. Do cwm backup right after you install recovery. Sure, using someone elses backup might be fine but you really don't know what you're getting.
Click to expand...
Click to collapse
I agree. The backup worked though. I've learned a lot from the past 2 days. I had some knowledge of rooting. I'm not saying I'm nowhere near an expert ,but I used your root guide and it was very beneficial. Just wanted to say thanks.

[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.???

Categories

Resources