yashsingh1/xdaforums huggingface dataset:
[Xoom Android Development] yoshitweaky:
This was my response to the same question over at xoomforums some days ago:-

ok what I can say (having dug out an xp laptop while in work) is that after setting up a adhoc network on xp, the xoom does see it.

Doesn't seem to want to obtain an IP address automatically but I think thats about right for windows.

I would suggest setting a static of 192.168.0.1 on your laptop and 192.168.0.2 on the xoom

set the gateway on the xoom to be 192.168.0.1 (the adderss you set the laptop)

The address prefix length will be 24 (if using a class c subnet eg 255.255.255.0) or 16 (if you want a class b 255.255.0.0 subnet)

You also need to set the DNS addresses otherwise it'll still default to a dhcp setting on the xoom) I would use the dns servers of your ISP on the xoom. (this bugged me for ages if I didnt set these it still woudln't use the static setting and I would have to tap it all out again)

Once I did all that it connected to the adhoc network on the laptop..... but I don't have Internet access without going through proxy authentication (which requires a whole other workaround)

So I may get to test this on a windows 7 laptop tonight but the general idea seems to work (once you ensure you've set all the addresses right)
[Xoom Android Development] ruvort:
This is working perfectly!!!! Thank you so so much.
[Xoom Android Development] p8ntballah21:
works great, the Root Explorer Method is quick and painless. Thanks for all your hard work! Finally I can tether my Xoom off of my OG Droid
[Xoom Android Development] Handshake87:
Does anyone have their wpa file? can it be used on all the different ones? For some reason mine just keeps saying "Error" under wifi and I have no clue why. I have done adb reboot and hard shut down. I have also applied this both using ADB and Root Explorer and confirmed permissions and still no dice!!!

Anyone offer help?

I have actually now used a stock one from another thread and it still is saying "error" I am so confused now!!

WOW I AM AN IDIOT!! Got it working.... it was a kernel issue and not a wpa issue... sorry!!!
[Xoom Android Development] nishanthl21111987:
Xoom Restarts... At random times...

Hi All..

First of all Thanks a zillion for this tweak..:D

Mine is a Xoom Wifi Model. I did follow the procedures to the ground as you said thru adb, replaced the wpa_supplicant file with the one provided in the first post, chown'd the system.wifi and conf file and after restarting xoom, i CAN connect to Adhoc wifi..

But my issue is that, whenever i turn my wifi or bluetooth off (when not in use) and after some time i turn it back on, xoom restarts at random times. This problem i'm facing after applying this patch only as before this it was not happening. Can any one help me with this...?:o

Also can some one please post a Wifi only Xoom wpa_supplicant..

P.S - i also followed the whole procedure again using Root Explorer but this restart problem still persists... Please help me resolve this.. Guide me if i'm doing something wrong please...

Thanks in adv,. :):):)
[Xoom Android Development] cat2115:
try it last night and works great with iphone4 MyWi. Thanks
[Xoom Android Development] mr_wrong_0:
I haven't heard of this kind of file causing restarts and I've tried lots of wpa_supplicant files before this one. I don't think I can post files here but I could email you the "virgin" wpa_supplicant file... The only thing I could suggest is to verify the permissions. In root explorer you would long hold on the file and select permissions then make sure all 3 boxes are checked in the first two columns and the first 2 boxes in the last column, but if it's working at all then it sounds like the permissions are correct. I really don't know what part would be making it restart. All I can add is that others haven't changed permissions on the system.wifi and conf file but I don't know if that would cause your problem. If you PM me a and give me your email then I'll send you the stock wpa_supplicant file. Best of luck.
[Xoom Android Development] yoshitweaky:
this is my old wpa_supplicant file from my UK wifi only xoom. But as above I have not had any issues with this
[Xoom Android Development] spirit32:
Anyone else notice a cap speed? My xoom wifi cant past 2mbps whilst my galaxy tab can go up to 4mpbs both connected to atrix using wireless tether.
[Xoom Android Development] yoshitweaky:
no but TBH I have not checked, how are you measuring the speed?
[Xoom Android Development] spirit32:
Speedtest app. I just noticed too that even connecting to my router my galaxy tab is getting up to 12mbps while my xooom is only half of it.
[Xoom Android Development] colbur87:
Anyone having any troubles tethering with inspire 4g? Followed directions perfectly but xoom wifi hangs on acquiring an IP address. I don't even see the network with an * (like I do on my nook). Any ideas; I haven't looked at the binary yet since I read good replies.

I'm using a xoom wifi
[Xoom Android Development] mr_wrong_0:
Mine does that too where it will hang on Obtaining IP address and I just make sure the screen on my phone hasn't turned off. For some reason it can run but not connect very well while the screen is off.
[Xoom Android Development] tonyb15re:
I've followed the steps to the letter and all worked fine, I downloaded Joikuspot to my N97Mini and ran that up, Xoom tethers perfectly seems to get an IP address ok and shows a 54MBps connection speed in the settings but I cannot open a web page, am I missing something?

Scratch the question, appears when I attempted to update Joikuspot it didnt, just managed to update it now and it works perfectly.. Thanks for the tweak :-)
[Xoom Android Development] hatanakaf:
+1

Followed OP to the letter.

BUT, differently from the others, I do see * and it just doesn't make any difference if the screen is on or off. Stuck at the obtaining IP stage using barnacle on my Xperia X10.

Any help would be MUCH appreciated.

Regards and thank you.
[Xoom Android Development] mr_wrong_0:
I would suggest trying the wireless tether app over Barnacle. I don't know why but Barnacle seems to be more buggy at times. The fact that you can see the network and that it shows an * next to it seems to imply that the supplicant file is working and the problem lies with the phone. As I said before when I have my screen off it struggles to get an IP address but when it's on it's a quick lock with the wireless tether app, so mines is an issue with either the phone or the app, but it's a minor issue compared to being able to tether my internet.

http://android-wifi-tether.googlecode.com/files/wireless_tether_2_0_8-pre1.apk
[Xoom Android Development] dan.expo:
Has anyone tried this on 3.1? I lost ad-hoc after the update
[Xoom Android Development] tonyb15re:
have you tried re-applying the patch? I would guess that the update puts in a standard WPA Supplicant so you may have to go through the same process of patching, Id be interested to see if it works, I dont want to patch mine to 3.1 as I have SD and Tethering working now
[Xoom Android Development] rank78:
Would this let me get a connection on my wifi Xoom from my EVO 4G? I've tried a few of the wifi tether instructions and I'm getting nothin. :(
[Xoom Android Development] gizhola:
I've updated my wifi only Xoom to 3.1 and you have to reapply this patch to get adhoc wifi working again. Once you reapply it, it works just like it did before.
[Xoom Android Development] Wes90:
I accidentally did it without turning the wifi off, now wifi doesn't work(Acer a500). Is there a way to recover it?

I tried to put the original wpa_supplicant back, and also a factory data reset, but still get error when i

try to connect via wifi. What should i do? Recovery flash?
[Xoom Android Development] mr_wrong_0:
It sounds like you need to repair the permissions. In root explorer long hold on either the new or old wpa_supplicant file in system/bin and select permissions make sure all three boxes in the first two columns are checked and the first two in the last column. Then turn wifi back on and see if that helps.
[Xoom Android Development] Wes90:
I had already done that, i also tried to put the original file back but still get the same error. Could it be something hardware related or maybe some other files modified?

When i tried to replace the file it gave me an error (like "not enough space") and then i think it deleted the file, then i put the new file but wifi's been on for a while without any wpa_supplicant file.
[Xoom Android Development] mr_wrong_0:
Ok so I am hoping that you have a messed up backup file or even a messed up copy of the ad-hoc version so all I can suggest is repeat the process with my copy of the original (unmolested) wpa_supplicant file from the Xoom. So unzip and extract the wpa_supplicant file, copy and past into system/bin, change permissions, (make sure all three boxes in the first two columns are checked and the first two in the last column) the turn wifi back on and hope for the best.

View attachment 595341
[Xoom Android Development] Wes90:
I've already tried it but it doesn't work.
[Xoom Android Development] yoshitweaky:
Maybe a repush of the bmc4329 module?
[Xoom Android Development] yooper:
Just wanted to thank (Kelvie) for putting this together, I really appreciate it. I was previously using version 3.x of Android WiFi tether on my Fascinate which allows infrastructure tethering but found it troublesome. It would shut down/turn off my phone fairly often which was a pita.

No more issues. Thanks again! :D
[Xoom Android Development] kelvie:
Sorry for being late to the thread. I wasn't allowed to post in this thread after it got moved to the dev forum, as I didn't have enough posts.

Anyway, I haven't been able to upgrade to 3.1 without wiping all my data, but the binary should work still... and it's good to hear that it's still working for people.
[Xoom Android Development] brijahn:
i just reapplied this after updating to 3.1 and it works great! I followed mr wrong 0's root explorer instructions in post 12. Thanks kelvie and mr wrong 0!
[Xoom Android Development] mr_wrong_0:
I'm glad it worked well for you. We all owe Kelvie a beer I think. I just upgraded to 3.1 and I tried to see if I could go for a while without ad-hoc support using the wireless tether 3.x in infrastructure mode but it was super buggy so and used much more battery so I broke down and re-applied the wpa_supplicant file today. Now if we could only get lazydroid to work on the Xoom!
[Xoom Android Development] yooper:
I can't seem to get this patch working with BRD's newest kernel for HC 3.1.

It was working with 3.1 until I installed the new kernel. I did reapply the patch after updating the kernel but it's still a no go. Has anyone had different results?
[Xoom Android Development] ruvort:
I have it working on 3.1 with the newest kernel on my wifi Xoom.

Xoomin' along with 1.6 ghz baby!
[Xoom Android Development] yooper:
Appreciate the feedback. At least I know the issue is on my end. I'll give it another shot, thanks.
[Xoom Android Development] mr_wrong_0:
What kind of issues are you having? Does it just show "error" when you try to turn on wifi? Or does it act like it's scanning forever?
[Xoom Android Development] yooper:
I was getting an error. However, all is once again working. As with most issues we encounter with our devices, it comes down to user error.

I took the liberty to again take a peek at the post you made which gives instructions using Root Explorer, and found my problem - I simply forgot to reset the permissions. Ugh, I can be a dork at times. :o
[Xoom Android Development] mr_wrong_0:
It's always nice when you can figure narrow it down and fix it pretty quick rather than going over it over and over again making the same mistake each time. (I've been there before.)
[Xoom Android Development] Aryantes:
Working on Wifi Xoom with HC3.1 and Tiamat 1.6ghz Riptide edition.

Gotta say this fix has improved my quality of life.

I've been fighting with infrastructure wifi tether 3.0 on my EPIC 4G. Tons of crashes, data corruption on roms without journaling, constant reboots etc.

Then I found this fix and its working beautifully. I can freely use the wireless tether one (green icon) and the EPIC doesn't have issues.

Thanks.
[Xoom Android Development] bigrushdog:
If kelvie don't mind, I'd like to add this to my upcoming rom O:-)
[Xoom Android Development] zeroxg4:
:eek::eek::eek:
[Xoom Android Development] flombs:
Thanks for this.

I found the easiest way to get this working was to simply download the file to the external sdcard and then transfer it through root explorer to the specified destination. Easy as!
[Xoom Android Development] lrs421:
I was thinking of doing this too, glad to know it works :)
[Xoom Android Development] flombs:
I tried following the OP instructions and got nowhere. Tried the easy method twice, and worked a charm. I think you also have to allow the permissions in Root Explorer by long pressing the file once moved to destination. If you need my setup, I'll post it later on today when I have my xoom in front of me.
[Xoom Android Development] lrs421:
Thanks, I'm going to give it a shot tomorrow. I'll let you know if I have success.
[Xoom Android Development] flombs:
Here's how my permissions are set;

Under the read column tick all 3 boxes, under write, tick the first two top boxes, and executive all 3. That's it!

Hope it works out for ya.
[Xoom Android Development] mr_wrong_0:
Please do! I know there are a bunch of us who will just have to copy it over again. Not that it's hard but one less step is nice. I don't know why Google doesn't just build ad-hoc support into the stock wpa_supplicant.
[Xoom Android Development] kelvie:
Nope, I wouldn't mind. I don't think I can stop you anyway, as everything is GPL'd ;)
[Xoom Android Development] schick79:
Thanks to everyone who helped put all of this together - both the files and the procedures!

I wanted to confirm a couple things.

The original post said to chmod to 755, but the Root Explorer method said 775. Also, the "1st/2nd/3rd column + tick X boxes" didn't seem to agree with the chmod code. Could somebody please verify if it is 755 or 775, or specify the read/write/execute permissions for Owner/Group/Public?

Last, if I use the the Root Explorer method, do I still have to change the permissions on the file in the /data directory?

Thanks much!
[Xoom Android Development] mr_wrong_0:
It will work with either 755 or 775 or 777 even. This page here will give you an example of how the chmod code works.

http://bugclub.org/beginners/networking/chmod.html

Technically I've actually been making my personal permissions 776 but 775 and 755 and 777 all work just fine.

I've been using

user- read, write, execute

group- read, write, execute

others- read, write

I haven't noticed any drawbacks of not changing permissions on the /data directory.

I hope that helps I'm working on making a CWM flashable .zip file that will do all this for people but I'm having some trouble with the edify scripting so I don't know if it will be soon.
[Xoom Android Development] mr_wrong_0:
As I mentioned in the previous post ^ I'm trying to create a flashable .zip that will replace the wpa_supplicant file. I have taken one that works for the CWM 2.x but that won't flash on the xoom because CWM 3.x doesn't support the amend language so I converted it using amend2edify by nubecoder and I was so excited when it seemed to work but it will look like it's flashing but it doesn't actually do anything.

I was wondering it someone who knows more than me might want to lend a hand. Here is what I have so far. :)

Disclaimer: I got bored with not getting anywhere so I changed some of the display text so it's goofy so try to ignore that. :cool:
[Xoom Android Development] mr_wrong_0:
Well it's done. I posted a new thread about it here- http://xdaforums.com/showthread.php?t=1106130

So if anyone is having trouble with this mod just flash the zip through CWM.
[Xoom Android Development] mhv2261991:
Thanks for developing such a great app
[Xoom Android Development] Almighty1:
Just a thought but doesn't 3.1 have a newer wpa_supplicant file so wouldn't patching the stock 3.1 file actually be better for 3.1? Also, is there anyway to use the Wifi Xoom as a wifi hotspot?
[Xoom Android Development] mr_wrong_0:
If 3.1 is different then it's not much different and still doesn't provide connectivity to Ad-hoc networks, so in truth maybe modifying the 3.1 stock file would be best but until someone much smarter then me decides to take a crack at it I'll continue to use the 3.0 version, as it works just fine.

Yes you can use the Xoom as a hotspot if have a 3G version it kinda makes sense, on a wifi version I guess you could but I don't know when you would ever need to. The option is right in the settings, just go to wireless and networks, and then tethering and portable hotspot. You can change your options and turn the broadcasting on or off from there.
[Xoom Android Development] Almighty1:
I meant kelvie could always modify the 3.1 stock file. While 3.1 might not provie ad-hoc, maybe the other things might work better with the 3.1 version. Ofcourse, hard to tell without looking at the sources since from looking at kelvie's sources, his wpa_supplicant is based on 0.6.9 and possible 0.6.10 wpa_supplicant sources, not sure what version Android 3.1's wpa_supplicant is based on except wpa_supplicant's source is up to 0.7.x when I just checked. I would do it except I don't have a machine running Linux to compile the sources since I run Windows and FreeBSD unless kelvie compiled everything on the Xoom. It appears when I did the -v output on the original stock 3.1 binary and the one in this thread, they are both 0.6.10, not sure if Google uses the stock wpa_supplicant code or if they modified it but I guess when I get a chance, I'll try to do a compile of the latest version of the code with the patch.

I have the WiFi version of the Xoom and it still would make sense since my 3G hotspot being a Motorola Droid 1 can do ad-hoc only so not everything can see it, atleast I know a friends iPad can't so if the Xoom WiFi was able to act as a hotspot, then basically they will use the Xoom WiFi as the router while the Xoom WiFi will tether to the Motorola Droid 1's connection since in theory, a single network interface is able to handle both the WAN side and the LAN side. I already checked on the WiFi only Xoom and there is no tethering in the wireless and networks and the wireless tether/barnacle apps don't appear to work.
[Xoom Android Development] mr_wrong_0:
I wonder if mine has it because I used BRD's 3.1 update process and it works for the wifi version but it used a modified version of the update for the 3G version. My build.prop says verizon too I think. I haven't noticed any drawbacks, and I guess the hotspot is an added feature though I haven't had a use for it myself. If you really want the hotspot feature you might want to flash it onto yours. Here's the link I skipped step 4 because I'm wifi only.

And if you do make another wpa_supplicant from the 3.1 version I'd love to try it. :D
[Xoom Android Development] Almighty1:
I think the only issue with the hotspot feature that way is that from what I read about the feature, it seems like you have to turn off wi-fi so the xoom won't even have a wifi connection as a client, it will only host wi-fi connections. It would be cool if the wireless tethering apps actually worked, then the problem would be solved.

3.1 uses version 0.6.10 of wpa_supplicant, the same version as the one in this thread so if I did get 0.7.3 compiled, it will be more advanced than what even Android offers. What I need to figure out is does one just take the wpa_supplicant and compile it on a Linux box or does one need the full Android 3.1 sources on the Linux box before compiling.
[Xoom Android Development] mr_wrong_0:
Yep when I turn on the hotspot it turns off the wifi. I had never tried it before.

I don't know what to suggest. I usually stand on the shoulders of giants like Kelvie and others, but good luck, I'm sure you'll find what you need
[Xoom Android Development] Almighty1:
Seems like the hotspot turns on the internal LAN but turns off the external WAN, can't have both on at the same time. Wireless Tether for Root/Barnacle Wi-Fi supposedly allows sharing the wifi connection, actually there are other apps on the market for sharing the wi-fi connection, but not the 3G application, saw it when the carriers started blocking the wireless tethering apps a month ago.

Hopefully Kelvie can point me in the right direction since I've normally done compilinng and building things for the same machine/platform but I have no idea how it's done on Android since it's Linux, one could compile things on the device itself but there isn't the gcc compiler and the make command doesn't work so it seems like people compile on desktops and then just distribute the binaries. I'm sure if I can figure this part out, I can get the wpa_supplicant compiled within 2 minutes flat as I can rebuild the entire Linux/FreeBSD OS with a new kernel in 28 minutes.
[Xoom Android Development] fwempa:
I am having same probs on Inspire4G... My XOOM continually tries to Obtain IP, but cannot.

I have used several WiFi Tether Apps to no avail.
[Xoom Android Development] mr_wrong_0:
I know my Xoom will hang on Obtaining IP address if I turn off the screen on my phone before it connects. I know it's odd but it won't connect unless the screen's on but once it's connected it works fine even with the screen off. I know it's a phone issue because my wife's EVO connects just fine while the screen is off. (even in ad-hoc mode)

I would suggest making sure that the screen is on, on the inspire. I'm sure you've tried that but it really should work.
[Xoom Android Development] fwempa:
Thanks for the response, but I tried... Doesn't work. How long does it take to connect??

I'm not even sure what else to report here so that someone can help.

A curious event occurs...

When i see the list of available networks, i see

(*)AndroidTether in the list.

When i select that item and tap "connect", it remains in the list and another seperate listing pops up named just AndroidTether (without the '*") This is the listing that says connecting. Is this normal behavior?
[Xoom Android Development] mr_wrong_0:
Yes- that's what it does on mine too, but it will connect after about 10 seconds or so. (as long as the screen is on on the phone) I overlook the oddness of the extra "AndroidTether" network because it just works.
[Xoom Android Development] fwempa:
Not sure why this worked, but here's what I did. Maybe someone who knows much more than I will have a reason and this can help someone. I tried Wireless Tether, WiFi tether. Neither app worked. I found another thread where someone mentioned another app called Barnacle WiFi. I could not install it thru the Market, but you can google the apk. Installed it and in setting selected "Skip wpa_supplicant". Then it just worked!!!! Took less than a second to connect with the XOOM and it stayed connected for the duration of my 5 minute test. Hope this helps.

If anyone knows or can explain why skipping the wpa_supplicant works, please comment.
[Xoom Android Development] daveba:
Here's a wpa_supplicant compiled by me from cyanogenmod source's that's been working perfectly for me since day one and doesn't have the idiotic "(*)" labelling. I'm not sure users care if they're connecting to an ad-hoc or AP net, they just want to connect in my opinion (and CM obviously as this is the same behaviour as in CM ROMS - i.e no labelling)

[edit] Binary removed. Look 3 posts down for new one.
[Xoom Android Development] mr_wrong_0:
Have you tested it for Honeycomb? Cyanogen isn't too involved with HC yet is he?

{edit} DOES NOT WORK ON HONEYCOMB. Kelvie's is still the only working wpa_supplicant for adding ad-hoc connectivity to HC.

I just tried it on my Xoom and while it didn't bork the wifi like others I've tried it doesn't show any ad-hoc networks. (With or without the *... they just don't show up at all.) It behaves just like stock.