Skip to content


How To Tether Your T-Mobile (HTC) G1

G1 TetherBefore reading on, this is for advanced tech people only (aka geeks).  For those who do not what tethering is, it lets you use you connect your phone to your desktop/laptop and utilize its data service.  Some service providers charge you an additional $20 to have this ability but I think that’s only for people who have money to waste since they’re basically doubling your data service for the same service.

Note: You cannot perform this if you updated your phone to the new RC30 update.  If you’d like, you can install the modified RC30 firmware with root support at http://rapidshare.com/files/162035634/update-RC30-fullupdate-modified-testkeys-v1.1.zip

Thanks to Grahamsz, he is the first (and only i believe) who has created a working tether app for our G1. The app works with edge,3g, and wifi.

Here are the instructions on how to set it up. Theese are copied from his website (http://graha.ms/androidproxy/). Please note that I have changed the link to the app which needs to be installed to the phone, because the one on his site is temporarily not working.

Tetherbot
Welcome

Wow – i didn’t expect this would generate quite this much response. Looks like i’ve made the front page of Lifehacker and various other blogs.
What is this?

This is an experimental SOCKS proxy and Port Bouncer that should allow you to connect your laptop to the internet using the internet connection (EDGE, 3G or Wifi) of your T-Mobile G1 Cellphone.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

What is this not?

It’s not really a true “tethering” app. Presently we don’t have access to any low level packet APIs so it’s impossible (without hacking the lower levels of the phone) to write something that does the kind of NAT connection possible with Windows Mobile phones.

Who are you?

My name’s Graham Stewart, I’m a 28 yr old Software Consultant in Boulder, CO. I’m also involved in various other ventures, including the news discussion aggegrator banniNation.com. I’m also a keen photographer.
Installation

Read the bit above about no warranty again. This shouldn’t damage your phone, but if it does, it’s your own fault!

* Install the app on your android phone, by clicking here (from your phone browser of course)
You might have to change your settings to permit apps that don’t come from the Google Market by going to your home screen and choosing MENU > Settings > Applications > Unknown Sources.
* Turn USB debugging on on your phone
On your G1 go to the home screen, press MENU > Settings > Applications > Development, then enable USB debugging.
* Follow the instructions here to install the Android driver – you’ll need to do this on Windows & Linux but apparently not on the Mac.
* Download and install the Android SDK for your computer platform. Alternatively if you are on Windows and don’t want a 100 meg download, just get the ADB utility from here
* Plug your phone into your computer

Using the Socks Proxy

The SOCKS proxy will let you connect things like firefox to the internet

* Choose Tetherbot from your phone’s menu
* Press the “Start Socks” button on your phone
* Move to the directory that has the adb utility, using inside the Sdk Tools folder and run

Windows: adb forward tcp:1080 tcp:1080
Linux/Mac: ./adb forward tcp:1080 tcp:1080

* Now you should have a socks proxy running on port 1080 that you can use to configure firefox
Okay i got it to work using an Add on from Firefox

Download FoxyProxy from mozilla page..

https://addons.mozilla.org/en-US/fir…yproxy&cat=all
—————————————————————————————————–
Open the FoxyProxy Options

Proxies —–>

Add New Proxy ——>

General (Check enable,Proxy Name: Tetherbot, Leave blank Proxy Notes, Select Animation icon & Include this proxy) ———->

Proxy Details (Select Manual Proxy Configuration, Host name: localhost Port: 1080, Select Socks proxy?-Socks v5) Click ok a warning message should appear saying “You didn’t enter and enable any white…..” Hit yes

Tools/FoxyProxy/Use Proxy “Tetherbot for all URLs

Now refresh your page and see if you are able to go online..

Socks Proxy: localhost
Port: 1080

Leave the others blank
* Remember to disable your proxy settings in firefox if you want to stop using your phone.

Using the Port Bouncer

The port bouncer will let you connect to a single port on a remote host. This works well if you need to establish an SSH tunnel to your home machine.

This should work for TCP only vpns (openvpn can be configured in this mode) but it wont work for Microsoft PPTP (because it’s GRE based) or most typical openvpn setups (because they are UDP based).

* Choose Tetherbot from your phone’s menu
* Enter the hostname of the server you wish to connect to on your phone
* Enter the port you wish to use
* Press the “Start Tunnel” button on your phone
* Move to the directory that has the adb utility, using inside the Sdk Tools folder and run

Windows: adb forward tcp:4444 localabstract:Tunnel
Linux/Mac: ./adb forward tcp:4444 localabstract:Tunnel

* Now you should have a tunnel connecting from port 4444 on your local host to the port on the host of your choice
* To establish an ssh connection, type something like

ssh -p 4444 user@localhost

and you should be routed through to the server in question

Credits

Thanks to my wife and boss for their patience while I scramble to get this working.

Similar Posts:

Posted in Toys. Tagged with , , .

  • georgie

    thanks. i tried it with foxyproxy but still no love. i am unable to select tetherbot from the phone menu… it just doesn’t show up. I have the sdk, added the driver bits, of course plugged in the phone, have usb debugging setup, and am able to see the device from ‘adb devices’ — did the latest android patch break this???

  • jack

    i went through all the steps…..ive checked over and over….and had another friend of mine give it a go on my laptop…..didnt tell him nething of what i did….told him to give it a go….and nothin yet….im still on RC29…..can anyone gimme some help plz

  • ed

    Hey will this work if I have rc30. What do I do with the rc30 zip file you provide. If I download it where do I put it and how do I open it?

  • http://www.namshik.com namshik

    ed -
    this will not work on rc30. this tethering is only for advanced users. i highly recommend amateurs to wait for an easy to use, app that will do it all.

  • Dazzer

    Hey, thanks a bunch, U are awesome. I’m using my G1 as a modem right now. Your instructions are easier than the original poster of the tethering technique. If only the connection wasnt so dead slow. Oh btw, the one thing to add to the end of your original post – Tools -> FoxyProxy -> More -> Global Settings -> (and then tick) Use SOCKS proxy for DNS lookups. This made it work for me

  • Jordan

    Im running a non modified rc30 and it runs fine for me. Guess my phone just likes me.

  • http://nitenren.blogspot.com Renarudo

    Thank you, Dazzer. FoxyProxy worked for me, and I got the tethering to function (albeit, with some trial and error – mainly a bunch of reloading). The good news is that as long as I have phone service, I can have internet access.

    Good gravy, EDGE connectivity sucks for regular websites. I guess the good news is that it’s faster than 56k, but noticeably slower, even on 3G, than broadband.

  • Jacob

    Hi – I’m getting a blank screen once everything is set up. Is anyone else experiencing this? Thanks much for any advice!

  • brandon

    I had tmobile wing and must applications are adobe flash player based if I want to watch a video but the g1 can’t so I used a third party to watch. Question if I were to download the software that I have from my wing (mobile vista for phone) to my memory chip, will I need to tether my g1 phone to make it work?

  • E

    ok, since this is for advaced tech people how about one for novice people. step by step easy instructions that all can follow. i would like to use my g1 as a modem for my mac but i am not following all of these instructions. plz help!

  • yakoob

    sim network unlock pin

  • yakoob

    sim network unlock pin

blog comments powered by Disqus

Rss Feed Tweeter button Facebook button Technorati button Reddit button Myspace button Linkedin button Webonews button Delicious button Digg button Flickr button Stumbleupon button Newsvine button Youtube button