There is a $100 bounty on this question. I will pay the xda member who assists me in getting to a solution through paypal. Even though I am a student I am offering this bounty because without resolving this issue my phone is nothing more than a paper weight (I use my SIM elsewhere). (A generous member may request to be paid less, but that is not what I expect). That must tell you how desperate I am to get this work.
Here's my issue:
I have a HTC G1 with Cyanogen Mod 4.2.1 which I am trying to connect with Villanova University's wi-fi network. It is a 802.1x, PEAP, MSCHAPv2 network.
Here are the university's official instructions for configuring a PC http://www.villanova.edu/unit/support/wireless/configuration/ and a MAC http://www.villanova.edu/unit/support/wireless/mac.htm. A quick glance there should tell you about the network we are trying to setup.
Here are the things I have tried
0. Searching on google, android forums, xda, everywhere
1. Asking my school's tech support, computer science professor's, other students
2. I have read up the man pages and supporting documentation for wpa_supplicant.conf
3.
I went to Settings > Wifi > Add Wi-fi Network. And entered:
SSID: Villanova
Security: IEEE 802.1X
EAP Method: PEAP
Phase 2 authentication: MSCHAP2
identity: <username>
wireless password: <password>
The wpa_supplicant.conf generated was:
ctrl_interface=tiwlan0
update_config=1
network={
ssid="Villanova"
scan_ssid=1
key_mgmt=IEEE8021X
group=CCMP TKIP
eap=PEAP
identity="<username>"
password="<password>"
phase2="auth=MSCHAP2"
priority=1
}
Click to expand...
Click to collapse
Here is logact *.W when I am toggling on and off the wi-fi. This section keeps repeating itself indefinitely and never connects.
Interesting first part of the log
Posted here to keep the post under maximum character limit: http://forum.xda-developers.com/showpost.php?p=4819214&postcount=6
Click to expand...
Click to collapse
Code:
D/SettingsWifiEnabler( 382): Received wifi state changed from Enabling to Enabl
ed
I/wpa_supplicant( 412): CTRL-EVENT-SCAN-RESULTS Ready
I/wpa_supplicant( 412): Trying to associate with 06:01:0e:e9:fc:ad (SSID='Villa
nova' freq=2412 MHz)
I/wpa_supplicant( 412): CTRL-EVENT-STATE-CHANGE id=-1 state=3
V/WifiMonitor( 98): Event [Trying to associate with 06:01:0e:e9:fc:ad (SSID='V
illanova' freq=2412 MHz)]
V/WifiMonitor( 98): Event [CTRL-EVENT-STATE-CHANGE id=-1 state=3]
V/WifiStateTracker( 98): Changing supplicant state: SCANNING ==> ASSOCIATING
W/wpa_supplicant( 412): Failed to initiate AP scan.
I/wpa_supplicant( 412): CTRL-EVENT-SCAN-RESULTS Ready
I/wpa_supplicant( 412): CTRL-EVENT-SCAN-RESULTS Ready
I/wpa_supplicant( 412): Trying to associate with 06:0b:0e:e9:fc:ad (SSID='Villa
nova' freq=2462 MHz)
I/wpa_supplicant( 412): CTRL-EVENT-STATE-CHANGE id=0 state=3
V/WifiMonitor( 98): Event [Trying to associate with 06:0b:0e:e9:fc:ad (SSID='V
illanova' freq=2462 MHz)]
V/WifiMonitor( 98): Event [CTRL-EVENT-STATE-CHANGE id=0 state=3]
V/WifiStateTracker( 98): Changing supplicant state: ASSOCIATING ==> ASSOCIATIN
G
I/wpa_supplicant( 412): CTRL-EVENT-SCAN-RESULTS Ready
D/dalvikvm( 382): GC(0) freed 11647 objects / 588296 bytes in 98ms
I/wpa_supplicant( 412): Authentication with 06:0b:0e:e9:fc:ad timed out.
I/wpa_supplicant( 412): CTRL-EVENT-STATE-CHANGE id=0 state=0
I/wpa_supplicant( 412): CTRL-EVENT-STATE-CHANGE id=-1 state=2
V/WifiMonitor( 98): Event [Authentication with 06:0b:0e:e9:fc:ad timed out.]
V/WifiMonitor( 98): Event [CTRL-EVENT-STATE-CHANGE id=0 state=0]
V/WifiMonitor( 98): Event [CTRL-EVENT-STATE-CHANGE id=-1 state=2]
V/WifiStateTracker( 98): Changing supplicant state: ASSOCIATING ==> DISCONNECT
ED
V/WifiStateTracker( 98): Changing supplicant state: DISCONNECTED ==> SCANNING
I/wpa_supplicant( 412): CTRL-EVENT-SCAN-RESULTS Ready
I/wpa_supplicant( 412): Trying to associate with 06:06:0e:e9:fc:ad (SSID='Villa
nova' freq=2437 MHz)
I/wpa_supplicant( 412): CTRL-EVENT-STATE-CHANGE id=-1 state=3
V/WifiMonitor( 98): Event [Trying to associate with 06:06:0e:e9:fc:ad (SSID='V
illanova' freq=2437 MHz)]
V/WifiMonitor( 98): Event [CTRL-EVENT-STATE-CHANGE id=-1 state=3]
V/WifiStateTracker( 98): Changing supplicant state: SCANNING ==> ASSOCIATING
D/WifiStateTracker( 98): Deconfiguring interface and stopping DHCP
D/SettingsWifiEnabler( 382): Received network state changed to NetworkInfo: typ
e: WIFI[], state: DISCONNECTED/DISCONNECTED, reason: (unspecified), extra: (none
), roaming: false, failover: false, isAvailable: true
I/wpa_supplicant( 412): Authentication with 06:06:0e:e9:fc:ad timed out.
I/wpa_supplicant( 412): CTRL-EVENT-STATE-CHANGE id=0 state=0
I/wpa_supplicant( 412): CTRL-EVENT-STATE-CHANGE id=-1 state=2
V/WifiMonitor( 98): Event [Authentication with 06:06:0e:e9:fc:ad timed out.]
V/WifiMonitor( 98): Event [CTRL-EVENT-STATE-CHANGE id=0 state=0]
V/WifiMonitor( 98): Event [CTRL-EVENT-STATE-CHANGE id=-1 state=2]
V/WifiStateTracker( 98): Changing supplicant state: ASSOCIATING ==> DISCONNECT
ED
V/WifiStateTracker( 98): Changing supplicant state: DISCONNECTED ==> SCANNING
I/wpa_supplicant( 412): CTRL-EVENT-SCAN-RESULTS Ready
I/wpa_supplicant( 412): Trying to associate with 06:06:0e:e9:fc:ad (SSID='Villa
nova' freq=2437 MHz)
I/wpa_supplicant( 412): CTRL-EVENT-STATE-CHANGE id=-1 state=3
V/WifiMonitor( 98): Event [Trying to associate with 06:06:0e:e9:fc:ad (SSID='V
illanova' freq=2437 MHz)]
V/WifiMonitor( 98): Event [CTRL-EVENT-STATE-CHANGE id=-1 state=3]
V/WifiStateTracker( 98): Changing supplicant state: SCANNING ==> ASSOCIATING
D/WifiStateTracker( 98): Deconfiguring interface and stopping DHCP
D/SettingsWifiEnabler( 382): Received network state changed to NetworkInfo: typ
e: WIFI[], state: DISCONNECTED/DISCONNECTED, reason: (unspecified), extra: (none
), roaming: false, failover: false, isAvailable: true
I/wpa_supplicant( 412): Authentication with 06:06:0e:e9:fc:ad timed out.
I/wpa_supplicant( 412): CTRL-EVENT-STATE-CHANGE id=0 state=0
I/wpa_supplicant( 412): CTRL-EVENT-STATE-CHANGE id=-1 state=2
V/WifiMonitor( 98): Event [Authentication with 06:06:0e:e9:fc:ad timed out.]
V/WifiMonitor( 98): Event [CTRL-EVENT-STATE-CHANGE id=0 state=0]
V/WifiMonitor( 98): Event [CTRL-EVENT-STATE-CHANGE id=-1 state=2]
V/WifiStateTracker( 98): Changing supplicant state: ASSOCIATING ==> DISCONNECT
ED
V/WifiStateTracker( 98): Changing supplicant state: DISCONNECTED ==> SCANNING
I/wpa_supplicant( 412): CTRL-EVENT-TERMINATING - signal 15 received
I/wpa_supplicant( 412): CTRL-EVENT-TERMINATING - signal 0 received
I/wpa_supplicant( 412): CTRL-EVENT-STATE-CHANGE id=-1 state=0
V/WifiMonitor( 98): Event [CTRL-EVENT-TERMINATING - signal 15 received]
V/WifiStateTracker( 98): Connection to supplicant lost
D/SettingsWifiEnabler( 382): Received wifi state changed from Enabled to Disabl
ing
E/vold ( 71): Unable to lookup media '/devices/platform/msm_sdcc.1/mmc_host
/mmc0/mmc0:0001'
E/vold ( 71): Error processing uevent msg (Unknown error: 0)
D/SettingsWifiEnabler( 382): Received wifi state changed from Disabling to Disa
bled
4. Here is the wpa_supplicant.conf that should work. Taken from:
http://hostap.epitest.fi/wpa_supplicant/ under Configuration file section. (Direct link to text file: http://hostap.epitest.fi/gitweb/git...lain;f=wpa_supplicant/examples/ieee8021x.conf)
ctrl_interface=tiwlan0
update_config=1
network={
ssid="Villanova"
key_mgmt=IEEE8021X
eap=PEAP
phase2="auth=MSCHAPV2"
identity="[actual_username]"
password="[actual_password]"
# ca_cert = /sdcard/Equifax.crt
}
Click to expand...
Click to collapse
4.1 I have manually changed the wpa_supplicant.conf to the above configuration and it didn't connect. Here is the logcat (it is basically the same as before):
I pasted it off-site so that my thread could be within xda's maximum length rules http://pastebin.ca/1643299
Click to expand...
Click to collapse
4.2 I have tried commenting out and inserting the ca_cert line but it generated the same log as above.
4.3. I have got hold of cert file from Ubuntu by looking under /usr/share/mozilla/ca-cert/. Ubuntu has a sym-link of Equifax*.pem to Equifax*.crt so I directly took the crt and am assuming that .crt = .pem. Is that so?
4.4 I have also exported the certificate from internet explorer and tried using it (all three formats, der, p7b and base-64)
5. I purchased and used the Wi-fi helper Pro program with no result
6. I have tried tinkering with wep104/40, ap_scan 1/2, auth_alg (open/shared) but to no avail.
Note:
1. When I simply click on the SSID displayed in the wifi settings section I am asked to enter a WEP key. Android doesn't identify Villanova network as PEAP-WEP-802.1X but simply sees it as WEP.
2. Wifi is working perfectly with 802.1x, PEAP, MSCHAP2 settings on my ipod touch, ubuntu 9.04 (through network manager it doesn't use wpa_supplicant.conf) and my win XP laptop.
3. Unsecured wifi networks are working on HTC g1
If you prefer to meet up via IM/VOIP I can give you dynamically generated logs as you suggest me edits and that could greatly decrease the time wasted going back and forth as we try to solve this horrendous issue.
I have completely exhausted myself trying to connect it to the Villanova wi-fi network. I have been breaking my head over this for 2months now. I am reaching out to get some assistance from you as my last resort.
Thank you for your time
SOLVED:
Issue resolved, I needed to add the following exact lines to my wpa_supplicant.conf
group=WEP104 WEP40
auth_alg=OPEN SHARED
WEP104 and OPEN, WEP 104 and SHARED, WEP40 and OPEN, WEP40 and SHARED none of those combinations will work. I needed the exact same lines!
Thank you members for your support. I hope this information will be useful to someone.
Id say just get a new phone man what youve just described is not really worth the headache. I realize its not the answer you want to hear, because I wouldnt either. Its a hell of a lot simpler though.
bubonik said:
Id say just get a new phone man what youve just described is not really worth the headache. I realize its not the answer you want to hear, because I wouldnt either. Its a hell of a lot simpler though.
Click to expand...
Click to collapse
I don't have any reason to suspect that this issue is hardware specific. WPA2, unsecured and other kinds of simpler wifi work perfectly. Unless this is worked out at a software level the issue will re-occur for me even in a new phone. Thanks for your input though.
I am still believing that this is not as simple for me as some of the other users because of the kind of wifi network that I am dealing with. However setting up Ubuntu and Iphone was a piece of cake.
This is just an initial stab, but you could try the following:
Code:
network={
ssid="Villanova"
key_mgmt=WPA-EAP
group=CCMP TKIP
eap=PEAP
identity="user_name"
password="password"
phase2="AUTH=MSCHAPV2"
priority=19
}
I noticed in yours above that you had MSCHAP2 instead of MSCHAPV2... Just an observation...
Vermithrax said:
This is just an initial stab, but you could try the following:
Code:
network={
ssid="Villanova"
key_mgmt=WPA-EAP
group=CCMP TKIP
eap=PEAP
identity="user_name"
password="password"
phase2="AUTH=MSCHAPV2"
priority=19
}
I noticed in yours above that you had MSCHAP2 instead of MSCHAPV2... Just an observation...
Click to expand...
Click to collapse
Thank you for your reply. I really hope we can figure this one out.
Here is what I did:
1. I tried the exact wpa_supplicant.conf that you provided (ofcourse with my own username and password) and it never connected.
adb -d logcat *.W
Code:
D/SettingsWifiEnabler( 301): Received wifi state changed from Disabled to Enabl
ing
D/WifiService( 91): ACTION_BATTERY_CHANGED pluggedType: 2
E/wpa_supplicant( 358): Set_key: Wrong Key
E/wpa_supplicant( 358): Set_key: Wrong Key
E/wpa_supplicant( 358): Set_key: Wrong Key
E/wpa_supplicant( 358): Set_key: Wrong Key
V/WifiStateTracker( 91): Connection to supplicant established, state=DISCONNEC
TED
E/wpa_supplicant( 358): prepare_filter_struct: type=0
I/wpa_supplicant( 358): CTRL-EVENT-STATE-CHANGE id=-1 state=2
I/wpa_supplicant( 358): CTRL-EVENT-SCAN-RESULTS Ready
V/WifiMonitor( 91): Event [CTRL-EVENT-STATE-CHANGE id=-1 state=2]
V/WifiStateTracker( 91): Changing supplicant state: DISCONNECTED ==> SCANNING
W/wpa_supplicant( 358): Failed to initiate AP scan.
I/wpa_supplicant( 358): CTRL-EVENT-SCAN-RESULTS Ready
W/wpa_supplicant( 358): Failed to initiate AP scan.
D/SettingsWifiEnabler( 301): Received wifi state changed from Enabling to Enabl
ed
I/wpa_supplicant( 358): CTRL-EVENT-SCAN-RESULTS Ready
D/dalvikvm( 301): GC(0) freed 10619 objects / 484352 bytes in 90ms
I/wpa_supplicant( 358): CTRL-EVENT-SCAN-RESULTS Ready
I/wpa_supplicant( 358): CTRL-EVENT-SCAN-RESULTS Ready
I/wpa_supplicant( 358): CTRL-EVENT-SCAN-RESULTS Ready
I/wpa_supplicant( 358): CTRL-EVENT-SCAN-RESULTS Ready
I/wpa_supplicant( 358): CTRL-EVENT-SCAN-RESULTS Ready
I/wpa_supplicant( 358): CTRL-EVENT-SCAN-RESULTS Ready
I/wpa_supplicant( 358): CTRL-EVENT-SCAN-RESULTS Ready
I/wpa_supplicant( 358): CTRL-EVENT-SCAN-RESULTS Ready
I/wpa_supplicant( 358): CTRL-EVENT-TERMINATING - signal 15 received
I/wpa_supplicant( 358): CTRL-EVENT-TERMINATING - signal 0 received
I/wpa_supplicant( 358): CTRL-EVENT-STATE-CHANGE id=-1 state=0
V/WifiMonitor( 91): Event [CTRL-EVENT-TERMINATING - signal 15 received]
V/WifiStateTracker( 91): Connection to supplicant lost
D/SettingsWifiEnabler( 301): Received wifi state changed from Enabled to Disabl
ing
E/vold ( 71): Unable to lookup media '/devices/platform/msm_sdcc.1/mmc_host
/mmc0/mmc0:0001'
E/vold ( 71): Error processing uevent msg (Unknown error: 0)
D/SettingsWifiEnabler( 301): Received wifi state changed from Disabling to Disa
bled
I noticed that the Wrong_key messages also appear in all of my logs but I didn't paste the initial section of the log in my original post. I am posting it in the post below and adding that information to my original thread.
2. Both in the wpa_suppliacnt.conf that you provided, and this one:
network={
ssid="Villanova"
key_mgmt=IEEE8021X
eap=PEAP
phase2="auth=MSCHAPV2"
identity="user name"
password="password"
ca_cert="/etc/cert/ca.pem"
}
Click to expand...
Click to collapse
I tried connecting, one at a time, with both "auth=MSCHAP" and "MSCHAP2". But I got the same log as posted in the original thread. An interesting observation is that the Donut GUI puts in MSCHAP2 whereas the wpa_supplicant documentation says one should put MSCHAPv2. I am guessing these are aliases and don't make much of a difference as I tried both of them.
Initial part of logcat
Here is the inital part of the log
Code:
D/SettingsWifiEnabler( 301): Received wifi state changed from Disabled to Enabl
ing
D/WifiService( 91): ACTION_BATTERY_CHANGED pluggedType: 2
E/wpa_supplicant( 502): Set_key: Wrong Key
E/wpa_supplicant( 502): Set_key: Wrong Key
E/wpa_supplicant( 502): Set_key: Wrong Key
E/wpa_supplicant( 502): Set_key: Wrong Key
V/WifiStateTracker( 91): Connection to supplicant established, state=DISCONNEC
TED
E/wpa_supplicant( 502): prepare_filter_struct: type=0
E/wpa_supplicant( 502): prepare_filter_struct: type=1
E/wpa_supplicant( 502): prepare_filter_struct: type=3
I/wpa_supplicant( 502): CTRL-EVENT-STATE-CHANGE id=-1 state=2
I/wpa_supplicant( 502): CTRL-EVENT-SCAN-RESULTS Ready
V/WifiMonitor( 91): Event [CTRL-EVENT-STATE-CHANGE id=-1 state=2]
V/WifiStateTracker( 91): Changing supplicant state: DISCONNECTED ==> SCANNING
W/wpa_supplicant( 502): Failed to initiate AP scan.
I/wpa_supplicant( 502): CTRL-EVENT-SCAN-RESULTS Ready
I/wpa_supplicant( 502): Trying to associate with 06:01:0e:e9:fc:ad (SSID='Villa
nova' freq=2412 MHz)
I/wpa_supplicant( 502): CTRL-EVENT-STATE-CHANGE id=-1 state=3
V/WifiMonitor( 91): Event [Trying to associate with 06:01:0e:e9:fc:ad (SSID='V
illanova' freq=2412 MHz)]
V/WifiMonitor( 91): Event [CTRL-EVENT-STATE-CHANGE id=-1 state=3]
V/WifiStateTracker( 91): Changing supplicant state: SCANNING ==> ASSOCIATING
W/wpa_supplicant( 502): Failed to initiate AP scan.
clueless_user said:
However setting up Ubuntu and Iphone was a piece of cake.
Click to expand...
Click to collapse
This is why I said that, perhaps the Android OS doesnt know how to use this network. I havent taken a networking class in 10 years, but I wouldnt be surprised if it didnt work.
bubonik said:
This is why I said that, perhaps the Android OS doesnt know how to use this network. I havent taken a networking class in 10 years, but I wouldnt be surprised if it didnt work.
Click to expand...
Click to collapse
People have got it to work.
How about just spoofing the MAC address?
Use your computer, change it's MAC address to the G1. Register and swap it back.
Wii60 said:
How about just spoofing the MAC address?
Use your computer, change it's MAC address to the G1. Register and swap it back.
Click to expand...
Click to collapse
That is a pretty good idea but you see without any kind of spoofing Ubuntu and ipod touch were able to connect to the network and I am sure there is no MAC filtering going on.
In any case I followed both the methods outlined here (http://www.nthelp.com/NT6/change_mac_w2k.htm) to change the mac of my windows xp machine to my android phone's. I followed the instructions to the tee and still when I executed 'ipconfig /all' the mac address of my wireless card didn't change. I also tried using a couple of utilities but none of them were able to successfully change the mac of my wifi card (I can change the mac of my LAN just fine).
Still, following both the methods to change the mac, I changed the mac of my PC (not sure whether it was actually changed) connected to the wifi, disabled wifi on my PC and immediately tried connecting with the G1.
No success, got the same log posted in the original thread.
Alright, well, I'm by far no techie to this stuff, I've used linux a few times, my G1 is modded to the max, so I understand a little bit, but I think you guys are making this WAY more difficult than it really is.
Just try making the simplest changes first, then work your way up.
Maybe try setting the regulatory domain to 14? Or just trying each different type of authentication, etc. etc. ( Assuming you haven't done this in pure frustration already )
Idk, I usually seem to get random stuff to work just by fiddling around enough. Hell, I got my G1 rooted and my sd card to 3 partitions, that's a big accomplishment for me
I wish you luck buddy ( you could always just google a way to set up your pc/linux/mac computer to broadcast your own wifi net off the school's one you have on it ) <-- I think that's a pretty good idea, personally, I did that once with a Nintendo DS USB wifi adapter.
Of course, that would defeat the purpose of it being a mobile phone, if you were contained to just your dorm/room/whatever
Just throwin' idea around tryin to help ;D
((You know, people have gotten debian installed on their G1, so if it was easy on ubuntu, then.... Haha ;P ))
Exodeity said:
Just try making the simplest changes first, then work your way up.
Click to expand...
Click to collapse
That is where I started.
Maybe try setting the regulatory domain to 14?
Click to expand...
Click to collapse
Could you please expand on how that would work?
Of course, that would defeat the purpose of it being a mobile phone, if you were contained to just your dorm/room/whatever
Click to expand...
Click to collapse
Yes, that is the point.
Thanks for your input.
Exodeity said:
Maybe try setting the regulatory domain to 14?
Click to expand...
Click to collapse
I tried setting the Regulatory domain to 14, 13 and 12. No success. Same log as the one in the original thread.
i know very little myself but you are running a flashed ROM correct?
i use hero ROMs and have difficulty with them sometimes so maybe if you took your phone back to stock it may/may not work
i dont know if that would be an issue(it being a rooted or stock g1)
just trying to help out...
freaktractor said:
i know very little myself but you are running a flashed ROM correct?
i use hero ROMs and have difficulty with them sometimes so maybe if you took your phone back to stock it may/may not work
i dont know if that would be an issue(it being a rooted or stock g1)
just trying to help out...
Click to expand...
Click to collapse
I am on Cyanogen 4.2.2.1.
You need a flashed ROM to edit the wpa_supplicant.conf by hand.
I do understand that you are trying to help out.
The problem can be caused by storing the Key in any place other than the 1st slot. Also, you can try using "Wifi Helper" on the market. It edits the wpa_supplicant.conf and gives you more options
flybyme said:
The problem can be caused by storing the Key in any place other than the 1st slot. Also, you can try using "Wifi Helper" on the market. It edits the wpa_supplicant.conf and gives you more options
Click to expand...
Click to collapse
What do you mean by Key in the 1st slot? Please explain.
I have tried Wifi Helper Pro without any success.
clueless_user said:
What do you mean by Key in the 1st slot? Please explain.
I have tried Wifi Helper Pro without any success.
Click to expand...
Click to collapse
usually WEP has 4 key slots where a key is entered. by default, it is placed in the first one and the others are left blank. if they arent blank, its entirely possible that the key is being used in another slot. if the 1st one is left blank, the g1 can't connect (at least in my experience) because you cant manually set what slot you have the key to.
if you can connect your pc/laptop to the network without selecting the other slots, then the key is valid for the first slot. I just read that you have 801.11x so this should be a problem.
I do not know if the wpa_supplicant works for WEP
you could, however, try and flash a hero/rogers rom. ive found it has better internet connectivity for me. less hassle
flybyme said:
usually WEP has 4 key slots where a key is entered. by default, it is placed in the first one and the others are left blank. if they arent blank, its entirely possible that the key is being used in another slot. if the 1st one is left blank, the g1 can't connect (at least in my experience) because you cant manually set what slot you have the key to.
if you can connect your pc/laptop to the network without selecting the other slots, then the key is valid for the first slot. I just read that you have 801.11x so this should be a problem.
I do not know if the wpa_supplicant works for WEP
you could, however, try and flash a hero/rogers rom. ive found it has better internet connectivity for me. less hassle
Click to expand...
Click to collapse
Cyanogen 4.2.1 incorporates Donut so I am guessing the wireless features are comparable now.
I am sorry, I still don't understand what are the slots you are talking about. How do I make a key fit a particular slot (if that makes any sense)? You should remember that I am not manually entering any key as this is a 802.1x network.
Issue resolved, I needed to add the following exact lines to my wpa_supplicant.conf
group=WEP104 WEP40
auth_alg=OPEN SHARED
WEP104 and OPEN, WEP 104 and SHARED, WEP40 and OPEN, WEP40 and SHARED none of those combinations will work. I needed the exact same lines!
Thank you members for your support. I hope this information will be useful to someone.
Running the 2nd release of the customized v4 honeycomb release, with reformatted EXT file system. The first release worked fine on my corporate network, but I'm having issues getting this one to connect.
Anyone else having issues with the wifi in this version? I'm attempting to connect to a WEP 802.11x network, using TTLS & PAP. Tried hand editing the wpa_supplicant.conf file in /data/misc/wifi, and it looks fine - yet under Wifi general setttings in Honeycomb it always shows "connecting..." and can't log on.
Try rebooting your router..
EDIT: router, sorry.
Sent from my HTC Desire using XDA App
Not sure what you mean when you say "rooter". I've rebooted the Nook a few times to no avail. If by rooter you mean the router here at work, I unfortunately don't have access to that. I work in a large 1500+ employee building.
Offhand, there shouldn't be a difference in wifi capability between v1 and v2
edit: some Logcat output
D/WifiStateMachine( 900): setDetailed state, old =CONNECTING and new state=DISCONNECTED
I/wpa_supplicant( 1767): CTRL-EVENT-STATE-CHANGE id=0 state=2
V/WifiMonitor( 900): Event [CTRL-EVENT-STATE-CHANGE id=0 state=2]
D/WifiStateMachine( 900): setDetailed state, old =DISCONNECTED and new state=SCANNING
I/wpa_supplicant( 1767): CTRL-EVENT-SCAN-RESULTS Ready
I/wpa_supplicant( 1767): Trying to associate with 00:19:07:c6:f3:e0 (SSID='cuda160' freq=2437 MHz)
V/WifiMonitor( 900): Event [Trying to associate with 00:19:07:c6:f3:e0 (SSID='cuda160' freq=2437 MHz)]
I/wpa_supplicant( 1767): CTRL-EVENT-STATE-CHANGE id=0 state=3
V/WifiMonitor( 900): Event [CTRL-EVENT-STATE-CHANGE id=0 state=3]
D/WifiStateMachine( 900): setDetailed state, old =SCANNING and new state=CONNECTING
I/wpa_supplicant( 1767): Authentication with 00:19:07:c6:f3:e0 timed out.
I/wpa_supplicant( 1767): CTRL-EVENT-STATE-CHANGE id=0 state=0
I/wpa_supplicant( 1767): CTRL-EVENT-STATE-CHANGE id=-1 state=2
V/WifiMonitor( 900): Event [Authentication with 00:19:07:c6:f3:e0 timed out.]
V/WifiMonitor( 900): Event [CTRL-EVENT-STATE-CHANGE id=0 state=0]
D/WifiStateMachine( 900): setDetailed state, old =CONNECTING and new state=DISCONNECTED
V/WifiMonitor( 900): Event [CTRL-EVENT-STATE-CHANGE id=-1 state=2]
D/WifiStateMachine( 900): setDetailed state, old =DISCONNECTED and new state=SCANNING
I flashed it, but only used it for a couple minutes. Wifi was working, even in adhoc mode. But many apps I want to use don't work (they do in v1), so I switched back to v1.
HI, I rooted my Galaxy S phone (GT-I9000T running I9000TUBJP9) following [30.03.2012][CF-Root 4.4] J-P/S/Q-*,JV-1KBHIOPQRSTAUV,JVU,JW4 - su+bb+2e/CWM-rfs+ext4. I used both CF-Root-JP6-v1.2-Busybox-1.15.3.zip and CF-Root-JPM-v1.2-Busybox-1.15.3.zip images.
The end results are that everything works fine, except for secure wifi link. It CAN connect to NON-secure wifi links. But doesn't work for secure wifi. I tried to connect to 2 different secure wifi connections, one at work and one at home. Both failed.
From logcat, I saw the following error:
Code:
I/wpa_supplicant( 3036): Trying to associate with a0:cf:5b:fa:be:20 (SSID='XXXXXX' freq=2462 MHz)^M^M
I/WifiMonitor(19062): Event [ SCAN-RESULTS ]^M^M
E/wpa_supplicant( 3036): pmksa_cache_set_current enter ^M^M
I/wpa_supplicant( 3036): CTRL-EVENT-STATE-CHANGE id=-1 state=3 BSSID=a0:cf:5b:fa:be:20^M^M
D/BatteryService(19062): update start^M^M
D/BatteryService(19062): updateBattery level:94 scale:100 status:2 health:2 present:true voltage: 4180 temperature: 390 technology: Li-ion AC powered:false USB powered:true icon:17302171^M^M
I/StatusBarPolicy(19062): BAT. status:2 health:2^M^M
D/WifiService(19062): ACTION_BATTERY_CHANGED pluggedType: 2^M^M
I/WifiMonitor(19062): Event [Trying to associate with a0:cf:5b:fa:be:20 (SSID='XXXXX' freq=2462 MHz)]^M^M
I/WifiMonitor(19062): Event [CTRL-EVENT-STATE-CHANGE id=-1 state=3 BSSID=a0:cf:5b:fa:be:20]^M^M
E/wpa_supplicant( 3036): Ongoing Scan action...^M^M
V/WifiStateTracker(19062): Changing supplicant state: SCANNING ==> ASSOCIATING^M^M
D/NetworkStateTracker(19062): setDetailed state, old =SCANNING and new state=CONNECTING^M^M
D/ConnectivityService(19062): ConnectivityChange for WIFI: CONNECTING/CONNECTING^M^M
I/UNA ( 2449): SUPPLICANT_CONNECTION_CHANGE : CONNECTING^M^M
D/WifiSettings( 2657): updateAccessPoints(), WifiConfigureation list updated^M^M
D/WifiSettings( 2657): updateAccessPoints(), ScanResult list updated^M^M
I/wpa_supplicant( 3036): CTRL-EVENT-STATE-CHANGE id=15 state=4 BSSID=a0:cf:5b:fa:be:20^M^M
I/WifiMonitor(19062): Event [CTRL-EVENT-STATE-CHANGE id=15 state=4 BSSID=a0:cf:5b:fa:be:20]^M^M
V/WifiStateTracker(19062): Changing supplicant state: ASSOCIATING ==> ASSOCIATED^M^M
D/NetworkStateTracker(19062): setDetailed state, old =CONNECTING and new state=CONNECTING^M^M
I/wpa_supplicant( 3036): Associated with a0:cf:5b:fa:be:20^M^M
I/WifiMonitor(19062): Event [Associated with a0:cf:5b:fa:be:20]^M^M
I/wpa_supplicant( 3036): CTRL-EVENT-EAP-STARTED EAP authentication started^M^M
I/wpa_supplicant( 3036): [eap_sm_buildIdentity] identity : MyDomain\mylogin ^M^M
I/WifiMonitor(19062): Event [CTRL-EVENT-EAP-STARTED EAP authentication started]^M^M
I/wpa_supplicant( 3036): CTRL-EVENT-EAP-STARTED EAP authentication started^M^M
I/wpa_supplicant( 3036): [eap_sm_buildIdentity] identity : MyDomain\mylogin ^M^M
I/WifiMonitor(19062): Event [CTRL-EVENT-EAP-STARTED EAP authentication started]^M^M
I/wpa_supplicant( 3036): CTRL-EVENT-EAP-METHOD EAP vendor 0 method 25 (PEAP) selected^M^M
I/WifiMonitor(19062): Event [CTRL-EVENT-EAP-METHOD EAP vendor 0 method 25 (PEAP) selected]^M^M
I/wpa_supplicant( 3036): [eap_sm_buildIdentity] identity : MyDomain\mylogin ^M^M
D/dalvikvm( 2289): GC_FOR_MALLOC freed 8593 objects / 526640 bytes in 396ms^M^M
D/WifiSettings( 2657): updateConnectionState state(CONNECTING) hasError (false)^M^M
D/WifiSettings( 2657): updateConnectionState state(CONNECTING) hasError (false)^M^M
D/WifiSettings( 2657): updateConnectionState state(null) hasError (false)^M^M
I/wpa_supplicant( 3036): CTRL-EVENT-EAP-SUCCESS EAP authentication completed successfully^M^M
I/WifiMonitor(19062): Event [CTRL-EVENT-EAP-SUCCESS EAP authentication completed successfully]^M^M
I/wpa_supplicant( 3036): CTRL-EVENT-STATE-CHANGE id=15 state=5 BSSID=00:00:00:00:00:00^M^M
I/WifiMonitor(19062): Event [CTRL-EVENT-STATE-CHANGE id=15 state=5 BSSID=00:00:00:00:00:00]^M^M
V/WifiStateTracker(19062): Changing supplicant state: ASSOCIATED ==> FOUR_WAY_HANDSHAKE^M^M
D/NetworkStateTracker(19062): setDetailed state, old =CONNECTING and new state=AUTHENTICATING^M^M
D/ConnectivityService(19062): Dropping ConnectivityChange for WIFI: CONNECTING/AUTHENTICATING^M^M
[COLOR="Red"]W/wpa_supplicant( 3036): WPA: No wpa_ie set - cannot generate msg 2/4[/COLOR]^M^M
I/wpa_supplicant( 3036): CTRL-EVENT-STATE-CHANGE id=15 state=0 BSSID=00:00:00:00:00:00^M^M
I/WifiMonitor(19062): Event [CTRL-EVENT-STATE-CHANGE id=15 state=0 BSSID=00:00:00:00:00:00]^M^M
V/WifiStateTracker(19062): Changing supplicant state: FOUR_WAY_HANDSHAKE ==> DISCONNECTED^M^M
I/wpa_supplicant( 3036): CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys^M^M
I/WifiMonitor(19062): Event [CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys]^M^M
V/WifiStateTracker(19062): New network state is DISCONNECTED^M^M
Could someone tell me what to do next?
Thanks a lot in advance!
i think i got same problem
matthias1203 said:
i think i got same problem
Click to expand...
Click to collapse
What did you do after you had the problem? Did you flash it back to the stock image?
Yes but it was warking for two days and than again the same problem. I will try to flash one more time to stock rom and i will report when results.
Sent from my GT-I9001 using xda premium
which ROM did you use?
I used the latest Gingerbread image following this link:
http://forum.xda-developers.com/showthread.php?t=1837086&highlight=i9000t
So far no problem.
Hm again.
After a flash via odin stock rom. 2.3.5 croatia
I again got same problem.
At my home wifi everything ok. But in bar where i work when i go out of range and then come back it won't connect.
My friend got same phone and same rom but his phone always can connect.
On my It shows 'connecting...' and after 'disconect'.
Sent from my GT-I9001 using xda premium
I can't get MMS to work. I'm on T-Mobile US.
Below is the relevant section from logcat, looks like lots of firewall/routing errors?
I've tried stock messageing, goSMS, 8sms, and Hangouts and all exhibit this same set of errors in the log.
Any thoughts?
Code:
D/MobileDataStateTracker( 439): mms: Broadcast received: android.intent.action.ANY_DATA_STATE apnType=mms
D/MobileDataStateTracker( 439): mms: Received state=CONNECTED, old=CONNECTING, reason=dataEnabled
D/MobileDataStateTracker( 439): mms: setDetailed state, old =CONNECTING and new state=CONNECTED
D/ConnectivityService( 439): ConnectivityChange for mobile_mms: CONNECTED/CONNECTED
E/ConnectivityService( 439): Exception trying to add a route: java.lang.IllegalStateException: command '2304 interface fwmark exempt add 30.1.12.137/32' failed with '400 2304 Failed to add exemption rule (No such device)'
E/ConnectivityService( 439): Exception trying to add a route: java.lang.IllegalStateException: command '2306 interface fwmark exempt add 10.177.0.34/32' failed with '400 2306 Failed to add exemption rule (No such device)'
E/ConnectivityService( 439): Exception trying to add a route: java.lang.IllegalStateException: command '2308 interface fwmark exempt add 30.1.12.137/32' failed with '400 2308 Failed to add exemption rule (File exists)'
E/ConnectivityService( 439): Exception trying to add a route: java.lang.IllegalStateException: command '2310 interface fwmark exempt add 10.168.189.116/32' failed with '400 2310 Failed to add exemption rule (File exists)'
E/SecondaryTablController( 118): ip route add failed: /system/bin/ip route add 30.1.12.137/32 via 0.0.0.0 dev rmnet0 table 60
W/FrameworkListener( 118): Handler 'interface' error (No such device)
E/ConnectivityService( 439): Exception trying to add a route: java.lang.IllegalStateException: command '2311 interface route add rmnet0 secondary 30.1.12.137 32 0.0.0.0' failed with '400 2311 ip route modification failed (No such device)'
E/SecondaryTablController( 118): ip route add failed: /system/bin/ip route add 0.0.0.0/0 via 30.1.12.137 dev rmnet0 table 60
W/FrameworkListener( 118): Handler 'interface' error (No such device)
E/ConnectivityService( 439): Exception trying to add a route: java.lang.IllegalStateException: command '2312 interface route add rmnet0 secondary 0.0.0.0 0 30.1.12.137' failed with '400 2312 ip route modification failed (No such device)'
D/Nat464Xlat( 439): requiresClat: netType=2, hasIPv4Address=true
D/MobileDataStateTracker( 439): default: setPolicyDataEnable(enabled=true)
W/NetworkPolicy( 439): shared quota unsupported; generating rule for each iface
E/NetdConnector( 439): NDC Command {2315 bandwidth setiquota rmnet0 9223372036854775807} took too long (780ms)
D/MobileDataStateTracker( 439): default: Broadcast received: android.intent.action.ANY_DATA_STATE apnType=default
D/MobileDataStateTracker( 439): default: Received state=CONNECTED, old=CONNECTED, reason=(unspecified)
D/MobileDataStateTracker( 439): mms: Broadcast received: android.intent.action.ANY_DATA_STATE apnType=mms
D/MobileDataStateTracker( 439): mms: Received state=CONNECTED, old=CONNECTED, reason=(unspecified)
E/NetdConnector( 439): NDC Command {2317 bandwidth setiquota rmnet0 9223372036854775807} took too long (628ms)
D/MobileDataStateTracker( 439): default: setPolicyDataEnable(enabled=true)
D/Tethering( 439): MasterInitialState.processMessage what=3
D/CaptivePortalTracker( 439): NoActiveNetworkState{ when=-3ms what=1 obj=NetworkInfo: type: mobile_mms[HSDPA], state: CONNECTED/CONNECTED, reason: dataEnabled, extra: fast.t-mobile.com, roaming: false, failover: false, isAvailable: true, isConnectedToProvisioningNetwork: false target=com.android.internal.util.StateMachine$SmHandler }
D/CaptivePortalTracker( 439): NoActiveNetworkState not a wifi connectivity change, ignore
I/Babel ( 4675): TransactionSettings: loaded from system
E/ConnectivityService( 439): Exception trying to add a route: java.lang.IllegalStateException: command '2320 interface fwmark exempt add 30.1.12.137/32' failed with '400 2320 Failed to add exemption rule (File exists)'
E/ConnectivityService( 439): Exception trying to add a route: java.lang.IllegalStateException: command '2322 interface fwmark exempt add 10.176.75.129/32' failed with '400 2322 Failed to add exemption rule (File exists)'
D/ConnectivityService( 439): requestRouteToHostAddress ok=false
D/ConnectivityService( 439): stopUsingNetworkFeature: teardown net 0: enableMMS
D/MobileDataStateTracker( 439): mms: Broadcast received: android.intent.action.ANY_DATA_STATE apnType=mms
D/MobileDataStateTracker( 439): mms: Received state=DISCONNECTED, old=CONNECTED, reason=dataDisabled
D/MobileDataStateTracker( 439): mms: setDetailed state, old =CONNECTED and new state=DISCONNECTED
D/ConnectivityService( 439): ConnectivityChange for mobile_mms: DISCONNECTED/DISCONNECTED
E/Babel_RequestWriter( 4675): SendMmsRequest: failed to send message com.google.android.apps.babel.sms.MmsTemporaryFailureException: Cannot establish route to mms.msg.eng.t-mobile.com/10.176.75.129 for http://mms.msg.eng.t-mobile.com/mms/wapenc
E/Babel_RequestWriter( 4675): com.google.android.apps.babel.sms.MmsTemporaryFailureException: Cannot establish route to mms.msg.eng.t-mobile.com/10.176.75.129 for http://mms.msg.eng.t-mobile.com/mms/wapenc
Thanks!
I haven't done the logcat to see my specific error, but I have had the same issue with the MMS not working on the same ROM. Hope this gets fixed soon!
metheos said:
I can't get MMS to work. I'm on T-Mobile US.
Below is the relevant section from logcat, looks like lots of firewall/routing errors?
I've tried stock messageing, goSMS, 8sms, and Hangouts and all exhibit this same set of errors in the log.
Any thoughts?
Code:
D/MobileDataStateTracker( 439): mms: Broadcast received: android.intent.action.ANY_DATA_STATE apnType=mms
D/MobileDataStateTracker( 439): mms: Received state=CONNECTED, old=CONNECTING, reason=dataEnabled
D/MobileDataStateTracker( 439): mms: setDetailed state, old =CONNECTING and new state=CONNECTED
D/ConnectivityService( 439): ConnectivityChange for mobile_mms: CONNECTED/CONNECTED
E/ConnectivityService( 439): Exception trying to add a route: java.lang.IllegalStateException: command '2304 interface fwmark exempt add 30.1.12.137/32' failed with '400 2304 Failed to add exemption rule (No such device)'
E/ConnectivityService( 439): Exception trying to add a route: java.lang.IllegalStateException: command '2306 interface fwmark exempt add 10.177.0.34/32' failed with '400 2306 Failed to add exemption rule (No such device)'
E/ConnectivityService( 439): Exception trying to add a route: java.lang.IllegalStateException: command '2308 interface fwmark exempt add 30.1.12.137/32' failed with '400 2308 Failed to add exemption rule (File exists)'
E/ConnectivityService( 439): Exception trying to add a route: java.lang.IllegalStateException: command '2310 interface fwmark exempt add 10.168.189.116/32' failed with '400 2310 Failed to add exemption rule (File exists)'
E/SecondaryTablController( 118): ip route add failed: /system/bin/ip route add 30.1.12.137/32 via 0.0.0.0 dev rmnet0 table 60
W/FrameworkListener( 118): Handler 'interface' error (No such device)
E/ConnectivityService( 439): Exception trying to add a route: java.lang.IllegalStateException: command '2311 interface route add rmnet0 secondary 30.1.12.137 32 0.0.0.0' failed with '400 2311 ip route modification failed (No such device)'
E/SecondaryTablController( 118): ip route add failed: /system/bin/ip route add 0.0.0.0/0 via 30.1.12.137 dev rmnet0 table 60
W/FrameworkListener( 118): Handler 'interface' error (No such device)
E/ConnectivityService( 439): Exception trying to add a route: java.lang.IllegalStateException: command '2312 interface route add rmnet0 secondary 0.0.0.0 0 30.1.12.137' failed with '400 2312 ip route modification failed (No such device)'
D/Nat464Xlat( 439): requiresClat: netType=2, hasIPv4Address=true
D/MobileDataStateTracker( 439): default: setPolicyDataEnable(enabled=true)
W/NetworkPolicy( 439): shared quota unsupported; generating rule for each iface
E/NetdConnector( 439): NDC Command {2315 bandwidth setiquota rmnet0 9223372036854775807} took too long (780ms)
D/MobileDataStateTracker( 439): default: Broadcast received: android.intent.action.ANY_DATA_STATE apnType=default
D/MobileDataStateTracker( 439): default: Received state=CONNECTED, old=CONNECTED, reason=(unspecified)
D/MobileDataStateTracker( 439): mms: Broadcast received: android.intent.action.ANY_DATA_STATE apnType=mms
D/MobileDataStateTracker( 439): mms: Received state=CONNECTED, old=CONNECTED, reason=(unspecified)
E/NetdConnector( 439): NDC Command {2317 bandwidth setiquota rmnet0 9223372036854775807} took too long (628ms)
D/MobileDataStateTracker( 439): default: setPolicyDataEnable(enabled=true)
D/Tethering( 439): MasterInitialState.processMessage what=3
D/CaptivePortalTracker( 439): NoActiveNetworkState{ when=-3ms what=1 obj=NetworkInfo: type: mobile_mms[HSDPA], state: CONNECTED/CONNECTED, reason: dataEnabled, extra: fast.t-mobile.com, roaming: false, failover: false, isAvailable: true, isConnectedToProvisioningNetwork: false target=com.android.internal.util.StateMachine$SmHandler }
D/CaptivePortalTracker( 439): NoActiveNetworkState not a wifi connectivity change, ignore
I/Babel ( 4675): TransactionSettings: loaded from system
E/ConnectivityService( 439): Exception trying to add a route: java.lang.IllegalStateException: command '2320 interface fwmark exempt add 30.1.12.137/32' failed with '400 2320 Failed to add exemption rule (File exists)'
E/ConnectivityService( 439): Exception trying to add a route: java.lang.IllegalStateException: command '2322 interface fwmark exempt add 10.176.75.129/32' failed with '400 2322 Failed to add exemption rule (File exists)'
D/ConnectivityService( 439): requestRouteToHostAddress ok=false
D/ConnectivityService( 439): stopUsingNetworkFeature: teardown net 0: enableMMS
D/MobileDataStateTracker( 439): mms: Broadcast received: android.intent.action.ANY_DATA_STATE apnType=mms
D/MobileDataStateTracker( 439): mms: Received state=DISCONNECTED, old=CONNECTED, reason=dataDisabled
D/MobileDataStateTracker( 439): mms: setDetailed state, old =CONNECTED and new state=DISCONNECTED
D/ConnectivityService( 439): ConnectivityChange for mobile_mms: DISCONNECTED/DISCONNECTED
E/Babel_RequestWriter( 4675): SendMmsRequest: failed to send message com.google.android.apps.babel.sms.MmsTemporaryFailureException: Cannot establish route to mms.msg.eng.t-mobile.com/10.176.75.129 for http://mms.msg.eng.t-mobile.com/mms/wapenc
E/Babel_RequestWriter( 4675): com.google.android.apps.babel.sms.MmsTemporaryFailureException: Cannot establish route to mms.msg.eng.t-mobile.com/10.176.75.129 for http://mms.msg.eng.t-mobile.com/mms/wapenc
Thanks!
Click to expand...
Click to collapse
Found this same bug on my device. It has probably already been fixed by upstream, but if it hasn't heres a quick fix:
load up adb
su
mount -o rw,remount /system
rm /system/bin/ip
ln -s /system/xbin/ip /system/bin/ip
wesgarner said:
Found this same bug on my device. It has probably already been fixed by upstream, but if it hasn't heres a quick fix:
load up adb
su
mount -o rw,remount /system
rm /system/bin/ip
ln -s /system/xbin/ip /system/bin/ip
Click to expand...
Click to collapse
Thanks for the suggestion, but it doesn't appear to have made any difference at all.
metheos said:
Thanks for the suggestion, but it doesn't appear to have made any difference at all.
Click to expand...
Click to collapse
It didn't work for me either
wesgarner said:
Found this same bug on my device. It has probably already been fixed by upstream, but if it hasn't heres a quick fix:
load up adb
su
mount -o rw,remount /system
rm /system/bin/ip
ln -s /system/xbin/ip /system/bin/ip
Click to expand...
Click to collapse
Worked on HTC doubleshoot / MT4GS with KitKatDS - Android 4.4 (CM 11.0) from: http://forum.xda-developers.com/showthread.php?t=2551715
I wasn't able to send/receive MMS so I started digging and found similar errors in adb logcat which led me here.
Thanks!
Hello everyone. First of all, I have tried this on different roms with the same result. I've done a lot of research, but I'm getting a little desperate. Here's my story so far:
Stock Moto X with Android 5.1: (don't remember the specific build number or kernel but it was up to date)
It started about two to three weeks ago. IIRC, there was a security patch update a week prior. hmm....
Wifi would disconnect once every few days. On reconnect it would fail and just show "Saved". Toggling the wifi sometimes worked. Sometimes I tried airplane mode etc. Then it started disconnecting once a day or so. I started trying a few things:
Rebooting the phone sometimes made it work for the rest of the day. Most threads I found ask you to forget the wifi, reconnect, switch to 2.4GHz band etc. I tried them all. I changed the security on my router. I tried other networks with no security. At this point I'm pretty sure it's the phone.
Rebooting didn't really seem to help all that much. Now it's disconnecting many times a day.
I didn't want to wipe my phone just yet, so I cleared the cache. No luck.
I'm a little concerned some app might be causing problems, so I factory reset the phone. Wifi worked for about a day or so. Then back to the same routine... :-/
I even did it again. This time without installing all my apps right away. Just the Google apps and one music app. Same thing. Worked for maybe a day.
At this point it refuses to connect to any network. Tries three times, then fails.
Eventually, I said the hell with it and unlocked the bootloader, installed TWRP and successfully installed CyanogenMod 12. A big thank you to dray_jr for putting everything I needed in one place. I've always wanted to try it. It's very nice btw.
CyanogenMod 12.1 cm-12.1-20160127-SNAPSHOT-YOG7DAO3J1-ghost.zip:
Guess what? Same crap. It won't connect to any wifi at all.
CyanogenMod 11 cm-11-20141115-SNAPSHOT-M12-ghost.zip
Since it was so easy to install, I decided to just go to CyanogenMod 11. Issue still persists.
While on CM11 last night I did some snooping with the debugger:
Code:
06-05 23:38:46.849 5484-5484/? I/wpa_supplicant: wlan0: CTRL-EVENT-ASSOC-REJECT bssid=c0:3f:0e:ef:ba:02 status_code=1
06-05 23:38:47.805 5484-5484/? I/wpa_supplicant: wlan0: Trying to associate with SSID 'GLaDOS'
06-05 23:38:48.273 5484-5484/? I/wpa_supplicant: wlan0: CTRL-EVENT-ASSOC-REJECT status_code=1
06-05 23:38:49.735 5484-5484/? I/wpa_supplicant: wlan0: Trying to associate with SSID 'GLaDOS'
06-05 23:38:49.887 754-767/system_process I/art: Background sticky concurrent mark sweep GC freed 116030(6MB) AllocSpace objects, 19(472KB) LOS objects, 25% free, 19MB/26MB, paused 1.831ms total 120.524ms
06-05 23:38:50.949 5484-5484/? I/wpa_supplicant: wlan0: CTRL-EVENT-ASSOC-REJECT bssid=c0:3f:0e:ef:ba:02 status_code=1
06-05 23:38:52.446 5484-5484/? I/wpa_supplicant: wlan0: Trying to associate with SSID 'GLaDOS'
06-05 23:38:53.606 5484-5484/? I/wpa_supplicant: wlan0: CTRL-EVENT-ASSOC-REJECT bssid=c0:3f:0e:ef:ba:02 status_code=1
06-05 23:38:53.607 5484-5484/? I/wpa_supplicant: wlan0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="GLaDOS" auth_failures=1 duration=10 reason=CONN_FAILED
06-05 23:38:53.609 754-1164/system_process E/WifiStateMachine: ConnectModeState SSID state=temp-disabled nid=0 [id=0 ssid="GLaDOS" auth_failures=1 duration=10 reason=CONN_FAILED]
06-05 23:38:53.610 754-1164/system_process E/WifiConfigStore: SSID temp disabled for "GLaDOS"-WPA_PSK had autoJoinStatus=0 self added false ephemeral false
06-05 23:38:53.610 754-1164/system_process E/WifiConfigStore: message=id=0 ssid="GLaDOS" auth_failures=1 duration=10 reason=CONN_FAILED
06-05 23:38:55.072 754-1164/system_process E/WifiStateMachine: WifiStateMachine Disconnected CMD_START_SCAN source -2 25, 26 -> obsolete
06-05 23:38:55.533 754-1164/system_process E/WifiStateMachine: WifiStateMachine shouldSwitchNetwork txSuccessRate=0.00 rxSuccessRate=0.00 delta 1000 -> 1000
06-05 23:38:55.550 754-1164/system_process E/WifiStateMachine: CMD_AUTO_CONNECT sup state ScanState my state DisconnectedState nid=0 roam=3
06-05 23:38:55.550 754-1164/system_process E/WifiConfigStore: saveWifiConfigBSSID Setting BSSID for "GLaDOS"-WPA_PSK to any
06-05 23:38:55.550 754-1164/system_process E/wifi_gbk2utf: g_pItemList is NULL
06-05 23:38:55.552 754-1164/system_process E/WifiStateMachine: CMD_AUTO_CONNECT will save config -> "GLaDOS" nid=0
06-05 23:38:55.552 754-1164/system_process E/wifi_gbk2utf: g_pItemList is NULL
06-05 23:38:55.575 754-1164/system_process E/wifi_gbk2utf: g_pItemList is NULL
06-05 23:38:55.577 754-1164/system_process E/wifi_gbk2utf: g_pItemList is NULL
06-05 23:38:55.578 754-1164/system_process E/wifi_gbk2utf: g_pItemList is NULL
06-05 23:38:55.578 754-1164/system_process E/wifi_gbk2utf: g_pItemList is NULL
06-05 23:38:55.579 754-1164/system_process E/wifi_gbk2utf: g_pItemList is NULL
06-05 23:38:55.580 754-1164/system_process E/wifi_gbk2utf: g_pItemList is NULL
06-05 23:38:55.581 754-1164/system_process E/WifiConfigStore: will read network variables netId=0
06-05 23:38:55.589 754-1164/system_process E/WifiStateMachine: CMD_AUTO_CONNECT did save config -> nid=0
06-05 23:38:55.590 754-1164/system_process E/wifi_gbk2utf: g_pItemList is NULL
06-05 23:38:55.591 754-1164/system_process E/WifiConfigStore: will read network variables netId=0
06-05 23:38:55.596 5484-5484/? I/wpa_supplicant: wlan0: CTRL-EVENT-SSID-REENABLED id=0 ssid="GLaDOS"
06-05 23:38:55.598 5484-5484/? I/wpa_supplicant: wlan0: Trying to associate with SSID 'GLaDOS'
06-05 23:38:55.602 754-1164/system_process E/WifiStateMachine: ConnectModeState SSID state=re-enabled nid=0 [id=0 ssid="GLaDOS"]
06-05 23:38:55.602 754-1164/system_process E/WifiConfigStore: SSID re-enabled for "GLaDOS"-WPA_PSK had autoJoinStatus=0 self added false ephemeral false
06-05 23:38:56.679 5484-5484/? I/wpa_supplicant: wlan0: CTRL-EVENT-ASSOC-REJECT bssid=c0:3f:0e:ef:ba:02 status_code=1
06-05 23:38:56.679 5484-5484/? I/wpa_supplicant: wlan0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="GLaDOS" auth_failures=1 duration=10 reason=CONN_FAILED
06-05 23:38:56.685 754-1164/system_process E/WifiStateMachine: ConnectModeState SSID state=temp-disabled nid=0 [id=0 ssid="GLaDOS" auth_failures=1 duration=10 reason=CONN_FAILED]
06-05 23:38:56.686 754-1164/system_process E/WifiConfigStore: SSID temp disabled for "GLaDOS"-WPA_PSK had autoJoinStatus=0 self added false ephemeral false
06-05 23:38:56.691 754-1164/system_process E/WifiConfigStore: message=id=0 ssid="GLaDOS" auth_failures=1 duration=10 reason=CONN_FAILED
06-05 23:39:07.119 754-1164/system_process E/WifiStateMachine: WifiStateMachine shouldSwitchNetwork txSuccessRate=0.00 rxSuccessRate=0.00 delta 1000 -> 1000
06-05 23:39:07.133 754-1164/system_process E/WifiStateMachine: CMD_AUTO_CONNECT sup state ScanState my state DisconnectedState nid=0 roam=3
06-05 23:39:07.133 754-1164/system_process E/WifiConfigStore: saveWifiConfigBSSID Setting BSSID for "GLaDOS"-WPA_PSK to any
06-05 23:39:07.133 754-1164/system_process E/wifi_gbk2utf: g_pItemList is NULL
06-05 23:39:07.135 754-1164/system_process E/WifiStateMachine: CMD_AUTO_CONNECT will save config -> "GLaDOS" nid=0
06-05 23:39:07.136 754-1164/system_process E/wifi_gbk2utf: g_pItemList is NULL
06-05 23:39:07.158 754-1164/system_process E/wifi_gbk2utf: g_pItemList is NULL
06-05 23:39:07.159 754-1164/system_process E/wifi_gbk2utf: g_pItemList is NULL
06-05 23:39:07.160 754-1164/system_process E/wifi_gbk2utf: g_pItemList is NULL
06-05 23:39:07.161 754-1164/system_process E/wifi_gbk2utf: g_pItemList is NULL
06-05 23:39:07.162 754-1164/system_process E/wifi_gbk2utf: g_pItemList is NULL
06-05 23:39:07.163 754-1164/system_process E/wifi_gbk2utf: g_pItemList is NULL
If anyone has any idea what's going on, I would love to know. For now, I will continue researching.