Android Enthusiasts Stack Exchange is a question and answer site for enthusiasts and power users of the Android operating system. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How it is possible to enable portable Wi-Fi hotspot from ADB shell or by editing some configuration files on Android Jelly Bean? I need to do it interactive for automatic test server

share|improve this question
What's wrong with Settings > More... (underneath Wi-fi) > Tethering and Portable hotspot > Portable Wifi hotspot? – t0mm13b Jan 3 '13 at 18:10
I need to do it interactive (using ADB) - need it for automatic test server – Dima Jan 3 '13 at 19:11

If you have root on your phone, you can use Wifi Tether for Root Users. I have a Droid4 with Jellybean and got it working after installing the latest version.

For my Droid4, the following settings worked:

Device-Profile: Generic ICS/JB (wlan1)
Setup-Method: Netd-Ndc (master)

share|improve this answer
I need to enable Wi-Fi hotspot from ADB shell, not from GUI – Dima May 3 '13 at 10:27

There is an app called FoxFi that lets you tether your phone's internet over bluetooth or wifi. There is no need for adb etc.

It is compatible with Jellybean because I use it too Here is the link:

share|improve this answer
I need to do it interactive (using ADB) - need it for automatic test server – Dima Jan 3 '13 at 19:12

You could trigger that using Tasker:

WiFi Tether: Turn on sharing of the device's Internet connection via wifi.

You just need to pick a fitting trigger -- I picked File Events for this example:

  • Condition: File Events
  • Task: WiFi Tether

So with that set up (specifying the parameters of course), you should be able to trigger your WiFi hotspot (aka "WiFi Tether", as the Tasker manual names it) by placing a file -- and trigger it off again by removing the file. Did not try that myself -- but that's how I understand it :)

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.