Adhoc connectivity (wpa_supplicant) - Galaxy S II General

adhoc connectivity worked on galaxy s2
this trick found from another thread
you need a rooted phone & root explorer
1. Unzip the file attached here (wpa_supplicant.zip) and send wpa_supplicant to your phone.
2. Using Root Explorer go to the folder were you save it (wpa_supplicant) and copy the file.
3. Using Root Explorer, enter the /system folder and press the Mount W/R button (upper right corner)
4. Now go to /system/bin and backup your current wpa_supplicant, and paste the new one.
5. Set permissions to wpa_supplicant like attached picture, then go back to /system and press Mount R/O (upper right corner, so you leave everything exactly like it was) and reboot. Done. Enjoy AD-HOC!

Thanks for the patch, but before you get banned by some moderator, please remove your first attachment. It's a paid app/ WAREZ.

Root Explorer is paid. Don't post it.

Tested & working on sgs 2! Thx man!

I can see the ah hoc network established from my laptop now.. but when I try to connect, it stays in a state "Obtaining IP address" .. so cannot access internet anyway .. Is there any workaround? Thanks.

Thanks dude
excellent, previously i was using connectify to connect my phone to Laptop but the signal strength was so poor and also after few mins it is used to go down. Now got rid of the problem using this file.
Thanks again

ace117 said:
Tested & working on sgs 2! Thx man!
Click to expand...
Click to collapse
+1 for me too.
P.S. just replaced the original file using Root Explorer.

hi,
the same here that varunmagical with VillainRom 2.4.2.
gs2 is able to find adhoc network but cannot obtain an IP.
very much thanks if you can find a solution...
++

Thanks a lot
it worked for me.

I replaced this file. This step is important:change the WPA to WEP encryption mode on PC. AD-hoc is ok using my SII I9100 mobile.Pls to try it. tks.

still not for me despite the wep ad-hoc network created from the mac.
Set permissions to wpa_supplicant like attached picture, then go back to /system and press Mount R/O (upper right corner, so you leave everything exactly like it was) and reboot. Done. Enjoy AD-HOC!
Click to expand...
Click to collapse
what are the permissions to set?
is it important to switch back to Mount R/W ?
thank you

i have a tablet running android 2.3.3 rooted with superoneclick...i follow the instractions to copy paste the wpa_supplicant using root explorer.but when i open my wifi shows false and my table restarts.what i do wrong...i am lucky that i made copy of the original file

I´m actually able to see network but not to connect to it, any advise??

I take it this is not ICS / CM9 compatible ??

Galaxy S II
CF rooted stock 2.3.6
Working in free and WEP modes.
But there were problems with WinXP configuration.
(In wifi network first have myself to connect to created adhoc network, only then phone sees adhoc network)

Galaxy Note's WIFI VERY unstable after replacing wpa_suppliant.
I wanted to connect my galaxy note to my iPad's Mywi for wifi (ad hoc) connection.
Thus i did the following steps:
- root galaxy note using zergrush
- downloaded xda's replacement wpa_suppliant
- downloaded root explorer
- uploaded the replacement wpa_suppliant file to the phone and replaced the original one at /systems/bin
After this, my phone was able to connect to iPad's Mywi, BUT connection is VERY unstable and gets disconnected every 5-10mins. Also it takes really long to get it connected back, like about 10-15mins for it to try to get connected.
I've tried re-doing the WHOLE of the steps above, INCLUDING re-rooting my phone, but to no avail. My Wifi function was working perfectly fine prior to this.
Can some kind souls out there please advice me if I've done anything wrong in my steps? Or if there's any way to solve this (WITHOUT re-doing it back to the original)? thanks!

Hi! Recently I bought the Galaxy W equipped with GB 2.3.6 and yesterday I installed the latest january's firmware upgrade.
Did anybody try to install the modified wpa_supplicant into that device?
Thank you!
Antonio

Set permissions to wpa_supplicant like attached picture? Which permissions? Can you upload that pic again or just tell us what to mark, owner group others? read write execute? And from special permissions: Set UID, Set GID, Sticky?
By default at my stock wpa_supplicant permissions are set and marked like: Owner=mark at read, write and execute, Group=mark at read and execute,
Others=mark at read and execute. None of special permissions are marked.
Should it be the same for new copied wpa_supplicant or?
Thanks in advance...

Just one little question here. I hope someone takes time to answer it. I have been around reading about adhoc this and adhoc that. But what I wanna know if these methodes that enable adhoc functionality, allow 2 mobile devices to get connected to each other. I mean like between 2 SGSII not between a PC and a SGSII?
Like making one of the SGSIIs the center and the other client (or infrastructure or whatever it's called)?? Is this possible with all these adhoc enablers?

Can't turn Wi Fi on after using the file from OP.
Using ICS/CM9 Hydra rom.

Related

Wife Tether (How to make it work)

Hi guys, question, I can't get wifi tether to work on my netbook.
It's there anything special I have to do to the netbook in order for it to allow the connection because it says connected but the internet doesn't work, thanks in advance.
From the Subject Line, I though your were trying to tether your WIFE.... sadly, that is not something possible in most cases.
i had this problem, it was because i swapped out sd cards and didnt have the bin file on the new sd card..just Delete and reinstall the program, and a newly generated bin file will be placed on the card..should work!
Go to Menu -> Show Log. If you don't see something similar to
Loading bcm4329.ko module (fw_bcm4329.bin from /sdcard/android.tether)...
Click to expand...
Click to collapse
then you need to follow the instructions at code.google.com/p/android-wifi-tether/wiki/Setup_HTC_Desire_Incredible
Thanks guys.
Sent from my ADR6300 using XDA App

[GUIDE] Enable ad-hoc tethering on your Transformer (needs root!)

Update: If you are using the official firmware 8.6.5.9 (and obviously above) or any custom ROM based on it, you don't have to do anythink described here, because ad-hoc works natively. Thankfully ASUS fixed Googles unintelligible inability to enable connection to ad-hoc networks.
This renders this thread pretty much obsolete, but I won't delete it, just in case anyone doesn't want to or cannot update his device for whatever reason
Hi!
As there are only [Q]uestion threads about ad-hoc tethering by now, I thought I'd write a little guide how to enable it on our Transformer.
edit: If you are using Prime v1.5 (and above I guess), you don't have to do this. Roach2010 already included the modified wpa_supplicant, so you can already use ad-hoc tethering.
All credits and many thanks go to szym for the edited wpa_supplicant that makes ad-hoc possible for us!
!!! Always make a nandroid backup via recovery first! You can then reflash your backup if something fails !!!
I. Via root explorer (obviously requires root access):
If you bought root explorer from the market, you should be able to easily copy and replace the file.
1.) Go to /system/bin and copy the file „wpa_supplicant“ to your sd card as a backup.
2.) Then copy the „wpa_supplicant“ from the attached zip file and paste it into /system/bin.
3.) Long press the file and set permissions to rwxr-xr-x, like this:
User: read, write, execute
Group: read, execute
Others: read, execute
4.) Reboot
Finally tried it myself and works fine
II. Alternative method via adb (requires root access):
This is a forwarded guide from the Xoom section. I tried it myself and it works like a charm. You can find it here.
All credits for the following guide go to kelvie !
1.) Your Transformer has to be rooted! (you'll find a guide how to root here)
2.) Make a backup of your system/bin/wpa_supplicant first!
3.) Unpack the attached wpa_supplicant_xoom_wifi_adhoc.zip file to your adb folder. (if you don't know how to use adb, google for one of the many guides, or look below for another option via root explorer )
4.) push the file to system/bin/wpa_supplicant:
Code:
adb remount
adb push system/bin/wpa_supplicant /system/bin/wpa_supplicant
5.) Because zipfiles don't store permission, you have to make it executable as well:
Code:
adb shell chmod 755 /system/bin/wpa_supplicant
6.) You also have to change the permissions on /data/misc/wifi/wpa_supplicant.conf for some reason:
Code:
adb shell chown system.wifi /data/misc/wifi/wpa_supplicant.conf
7.) reboot
Again, many thanks to kelvie for the guide!
III. Easiest method (requires ClockWorkMod recovery and root):
1.)Download the attached CWM_adhoc_wpa_supplicant_TF101.zip to your sd-card. Make sure to copy it to /Removable/MicroSD, because /mnt/sdcard cannot be accessed from CWM
2.) Boot into CWM recovery.
3.) Hit "install zip from sdcard" --> "choose zip from sdcard", select the zip and confirm.
4.) Reboot
Done. You should now be able to tether your ad-hoc connection
This method doesn't seem to work because I missed an option and don't know right now how to fix it. So if somebody knows how to do this via edify script, please help me out:
Code:
chown system.wifi /data/misc/wifi/wpa_supplicant.conf
Use one of the methods above in the meantime, they works flawless.
__________________________________________________
Q&A
Q: Which app should I use for tethering on my phone? Do I need root access for tethering apps?
A: If your phone doesn't support native tethering, just search the Android Market for 'Wifi tether'. There are a lot of apps for that . I tested Barnacle Wifi Tether on my Sony Ericsson Xperia X10 with 2.3.4 MIUI ROM, which worked fine, but I guess all/most tether apps should work fine now. And yes, unless you have native tethering, your phone has to be rooted.
Q: Barnacle gives me the following error on the phone: "DHCP could not bind to DHCP port, address already in use", and my TF is stuck at "obtaining IP Address from barnacle". What should I do?
A: rpavich has found a solution for that. Thanks rpavich!
rpavich said:
1. Change SSID to whatever you want
2. Change Channel to 6
3. Custom Wifi Ad-hoc to none
4. Skip wpa_supplicant checked
5. Restart your phone (just to make sure...)
Click to expand...
Click to collapse
__________________________________________________
Regards
qwer23
Edit: I wasn't sure if this belongs in General or Android Dev section, so mods feel free to move it where it fits best.
Edit2: Attached original wpa_supplicant files for 3.0 and 3.1 (don't know if there's a difference, but I doubt it) if someone wants to reset to stock.
If you find this guide helpful, consider pressing the thanks button
Click to expand...
Click to collapse
awesome. a few more working confirmation from the others and i wont have to kiss my nokia e71 goodbye
philsuf said:
awesome. a few more working confirmation from the others and i wont have to kiss my nokia e71 goodbye
Click to expand...
Click to collapse
No need to wait, you could just try it. If you back up your original wpa_supplicant first, you can always undo your changes. I also added an easier way via root explorer that should be easier.
i just tried it, it connected to barnacle wifi but i couldnt get the internet to work. ill try again tomorrow, it may be my phone.
Skeldave said:
i just tried it, it connected to barnacle wifi but i couldnt get the internet to work. ill try again tomorrow, it may be my phone.
Click to expand...
Click to collapse
Did your phone show the barnacle symbol in the notification bar and tell you that a device is connected?
Sent from my rooted X10i using awesome custom roms
I've done this last week and noticed when stopping my hotspot on the phone the connection on the transformer shows it is still connected. So you have to manual disconnect if you want to reconnect again for later use. This is on my Nokia N8 Phone using JoikuSpot.
I tried to do this via the root explorer and it said "you cannot paste here because the file system is read only"
rpavich said:
I tried to do this via the root explorer and it said "you cannot paste here because the file system is read only"
Click to expand...
Click to collapse
On the top of your system directory in root explorer is a button, that says r/w. Push it and you'll get read/write mode.
Sent from my rooted X10i using awesome custom roms
thank you VERY much....I'll let you know how my tethering goes.
qwer23 said:
Did your phone show the barnacle symbol in the notification bar and tell you that a device is connected?
Sent from my rooted X10i using awesome custom roms
Click to expand...
Click to collapse
Yes, the barnacle symbol was in the notification bar and my TF appeared on the 'client' tab, also the TF said that it was connected to barnacle wifi.
I'm going to try again now
EDIT: Worked perfectly this morning, thanks!
I did it via root explorer FYI
This seems like a rather minor change to wpa_suppliant.conf; any clue if google will fix this in honeycomb? Not sure I understand why it isn't enabled by default...
Ok...trouble getting this to work.
1.) On my Xperia X10; message in Barnacle:
"DHCP could not bind to DHCP port, address already in use"
2.) On my TF: it's stuck at "obtaining IP Address from barnacle"
Ok....found the solution (on another XDA forum section)
I did the following and connected just fine!
1. Change SSID to whatever you want
2. Change Channel to 6
3. Custom Wifi Ad-hoc to none
4. Skip wpa_supplicant checked
5. Restart your phone (just to make sure...)
rpavich said:
Ok....found the solution (on another XDA forum section)
I did the following and connected just fine!
1. Change SSID to whatever you want
2. Change Channel to 6
3. Custom Wifi Ad-hoc to none
4. Skip wpa_supplicant checked
5. Restart your phone (just to make sure...)
Click to expand...
Click to collapse
Mind if i add this to the op? There might be others with this issue.
Sent from my rooted X10i using awesome custom roms
jake21 said:
This seems like a rather minor change to wpa_suppliant.conf; any clue if google will fix this in honeycomb? Not sure I understand why it isn't enabled by default...
Click to expand...
Click to collapse
I don't have a clue either why this isn't enabled by default, but I think they'll add this in the 3.1 update. But it's just a suggestion, didn't read anything about it though.
Sent from my rooted X10i using awesome custom roms
qwer23 said:
Mind if i add this to the op? There might be others with this issue.
Sent from my rooted X10i using awesome custom roms
Click to expand...
Click to collapse
Not at all....as i said...I got that from another part of the XDA forum...
I used this method from my rooted OG Droid and the Xoom and it worked perfectly. I have to wait for my son in law to root my TF to try it out. Would I only need to root the TF for this to work?
sanfaz said:
I used this method from my rooted OG Droid and the Xoom and it worked perfectly. I have to wait for my son in law to root my TF to try it out. Would I only need to root the TF for this to work?
Click to expand...
Click to collapse
At the moment you need to root both your TF and your phone. But if you use Clockworkmod, you probably don't need a rooted TF, because I'm preparing an update.zip to flash via CWM
Your phone has definitely to be rooted, ecxept it supports wifi tethering from stock.
edit: darn, amend scripting is no longer supported in Honeycomb. Anyone knows how to change the zip for edify scripting?
edit2: ok, probably got it solved. we'll see...
Ok, I added a zip file for easy install through ClockWorkMod to the OP. It installed fine on my TF101 and tethering works, but please backup your wpa_supplicant before installing this and report any errors. I didn't work with edify scripts before
I also restructured the guide itself, from easiest to most complicate method
Cheers
qwer23
Would this mod work with an old TP2 windows mobile phone? Will the TF then be able to use it's wifi signal?
Also, if the TF is rooted, will we be able to accept the 3.1 HC update?

How to connect to a Mobile HotSpot. 2ways.

Hi guys,
Since the mobile hot spot is an adhoc networks, so tablet cannot recognise it
directly.
So I found a instruction which is called can solve this problem.
We simply replace the original wpa_supplicant with the new one.
And put it in /System/Bin/.
I did the root and copy, but it still cannot find the adhoc hotspot for me.
So anyone have any idea?
Solution 1: solving it with the magic "wpa_supplicant"
Solution 2: changing the configuration of hotspot in my mobile to a normal wifi.
I'm waiting for anyone who can solve this.
Cheers
Winston
Hmm. I have a mytouch 4G and the A500 connects to the hotspot easily. No mods, rooting etc. needing.
Is this in relation to phones that are using less than carrier proposed methods for enabling hotspots?
Hi Neo,
According to what I have had known so far, it seems that google blocks this function,
so someone modified the wap_supplicant to enable the hotspot functionality.
franva said:
Hi guys,
Since the mobile hot spot is an adhoc networks, so tablet cannot recognise it
directly.
So I found a instruction which is called can solve this problem.
We simply replace the original wpa_supplicant with the new one.
And put it in /System/Bin/.
I did the root and copy, but it still cannot find the adhoc hotspot for me.
So anyone have any idea?
Solution 1: solving it with the magic "wpa_supplicant"
Solution 2: changing the configuration of hotspot in my mobile to a normal wifi.
I'm waiting for anyone who can solve this.
Cheers
Winston
Click to expand...
Click to collapse
Solution 2 depends on your specific phone and its implementation. My Droid for instance doesn't support infrastructure hotspot (outbound), so I had to use the "magic wpa_supplicant" approach. Other phones may support infrastructure mode, either directly or through a 3rd-party wifi tether app.
In terms of solution 1 - if you get the wpa_supplicant (apparently a new version has been posted for those of us w/ 3.1 update) you also need to reset the permissions on the file to match that on the original file (which I know you backed up, right? ); easiest way would be through Root Explorer and set Read: (Owner/Group/Others), Write (Owner only) and Execute (Owner/Group). I'm too lazy to remember what the Terminal Emulator chmod command would be
As a reminder to all who do choose to replace wpa_supplicant, keep a copy of the original file, you never know when Acer's going to require a specific original file for any future updates (wpa_supp wasn't needed for the 3.0.1 update but was for 3.1)
Yes I would say do not delete or move the old file just rename by adding old to end of file name. Its how I done it renamed did the update changed back. And now all is well again.I used the same replacement file from before. No need for a new. Version
Hi Vereyn,
Thanks a lot.
Could you please provide the link to download?
Frankly, I have tried all wpa_supplicant in this forume.
None of them works for me.
My version is Android 3.0.1
Acer ICONIA A5011, rather than A500.
Cheers
franva said:
Hi guys,
Since the mobile hot spot is an adhoc networks, so tablet cannot recognise it
directly.
So I found a instruction which is called can solve this problem.
We simply replace the original wpa_supplicant with the new one.
And put it in /System/Bin/.
I did the root and copy, but it still cannot find the adhoc hotspot for me.
So anyone have any idea?
Solution 1: solving it with the magic "wpa_supplicant"
Solution 2: changing the configuration of hotspot in my mobile to a normal wifi.
I'm waiting for anyone who can solve this.
Cheers
Winston
Click to expand...
Click to collapse
Soo... Which rock have you been hiding under exactly? This is pretty old news, and there are already a few threads detailing exactly what you need to do... Hell, there's one on the first page of this forum section!
Dear Floating,
Could you please send the link to me? or at least give me the title of that article which
you are talking about?
Because it disappeared again now >_<;
Again,
yes there are many ad hoc articles, but none of them work for me....
franva said:
Again,
yes there are many ad hoc articles, but none of them work for me....
Click to expand...
Click to collapse
The links are in the forum, just scroll down a bit.
As for the articles not working... If they're not working for you, maybe you're doing something wrong or missing one of the steps?

[FIX] Wifi fix for Eduroam connections - 02/02/2012

Hello.
As many of us know GingerDX and other ROMS has issues with Eduroam connections across the world. Fortunately ex-xda? user holgerg123 found the solution to this problem. Thanks mate!
You could read this here.
I've made Clockworkmod scripts to make installation easier.
There's 4 versions (for me works the 1st one)
Version 1
Version 2
Version 3
Version 4
and file for those, who screwed something
Original wpa_supplicant from GingerDX v022
Rapidshare mirror
Installation:
1. Disable wifi, open Root Explorer or similar app, go to system/bin and rename wpa_supplicant to eg. wpa_suplicant.old
2. Download file
3. Put it into sd-card
4. Reboot to CWM
5. Install downloaded update
6. Reboot!
And you should be able to connect to your University's network.
And remember that you could brick your phone as always. You have been warned.
eagleeyetom said:
Hello.
As many of us know GingerDX and other ROMS has issues with Eduroam connections across the world. Fortunately ex-xda? user holgerg123 found the solution to this problem. Thanks mate!
You could read this here.
I've made Clockworkmod scripts to make installation easier.
There's 4 versions (for me works the 1st one)
Version 1
Version 2
Version 3
Version 4
and file for those, who screwed something
Original wpa_supplicant from GingerDX v022
Installation:
1. Download file
2. Put it into sd-card
3. Reboot to CWM
4. Install downloaded update
5. Reboot!
And you should be able to connect to your University's network.
Click to expand...
Click to collapse
i don't know what is wifi eduroam?what its benefit?
Sent from my E15i using xda premium
It's the type of network used in many universities and high schools across the world. It uses PEAP/MSCHAP2 security and unfortunately GingerDX was not able to connect properly. This fix gives you ability to have free wifi Internet on your university (of course if you are in eduroam's range )
Nice
Sent from my E15i using XDA App
eagleeyetom said:
Installation:
1. Disable wifi, open Root Explorer or similar app, go to system/app and rename wpa_supplicant to eg. wpa_suplicant.old
2. Download file
3. Put it into sd-card
4. Reboot to CWM
5. Install downloaded update
6. Reboot!
Click to expand...
Click to collapse
you should edit that, wpa_supplicant is on system/bin
ahlulnugraha said:
you should edit that, wpa_supplicant is on system/bin
Click to expand...
Click to collapse
Damn! I wrote system/app? You're 200% right, this should be system/bin. Thanks buddy!
Eduroam
Great Job! Eduroam now works on GingerDX.
I also used Version 1.
Thanks very much ...
Is it necessary to use CWM?
Not enough if I simple copy the wpasupplicant file to system/bin directory?
Raz9 said:
Is it necessary to use CWM?
Not enough if I simple copy the wpasupplicant file to system/bin directory?
Click to expand...
Click to collapse
You can of course also manually replace the files instead of flashing through CWM!
Just don't forget that the phone has to be rooted, you need to use a File Manager capable of gaining root rights (Root Explorer, Root Browser) to write into /system, you need to adjust the permissions of the file you copied.
it works =)
and i'm not SE Xperia X8 user
i'm HTC Desire user
thank you very much
i'm not found this problem in my university..
n i dont know different beatwen wifi b/g or n
Oh, god! Thank you very much for this fix! I spent at least one or two weeks looking for ROMs that allowed me to connect to Eduroam networks. I found out that MiniCM7 based ROMs worked great, so I started using GingerXperiaRay.
But now, I've flashed GingerDX and I'm so... so... happy!
By the way, this is my feedback:
Version 1: the only one working for me.
Version 2: it didn't seem to connect Eduroam networks. I don't know if it even could connect any random network.
Version 3: I got 'Error' in my Wi-Fi settings.
Version 4: this file seems to be the same than the original one (same MD5 checksum).
I'm using a MSCHAPv2, PEAP, certificate...
I'm glad I was able to help. You could hit thanks if you want
Nice to see, that fix I proposed half year ago on #cyanogenmod was built at last
android 4 + 802.1x?
does this work on android 4.0.3?
with android 2.x.x it worked fine. i could connect to every f* network i wanted.
even the network in the university:
802.1x EAP
PEAP
MSCHAPV2
CA-Cert: not needed (the admin's answer to my question)
User-Cert: no
ID: *correct*
Anon: not needed
PW: *correct*
since i've got android 4 on my SGS2 it doesn't work any more. (a friend of mine has got an iphone - he has not got any problem with that)
i don't want to flash my phone back to android 2
now it's rooted and flashed with RomMIX_byRush_ICS.4.0.3_XXLP4
i've spend hours and hours to find a solution for this problem (google, PocketPc.ch, xda-developers.com, ...) but couldn't.
thank's for help!
paul
paul4president said:
does this work on android 4.0.3?
with android 2.x.x it worked fine. i could connect to every f* network i wanted.
even the network in the university:
802.1x EAP
PEAP
MSCHAPV2
CA-Cert: not needed (the admin's answer to my question)
User-Cert: no
ID: *correct*
Anon: not needed
PW: *correct*
since i've got android 4 on my SGS2 it doesn't work any more. (a friend of mine has got an iphone - he has not got any problem with that)
i don't want to flash my phone back to android 2
now it's rooted and flashed with RomMIX_byRush_ICS.4.0.3_XXLP4
i've spend hours and hours to find a solution for this problem (google, PocketPc.ch, xda-developers.com, ...) but couldn't.
thank's for help!
paul
Click to expand...
Click to collapse
Hello all,
Since the release of android 4.x it was impossible to connect to some networks 802.1x PEAP (like EDUROAM).
The French internet provider FREE has recently published a rom for SGS2, which solves this problem.
So, I try to extract the wpa_supplicant binary from this rom and inject it in CM9 on my Galaxy S, and now everything work.
The wpa_supplicant binary file is here https : // docs . google . com / open?id=0B1rR4JYQ9hnGVy13SnZqZGVCYmM (sorry but i can't post an url, because of spam system, delete space), if some people want to try on other device, just copy it in /system/bin/
DarKno
PS: Sorry for my english...
Hey guys,
I installed the version 1 and at the end of the process, when I turn up the Wi-Fi, it gets me "Error" and i'm not able to use the Wi-Fi.
I also tried the version 4 but the problem persists.
How should I do?
Thanks.
Vectoryzed said:
Hey guys,
I installed the version 1 and at the end of the process, when I turn up the Wi-Fi, it gets me "Error" and i'm not able to use the Wi-Fi.
I also tried the version 4 but the problem persists.
How should I do?
Thanks.
Click to expand...
Click to collapse
Try other versions. If not, go back to original WiFi supplicant.
In the CMW Recovery, should I click on "Install update from zip" or on "Install zip from SD card" ?
Maybe I do something wrong..

[Q] Nexus 4 LEAP Wifi issue?

Hi,
My Nexus 4 failed to connect to my office wifi (LEAP network). The was due to a known issue on Android v4.2 (code.google.com/p/android/issues/detail?id=40023)
And the workaround is using a working wpa_supplicant from v4.1.2 to replace the current one on v4.2.
However Nexus 4 doesn't have v4.1.x ROM , and I tired v4.1.2 wpa_supplicant from Nexus S/7 but it didn't suit my Nexus 4 (I tried factory ROM and CyanolenMod), it cannot even list all available wifi connections with v4.1.2 wpa_supplicant.
So anyone out there able to connect to LEAP Wifi in your Nexus 4 successfully? If so could you pls share your experience?
And any other suggestions will be much appreciated!
Thanks and Regards!
I have the same problem, Nexus 4 with Android 4.2.1 ROM, LEAP WIFI not working. Also tried replacing wpa_supplicant with 4.1.2 version from Nexus 7 ROM, but it's not compatible with Nexus 4. Can someone provide a link to Nexus 4 ROM 4.1.2 version or correct wpa_supplicant file from that ROM please?
Zoccat said:
I have the same problem, Nexus 4 with Android 4.2.1 ROM, LEAP WIFI not working. Also tried replacing wpa_supplicant with 4.1.2 version from Nexus 7 ROM, but it's not compatible with Nexus 4. Can someone provide a link to Nexus 4 ROM 4.1.2 version or correct wpa_supplicant file from that ROM please?
Click to expand...
Click to collapse
Well, I'm glad to know I'm not the only one have this problem, the thing is there are no 4.1.2 ROMs for Nexus 4 - yet.
Hope v4.2.2 can fix this issue, finger crossed...
I managed to get it work! :laugh:
Here is my steps:
1) Install leap wifi free apk (com.oneguyinabasement.leapwifi.apk) then set up leap wifi connection FIRST.
2) Download wpa_supplicant.4.1.2 =>
http ://snk.to/f-cu3a753u
3) Then follow the steps (post #43) =>
http ://code.google.com/p/android/issues/detail?id=40023
Let me know if it helps.
I have a problem with my university wifi network.
I can connect but the connection isn't right. My speed is slow and spotty.
Anyone else?
Bump
I am having issues with LEAP. I tried the file from #53
3. Install the 4.1 version of wpa_supplicant
(commands assume the new version is in the Download directory - modify as needed)
On your device, open a terminal session, become root
Make the /system directory writeable:
mount -o rw,remount /system
Copy your new file there:
cp -p /sdcard/Download/wpa_supplicant-4.1.2 /system/bin
Make it executable:
chmod 775 /system/bin/wpa_supplicant-4.1.2
Rename the old version:
mv /system/bin/wpa_supplicant /system/bin/wpa_supplicant-4.2
Create a link to the new version (makes it clear which version you're running):
ln -s /system/bin/wpa_supplicant-4.1.2 /system/bin/wpa_supplicant
Verify this all worked:
/system/bin/wpa_supplicant -v
- should return version 4.1.2
Restart your system and LEAP should work as in 4.1.x.
I could not able connect to any network after that but I didnt know that i have to use a app (like LEAP wifi free) prior.I could not even serach for wifi networks. I have reverted what I did now i can able to wifi except LEAP. I am on Motley Kernel and PA ROM.
Now it seems the issue fixed and pushed to AOSP.
Cru,
Can you able to connect to other network after doing the work-round mentioned. Could you pls try connecting to a new network (not LEAP) and let know.
Franklin Bernard said:
Cru,
Can you able to connect to other network after doing the work-round mentioned. Could you pls try connecting to a new network (not LEAP) and let know.
Click to expand...
Click to collapse
Frank, you are right. It lost the ability to find new network connections after doing this work-around. We have to restore to new wpa supplicant file to fine/create the connections then change back to old wpa file to actually get it work. That's the reason I said we need setup leap wifi connection first
Cru_Su said:
Frank, you are right. It lost the ability to find new network connections after doing this work-around. We have to restore to new wpa supplicant file to fine/create the connections then change back to old wpa file to actually get it work. That's the reason I said we need setup leap wifi connection first
Click to expand...
Click to collapse
Thanks,
It seems the Code has been pushed to AOSP.
https://android-review.googlesource.com/#/c/50663/
Im trying to get the wpa_supplicant.conf file which has the fix. but I could not. Let me know if you can able to get it. I will post the file here if I get it .
Thanks
4.2.2 LEAP not working
Its very disappointing.
LEAP is not working in 4.2.2. I tried connecting to LEAP using LEAP Wifi Free app.
LEAP working
Franklin Bernard said:
Its very disappointing.
LEAP is not working in 4.2.2. I tried connecting to LEAP using LEAP Wifi Free app.
Click to expand...
Click to collapse
Finally LEAP is working. Its posted in the http://code.google.com/p/android/issues/detail?id=40023.
1. Backup
2. Please download the attachment from #104
3.Please follow the steps which is mentioned in #43 .
All the best,
Franklin B.
Franklin Bernard said:
Finally LEAP is working. Its posted in the http://code.google.com/p/android/issues/detail?id=40023.
1. Backup
2. Please download the attachment from #104
3.Please follow the steps which is mentioned in #43 .
All the best,
Franklin B.
Click to expand...
Click to collapse
Also worked for me, thanks a bunch to all.
I had this issue on my nexus 7 and was solved relatively easy by using an older version of the wpa_supplicant file for the nexus 7 but for the nexus 4 i guess there isn't a version that works...
Anyway the patched one the guy posted in post 104 works for me, the only difference I had to make was the auth_alg, mine was originally set to "LEAP" where as in his example he set it to OPEN SHARED LEAP, which I also needed to do in order to get it to work

Categories

Resources