WiFi Ad Hoc enabler for Android

January 15th, 2012 by Arend Leave a reply »

This application enables WiFi Ad Hoc mode on supported Android devices.

WARNING – In a worst case scenario you may have to restore your device with a backup rom. If you are not ready to do so please don’t use this app.

Reported to give problems on:

  • HP Touchpad running Cyanogen Mod 9 ICS
  • HTC Tattoo, Android 2.3.7 CyanogenMod-Arco-Kalim 
  • HTC Incredible S with 2.3.3 RU (Bootloop)
  • Huawei U8500 (msm7225)
  • NOOK Tablet – BNTV250 (Android 2.3.4)
  • Droid Incredible 2 running TSM GingerBangSense “M” Version 4.5  (results in a  bootloop, requires rom restore)
  • HP TouchPad  Running CM7 Alpha 3.5 (no more wifi at all, requires rom restore)
  • LG Optimus One (new update hopefully changes this)
  • GPAD M7206
  • Samsung I9003 Galaxy SL

Reported to work on:

  • Samung Galaxy Tab GT-P7510, GT-P7500
  • Samsung Galaxy Note – GT-N7000
  • Samsung GT-I9100  (Samsung Galaxy S2)
  • Samsubg GT-I9220 | 4.0.3 | kernel: 3.0.15-I9220ZCLP1-CL131270
  • Samsung SPH-D710 Galaxy S2 Epic Touch 4G
  • Samsung GT-I9000  (Galaxy S I)
  • Samsung GT-S5360 Galaxy Y
  • Nexus S (ICS)
  • BBK vivo v1
  • HTC Desire
  • HTC Flyer HoneyComb 3.2  Wifi Only WWE version
  • Droid
  • Acer Iconia Tab A100
  • Acer Iconia Tab A500
  • Lenovo k1 using bcm4329 wireless chipset

Features:

  • Enable WiFi Ad Hoc mode (and keep infrastructure)
  • Restore original settings

Issues:

  • No WiFi signal strength visible in taskbar
  • There are reports where WiFi completely stopped working (until a factory/hard reset).

Requires:

  • Root Access (Superuser)
  • BusyBox (don’t forget to actually use the BusyBox wrapper app to download the BusyBox binary!)

Use at your own risk! Please create a rom backup before using this tool.

If you successfully enabled WiFi on your device, please press the “It Works” button to report it to me. I will add your device to the list of supported devices.

 

Market link: WiFi Ad Hoc enabler

Scan to open application link in the Android Market

 

 

 

 

 

 

 

 

If you don’t have access to Android Market please use the direct download link: WifiAdHocEnabler.apk (Latest v1.8)

Credits

Szymon for creating the wpa_supplicant file that allows you to see Ad Hoc networks ( http://szym.net/2010/12/adhoc-wifi-in-android/)

RootTools, a library that allows easy root related tasks: http://code.google.com/p/roottools/

Supporting more devices

Thank you for all your support requests. Before adding more devices, the app must become a bit more stable and reliable in determining the requirements for it to run.

Update: 31 January

Version 1.8.1 is out, changelog:

116 comments

  1. Sami says:

    Thank you very much..
    this is very helpful..good job.
    please don’t stop developing for Android :)

    • Arend says:

      Thanks Sami,

      I’m thinking of creating a tool that allows for multi user functionality in Android. I have to research what’s possible and this for sure will be a big challenge!

  2. Pathma says:

    I couldn’t connect my Galaxy S2 to my Laptop ADSL? Does this application solve ADhoc problem Galaxy S2?

    Andorid 2.3.4 , Kernel 2.6.35.7, Baseband I9100GDZKH5,

    • Arend says:

      It depends, does your laptop present itself as an Ad Hoc wireless network as opposed to a regular infrastructure network ?
      This is often true as a laptop cannot provide the same functionality as a WiFi hotspot. Is your S2 rooted ? Do you have BusyBox and Superuser installed ?
      You will at the very least have to disable the compatibility check (found in the settings menu) before being able to proceed with my app.
      Please let me know if it works for you so I can add the S2 to the list.

  3. maruf says:

    Please add desire HD on the apps

  4. macmac says:

    Please add the Kindle fire thx lot

  5. ralf says:

    Samsung GT-P7511 with Android 3.2 is not supported. Disabling compatibility check not solve the problem. The device is rooted and busybox is installed…

  6. ainol says:

    pls add support for
    device model: NOVO7 Advanced
    android release ver.:2.3.4

    thanks in advance

  7. Yz says:

    Hi,

    As Ralf said, checking the compatibility mode doesn’t allow to proceed the process of changing the file. My phone is GT-i9000, version: 2.3.6. I was hoping that I would give it a try so I can confirm whether it works or not on i9000.

    • Arend says:

      Thanks for explaining. I will release an updated version today to fix that.
      Thanks for explaining. I forgot, you will have to press the first button (verify prerequisites) before you can continue after disabling the compatibility check. (I will change that in an upcoming version.)

  8. ralf says:

    you will find a screenshot under this link:

    http://pcn.dyndns.org/Samsung.jpg

    The message appears before i can press “enable wifi ad-hoc”

  9. ralf says:

    it was installed from the marked.
    meantime i have installed the wpa_supplicant file over the terminal, but your tool would be the better choice to make adhoc’s available

    • Arend says:

      Yep, I had already done it by hand too, but having an app would simplify the process when testing out new roms.

      For my understanding:
      1 You pressed the verify button.
      2 Popup, not compatible
      3 Disable compat check
      4 press verify button again
      5 Still the popup about not being compatible ?

      Is that how you tested it ?

  10. LucRib says:

    Hi!
    Pls add support for:

    Device: Samsung Galaxy Tab GT-P1010 (Wi-Fi Only)

    Android release ver.:2.2.2 – Froyo.UJKM5

    Kernel: 2.6.32.9

    Thanks!

  11. tmliberty says:

    Pls Add support for

    Device : Samsung Galaxy SL i9003
    Model : GT-I9003
    Firmware : 2.3.6

    Waiting for this since a very long time.

  12. ZuBeY says:

    Please add support for:
    GSmart 1317D
    Gigabyte
    Android v.2.2.2

  13. raZor says:

    Could you please provide a download link, as my device isn’t connecting to the market

  14. Nakao says:

    Hello, can you add support for HTC Flyer?
    Device model: HTC Flyer (Brightstar)
    OS: Android 3.2.1

  15. thesunfei says:

    It works well on my android 2.3.3 phone.
    Device is BBK vivo v1,made in China.
    ROM is eng.compiler.2012011.230240
    2.6.35.7-perf

  16. tmliberty says:

    tried v1.7 on Galaxy SL i9003 . Wifi automatically disables after 10-15 secs.

    I believe you have to include support for TI OMAP3630 chipset used by this device.

    Btw, I have tried all ways to get ad-hoc wifi on my phone , yet nothing till date seems to work.
    1)wpa_supplicant method (Wifi Analyser can see the ad-hoc connection but phone can’t connect)
    2)reverse tether by bridging connections and then dhcp eth0 method (here this doesnt work because it only shows tiwlan0 and ‘dhcpcd tiwlan0′ doesnt work)
    3)softwares like connectify , mhotspot etc do not work for me either.

    Here is what i found http://code.google.com/p/adhoc-on-android/

    Dude , you are doing great ! pls get it working soon for all devices.

    • Arend says:

      I looked it up, but it doesn’t sound like something that can easily me implemented. Looked for other options but not much info available I guess. Let me know if you find out more.

  17. abdc says:

    I have a samsung galaxy R (I-9013); the little brother of the galaxy S2. I’ve installed superuser v2.3.6.1, but I can’t for busyuser because superuser don’t help to reach the root access. In the end, the Wifi adhoc don’t turn. Please help me.

    • Arend says:

      I’ve had my fair share of superuser issues. Sometimes the allow dialog doesn’t popup and pretty much stops the requesting process dead in its track. Reinstalling superuser and rebooting did the trick for me (I think) I think xda-developers.com would be the best place get support on this specific issue.

  18. Marco says:

    Hi, I’m not able to find “Disable compatibility check” under Settings. Is this in the same place for all tablets?
    I’ve a cheap Chinese tablet with Android 2.3.
    Thanks

  19. Marco says:

    I’ve just realised that maybe I misunderstood….
    When you say “Settings” do you refer to your program or Android settings?

    • Arend says:

      It is an option in the app itself, using the menu button you can often go to the settings tab. On my galaxy tab however it is located on the bottom left corner of the screen.

  20. Sashi says:

    Great work!

    Could you please add support for Xperia Neo…

  21. costadenis says:

    hi

    I really dont know what occur.

    I installed both app and created ad hoc network on windows 7 and launched wifi ad hoc enabler.

    I followed all steps of instructions and everything was ok. Turned on tablet wifi and found adhoc network recently created on windows, after password the device doesnt connect. Im on samsung galaxy tab 10.1 (gt-p7500). What am i doing wrong.?

  22. Danielle says:

    Hello, I have the Samsung Galaxy S2 Epic 4G. Can u explain how to root my device? Also, what is busybox? Thanks

  23. Szempy says:

    Hello, could you add support for Novo 7 Paladin ICS 4.0.3 with kernel : 3.0.8-svn649 i sent the report mail too, if you need other things, please contact me.
    Thanx, and keep up the good work :)

  24. Marco says:

    Some troubles here….
    Device: m7206
    Android release: 2.3.3
    Kernel: 2.6.35.7-infoTM

    I’ve disabled compatibility check, verified pre-requisites (OK), enabled wifi ad hoc (pop up says OK), but now when I switch on wifi it finds nothing and automatically switch off after 15 sec.
    If I restart the app it says that ad hoc is already enabled.
    Not able to restore previous settings (appropriate tab not highlighted).
    Now wifi isn’t working. Any suggestion?

    • Marco says:

      Update: after few trials now I can tap on restore previous settings (pop up OK) but no real changes, wifi still switch off after 15 sec.

      Manually restoring original wpa_supplicant seems everything restarted working, but of course no ad hoc…

      • Arend says:

        Thank your for your info Marco, could sent me a logreport? Just the verify report should suffice

        • Marco says:

          Report sent, waiting for your suggestions.
          Thanks

          • Giuseppe says:

            Hi Marco and Arend. I have the same device, kernel and and android as Marco. Same problem wifi turns off after 15 seconds no adhoc displays in list. Can not find the compatibility check to uncheck only shows ABOUT when I press the menu. Can restore by pressing the restore, if it is not highlighted do step 1) and 2) again then press restore straight after step 2). Marco and Arend is there a solution for our device?

    • Charles says:

      I also have the m7206 and would like to know if there is something that can be done for this device.

      Marco, if you happen to find out how to enable WiFi Ad Hoc mode please respond back and let me know.

      Thanks.

  25. Brad says:

    Works well on Inspire, except that if I connect to one hotspot and disconnect, it seems to have trouble connecting after that. I have to disable and re-enable wifi to get it to work. Otherwise, it sits and scans, but never sees any SSIDs.

  26. LakovicS says:

    Working on my THRIVE. Ad hoc wifi on iphone4

  27. DNK says:

    Hi, Arend!
    I have a same trouble as «tmliberty», on same divice (post – January 22, 2012 at 12:10 pm ) – Galaxy SL i9003 (2.3.6). Wifi automatically disables after 10-15 secs…. and dont show any point…

    Afrer fist reboot device I can Restore original settings, and Wifi scanner works correctly, and I can view all access point around, and… I tried run the «WiFi Ad Hoc enabler» again.

    But, after second rebooting I can’t Restore original settings… 10-15 secs… ? WiFi Disable.

    P.S. I have a backup :-) device not killed.
    Anyway, thanks for you work!!! You give up hope! :-)

    • Arend says:

      Hi DNK,

      Thank you for your detailed explanation. I am currently working on a new version that will have a better backup procedure. It will also have some other improvements. Is the Galaxy SL i9003 known to be modifiable to allow for ad hoc networks ? If so please give me a link so I can look up the specifics for enabling your device.

  28. Capta76 says:

    Thanks!!

    My Acer A100 Wifi is working great off my Iphone 4 using PDAnet!

  29. rain says:

    hi,

    i installed this application in my samsung galaxy young but when i click verify prerequisites, it says “unable to gain root access, please verify you have rooted your device. If already done, please grant this application root access.” I have already grant the access from superuser application. Please help me.

  30. LucRib says:

    Hello! someone has tested this version in the model Galaxy Tab Samsung GT-P1010 (Wi-Fi Only). Android release: 2.2.2 – Froyo.UJKM5. Kernel: 2.6.32.9
    In the Android Market, it seems that works, but …
    Thanks!

  31. mario says:

    Please support asus prime

  32. Samsung Galaxy Y (GT-S5360) says:

    i used this application with my samsung galaxy Y GT-S5360 and i cant use my wifi anymore.. hope you have have solution in that error.. Please help me.. how to enable my wifi again..

  33. amsung Galaxy Y (GT-S5360 running 2.3.6) says:

    I did on my SS Galaxy Y running 2.3.6:
    - Root the phone
    - Install Busybox
    - Install this app from market
    - Reboot device
    - Run the app, verify prerequisites successful, enable wifi adhoc successful.
    But: when restart wifi, it can’t detect the adhoc wifi signal from my laptop.
    Please help! (srr for my English!)

    • Arend says:

      Please use the restore function for now. As I don’t have such a device, I have to rely on others coming up with solutions that enable Ad Hoc mode.

  34. BaoBao says:

    Does not work on x10 Stock Rom 2.3.3
    please fix it.

  35. ralf says:

    meantime it works great on Samsung GT-P7511 (Samsung Galaxy Tab 10.1N)

    thank you very much for your great work…

  36. 42 says:

    On my Samsung Note
    - it shows the ad-hoc network
    - cannot save the network when I enter the password

  37. Thatkid says:

    Please ad asus Prime =)

  38. Mark says:

    This use to work on my HTC Magic on CM7, but now the 1.8 freezes my WIFI and i don’t have a back-up of the older version :( . I hope you could send me an older one i forgot which version that is working for me but it’s on the old UI

    my mail is thank you so much, i really love your app.

    • Arend says:

      Hi Mark, I don’t have an older version laying around but I do know what changed over time and would like to know what made it not working for you anymore. Could you somehow send me a report from your HTC ? ?

  39. Fabio says:

    Hi, I used it on my Galaxy Ace. Appeare this message: grep:not found.
    Unable to execute root commands using the su binary while mounting system partition. Please verify root access and busybox n your device.

    Thanks in advance.
    Fabio Italy

    • Arend says:

      Hi Fabio, I see this error quite often in the log reports. All I can think of is that my app is unable to access the busybox provided “grep” command. Have you downloaded busybox using the busybox app ?

  40. leyo says:

    works great on my samsung galaxy prevail

  41. Charbel (Samsung Galaxy S2) says:

    The installation went smoothly, in addition, i was able to enable wifi ad-hoc, yet i found a small problem, when connecting to an ad-hoc it is always setting on “obtaining IP Address…” & the ad-hoc is set to be automatic.
    (WEP security is used)

    went over the log that is set in the bottom of the application, everything is “Fine” and all was implemented correctly to replacing the wpa_supplicant.

    my phone is rooted with KERNEL “KJ2″ – superuser privvileges for you app.

    any ideas?

    btw, great work … Thumbs up.

  42. Samsung Galaxy Y (GT-S5360) says:

    yes, i tried factory restore. but when i click verify prerequisites and enable wifi ad hoc and tried to restart my wifi, it cant detect my adhoc network.i just wondering what do you mean by “BusyBox (don’t forget to actually use the BusyBox wrapper app to download the BusyBox binary!)” i downloaded busybox installer v1.19.2 stericson. please help me.. my unit is samsung galaxy gt-s5360.

  43. Fabio says:

    Devise: Samsung Galaxy Ace
    Android: 2.3.6

    I lunch your sw, I press 1) verify prerequisites and this is the response: Unable to execute root commands using the su binary while mounting system partition. Please verify root access and busybox on your device. Please help me. BR Fabio

    • Arend says:

      Please not only download BusyBox app but open it and use it to install the busybox binary, or did you already do that ?

  44. Ali says:

    When to add the galaxy tab 7.7 p6800? Pls. Work on it..
    Thank··

  45. D says:

    Don’t think it works on Galaxy Nexus GSM.

    Shame :)

  46. deepak says:

    I tried it on my galaxy s gt-i9000, it didn’t work. I have installed teamHacksung’s CM9 build 15, and whatever kernel it came with. When I started, I checked prerequisite, everything fine, no error. Then I moved to enable ad-hoc wifi, still everything went fine, no error atleast on terminal I see everything succeeded.
    But, now when I switch on my wifi, it is stuck at switching wifi on, and it never switched on.

  47. Fabio says:

    Hi Arend, I installed busybox and now it work well! It work only with out WEP password. I need use adhoc with protect WEP. Could you help me? Thanks in advance. Fabio Italy.

  48. giacomo says:

    Somebody know if it works in Samsung galaxy 551?
    thanks!

  49. user says:

    not work in GT-I9000 android 2.3.3

  50. Pat says:

    Hi,
    I installed it, the prerequisite step went fine.
    I can now see the Ad Hoc SSID, the phone connect to it, then keeps on looping at the following steps “obtaining IP address” and disconnect!
    I have HTC EVO 4G with 2.3.3.
    Any help will be much appreciated.
    Thanks

Leave a Reply

*