Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot activate Wifi on hallon (cm-10.2_hallon-LX-20131013-NIGHTLY.zip) #95

Closed
kitabema opened this issue Oct 14, 2013 · 17 comments
Closed

Comments

@kitabema
Copy link

Wifi cannot be activated on current hallon build (button in settings is grayed out). I don't know for sure but if I remember correctly with "cm-10.2_hallon-LX-20131001-NIGHTLY.zip" it started not working (previous CM 10.2 builds had working Wifi but (a lot) other issues).

Last (more or less) fully working build (for my hallon phone) was "cm_hallon-LX-20130925-NIGHTLY.zip" (CM 10.1).

Some logcat output (complete file cannot be attached here...):

--------- beginning of /dev/log/system
...
I/WifiService( 532): WifiService trying to set country code to de with persist set to true
...
--------- beginning of /dev/log/main
D/CommandListener( 226): Trying to bring down wlan0

D/WifiHW ( 532): added/removed p2p interface. add: 1

I/wpa_supplicant( 2146): Successfully initialized wpa_supplicant
...
E/WifiHW ( 532): Supplicant not running, cannot connect
...
E/WifiHW ( 532): Supplicant not running, cannot connect
...
E/WifiHW ( 532): Supplicant not running, cannot connect
E/WifiHW ( 532): Supplicant not running, cannot connect
...
D/CommandListener( 226): Trying to bring down wlan0
D/WifiHW ( 532): added/removed p2p interface. add: 1
...
E/wpa_supplicant( 2182): Could not set interface wlan0 flags: Invalid argument
E/wpa_supplicant( 2182): nl80211: Could not set interface 'wlan0' UP
E/wpa_supplicant( 2182): wlan0: Failed to initialize driver interface

@mikeNG
Copy link
Member

mikeNG commented Oct 14, 2013

Use the kernel from the zip.

@mikeNG mikeNG closed this as completed Oct 14, 2013
@kitabema
Copy link
Author

I did use the (appropriate) kernel from the zip file, I always do. Am I the only one with that problem?

@FibreFoX
Copy link

Did you clean your (dalvik-)cache-partition? I had that kind of problem some time ago ... i forgot to clean the caches after flashing a new version, maybe it helps you too.

@mikeNG
Copy link
Member

mikeNG commented Oct 15, 2013

Every "Cannot activate Wifi" bug is a problem of the user not following the installation steps exactly. I test wifi on every single build before releasing. It always worked since my first builds on March.

@kitabema
Copy link
Author

I'm a software engineer myself and that could be my words to our quality assurance. ;) I did clean up (wipe) caches (including data) and I'm back to "cm_hallon-LX-20130925-NIGHTLY.zip" - wifi working again.

Only problem I can think of is that I save settings on my Google account - including wifi settings. Perhaps that's the problem: restored wifi settings from cm 10.1 on cm 10.2?

@mikeNG
Copy link
Member

mikeNG commented Oct 15, 2013

If you try the latest build again, get a dmesg log too so I can get more info. Usually when wifi is not working there is some problem with the wifi modules not loading

@N2Blue
Copy link

N2Blue commented Oct 15, 2013

Problem solved.
I did lot of thinks to solve it. Factory reset didn't work. I delete adb-bundle and I downloaded it again. I installed the flashtool-driver again. I deleted Google Account Settings.
I took the same boot.img, flashed it again and now Wlan works fine!

Original comment:

Exactly same problem here.
I flashed the right kernel from the zip, had no problems while flashing.
I also wipe data and cache before i installed the zip.
My SD Card was in the beginning complitly empty and i also think the save settings from Google account couldn't be the reason, because it didn't work even before i could login into my Google account.
One Minuat ago, i deleted the settings on my Google account (including Wlan password), wiped cache again and restarted the phone - same problem, the wifi button is grey and does nothing.

I could create a dmesg log, can you say me the command line, wich you need, because i don't know much about dmesg and what you need.

@mikeNG
Copy link
Member

mikeNG commented Oct 15, 2013

@kitabema
Copy link
Author

Though trying "N2Blue"s suggestions unfortunately it does not work for me,
log files are here:

logcat.txt: http://pastebin.com/rqmbuy5Z

last_kmsg.txt: http://pastebin.com/4mtnvrCi

dmesg.txt: http://pastebin.com/XirNVjU9

@mikeNG
Copy link
Member

mikeNG commented Oct 16, 2013

wl12xx: ERROR could not get nvs file ti-connectivity/wl1271-nvs.bin

@kitabema
Copy link
Author

What does that mean? I had installed the latest ICS firmware before trying FreeXperia and
afterwards your builds. My current baseband version is 8x55A-AAABQOAZM-203028G-77.

@mikeNG
Copy link
Member

mikeNG commented Oct 16, 2013

There's something wrong with the calibration file, it's missing. It should be there, it seems that somehow the calibration script isn't getting executed

@kitabema
Copy link
Author

#101 seems to be similar. I did not test without google apps.

@siyman
Copy link

siyman commented Nov 6, 2013

As stated in this comment (#123), I also executed /system/bin/wifical.sh as root and rebooted. Afterwards I could login to my wifi again. I did everything as expected in the installation guidelines and haven't had such problems before.

@adrientetar
Copy link

I confirm this and has the same problem as @siyman. Still occasional dropouts after flashing but they're sparse and short compared to e.g original CM10 kernel. Maybe fixed with latest wifi changes? Not reflashing for now personally.

@kitabema
Copy link
Author

With MT11i (Neo V) ftf flashed on my Neo (MT 15i) - not so easy to accomplish with Windows 8.1 (not working at all) and Fedora 19 (a bit tinkering with flashtool start script and libusb necessary) - Wifi is working fine again.

Therefore this issue can be closed in my opinion.

@mikeNG
Copy link
Member

mikeNG commented Nov 13, 2013

ok

@mikeNG mikeNG closed this as completed Nov 13, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants