PDA

View Full Version : Share your G1 connection over USB



bdogg64
11-03-2008, 01:26 PM
There is finally an option to use your G1 connection with your laptop. Its not the best solution but its better than nothing. I'm posting this from my laptop using the G1, so I can confirm that it works.

The url to the site is http://graha.ms/androidproxy

Here is a copy of the instructions

* Install the app on your android phone, by clicking here (http://graha.ms/androidproxy/Proxy.apk) (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 (http://code.google.com/android/intro/develop-and-debug.html#developingondevicehardware) 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 (http://code.google.com/android/download_list.html) 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 (http://graha.ms/androidproxy/AdbWin.zip)
* Plug your phone into your computer
* Choose Proxy App from your phone's menu
* Press the "Start Proxy" 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:8080 localabstract:Proxy
Linux/Mac: ./adb forward tcp:8080 localabstract:Proxy

* Now you should have a proxy server running on port 8080 of your own computer that will relay the information over the Android Debug Bridge to the Proxy App which will relay it on to the internet.
* Set your firefox proxy : Options > Advanced > Network > Manual Proxy Configuration

HTTP Proxy: localhost
Port: 8080

Leave the others blank
* Enjoy the slow slow EDGE network, or let me know if you have glorious fast 3g coverage!
* Remember to disable your proxy settings in firefox if you want to stop using your phone.

I had to install the Proxy.apk manually using the following code, but ymmv


adb install Proxy.apk

escosuave
11-03-2008, 01:47 PM
Good looking out

NismoG35
11-03-2008, 02:14 PM
Someone should try this and do a speed test. This is the fastest way to hit your cap and get throttled...

Sangfroid
11-03-2008, 02:19 PM
Hmmm, I've got the SDK installed but the Proxy.apk for the phone fails to install, my phone is on RC29 not sure if thats an issue or not. I guess I'll just keep checking your site to see if there is an updated Proxy.apk. Sounds like it could be hella useful.

ostraaten
04-18-2009, 02:09 AM
Does not work for me. Tetherbot installs on my G1 and I can start the socks service on my mobile, no errors or anything. But after doing proxy settings on my laptop as described I never managed to successfully connect to the internet . Not sure what the problem is, could be a bug in the application or the instruction. I'm on Linux Ubuntu btw.

Too bad it is not working it would have been very useful indeed, in fact it would have been my most valuable G1 application.

Munkie013
04-18-2009, 02:33 AM
I used this for a bit untill i rooted and started using wifi tether. Should root its so much easier to use wifi then to set up everything needed to tether via usb which isnt really tethering. Plus root gives u more options with other things.