Tether an Android Phone Using Proxoid
Productivity Sauce
The Android Market features a few tethering applications, so it should be easy to use your Android phone as a wireless modem. Well, that's how the theory goes, anyway. In practice, however, these applications require root access to your phone's system, so you have to "root" your phone before you can tether it. Rooting an Android phone is not for the faint of heart, though, and there is the ever-present risk of bricking your device. Meet Proxoid, a proxy server application that lets you use your phone as a modem without hacking its system. Making Proxoid work does require a few steps, but the entire process is simple enough even for uninitiated users. Here is how to make Proxoid work with an Ubuntu-based system.
Start with installing the Proxoid application on your Android phone from the Android Market. On your phone, navigate to Settings - > Application -> Development and enable the USB debugging feature. On your Ubuntu machine, create the 90-android.rules file:
gksudo gedit /etc/udev/rules.d/90-android.rules
Add the following line to it:
SUBSYSTEM=="usb", ATTRS{idVendor}=="0bb4", MODE="0666"
Save the file and quit the text editor. Download and unpack the latest release of Android SDK. Connect the phone to the Ubuntu machine via USB and start the Proxoid application. Open the 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. In Firefox, choose Edit -> Preferences and switch to the Advanced -> Network section. Press the Settings button in the Configure how Firefox connects to the Internet group. 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.
Comments
comments powered by DisqusSubscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
News
-
Halcyon Creates Anti-Ransomware Protection for Linux
As more Linux systems are targeted by ransomware, Halcyon is stepping up its protection.
-
Valve and Arch Linux Announce Collaboration
Valve and Arch have come together for two projects that will have a serious impact on the Linux distribution.
-
Hacker Successfully Runs Linux on a CPU from the Early ‘70s
From the office of "Look what I can do," Dmitry Grinberg was able to get Linux running on a processor that was created in 1971.
-
OSI and LPI Form Strategic Alliance
With a goal of strengthening Linux and open source communities, this new alliance aims to nurture the growth of more highly skilled professionals.
-
Fedora 41 Beta Available with Some Interesting Additions
If you're a Fedora fan, you'll be excited to hear the beta version of the latest release is now available for testing and includes plenty of updates.
-
AlmaLinux Unveils New Hardware Certification Process
The AlmaLinux Hardware Certification Program run by the Certification Special Interest Group (SIG) aims to ensure seamless compatibility between AlmaLinux and a wide range of hardware configurations.
-
Wind River Introduces eLxr Pro Linux Solution
eLxr Pro offers an end-to-end Linux solution backed by expert commercial support.
-
Juno Tab 3 Launches with Ubuntu 24.04
Anyone looking for a full-blown Linux tablet need look no further. Juno has released the Tab 3.
-
New KDE Slimbook Plasma Available for Preorder
Powered by an AMD Ryzen CPU, the latest KDE Slimbook laptop is powerful enough for local AI tasks.
-
Rhino Linux Announces Latest "Quick Update"
If you prefer your Linux distribution to be of the rolling type, Rhino Linux delivers a beautiful and reliable experience.
Link to platform-tools ADB Everyone is missing!
unpack in android SDK folder
Link to platform-tools
navigate here and run
./adb forward tcp:8080 tcp:8080
there you go! the new SDK makes you launch the android shell in the tools folder. I had a hell of a time seeing as how i am in an RV and have not ethernet and could only download mac ADB. I used the motorola permission in the android rules and all has worked great. Im looking to forward all traffic but I am a novice with android !
proxoid tether
Motorola use:
SUBSYSTEM=="usb", ATTRS{idVendor}=="22b8", SYMLINK+="android_adb", MODE="0666", OWNER="USERNAME"
If you have an HTC Android phone - use this rule instead of the one above:
SUBSYSTEM=="usb", ATTRS{idVendor}=="0bb4", SYMLINK+="android_adb", MODE="0666", OWNER="USERNAME"
If you have the Samsung Galaxy Android phone, use this rule instead of the one above:
SUBSYSTEM=="usb", ATTRS{idVendor}=="04e8", SYMLINK+="android_adb", MODE="0666", OWNER="USERNAME"
If you have the Sony Ericsson X11 Android phone, use this rule instead of the one above (Thanks to Steven from the comments):
SUBSYSTEM=="usb", ATTRS{idVendor}=="0fce", SYMLINK+="android_adb", MODE="0666", OWNER="USERNAME"
adb command problem
when I tried to execute ./adb command, it says no such command or directory.
In the SDK i downloaded, there is a txt file which says :
"The adb tool has moved to platform-tools/
If you don't see this directory in your SDK,
launch the SDK and AVD Manager (execute the android tool)
and install "Android SDK Platform-tools"
Please also update your PATH environment variable to
include the platform-tools/ directory, so you can
execute adb from any location."
when I tried to execute android, it says : exec:113 java not found.
What should I do?
pls help.
Beware
"No such file or directory
So, obviously I'm missing something pretty basic, if you all are satisfactorily working with this.
But if anyone has a hint it would be greatly appreciated.
Thanks,
Mark
If you cant find no adb command in tools directory
To install it, after you install the SDK, go to the "tools" directory and execute “android”. A GUI will show up then click on “Available Packets” and under “Android Repository” , mark "Android SDK Platform Tools" . Click on "Install Selected". Done!
Regards,
Alexandre Andrade
http://www.androidnews.com.br
Like others I see no adb command in tools directory
Downloaded latest Android SDK.
Doesn't work for me
Any idea?
plan's cap
working on Ubuntu 10.10
tether
Bluetooth
I wonder if something like this could work over Bluetooth
Great!
I created a simple script to set this up for you - Also includes a Launcher on the Desktop.
http://www.humans-enabled.c...her-your-verizon-droid-as.html
Works fine with opensuse 11.2 as well
thanks for the description - I got it working with opensuse 11.2 and opera as a browser.
First I received the error
./adb forward tcp:8080 tcp:8080
* daemon not running. starting it now *
* daemon started successfully *
error: device not found
but then the permission hint worked.
Capitalism finally working
Tether Android
network proxy
Why Proxy
Thanks!
THANK YOU
I would like to say THANK YOU! I was struggling with this problem since I bought my G1 (1 year) and now finaly I made it, thanks to Proxoid!
Again, thanks a LOT!!
./adb problem
unable to execute ./adb: No such file or directory
same thing if i try sudo ./adb, but ls -l adb gives:
-rwxrwxrwx 1 petter petter 340920 2010-02-05 23:53 adb
probably a newbie mistake, but I have no idea where to go from here.. any help is appreciated!
Chrome
Is there a way to forward all IP traffic through the proxy? I would like to be able to use SSH, Ping, etc. I setup Google Chrome similar to how the instructions for Firefox are posted. I used the pull down menu "Customize and control Google Chrome" and chose options. A new dialog window pops up with three tabs. I chose "Under the Hood". There towards the bottom you see "Network" and below that a button "Change proxy settings" I then select the "Manual proxy configuration" radio button and select the checkbox "Use the same proxy for all protocols" Enter "localhost" for the "HTTP proxy" and port "8080" was selected already.
There is a button at the bottom called "Apply System-Wide" but I still cannot use my Virtual Machines and other ports. Any ideas???
insufficient permissions for device
For those who are getting the "insufficient permissions for device" error, try this:
1.on phone:
settings->applications->development; enable USB debugging
start proxoid
2.on laptop (after installing Android SDK and adding 90-android.rules)
cd android-sdk-linux/tools
./adb kill-server
sudo ./adb start-server
./adb devices
./adb forward tcp:8080 tcp:8080
3. Change network settings in your browser to manual proxy configuration with HTTP Proxy=localhost and Port=8080
All credit goes to iefbr14 at this post: http://androidforums.com/ho...s-tested-linux.html#post136254
teather droid
I can't follow it.
error: cannot bind socket
Hi There,
unfortunately it not working for me.
Everything is fine until:
./adb forward tcp:8080 tcp:8080
* deamon not running. starting it now *
* deamon started successfully *
error: cannot bind socket
Trying it via sudo doesn't help either. Is there anyone who knows what to do?
TIA Julian
Not a real solution
On Android it seems all this is not possible. Having to configure clients and then only being able to use a proxy for access instead of full internet connectivity is too much of a pain and a real downgrade.
Worked perfectly - Thank you.
thanks
works perfectly, thanks!
Works beautifully!
/etc/udev/rules.d/90-android.rules file as described on another forum (http://androidforums.com/ho...ing-systems-tested-linux.html) as follows
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0bb4", ATTRS{idProduct} =="0c01", MODE="0666",OWNER="brett"
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0bb4", ATTRS{idProduct} =="0c02", MODE="0666", OWNER="brett"
SUBSYSTEMS=="usb", ATTRS{idVendor}=="22b8", ATTRS{idProduct} =="41db", MODE="0666", OWNER="brett"
Just changed the OWNER="brett" to OWNER="myusername" and yahoo!
Sending this comment over 3G!
THANKS!!!!!
Working well but unable to log into encrypted? sites.
No luck - until now
http://androidforums.com/ho...ting-systems-tested-linux.html
The secret is in the udev rules file.
sudo needed
sudo ./adb
the sudo command is needed for many administrative functions
No luck
I think the sticking point is with the adb command. When I ran it, I got the following output.
$ ./adb forward tcp:8080 tcp:8080
* daemon not running. starting it now *
* daemon started successfully *
error: insufficient permissions for device
$
Any thoughts? I'll check back.
Why the problem with providers?
Luckily I don't have a problem tethering and I never go over my cap. My provider blocks SIP which again is a sin in my eyes, what I run is my business since I also pay for a cell plan in addition to a data plan. This is why I didn't have any kind of cell phone until Android came along and brought some hope to this brutal industry. Still sucks being in N.A. but much better than before.
Motorola Milestone
SUBSYSTEM=="usb", ATTRS{idVendor}=="41d8", MODE="0666"
Tethering
According to http://www.t-mobile.com/Tem...p.aspx?PAsset=Pln_Lst_DataPlan , tmobile allows up to 10gb per month.
But, as you said, be careful. The same page specifically says tethering is prohibited.
Regards,
Christopher
Tethering
Reload configuration
sudo /etc/init.d/udev reload
and then it will all work.
New Linux phone from Vodafone
http://www.linuxphone.ru/fo...f=5&t=909&p=4339#p4339
The screenshots show social activity possible on phone.
depressing
depressing
Fortunately it's not like this in (most of) Europe, where I happen to live. We don't even have a word for tethering in my language, because it's something we consider so obvious. I've been "tethering" for pretty much all of this millenium and never gave it a second thought.
If a device is restricted in this way, I simply won't buy it - thanks but no thanks, especially to Apple!
Tether an Android Phone Using Proxoid