We use cookies to keep our site relevant and easy to use, your continued use of this site is consent that we may set several cookies (see our Privacy & Cookie Policy), click to always allow cookies from our site (and not see this notifcation on your next visit) or read more.Allow Cookies

EU legislation requires that all websites clearly specify if cookies are being used and their purpose, You can read more about how we use cookies (and which cookies we use) in our Privacy and Cookie Policy.

You will see this notification the first time you visit our website unless you accept cookies (in which case we'll set a cookie to remember thay you're happy for us to to set cookies!).

Tethering Android Droid/Milestone without Root!

Two posts on the same day and both techie – don’t be put off, normal ranty service may well be resumed soon…

I’ve used my Windows Mobile in the past as a tethered modem for my eee pc when out and about without WiFi, it’s not always been easy but has been handy to have around!

I reinstalled my eee today, and was looking around for how I’m going to achieve this same functionality with the Milestone on Android, almost everything screamed “root your device” at me. I’m not a fan of rooting it for a lot of reasons the biggest being I don’t want to brick the device – so that’s a non-starter.

Then I spotted a handy guide from linux magazine on Tethering Android, it didn’t work straight off which was a little disappointing. So a little more digging on the Android forums, produced some additional instructions. I’m producing them here for my own benefit as well as yours – as I’m bound to forget.

  1. Install “Proxoid” app from Marketplace.
  2. Turn on USB debugging mode on your phone:
    Settings – > Application -> Development -> Enable USB Debugging

  3. On your Ubuntu machine create a 90-android.rules file:
    gksudo gedit /etc/udev/rules.d/90-android.rules

  4. Add the following to it (note this is the difference from the linux magazine tutorial):

    SUBSYSTEMS=="usb", ATTRS{idVendor}=="0bb4", ATTRS{idProduct} =="0c01", MODE="0666", OWNER="*insertyourusername"
    SUBSYSTEMS=="usb", ATTRS{idVendor}=="0bb4", ATTRS{idProduct} =="0c02", MODE="0666", OWNER="*insertyourusername"
    SUBSYSTEMS=="usb", ATTRS{idVendor}=="22b8", ATTRS{idProduct} =="41db", MODE="0666", OWNER="*insertyourusername"

    * insert your username as appropriate!

  5. Download and unpack the latest release of the Android SDK: http://developer.android.com/sdk/
  6. Connect the phone to the Ubuntu machine with your USB cable and start Proxoid on the phone.
  7. Open a Terminal, navigate to the tools directory in the Android SDK folder and run the following command:
    ./adb forward tcp:8080 tcp:8080

The proxy server should now be running, but to be able to use it with Firefox, you have to modify the browser’s proxy settings:

  1. In Firefox, choose Edit -> Preferences and switch to the Advanced -> Network section.
  2. Press the Settings button in the Configure how Firefox connects to the Internet group.
  3. Select the Manual proxy configuration option, then enter localhost in the HTTP Proxy field and 8080 in the Port field. Press OK to save the settings and close the window.

Now you can browse the Web using the created connection.

Given that I’ll need to remember how to do this, when I don’t have a connection. Here’s a handy PDF with the above guide to tethering android to put on your android device!!

This entry was posted on Thursday, March 11th, 2010 at 4:15 pm and is filed under Linux, Mobile Phones. You can follow any responses to this entry through the RSS 2.0 feed.