4

My Galaxy S with the Samsung Android built on it offers me the option the run the phone as a W-LAN acess point that connects to the internet via mobile data.

I would like to configure the access point to start working immediately after booting the phone.

How to do that?

Bonus points if the setting can be achieved via adb and/or if I can set the wifi-password from adb as well.

3

The WiFi password IMHO is only setup once, when you configure your device's hotspot. Lateron, you simply activate/deactivate it.

To automate the latter, you could e.g. use Tasker:

Profile "AutoHotspot":

  • Condition: "Device Boot"
  • Task: "WiFi Tether" → set On

With this profile activated, your Hotspot would be automatically be enabled as soon as the device has completed booting up.

For the "bonus point" you mentioned: There's a free 7-day trial available on the Tasker Homepage. You can download the .apk to your computer, and use ADB to install it on your device (adb pm install)...

| improve this answer | |
  • Thanks, that is already helpful. The "bonuspoint" was about if there is a way to do the whole setup from adb. In the context of your answer, that would mean installing tasker, setting the profile, and configuring the wify password. Imagine a phone screen that is broken or unresponsive. – Konstantin Schubert Mar 25 '13 at 14:38
  • 1
    I understood that -- was just "playing with words" here. I'm not sure whether that's fully doable via ADB -- even if you prepare the .xml for the profile and adb push it to the device, I have no idea whether Tasker offers an intent you could invoke to import the profile. – Izzy Mar 25 '13 at 14:41
1

Regarding the bonus points and starting via adb on a device with broken screen, I think Herb Peyerl found a good solution here: Auto start hotspot on Android 4.4.4

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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