Android OS Forum banner
1 - 5 of 5 Posts

· Registered
Joined
·
2 Posts
Discussion Starter · #1 ·
no matter what i did (maybe downloaded up to 5 different ICS ROM , 3Kernels , all the radios, whit every possible combination of them)
i couldn't turn wifi on, though it was mentioned in forums the problem is fixed in new roms
so...

extract the file "wpa_supplicant" located on /system/bin from 'a rom with working wifi, i.e cm7 alpha 10
install your new rom , backup the old file (as it is needed) and replace it with extracted wpa_supplicant , set it's permission to 0755 ( -rwxr-xr-x )
reboot, remove wpa_supplicant.conf again, try to connect, it wont
recover the old wpa_supplicant file with the same permissions
reboot
remove wpa_supplicant.conf again, try to connect, it connects
in next reboot if it doesn't connect correct the wpa_supplicant.conf permission to 0666 ( -rw-rw-rw- )
it connects

ok it sound crazy, i am crazy, but looking at logcat realized wpa_supplicant (bin file, not conf) was generating a lot of error, thought maybe the old one works, again looking at logcat i realized it was simply worse it couldn't even run, recovered the old one, and corrected wpa_supplicant permissions, it connected like a charm, but after every reboot wpa_supplicant.conf permission returns to 0660, which i don't really mind since it works at least

if anyone has a logical explanation, i'd be very very happy to hear, i'm afraid i might encounter the same problem in official CM9

(i tried it on two roms, virtuous inquisition 4.0.0 and the one by vorbeth(based on CM) both having overclocked kernel by sebastianFM and the method worked)
 

· Registered
Joined
·
2 Posts
I am going to try this now. I haven't had WiFi since OTA update which i thought was weird, I checked my antennae pins, flashed several ROMS, Factory resets, Downgraded back to GB, Changed my Radio/RIL, Upgraded and Downgraded RUUs. Hopefully THIS works! I have no warranty so if it's a hardware issue I'm S.O.L ! Thank you for this post. Will report back!
 

· Registered
Joined
·
2 Posts
Discussion Starter · #4 ·
new method:
i still say, the first method seems totally crazy, unrelated, BUT it worked on virtuous! i dont know why....
now i'm using opensensation, i'm using this method:

create a text file , called wifi.sh
copy this in it:

Code:
<br />
sqlite3 /data/data/com.android.providers.settings/databases/settings.db "INSERT INTO secure (name, value) VALUES ('wifi_country_code', 'EN');"<br />
<br />
now run the file as su like this, in terminal:
Code:
<br />
su<br />
sh wifi.sh<br />
<br />
turn wifi off/on, it's working!
 

· Registered
Joined
·
1 Posts
Hy Im having the same issue as U.
I cant activate wifi. I did everythin and I just find this site.
Could U please explain me a little bit how to create this file and install
Thanks

new method:
i still say, the first method seems totally crazy, unrelated, BUT it worked on virtuous! i dont know why....
now i'm using opensensation, i'm using this method:

create a text file , called wifi.sh
copy this in it:

Code:
<br />
sqlite3 /data/data/com.android.providers.settings/databases/settings.db "INSERT INTO secure (name, value) VALUES ('wifi_country_code', 'EN');"<br />
<br />
now run the file as su like this, in terminal:
Code:
<br />
su<br />
sh wifi.sh<br />
<br />
turn wifi off/on, it's working!
 
1 - 5 of 5 Posts
This is an older thread, you may not receive a response, and could be reviving an old thread. Please consider creating a new thread.
Top