yashsingh1/xdaforums huggingface dataset:
[Hero, G2 Touch Android Development] webvan:
Yes, but no good with if you're wanting to connect to your tethered iPhone or iPad.

I have v0.5.11 on my Milestone with 2.1update1 and neither is working, they kill the WiFi.

Anyone know what it would take to patch the actual wpa_supplicant of the Milestone ?

Thanks !
[Hero, G2 Touch Android Development] ducktiger:
version of wpa_supplicant

Version is v0.6.10
[Hero, G2 Touch Android Development] dadyal:
well its not working on my side

my wifi is only support ad hoc :(
[Hero, G2 Touch Android Development] psfan:
Simcard toolkit missing in EVO builds

mdeejay EVO builds from 1.0 to 1.6b, simcard toolkit is missing. Anyone can tell me how to make it back ?
[Hero, G2 Touch Android Development] webvan:
Same here, wpa_supplicant v0.5.11 and Android 2.1 (2.1update1 on the Milestone) and I can't get the two wpa_supplicant files available here to work (kills WiFi).

Did you find a fix ?

Is there a dev here who could build a patched wpa_supplicant for Android 2.1 ? TIA !

Here is a link to the wpa_supplicant v0.5.11 of my Milestone : http://dl.dropbox.com/u/904989/wpa_supplicant
[Hero, G2 Touch Android Development] rabatinova:
It worked on my SGS (modaco XXJP3 pre-rooted , clockmod, ...) and I did it many times because I flashed it many times too and worked every time...but cant make it work on XXJPK (rooted)

On XXJP3 I downloaded terminal.apk from the market.

put the wpa_supplicant file in your phone (lets say sdcard/wpa_supplicant)

su

cp sdcard/wpa_supplicant system/bin/wpa_supplicant

and it worked

doest work with xxjpk :confused::confused::confused:

but i keep playing around to figure it out...:cool:
[Hero, G2 Touch Android Development] webvan:
Maybe because the structure has changed ? In the MotoFrenzy 2.2 I installed \bin has both a wpa_supplicant and a wpa_supplicant.bin with wpa_supplicant appearting to be a simple text file.

I tried renaming the v0.6.10 version to wpa_supplicant.bin and rebooting but it sill won't work, I'm confused :-(
[Hero, G2 Touch Android Development] rabatinova:
ok .i got it.its working for me now on XXJPK.I can see ad hoc network with (*) prefix and it supports only WEP so if you want to use it with your laptop, dont create WPA or WPA2 network, you wont be able to connect.

I flashed new kernel from this site( im not allowed to post link so google "CF-Root xda" and you should be able to find it right away).

then you have to have installed Better terminal (try market or xda forum or ipmart-forum to get it)

get yourself configured wpa_supplicant and copy it to your phone sdcard/

backup original wpa_supplicant from system/bin/wpa_supplicant

your wifi should be turned off

now run better terminal and type

su (you will get superuser permission with that)

cp sdcard/wpa_supplicant system/bin/wpa_supplicant (all spaces and everything)

and thats all

:):):)

good luck

let me if it works for you
[Hero, G2 Touch Android Development] tkm89:
Thank you very much for this. All working fine on my Desire running MCR r8.
[Hero, G2 Touch Android Development] webvan:
Looks like this patch only works with HTC devices using the wext wifi chip ?
[Hero, G2 Touch Android Development] AL1982:
Hey guys, does it work with my HD2 Leo, Evo based rom? and Can anybody tell or give a link wich subscribes the android rom flashing?
[Hero, G2 Touch Android Development] tonedinh:
I did it and now my internet ia crawl now do you flash back to your original zip? Thank you, I'm kings nobie
[Hero, G2 Touch Android Development] munachi:
Ad-Hoc Wireless

Please how can I get this done on a HTC HD2. I'm running the HTC Desire HD Rom
[Hero, G2 Touch Android Development] jUsT2eXy:
Hey guys. Does this work on the Samsung Galaxy S ...

At the moment Virtual Router & Connectify won't work with the Galaxy... it just says "obtaining IP address" ...

Will this patch work on the Galaxy to make it see and connect to ad-hoc networks?
[Hero, G2 Touch Android Development] Coucher:
Any chance of getting this working on the Epic 4G?

I've posted a request over in the Epic development section, but there doesn't seem to be anyone interested in getting it to work. If I knew more (or really anything) about Android I'd give it a shot.

http://xdaforums.com/showthread.php?t=803384
[Hero, G2 Touch Android Development] rabatinova:
Yes it works on Samsung Galaxy S...that guide on the very top of this page is actually for your phone...xxjpk is just rom im using, you can chech yours by typing *#1234#
[Hero, G2 Touch Android Development] rabatinova:
this should work for all android devices !!!
[Hero, G2 Touch Android Development] webvan:
Unfortunately it doesn't work on the Motorola Milestone, see my previous posts about that.
[Hero, G2 Touch Android Development] rabatinova:
what ROM do you have and is your phone rooted?
[Hero, G2 Touch Android Development] webvan:
Tried with 2.1update1 and MotoFrenzy 2.2 - with the 0.5/0.6/Dell Streak supplicants - no go, stops scanning for APs.

Do you own a Milestone ?
[Hero, G2 Touch Android Development] rabatinova:
No I have Samsung Galaxy S, but its odd this method doesnt work with all android phones.I would try to make it work if I had one but I dont so I wont help you out with that...
[Hero, G2 Touch Android Development] webvan:
Thanks, that's really helpful...anyway the wpa_supplicant is apparently not device dependent so Motorola must have put a lock somewhere, not sure how you would figure that out even if you owned a Milestone ?
[Hero, G2 Touch Android Development] charlie_82:
Such a rude little fellow. These people are not your servants and you expect them to help by behaving like a brat?

Shame, maybe you should head back to "skool" and learn some manners (and how to spell!)
[Hero, G2 Touch Android Development] ducktiger:
Ad-hoc on Samsung Galaxy S

Finally it works on my Galaxy S (wpa_supplicant version 0.6.9). :)

I tried the file from here: xdaforums.com/showpost.php?p=7711198&postcount=6

It is done for the 0.6.x versions and marks the ad-hoc-networks with (ad-hoc) instead of (*) behind the network name.

I used Root Explorer to backup and copy the file.

Just to be sure everything works smooth I changed the properties with chown root.shell /system/bin/wpa_supplicant on how they were in the original file.

Thanks to all helpful and knowing people here in the forum.
[Hero, G2 Touch Android Development] webvan:
Dang, it really seems like the Motorola Milestone (and Droid) is the only one that can't benefit from that neat trick!
[Hero, G2 Touch Android Development] doggystyleid:
i've managed to find the adhoc network too. but stuck on obtaining ip address. any suggestion? dxjg4, wpa supplicant 0.6.9, wep 13 char protected adhoc

edit : connected after changed password to 64 hexadecimal password
[Hero, G2 Touch Android Development] kancaras:
my samsung galaxy 3 gt-i5800 has also version 0.6.9 wpa_supplicant

but when i try to push wpa supplicant to my device it sais Permision Denied. please help
[Hero, G2 Touch Android Development] rabatinova:
try to use different terminal emulator(try another earlier version), or unninstall and reinstall the same one and then try again, or try to root it again...I had the same problem, I uninstalled terminal emulator, flashed different kernel and installed the same emulator but earlier version and it worked...be sure you have rooted phone, tho...
[Hero, G2 Touch Android Development] kancaras:
ive rooted my phone, changed system mount to rw mode. how do i change terminal? you mean adb?
[Hero, G2 Touch Android Development] webvan:
Easiest is to use Root Explorer as you can change permissions to write and cut and paste directly.
[Hero, G2 Touch Android Development] kancaras:
thanks for your help. maybe that root explorer will help me in the future.

for now ive managed to update wpa_supplicant with cat. but it stops enabling wifi at all on my samsung galaxy 3. i thought that 0.6.10 works on all 0.6.x. heres my original wpa_supplicant, maybe someone can edit it for me or tell me how i can do that.

http://www.megaupload.com/?d=9HK7D7XR
[Hero, G2 Touch Android Development] mth281:
worked for me
[Hero, G2 Touch Android Development] Odes1:
Has anyone got this working for the Orange San Francisco?
[Hero, G2 Touch Android Development] reapo:
the orange san francisco(zte blade) doesn't seem to work either
[Hero, G2 Touch Android Development] webvan:
WiFi reboots if you replace the wpa_supplicant? Have you tried both the 0.5 and 0.6 versions ?
[Hero, G2 Touch Android Development] r34c7:
Absolutely the same problem here! Any reasons why? And how the **** i can fix this ?
[Hero, G2 Touch Android Development] reapo:
yeah, i've tried both versions. My phone has 0.5, though, I checked.

No, the wifi doesn't restart, it just shuts down. It tried to search for networks, says scanning failed and shuts down. gonna give it another try though, because I'm not sure I did it correctly the first time.

Wish me luck :).

Edit: The 0.5 version makes the wifi reboot, the 0.6 version makes it turn off with an "Unable to scan for networks" error.
[Hero, G2 Touch Android Development] lohtse:
oddly this woked on my htc hero with vr10.4 but not with any froyo versions.flashed back to vr10,4 and alls ok.hmmmmmmm odd
[Hero, G2 Touch Android Development] jdubdieslo:
Captivate Cognition v2.2.Beta 9.1

Works Great!!! Able To Find Adhoc connections off friends phones or computers connected to dsl and Its a nice feature to have even if i hardly use it.

Thanks!!
[Hero, G2 Touch Android Development] damage_them:
does this work on htc evo??
[Hero, G2 Touch Android Development] damage_them:
oh mehn!! works like a charm on my evo..thanks and keep up the good work!!
[Hero, G2 Touch Android Development] a567765:
Doesn't work for me on my LG GT540. I've replaced wpa_supplicant with patched one with Root Explorer, and after WiFi enabling - it wasn't able to search for networks....

Does anyone succeeded with this on gt540?
[Hero, G2 Touch Android Development] mccloak:
Works on HTC Magic (32A) with stock ROM (Android 1.5).

Very good job ;-)
[Hero, G2 Touch Android Development] virtualatall:
did it but no effect

i copied wpa_supplicant to /system/bin but it didn't worked. tell me what to do?

thanks in advance
[Hero, G2 Touch Android Development] trelzy:
hi just wanting to know please if this patch works on android tablet sdkDemo running firmware 1.5 kernel 2.6.25 rockchip version 1.2.7 ruiguan.

thanks in advance.
[Hero, G2 Touch Android Development] myfinalheaven:
i can see ad-hoc networks, can connect to them, but it'll never get an IP. i put it as static and it will seem connected on the phone but is not actually connected to the network.

anyone got any fix for this?
[Hero, G2 Touch Android Development] hypest:
great work!

Fantastic!

works great on my G1 (Froyo 2.2.1, wpa_supplicant v0.5.11) wifi-tethering with my Kaiser (Froyo 2.2.1 also :)) sharing its 3G data connection....

so, the Kaiser just found a new role... wifi access point when on the move ;)
[Hero, G2 Touch Android Development] davlav4210:
Trouble on Galaxy Tab

Anyone been able to apply this method for connecting a Galaxy tab to a ad hoc wifi network?

I've rooted my tab and tried the compiled Froyo fix for this but it throws an error when I try to flash the fix using Rom Manager: "failed to verify whole-file signature".

Will this patch need to be resigned for the tab? I'll admit I'm new to the Android world and I'm hoping there's an easy fix for this.
[Hero, G2 Touch Android Development] tedge:
I have the new mytouch 4g and I am in Iraq...need to use ad hoc networks...

I have attempted to update using the wpa supplican zip files...renamed them to update.zip but I keep getting "invalid operation" and the phone reboots...any help to be had?
[Hero, G2 Touch Android Development] flaviopac:
Can I use it on my LG OPTIMUS ONE?
[Hero, G2 Touch Android Development] rabatinova:
When you connect to your ad hoc network (created on your laptop) you need to use static IP.you need to set up IP address manually.

IP 192.168.2.xxx (xxx anything you want)

gate 192.168.2.1

mask 255.255.255.0

DNS1 8.8.8.8

DNS2 8.8.4.4

when you want to connect to other regular wifi networks, you dont need to use static IP.it gets IP automatically.

I use one app .Its called Wifi Static ( search on market) and it automatically switches between wifi networks.When im out it connects automatically with dynamic IP.When Im at my house, and create my own wifi,it switches to static IP and connects right away after I turn my wifi on.
[Hero, G2 Touch Android Development] rabatinova:
should work with froyo. Just back up the original file, and try.if it doesnt work, restore the original wpa_supplicant.worth a shot
[Hero, G2 Touch Android Development] rabatinova:
here is something.its not galaxy tab, but its the same error, and they fixed it.give it a try

http://androidforums.com/desire-sup...e-2-2-failed-verify-whole-file-signature.html
[Hero, G2 Touch Android Development] flaviopac:
Could anyone here provide a little guide descriving how to install this patch?

I read half this tread without finding any result...
[Hero, G2 Touch Android Development] flyhalf86:
ad-hoc with LG Optimus One

Also I need to have the ad-hoc mode running on my Optimus One. I have rooted my phone and pulled the wpa_supplicant file from the phone with adb. What i have to do now? Does editing wpa_supplicant.conf is enough? Or i have to do something else?
[Hero, G2 Touch Android Development] stag_white:
Yeah, I've been using my Tab tethered to an iPhone running MyWi for the past couple of days.

I used a wpa_supplicant file hosted on Megaupload. I can't post a link because my account here is new but if you Google "How to: Connect Samsung Galaxy S to ad hoc Wifi network" on emoiz dot com then you should find the page of instructions that I followed and the link to the file.

Only other thing was I enabled USB debugging (Settings -> Applications -> Development). I'm new to Android too and I have no idea what it does but it was suggested in several of the articles I've read about this.
[Hero, G2 Touch Android Development] roger2626:
i can see the adhoc networks but when i try to cnnect it says obtaining ip address and then says failed///..,...............plz help
[Hero, G2 Touch Android Development] webvan:
I was having that problem too on my Android tablet trying to connect to MyWi on my iPad. What fixed it was :

In /system/etc/wifi/tiwlan.ini added :

WiFiAdhoc = 1

dot11DesiredSSID = InsertyourSSIDhere

dot11DesiredBSSType = 0
[Hero, G2 Touch Android Development] netomx:
Didn´t worked in an x10 2.1 :(
[Hero, G2 Touch Android Development] flyhalf86:
Creating Ad hoc Network

This patch works fine also with LG Optimus One. But how can i create an ad hoc network with my smartphone?
[Hero, G2 Touch Android Development] flaviopac:
FULL WORKING on Lg Optimus ONE!
[Hero, G2 Touch Android Development] jamaljmys:
thank you man for this perfect work

For those who stacked on "obtain IP Address..." finally i got it work on my HTC Desire with Desire HD ported ROM V12

this is what i did :

- flashed v6 file from post 24

- from computer i shared the internet connection with Wireless Network (iam using Mobile broadband connection through USB Modem)

- created the non secured (open) AD Hock Network

- in mobile ..searched...found...connected...browsed internet ...and its done.:)
[Hero, G2 Touch Android Development] myfinalheaven:
still doesn't work for me. i've flashed the v6 file and the v5 file. forever stuck on obtaining IP if i let it auto-obtain.

if i put a static IP, it'll turn up as connected on the phone, on my computer the ad-hoc network still says 'waiting for users' rather than 'connected'
[Hero, G2 Touch Android Development] jayhammy:
Will this work on a rooted Droid pro?
[Hero, G2 Touch Android Development] igogo1971:
Works fine on Desire HD.

DHD, Hboot, Clockwork, flashed update v6.
[Hero, G2 Touch Android Development] webrover83:
Galaxy Tab to Droid 2

Very nice. Was a (slight) pain to get all the tools needed to overwrite wpa_supplicant on my tab, but a lot of reading and learning, I fixed it.

Installed z4root, superuser, busybox, droid terminal and astro file mgr. I used the sftp in Astro to pull wpa....zip from my Linux Server and unzip the package.

z4root got me su access to install busybox. terminal connected me to busybox where I was able to cp the new wpa file over /system/bin.

I have normal Wifi 99% of the time. Those rare occasions where I don't, this will be a nice fix.

Geeks rule. :D
[Hero, G2 Touch Android Development] :
I have HTC magic and somehow i can connect, but there is no internet on my phone...

anyone know where is the problem?
[Hero, G2 Touch Android Development] seo:
lol thank you very much. it works fine on my htc magic with my espresso slide port. adhoc networks are just shown like normal APs
[Hero, G2 Touch Android Development] Valery_Kondakoff:
Please, give a detailed instructions how to apply this patch for the newbies: I have just bought the LG Optimus One and still cannot connect to Wifi in Ad-hoc mode...

Thank you a lot!
[Hero, G2 Touch Android Development] Valery_Kondakoff:
It seems I was able to fix this myself: the patch from the first message works perfectly on my LG Optimus One. Here are the instructions:

1. Become a root: http://xdaforums.com/showthread.php?t=803682

2. Install Custom Recovery: http://androidforums.com/getitnowmarketing/221388-custom-recovery-optimus-one-p500-thunderg.html

3. Run Custom recovery and choose "Flash zip from sdcard'.

Thats it! :)
[Hero, G2 Touch Android Development] macndroid:
NookColor

I tried v5 with the Nook Color - no go. Just says it can't scan for networks. The Nook uses wpa_supplicant v0.5.11 fyi.
[Hero, G2 Touch Android Development] sreejithgmenon:
Package of this patch

Hi everyone,

I recently bought a HTC Legend. I was not aware of the fact that Android is not able to detect Ad hoc networks. I did a surfing and landed on your site. And just saw that there is a patch available as a remedy.

Can somebody make a Package which can directly run on the phone to apply the patch. It would be of great help to people like me who doesn't know how to do the patching and all those back end related stuffs.

Waiting for a positive reply. Please help us out. My email id is sreejithgmenon@gmail.com.

Thanks very much.
[Hero, G2 Touch Android Development] Pinesal:
This is exactly what happens to me. Did you figure it out?
[Hero, G2 Touch Android Development] yuhuntero:
My phone is samsung I7500 with Froyo, but it can't work. with following message get from wpa_cli:

----------------------------------------------------------------------------

<2>CTRL-EVENT-STATE-CHANGE id=0 state=0

<2>CTRL-EVENT-STATE-CHANGE id=-1 state=2

<2>CTRL-EVENT-SCAN-RESULTS Ready

<2>Trying to associate with 1a:50:ab:d1:3a:42 (SSID='LinuxPP' freq=2412 MHz)

<2>CTRL-EVENT-STATE-CHANGE id=-1 state=3

<2>Authentication with 1a:50:ab:d1:3a:42 timed out.

-----------------------------------------------------------------------------

Any idea?
[Hero, G2 Touch Android Development] aankun:
Why it works on Mac ad-hoc but not windows 7 ad-hoc?

Is it different kind of ad-hoc.

on Mac it just connect with no problem but in windows my phone manage to scan the network but cant connect.

I'm using FROYO 2.2 by elelinux --> this one

and one more thing. I use this patch before on RCMix 2.2b and it just work both on Mac and Windows.
[Hero, G2 Touch Android Development] casperr:
Anybody running Galaxy S Vibrant 2.1 got this adhoc patch to work?
[Hero, G2 Touch Android Development] BlackVodka:
At first, thank you for your great work :)

Well, I'd like to ask a question: Is anybody here who would like to compile a patched version of wpa_supplicant for Android 2.1? I already tried the downloadable version on the first page, it doesn't work, it scan's for w-lans, and after a short time it says "scanning not possible" and turns wlan off.

Another way, I'm used to use linux for about 3 years, so if anyone would like to explain me how to compile a patched wpa_supplicant for 2.1 for myself, I'd be also happy :)

My Device is a Flytouch 2, a RT2870 wireless chip (I guess, there's a folder in /system/wireless/ with that name) and Android 2.1.

Thanks in advance :)
[Hero, G2 Touch Android Development] haysnamrip:
my hd2 can connect to laptop but the connection not stable.. connected then disconnected again..

any idea?

solved: playing with Wifi Tether :)
[Hero, G2 Touch Android Development] alakin:
does anyone know if gingerbread sees ad-hoc networks or if this patch will work with it? i have a N1 and i don't want to update to android 2.3 and don't have ad-hoc support
[Hero, G2 Touch Android Development] dangtheluan:
Does anyone succeed in installing new wpa_supplicant v6.09 in samsung (i5503/5500 2.1) ?
[Hero, G2 Touch Android Development] galaxykeks:
was anyone trying it with samsung galaxy s? (which version)
[Hero, G2 Touch Android Development] pvsrnaidu:
Need Help on Ad-hoc Wireless Network Support for Android 2.2

Hi There ,

i Need help , i am using a HTC G1/Dream with Rooted Android 2.2 , CyanogenMod 6.0.0-DS , Build FRF91 . I am not a linux literate , but a lover of Andorid phone usage .

I am in desperate need to enable Ad-hoc Wireless support on my phone , so that i can have a direct connection between my PC and Phone using wi-fi (as wi-fi is ristricted in office ) , so that i can use the application Android Manager Wi-fi to manage my phone .

I saw the write up in http://szym.net/android/adhoc-wpa-supp.html#

but not very sure how and where to start . It will be grate if smebody can help me on step by step method for it and alll Linux dummys like me will be thankfull.

Cheers
[Hero, G2 Touch Android Development] prison3r:
been trying for about 1 month now. still could not get it to work. tried v5 but it keeps on connecting and disconnecting the wifi. tried v6, scan for a while and then "unable to scan" n shuts down wifi. original equipped with wpa_supplicant v0.6.9

losing my patience now.. really regret getting an android. :(
[Hero, G2 Touch Android Development] Xiaolongbj:
Hi! I have a MOTO milestone and I tried both v0.5 and v0.6,it doesn't work well on my phone.

I want to know How to apply the patch compile it for froyo?

Thank you very much
[Hero, G2 Touch Android Development] itandy:
Just applied the patch yesterday and now VR12 can successfully search and connect to channel 13. Bravo!
[myTouch 3G Slide Q&A, Help & Troubleshooting] Armyjon88:
How can Filebro Lite file manager copy a file it /sqlit_stmt_journals but asto file manager cannot neither androzip or the "cp" or "mv" function why does this work?
[Droid Incredible General] blastek:
Why does the incredible constantly lose perfect 3g signal and drop down to edge all the time? Other Verizon phones have 3g signal when I only have edge.
[Droid Incredible General] rynosaur:
Well, not to pick nits, but Incredible CDMA does not use EDGE, that's a GSM protocol you'd see on T-Mo or AT&T. If you mean why does it drop down to 1xRTT (2G equivalent to EDGE in speed, more or less), it might mean you're on the edge of a 3G coverage area or you're around more Alltel than Verizon towers. You might try the hybrid Verizon-Alltel PRL file (put it on /sdcard then type ##778) if updating with a VZ PRL doesn't help (*228, option 2). Also, the new 2.15 radio has given quite a few a stronger signal.

http://xdaforums.com/showpost.php?p=7155524&postcount=1
[Droid Incredible General] blastek:
I live in NJ there are 0 Alltel towers here and where I live is supposed to be complete 3G coverage everywhere. I will be in my house which has full 3G coverage and it will drop down to 1x just sitting here constantly.
[Droid Incredible General] F34RDR01D:
I'm in the process of going through tech support for the same issue.
[Droid Incredible General] rynosaur:
Hmmm . . . I experienced something like this when running Sense Froyo with the 2.05 radio, but not since I've upgraded to 2.15 -- the signal is much more stable.:D

If I think about it, that kind of instability occurred when I was less than 1 mile from a VZ tower, hmmm :confused: