Shared publicly  - 
 
Tether for Android
Update #1: (Wow, seem to have hit the 500 comment limit, please go here to leave a comment: https://plus.google.com/103583939320326217147/posts/Pe3VVGedTWw)

Update #2: Tether is now live on the Android Market! https://plus.google.com/103583939320326217147/posts/XGgEppQEYYp

Over the last month, I've been working on a new app. Tether Alpha is a USB[2] tether solution for Mac, Windows, and Linux that allows you to use your phone's data connection to get internet access on your desktop or laptop.

ClockworkMod Tether does not require root on your phone and does not require a separate tethering plan. Tether should work with any carrier and phone, and is not blockable or detectable by carriers[1]. To get around the root requirement on your phone, Tether will need to install a virtual network adapter on your computer; so there is a PC side install. [3]

I'm looking for meaningful feedback in the following areas:

1) Did you have problems installing it or getting it working? (If so, operating system? Ie, Windows 7 64 bit, etc)
2) How is your download speed once everything is set up?

The UI is pretty rough, the icons, and general app design are not final. I am just looking to make sure the underlying services all work properly.

Download links:

Mac (10.6/10.7): http://download.clockworkmod.com/tether/tether-mac.zip
Linux: http://download.clockworkmod.com/tether/tether-linux.tgz [4]
Windows (Windows XP/Vista/7): http://download.clockworkmod.com/tether/TetherWindowsSetup.msi

The above links should automatically install the Android portion if you have USB debugging enabled on the phone, but if something goes awry, here's the Android APK:
http://download.clockworkmod.com/tether/Tether.apk


I am intentionally not providing any installation instructions, because I feel that if the app can't be set up without installation instructions, I have failed to make it easy enough to use. ;)
So please provide any feedback you may have if you have a hiccup during installation! (The final market released product will have instructions though)

This version will time bomb on January 7th. I'll release new versions before then, so if the app stops working, just check back here.

Thanks all!




[1] It functions as a proxy, and not as a NAT/masquerade solution that other tether solutions use. Though carriers can still check for http user agent string, but I have an idea to work around that. They typically check the TTL for desktop values. All usual carrier data charges and quotas will apply, but you will not need a separate tethering plan.

[2] I'm working on getting Bluetooth working as well.

[3] I wish I could not require a PC side installation, but it is simply not possible if the phone is not rooted.

[4] There is no UI for the Linux interface. Just sudo linux/run.sh after extracting the zip.
1324
528
Kurt Richter's profile photojeremy milroy's profile photoJohn Snow's profile photoMax Krivonos's profile photo
464 comments
 
Finally!! Awesome job as usual Mr. Dutta!! Will install and report back my findings... And if I get hit with a bill from VZW, I'll be needing a CC # from you to pay it.. ;)
 
wow... nice man..... if i wasn't throttled id try it.....
Zach M
 
I'll check it out in the morning and let you know. I'll try the win and nix installs.
 
ouch... requires OSX 10.7? No love for the SL crowd?
 
For the MAC version, requires Lion (10.7), instead of the latest version of Snow Kitty (10.6.8). Got rid of Lion for many reasons...
 
Great stuff! Any chance there will be an android client for my Asus Transformer some day?
 
Am I missing something? Shouldn't there be an .apk somewhere?
Ian Rosen
+
1
7
8
7
 
Windows 7.. install failed. "There is a problem with the Windows Installer package. A program run as part of the setup did not finish as expected."
 
No worries. thanks for your hard work! I use Wifi Tether on my Samsung GN, but will test this too. :)
 
good job man.. glad to see people are still trying to get things done without root. makes upgrading to a new phone bareable
 
I'll try it out on my train ride up to Seattle tomorrow. Amtrak provides Wifi, but it's pretty garbage :P
 
Worked perfectly on Win7 SP1 x64 tethered to a Droid Bionic running a ROM based on the .893 OTA.

As long as you let the MSI install the NDIS driver, and ensure that ADB is enabled on your phone this will go off without a hitch. I did, however, have to start Tether twice on my laptop in order for it to work. I expect happy tethering from here on out.
 
I got an error: "There is a problem with this Windows installer package. A program required for this install to be complete could not run." Does the installer need internet access? I turned off my hotspot (my only internet access) to install and plugged my phone in USB as I thought the hotspot may interfere.
 
Unable to run in Ubuntu 11.10 64bit
=============================================

sarvesh@sarvesh-laptop:~$ sudo tethherlinux/linux/run.sh
[sudo] password for sarvesh:
sudo: tethherlinux/linux/run.sh: command not found
sarvesh@sarvesh-laptop:~$ sudo sh tethherlinux/linux/run.sh
sh: Can't open tethherlinux/linux/run.sh
sarvesh@sarvesh-laptop:~$ sudo sh tethherlinux/linux/run.sh
sh: Can't open tethherlinux/linux/run.sh
sarvesh@sarvesh-laptop:~$ sudo sh '/home/sarvesh/tetherlinux/linux/run.sh'


/home/sarvesh/tetherlinux/linux/run.sh: 6: function: not found

sarvesh@sarvesh-laptop:~$ sudo '/home/sarvesh/tetherlinux/linux/run.sh'


/home/sarvesh/tetherlinux/linux/run.sh: 6: function: not found
 
Everything went well on Windows 7 64bit with my DroidX running ICS except that I had to kill Tether after the first time I launched it to get it to work.
 
Works good running on 10.7 tehtering from a nexus s 4g 4.0.3 but i wonder if it can tether 4G....?
 
Win 7 64 bits - Galaxy S2 CM7 - Which driver to use ? Google or Samsung ?
BTW, I try with the windows update driver, got this error log

Tun/tap device IP: 10.0.0.1
Reading tun/tap device...
Listening on tether port...
Tether error:
{ '0':
{ [Error: connect ECONNREFUSED]
code: 'ECONNREFUSED',
errno: 'ECONNREFUSED',
syscall: 'connect' } }
Tether connection closed...
STATUS: Tether has disconnected.
Tether connection closed...
Tether error:


EDIT : I press 'Stop' and 'Start' again and the second time it works !
Don't know why the first time i press 'start', the program didn't try to install APK on the phone.
 
+Sarvesh Lad It appears that the run.sh isn't executable directly after unzip. So, do "chmod +x /path/to/file/run.sh" no quotes, and that should help.

All the best,

-Sam
 
not compatible with OS X 10.6.8 :( I may have to just finally force myself to accept the horrid changes 10.7 made
 
Have you considered installation from an app on a phone to the computer? That would be nice if we needed to connect to a computer on the go.
 
This Linux package is... totally borked. Once you get past the obvious making of run.sh executable, you have all kinds of things-not-in-the-right-path problems. Plus, so far as I can tell, it does not include the requisite APK... I had to get it out of the Mac package. I am still trying to get it to work, but I don't have much hope for my current Frankendirectory (put everything in one directory) method.
 
now found an error like +Brian Beesley , had to restart the phone to get it working again

Also, press 'stop' on windows app doesn't seem to sync to the phone as your tether app still show 'connect (green icon)' , had to press stop manually.
 
ditto to +Chris Hodapp . Here is the output after typing sudo bash run.sh:


0
Starting Tether...
run.sh: line 27: ./../linux/node: No such file or directory
 
+Koushik Dutta, I hate to say that it doesn't work for me. fc16.x86_64. Error output is:
[~/.bin/linux]$ sudo ./run.sh
0
Starting Tether...
/home/HalosGhost/.bin/linux/x86_64/node: error while loading shared libraries: libssl.so.1.0.0: cannot open shared object file: No such file or directory

I have the latest openssl installed, so I'm not sure as to what the problem is. Also, to note, the script file you had had the directories in a somewhat odd manor. I had to edit them to work after extraction. No big deal, just throwing it out there. I'm really looking forward to seeing this up and running!

All the best,

-Sam
Zach M
 
Windows7 64bit installed without a glitch.
Works fine:



Installing Tether APK on the phone.
{}
Tun/tap device IP: 10.0.0.1
Reading tun/tap device...
Listening on tether port...
Results from APK installation:
{ '0': null,
'1': '\tpkg: /data/local/tmp/Tether.apk\r\r\nSuccess\r\r\n',
'2': '1734 KB/s (229146 bytes in 0.129s)\r\n' }
Results from starting Tether service:
{ '0': null,
'1': 'Starting service: Intent { cmp=com.koushikdutta.tether/.TetherService }\r\r\n',
'2': '' }
Results from starting Tether activity:
{ '0': null,
'1': 'Starting: Intent { cmp=com.koushikdutta.tether/.TetherActivity }\r\r\n',
'2': '' }
STATUS: Tether has connected.
 
Would this work on my cr-48 chromebook?
 
+Koushik Dutta, I'm on my phone so I can't check, but where is the phone-side application?

Also, some ideas:

Have an option in the app, to use the root-method so you do not need any PC software, for root-users.

And of course throw in WiFi tether. I would LOVE to have one app that has WiFi tethering, Bluetooth tethering and USB tethering that doesn't require PC software.
 
+Chris Hodapp Alright, looks like I missed a directory in packaging. I'll also need to use .tgz. Forgot that zip kills the executable bit.
 
It took me a few minutes to figure it out with my MacBook Pro and Verizon Nexus, but I works. Only thing is, though, that my speakeasy speed test on my Mac was 0.55Mbps download and 0.45 Mbps upload. Thanks, Koushik!!
 
Linux run.sh script does not properly execute the "node" executable. It's looking for it under linux/ and it is under linux/x86/ or linux/x86_64/ Looks like you are missing the arch detection.

Also, as noted before, the script was not executable directly out of the .zip.
 
Works great on OSX Lion. The installation process is so overly simple that even my mom, with a bit of cogitation, will be able to use this. Gonna try this out on Windows.
 
install problem here on Win7 x64 SP1. "There is a problem with the Windows Installer package. A program run as part of the setup did not finish as expected."

Also, would be interested in a root option for a solution without a PC side install.
 
Downloaded for Linux. Will test on Linuxmint tomorrow
 
This is what I got when trying to install "There is a problem with this Windows Installer package. A program required for this install to complete could not be run. Contact your support personnel or package vendor". Not sure if this a problem on my end though. Hope this helps.
 
Just an idea here (and I don't know if it's possible): have the app check for root, and be capable of tethering without PC side software if it was rooted, otherwise, use PC software to work, as it does now.
 
While I appreciate the tar-format package and the inclusion of the necessary APK, it looks like run.sh is still not coming out of the archive as executable.

Also, I still get:

[01:11 tether]$ sudo sh linux/run.sh

0
Starting Tether...
linux/run.sh: line 27: linux/../linux/node: No such file or directory

and

I changed it to this layout:

[01:17 tether]$ tree
.
├── common
│ └── Tether.apk
├── linux
│ ├── adb
│ ├── run.sh
│ ├── x86
│ │ └── node
│ └── x86_64
├── node-tuntap
│ ├── darwin
│ │ └── interface-setup.sh
│ ├── linux
│ │ ├── interface-setup.sh
│ │ └── node
│ ├── node_modules
│ │ ├── binary
│ │ │ ├── examples
│ │ │ │ ├── buf.js
│ │ │ │ ├── parse.js
│ │ │ │ └── stream.js
│ │ │ ├── index.js
│ │ │ ├── lib
│ │ │ │ └── vars.js
│ │ │ ├── node_modules
│ │ │ │ └── chainsaw
│ │ │ │ ├── examples
│ │ │ │ │ ├── add_do.js
│ │ │ │ │ └── prompt.js
│ │ │ │ ├── index.js
│ │ │ │ ├── node_modules
│ │ │ │ │ └── traverse
│ │ │ │ │ ├── examples
│ │ │ │ │ │ ├── json.js
│ │ │ │ │ │ ├── leaves.js
│ │ │ │ │ │ ├── negative.js
│ │ │ │ │ │ └── stringify.js
│ │ │ │ │ ├── index.js
│ │ │ │ │ ├── LICENSE
│ │ │ │ │ ├── package.json
│ │ │ │ │ ├── README.markdown
│ │ │ │ │ └── test
│ │ │ │ │ ├── circular.js
│ │ │ │ │ ├── date.js
│ │ │ │ │ ├── equal.js
│ │ │ │ │ ├── instance.js
│ │ │ │ │ ├── interface.js
│ │ │ │ │ ├── json.js
│ │ │ │ │ ├── leaves.js
│ │ │ │ │ ├── mutability.js
│ │ │ │ │ ├── negative.js
│ │ │ │ │ ├── obj.js
│ │ │ │ │ ├── stop.js
│ │ │ │ │ ├── stringify.js
│ │ │ │ │ └── super_deep.js
│ │ │ │ ├── package.json
│ │ │ │ ├── README.markdown
│ │ │ │ └── test
│ │ │ │ └── chainsaw.js
│ │ │ ├── package.json
│ │ │ ├── perf
│ │ │ │ ├── loop.js
│ │ │ │ └── small.js
│ │ │ ├── README.markdown
│ │ │ └── test
│ │ │ ├── binary.js
│ │ │ ├── eof.js
│ │ │ ├── parse.js
│ │ │ └── put.js
│ │ ├── buffers
│ │ │ ├── examples
│ │ │ │ ├── slice.js
│ │ │ │ └── splice.js
│ │ │ ├── index.js
│ │ │ ├── package.json
│ │ │ ├── README.markdown
│ │ │ └── test
│ │ │ └── buffers.js
│ │ ├── put
│ │ │ ├── examples
│ │ │ │ ├── buf.js
│ │ │ │ └── stream.js
│ │ │ ├── index.js
│ │ │ ├── LICENSE
│ │ │ ├── package.json
│ │ │ ├── README.md
│ │ │ └── test
│ │ │ ├── buf.js
│ │ │ ├── c
│ │ │ │ ├── ftoi
│ │ │ │ ├── ftoi.c
│ │ │ │ ├── itof
│ │ │ │ └── itof.c
│ │ │ ├── float.js_
│ │ │ └── stream.js
│ │ └── sprintf
│ │ ├── lib
│ │ │ └── sprintf.js
│ │ ├── package.json
│ │ └── README.md
│ ├── package.json
│ └── tuntap.js
└── tether-linux.tgz

and now everything runs, but it doesn't create a virtual network adapter. Note that Tether.apk was already installed on my phone when I got it run, so I'm not sure whether it would have installed properly if I had let the desktop app do it's thing.
I am on Arch x64.
 
More problems on Linux. Using Fedora 16 32-bit (can check 64-bit later).

First off, modifying run.sh to call out linux/x86/node still gets me an error (not sure why):
$ sudo ./linux/run.sh
[sudo] password for berryja:

0
Starting Tether...
./linux/run.sh: line 34: ./linux/../linux/x86/node: No such file or directory
$ ls ./linux/../linux/x86/node
./linux/../linux/x86/node

Missing libs:
ldd ./linux/../linux/x86/node
linux-gate.so.1 => (0x00faf000)
libz.so.1 => /lib/libz.so.1 (0x4acf8000)
librt.so.1 => /lib/librt.so.1 (0x4aca0000)
libssl.so.1.0.0 => not found
libcrypto.so.1.0.0 => not found
libdl.so.2 => /lib/libdl.so.2 (0x4ac99000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x4bc79000)
libm.so.6 => /lib/libm.so.6 (0x4acac000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x4acd9000)
libpthread.so.0 => /lib/libpthread.so.0 (0x4ac7c000)
libc.so.6 => /lib/libc.so.6 (0x4aace000)
/lib/ld-linux.so.2 (0x4aaa9000)

ls -l /usr/lib/libssl*
-rwxr-xr-x. 1 root root 232248 Dec 14 12:23 /usr/lib/libssl3.so
lrwxrwxrwx. 1 root root 16 Nov 2 21:28 /usr/lib/libssl.so.10 -> libssl.so.1.0.0e
-rwxr-xr-x. 1 root root 354608 Sep 7 13:08 /usr/lib/libssl.so.1.0.0e

ls -l /usr/lib/libcrypto*
lrwxrwxrwx. 1 root root 20 Nov 2 21:28 /usr/lib/libcryptopp.so.6 -> libcryptopp.so.6.0.0
-rwxr-xr-x. 1 root root 4584724 Oct 16 17:24 /usr/lib/libcryptopp.so.6.0.0
 
Argh, looks like Linux will need to build node from source. Which is not a problem, since my fork of it is open source anyways :)

I'll build up some makefiles and package the node.js source with Tether, instead of providing prebuilt static binaries.
 
+Koushik Dutta the version in that tar starts fine with no moving of files or chmod'ing. It still doesn't create the virtual network device, though. I'm still verifying that tuntap work properly on my system.
 
[01:27 tether]$ sudo ip tuntap add mode tun

[01:28 tether]$ ip addr
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN qlen 1000
link/ether 00:21:9b:d4:3c:e3 brd ff:ff:ff:ff:ff:ff
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
link/ether 00:1f:e2:8b:e4:a8 brd ff:ff:ff:ff:ff:ff
inet 192.168.1.177/24 brd 192.168.1.255 scope global eth1
inet6 fe80::21f:e2ff:fe8b:e4a8/64 scope link
valid_lft forever preferred_lft forever
9: tun0: <POINTOPOINT,MULTICAST,NOARP> mtu 1500 qdisc noop state DOWN qlen 500
link/none


So, yes, it seems to work.
 
+Koushik Dutta Updated Linux package, run.sh finds the executable and tries to run it, so it looks good. Still have the lib issues, of course.
 
Add me to your circles if you want to see active users in your circles for 2012!
 
Windows 7 32 bit failed to install. "There is a problem with the Windows Installer package. A program run as part of the setup did not finish as expected."
 
Just curious as to what the deeper meaning of this app is? I mean Android 2.2 and up has built-in tether by usb and wifi, so unless I am missing something, I don't see the use for this?
I am not trying to demean your work, just honestly curious :-)
 
+Koushik Dutta, Sorry, I said it in my post, but I should have been more clear. Fedora 16, x64

All the best,

-Sam
 
+Thomas Due Some phones don't support tethering at all. Carriers also often block or charge extra for tethering. Mac doesn't support RNDIS (USB tether). Wi-Fi tethering drains your battery almost faster than it can charge; my phone doesn't last more than 40 minutes on wifi tether, for example. There's a lot of reasons to use this :)
 
+Thomas Due most phones are not running stock Android, and therefore have tethering blocked. The only solution has been to root and ROM to get tethering.
 
OS: Windows 7 64bit SP1 w/5.9 Index
Servie: Verzion 4G LTE
Device: Samsung Galaxy Nexus Stock (Locked)

1) Did you have problems installing it or getting it working?

A)Yes, getting to work, after installing I was getting a message that my phone was not detected (Galaxy Nexus). Did not work with standard Samsung USB drivers (SAMSUNG_USB_Driver_for_Mobile_Phones) and had to download the (Verizon_Wireless_I515_Galaxy_Nexus_USB_Driver_v1.4.6.0) from Samsung's website.

B) After 3 tries I got a new message: Make sure USB Debugging is enabled and to make sure phone did not go to sleep while charging (Stay Awake Enabled).

C) From the several failed attempts I have a "Tether App" session running in the background that can not exit and are forced to reboot to close the prior Tether Application.

2) How is your download and latency once everything is set up?

http://www.speedtest.net/result/1681158257.png

Ping = 39ms
Down = 9.60Mbps
Up = 2.19Mbps
 
I tried on a MacBook Air running OSX 10.7.2 with a rooted Galaxy Nexus running 4.0.2 and was unable to get it to work.

The first time I pressed start, the install process failed.
The second time I tried it installed the tether app on the phone and launched it. The phone said, “USB tether is running. Please open the Tether app on your computer.”
The Tether log on the computer said:
Results from starting Tether activity:
{ ‘0’: null,
‘1’: ‘Starting: Intent
{ cmp=com.koushikdutta.tether/.TetherActivity }\r\n\Warning: Activity not started, its current task has been brought to the front\r\n’,
‘2’:” }
I tried stopping and restarting the tether but I kept getting the same result as above.
 
+Eli Waite Can you try killing the process on the android phone (or restarting it) and see if it works? It seems first run on mac has issues.
 
+Koushik Dutta Installs on 10.6.4 just fine. I need to wrap up a few things then I'll test the data connection. Thanks for this, really cool stuff!
I'd really use an android version for my tablet, I'd buy it like I bought ROM Manager Premium.
 
+Koushik Dutta It installed and failed to run the first time. Tried it again and it installed on my phone. Phone sits at "USB tether is running..." and computer sits at "Waiting for tether connection". But I get no connection, even when I toggle it on/off in different combos on the phone and the Mac. And I think it borked the wifi on my Mac lol. Didn't work till I rebooted. Probably coincidence.
 
+Andrew Martonik Rebooted phone or mac? Can you try rebooting the phone and see if it works? first run is shaky apparently.
 
+Koushik Dutta Mac. I had the EXACT same experience as +Eli Waite . I'll reboot phone now then try again. (and to clarify, I mean the WiFi didn't work again on my Mac till reboot).
 
+Koushik Dutta I rebooted both the computer and the phone and got the same results as I mentioned before. I also have the same issue +Andrew Martonik has with his wifi connection. Running Tether messes up the wifi and also the ethernet connection, however a reboot of the computer fixes the connection issues.
 
+Eli Waite It stays messed up even if you stop/quit the app? (Make sure that the icon is gone from the dock and not running, as it runs in the background)

+Andrew Martonik I assume you have no wifi connection or ethernet connection active while testing?
 
+Koushik Dutta nope nothing. Turn off Airport before testing. Rebooted both phone (G2 running CM7) and Mac again before testing. Still same thing: 1st go aborts, 2nd go says it works but just stalls. After quitting the app my WiFi on my Mac no longer works till reboot. Hope this helps.
 
+Andrew Martonik While in a wifi broken state, can you run the following commands:

ps aux
ifconfig -a

Also, get me the log output from tether please! Sounds like something is hanging around after the tether program exits.
 
+Koushik Dutta I went in Setting -> Apps and force quit Tether on the phone and then rebooted it, so I'm pretty sure I stopped whatever processes were going on. Still no dice.
 
+Koushik Dutta works great in 10.6. I'm posting using my Galaxy Nexus. This makes so much more sense than using wifi.

Please update again since the OP has version 1 and 2.
Thanks again!
 
No luck on getting it to work here... Mac on 10.7, stock Galaxy Nexus.

It gets to the point of verifying the APK on the phone and then turning that app on and tethering but the tether app just shows that it's waiting for the tethering.

Rebooted Macbook pro and phone and same results. Unless I'm missing some trick to getting it to work, I haven't had any luck.
 
+Koushik Dutta will do... after I start the tethering on my mac, it kills my wireless connection until I reboot as well... but I will shoot it your way in a few minutes.
 
+Koushik Dutta http://pastebin.com/dKH6egpS There's everything you asked for. Put in the log from tether app (line 1), the output from 'ps aux' (line 209) and output from 'ifconfig -a' (line 315).

(Oh, and also, the tether log is from me starting once, it failing, and me starting it again).
 
+Brent Balzer Ah, I've seen reports of that problem. If you run into that again, please run the following in a console window and send me the results:

ifconfig -a
ps aux
 
Well that's weird... I just tried to redo it and it's working now flawlessly. No idea really why, didn't change anything... if any issues arise, I'll send logs your way. My tethering speeds aren't mind blowing like some posting above but it does jump around a lot too and them when it finishes shows a slower speed, so I'm not sure how accurate speedtest is on this for me.

Thanks for the hard work on this +Koushik Dutta! This is really nice.

After a few more speed tests on other sites, it almost seems like it's tethering with 3G speeds for me but it shows 4G on the Gnex. Either way, nice to have this as this was one of the bigger reasons I would root. Thanks again!
 
+Koushik Dutta is there alternative ways of using this if your rooted? (Using CDMA Gnex) ur awesome man. Can't wait to give u more money
 
+Andrew Martonik I'll get back to you sometime tomorrow... Gonna stick Snow Leopard back on my laptop and get this worked out :P
 
nexus s stock does have a usb tethering option as well as a wifi option.how does this app differ from the stock options?
is it that ur app gives me pc tethering even if i only have a plan that allows surfing over phone only... and that the stock options wont work on such a plan?
 
+Koushik Dutta as always thanks man. U easily just struck gold. Once this rips through rootzwiki, xda and android web pages...u can start shorting Berkshire shares
 
+Ashish Soni this just bypasses the paid tethering options on carrier-tampered phones. A stock unlocked Nexus S (except NS4G) already has unblocked tethering. You can just use that instead.
 
OSX 10.6 & Incredible 2 w/ CM7
Ran fine for the first couple of pages, hit the same snag as
+Brent Balzer. Rebooted, but only works if Airport is turned on and doesn't really route through the phone as I went to a firewall blocked site with it running and was denied access :P
 
+Andrew Martonik oh.. thanks.. so does this mean that people already on CM7 having those stock options are already lucky? I got the idea.. why this app emphasizes root not reqd.. Very useful for people who aren't brave enough to install CM ;)
 
+Ashish Soni yes, anyone who is rooted and/or custom ROM installed has no need for this. They can use the built-in Android WiFi or USB tether options. This is for the normal user that isn't rooted.
 
I had problems on OSX 10.7. The app only said:

Loading /tmp/tun.kext.
Error loading /tmp/tun.kext


This was because I already have tun/tap drivers installed and loaded for other purposes (I also have Tunnelblick installed, but the tun/tap drivers do not come from there). dmesg says this:

tun: could not register PF_INET protocol family: 17
Kext net.tunnelblick.tun start failed (result 0x5).
Kext net.tunnelblick.tun failed to load (0xdc008017).
Failed to load kext net.tunnelblick.tun (error 0xdc008017).


According to kextstat, my loaded tun/tap drivers are named:

127 0 0xffffff7f82013000 0x6000 0x6000 foo.tun (1.0) <7 5 4 1>
128 0 0xffffff7f8201b000 0x6000 0x6000 foo.tap (1.0) <7 5 4 1>


When using Tunnelblick and an OpenVPN tunnel (tap-based, since that's all I have access to), foo.tap gets replaced with net.tunnelblick.tap. Unloading foo.tun manually makes Tether work.

That said, a check for an already loaded tun driver would be nice.
 
I tried it on a different Mac running 10.6.7 and got the following:
Loading /tmp/tun.kext.
Error loading /tmp/tun.kext
update: based on what +Joakim Andersson said, it must be a conflict with my Cisco VPN client. I was not able to instal OpenVPN due to this conflict.
 
Can you also build in the ROOTED version? So if some one does have root, they don't require the install.
 
+Matthew Robbins why would you want a root version? If you have root already you're probably not seeking tethering apps that require an install on the computer :P
 
+Joakim Andersson Ah gotcha, I use tun, not tap. Though, if it is already loaded, it should still work. I am guessing your foo.tun driver is not compatible with Tether?
 
+Koushik Dutta I know you use tun. The tap things was just to compare how Tunnelblick handled the situation.

I don't know if foo.tun works with Tether, since Tether does not detect it, and then tries to load its bundled tun.kext, which apparently conflicts with foo.tun. I refactored away my dependence on foo.tun and replaced it with Tunnelblick's tun.kext, which also is what you're using. I got foo.tun (and foo.tap) from http://tuntaposx.sourceforge.net/.
 
+Joakim Andersson Oh, I just reread your response and understand what you originally said. I will look into seeing how that is detected and replace it with my packaged version. You are correct, I am using Tunnelblick's tun.kext. I tried the one you linked on sourceforge, but I believe I had stability issues using it.
Eze Uba
+
1
2
1
 
Works like a charm Koush. However, the installer failed initially, it required a component which my laptop (Win 7 Ultimate) did not have and it did not say which component it was. I had to use Universal Extractor to extract the msi and run the TetherWindows.exe, after which the interface came up and it failed to connect, then I switched on Mobile data on my DInc and connected to my laptop. I re-ran the exe again and it installed drivers afresh and I am now using it to send this comment. Cheers and thanks again Koush. I like that name, Koush. What does it mean? Just in case I want to name my son Koush... :)
 
+Eze Uba Interesting, if you can find what component is missing, that would be super useful.

Are you on 32bit or 64bit windows 7?
Eze Uba
 
Win 7 Ultimate 32-bit. I will re-run the installer and try to find the missing component. Cheers.
 
+Eze Uba I'm confused how it worked by extracting. It still needs to install the virtual ethernet driver and whatnot. Did you actually disable your physical ethernet/wifi connection when testing?
 
For the longest time I've wanted a simple reverse tethering solution, i.e., to use my PC's internet connection on my phone over USB. Is it that hard to implement?
Eze Uba
 
+Koushik Dutta I had TAP adapter on my system for vpn and it latched on to that adapter. I ran the exe from the folder where I extracted the msi to. My wifi was on accidentally, does that matter? I will try again with wifi disabled. The installer error message has to do with the .net runtime because it says I do not gave the required program to run the installer then it rolls back the installation. Which version of .net did you compile with/for?
 
+Eze Uba Oh, you already had a TAP adapter installed, maybe that is why it failed! Using .NET 2.0.

Let me test that install scenario on my computer.
 
Damn wish I still had a laptop lol
 
+Eze Uba Ah, I found the problem. The installer was requiring .net 4, even though the package itself is only .net 2. Fixed!
 
Looks like it installed on my desktop. Wouldn't install on my NetBook, I have no idea what to do with it now. No apk was listed to install for my phone.I have the HTC drivers installed but it asked to install them again. After that, nuttin' Win7 64bit, adb, HTC Sync, Android SDK all installed and working.
 
Hi there! Here's my Bug-Report and experience report:
Windows 7 Home Prof. x64, Nexus S w. official ICS

found Bugs: I cant close the windows-program, it gives me this error:
http://pastebin.com/u8YaXPHB

On the first "Start" i got the following error:
Tether error:
{ '0':
{ [Error: connect ECONNREFUSED]
code: 'ECONNREFUSED',
errno: 'ECONNREFUSED',
syscall: 'connect' } }
Tether connection closed...

When i launched it again, it installed the tether app and stopped itself after a while

on the third start, everything worked!

Benchmarks:

Clockwork Tether:
68ms Ping, 4.52-5.86 MBit Down, 2.84-2.97 MBit Up

USB Tether:
50-57ms Ping, 3.04-5.9 MBit Down, 2.59-3.21 MBit Up

Hotspot:
52ms Ping, 5.96MBit Down, 2.81 MBit up (only 1 Test)
 
+Bryan Stevens Once you install the Tether app on your desktop, you should just be able to run it with your phone connected. All the apk installation and stuff will be done automatically. What error do you get?
 
Not getting any error. It stops at the Opera Browser on your driver's page.
 
+Bryan Stevens Ah, assuming your driver is installed properly. Just go into the start menu-> clockworkmod -> tether.
 
That did it. Or it gets me to this on the log;

Results from starting Tether service:
{ '0': null,
'1': 'Starting service: Intent { cmp=com.koushikdutta.tether/.TetherService }\r\r\n',
'2': '' }
Results from starting Tether activity:
{ '0': null,
'1': 'Starting: Intent { cmp=com.koushikdutta.tether/.TetherActivity }\r\r\nWarning: Activity not started, its current task has been brought to the front\r\r\n',
'2': '' }
 
+Bryan Stevens Got to pass out for the night. Try disconnecting and reconnecting the phone. I have gotten bug reports that the very first start up is quite flaky.
 
ok, {}
Tun/tap device IP: 10.0.0.1
Reading tun/tap device...
Listening on tether port...
STATUS: Tether has connected.
 
Are we supposed to be able to surf the net? I unplugged the Cat5. I guess I would have to go in and set up the connection.

Error 105 (net::ERR_NAME_NOT_RESOLVED): Unable to resolve the server's DNS address.
 
The first time you run it, make sure that you do not have "Disk drive" on for your SD card, otherwise it won't uninstall. Worked flawlessly for me after that. Thanks and great work. Looking forward to updates. (HTC Desire running Leedroid HD 3.3.3 Gingerbread 2.3.3)
 
Great! That's what is needed for all of us... Free open source develops for everyone with great usage :-)
I love your stuff!
 
Hey Koush, would it be possible to reverse the tether? As in, so that the PC supplies the internet connection to the phone? It'd be really useful for me, as we don't have WiFi where I work.
 
Is this better than CyanogenMod built in tether option?
 
Installer package error for windows xp. Says a program required for this install to complete could not be run. Running windows xp pro service pack 3
M Roth
+
1
2
1
 
Hi Koush - any chance to get a 'companion' app to tether Android tablets? Not sure about required drivers/API but many people have Wifi only tablets and it would rock being able to tether through the phone. I guess Bluetooth could work if you got that working but it probably also sucks more battery than a cable.
 
This sounds promising! :D But I get a Win32Exception in TetherWindows.exe during installation on Win 7 64 just after the TAP driver is installed. Visual Studio stepped in and offered to open the debugger, which got me this info:

System.ComponentModel.Win32Exception was unhandled
Message=No application is associated with the specified file for this operation
Source=System
ErrorCode=-2147467259
NativeErrorCode=1155
StackTrace:
at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start()
at System.Diagnostics.Process.Start(ProcessStartInfo startInfo)
at System.Diagnostics.Process.Start(String fileName)
at TetherWindows.Program.Main(String[] args)
InnerException:

This is with a GSM Galaxy Nexus, but I'm guessing that the installation didn't get the chance to progress far enough for it to matter.

Thanks for your continued contributions to the Android community.
 
Win7 64bit, install went perfectly. After installing usb drivers for my Galaxy Nexus and opening the Tether software, I realized I had to do two things to finish the process:

1. Enable USB debugging on the device (perhaps something not everyone might already have enabled upon unboxing their phone?) This is when the Tether software started to install the .apk on my device.

2. Disable the current network adapter that was connecting my computer to the internet. This is when the connection was finally made to the internet.
 
Works on Widows 7 with a G-Nex. The setup was pretty easy, just click and shoot, the only issue is all the fire wall requests to allow program. The latency is pretty good. Took a few seconds to request the page but, after that its fast.. Thanks Koush.
 
Why not just store the installers on your phone? After all, you need to connect the USB cable anyway
 
Install error, windows 7 x32


MSI (s) (44:84) [08:47:26:732]: Executing op: CustomActionSchedule(Action=_3E55CBE0_E908_4607_B3A2_D2CE759F2076,ActionType=3090,Source=C:\Program Files\ClockworkMod\Tether\win32\tapinstall.exe,Target=install "C:\Program Files\ClockworkMod\Tether\\win32\OemWin2k.inf" TAP0901,)
MSI (s) (44:84) [08:47:26:735]: Note: 1: 1721 2: _3E55CBE0_E908_4607_B3A2_D2CE759F2076 3: C:\Program Files\ClockworkMod\Tether\win32\tapinstall.exe 4: install "C:\Program Files\ClockworkMod\Tether\\win32\OemWin2k.inf" TAP0901
MSI (s) (44:84) [08:47:26:735]: Note: 1: 2262 2: Error 3: -2147287038
MSI (c) (EC:EC) [08:47:26:754]: Note: 1: 2262 2: Error 3: -2147287038
DEBUG: Error 2835: The control ErrorIcon was not found on dialog ErrorDialog
The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2835. The arguments are: ErrorIcon, ErrorDialog,
Error 1721. There is a problem with this Windows Installer package. A program required for this install to complete could not be run. Contact your support personnel or package vendor. Action: _3E55CBE0_E908_4607_B3A2_D2CE759F2076, location: C:\Program Files\ClockworkMod\Tether\win32\tapinstall.exe, command: install "C:\Program Files\ClockworkMod\Tether\\win32\OemWin2k.inf" TAP0901
MSI (s) (44:84) [08:48:10:820]: Note: 1: 2262 2: Error 3: -2147287038
MSI (s) (44:84) [08:48:10:822]: Product: Tether -- Error 1721. There is a problem with this Windows Installer package. A program required for this install to complete could not be run. Contact your support personnel or package vendor. Action: _3E55CBE0_E908_4607_B3A2_D2CE759F2076, location: C:\Program Files\ClockworkMod\Tether\win32\tapinstall.exe, command: install "C:\Program Files\ClockworkMod\Tether\\win32\OemWin2k.inf" TAP0901
 
unfortunately it doesn't work for me - i'm using osx 10.7.2 and a optimus 2x with cm7 nightly...
the mac-app (v5) always gets following error:


Loading /tmp/tun.kext.
Error loading /tmp/tun.kext
but tun should work - i'm using viscosity with openvpn...
the logs on my phone are (obviously) empty...

but i really like your idea :-)
 
Very nice work, Koush. One nitpick. The log in the Windows version could use a "Clear" button.
 
Macbook Air (Lion) + Samsung Galaxy S II Skyrocket (stock not rooted) confirmed working.
 
+Koushik Dutta Will you plan to charge for this or donate only? I'm testing it out now but many in our company use tethering and I see the opportunity for some sales here....
 
mac osx lion, works freaking great, rooted droid incredible cm7.1 nightly.

at first i had wifi connected on my phone, so i was using the phone as a wireless adapter for my macbook lol, now i have the 3g on it works fantastic, setup in 60 seconds you are amazing.
Jaz F
 
This is a great. At a time when companies are all trying to nickel and dime its loyal customers this is great!
 
Droid 3 stock Android 2.3.4 NON ROOTED and Windows xp 32bit. try to do an install and get message: "there is a problem with this windows installer package. A program required for this install to complete could not be run. Contact your support personnel or package vendor."

I have restarted the phone, enabled USB debugging, Unknown sources, and still a no go with the message. USB MODE is set to CHARGE ONLY is a dud, PC MODE is a dud, USB storage a dud. PC mode did manage to pop up "motorola USB modem"

Some help please +Koushik Dutta
 
Problem I have trying to install the application.

- My system -
Windows XP 32-bit

"There is a problem with this Windows Installer package. A program required for this install to complete could not be run. Cantact your support personnel or package vendor."

That was all that it said.
 
Running on Droid Razr rooted and Macbook running 10.7.2. works great
 
Working great on rooted Droid Razr with Windows 7 SP1 x64!
 
+Koushik Dutta So if whatever is receiving the wifi signal from the tether needs an application, do you plan on making an Android client for the tetheree end? Obviously for wifi-only tablets, ipads, etc.
 
Worked flawlessly. Thank you for all your hard work!
 
Here's what I get when I just run tapinstaller.exe


C:\Users\Stumme\Desktop\Teather\win32>ver

Microsoft Windows [Version 6.1.7601]

C:\Users\Stumme\Desktop\Teather\win32>tapinstall.exe
This version of C:\Users\Stumme\Desktop\Teather\win32\tapinstall.exe is not comp
atible with the version of Windows you're running. Check your computer's system
information to see whether you need a x86 (32-bit) or x64 (64-bit) version of th
e program, and then contact the software publisher.

Again Windows 7 x86
 
Everything seems to have installed properly (app and drivers) on Win7x64 and Verizon Galaxy Nexus. Tethering app started from desktop completes with "Tether has connected" but the new network connection says no internet access. App on the phone also shows "connected." WiFi is off and I have 4G connectivity. With the app in the background for about 30 seconds, my phone rebooted itself.
 
Is Windows XP SP3 supported? Hmm, won't install on Windows XP environment..."problem with Windows installer." Stop laughing people, yes, XP. Trying on my older test machine first.
 
On ubuntu 11.04 #!/usr/bin/env sh didnt work but #!/bin/bash does
Also "PREBUILT=$DIR/../linux" should be "PREBUILT=$DIR/../linux/$(arch)"

The final issue I think is an ubuntu issue is network manager controls the networking and it doesn't seem to be compatible.
Eze Uba
+
1
2
1
 
+Kumar Shaurya Shankar This worked on my last WinMo device, a Moto Q. I think it has to do with NDIS or such and I don't think that works for Android devices (please someone prove me wrong), but I would sure love to have it on my DInc.
 
Thanks for thinking about us Linux users :)
 
openSUSE 12.1 using the file tether-linux2.tgz:

*******@arena:~/Downloads/AndroidTether/linux>sudo./run.shroot's
password:

0
/home/*******/Downloads/AndroidTether/linux/i386/home/*******/Downloads/AndroidTether/linux
/home/*******/Downloads/AndroidTether/linux
Starting Tether...
/home/*******/Downloads/AndroidTether/linux/i386/node:/lib/libcrypto.so.1.0.0: no version information available (requiredby /home/*******/Downloads/AndroidTether/linux/i386/node)
/home/*******/Downloads/AndroidTether/linux/i386/node:/lib/libssl.so.1.0.0: no version information available (required by/home/*******/Downloads/AndroidTether/linux/i386/node)
opening tun device: /dev/net/tun
adb binary path: ../linux/adb

module.js:334
throw new Error("Cannot findmodule '" + request + "'");
^
Error: Cannot find module'./build/Release/linuxtuntap.node'
at Function._resolveFilename(module.js:334:11)
at Function._load(module.js:279:25)
at Module.require(module.js:357:17)
at require (module.js:368:17)
at /home/*******/Downloads/AndroidTether/node-tuntap/tuntap.js:98:19
at Object.oncomplete (os.js:51:7)
*******@arena:~/Downloads/AndroidTether/linux>
 
Thanks for your hard work! Will definitely try, happy new year
Eze Uba
 
+Koushik Dutta What was the fix? I re-downloaded and tried to install again, but still the same error.
 
doesn't work with windows Vista: "There is a problem with Windows Installer package. A program required for this install to complete could not be run.
 
Will this work on a PPC Mac or only an Intel Mac?
 
On Ubuntu 10.4, I have so far

(1) chmod +x linux/run.sh
(2) pointed PREBUILT to linux/x86

but ran into a problem because 10.4 uses libsso.sh at version 0.9.8 instead of 1.1.0 so I get


brereton@brereton-laptop:~/KoushTether/linux$ sudo ./run.sh

0
Starting Tether...
./../linux/x86/node: error while loading shared libraries: libssl.so.1.0.0: cannot open shared object file: No such file or directory

Does anyone know if I can update that library without updating to the latest Ubuntu?
 
I'm having a problem getting this running on NS4G (win7 x64). I installed samsung usb drivers from the site linked with this app, enabled tether app on my phone, clicked start on the pc gui, and I get this:

C:\Program Files (x86)\ClockworkMod\Tether
"Local Area Connection 3"
Checking arguments...
Setting IP Address, mask, and gateway.
Setting DNS server.
The object is already in the list.
Starting Tether...
C:\Program Files (x86)\ClockworkMod\Tether\node-tuntap
opening tun device: null
adb binary path: ..\win32\adb.exe
Waiting for interface to get ready... (waiting 5 seconds)
{}
Tun/tap device IP: 10.0.0.1
Reading tun/tap device...
error
{ [Error: listen EADDRNOTAVAIL]
code: 'EADDRNOTAVAIL',
errno: 'EADDRNOTAVAIL',
syscall: 'listen' }

the thing that confuses me, is pdanet is still running just fine with the usb driver I have, etc....so I don't understand why this app won't.

I also tried the pdanet legacy drivers and I get the same error.
 
Works great here.... Installed on Windows 7 64bit. Running on my Droid X with Android 4.01<Early alpha Cyanogen....thanks a lot!
 
Setup was simple on Windows 7 Pro SP1 64-bit. After answering all of Microsoft's network security prompts, it tethered and was working. Total time, including download or Tether and HTC Sync (for Rezound) was under 5 minutes.
 
Didn't work the first time I fired it up on Mac Snow Leopard with Verizon Galaxy Nexus. I clicked Stop and then Start again and it worked just fine. The first time nothing happened with the phone, just on the computer, but the computer said it was connected. The second time all the packages installed on the phone and it worked.

Didn't know how to turn it off at first on the phone though. Stopped the computer and phone was still running. I started clicking around and figured to hit the USB symbol. When you're not connected there's a prompt that tells you to touch the USB symbol to connect, didn't see this when connected and wanting to disconnect. Would definitely add that so it's clear.

Worked fine with same Galaxy Nexus on Win7 64-bit.
 
Droid 3 stock Android 2.3.4 NON ROOTED and Windows xp 32bit. try to do an install and get message: "there is a problem with this windows installer package. A program required for this install to complete could not be run. Contact your support personnel or package vendor."

I have restarted the phone, enabled USB debugging, Unknown sources, and still a no go with the message. USB MODE is set to CHARGE ONLY is a dud, PC MODE is a dud, USB storage a dud. PC mode did manage to pop up "motorola USB modem"

Some help please +Koushik Dutta
 
Anyway to get this to work with tablets????? That'd be amazing! Still great work
 
+Koushik Dutta Np! Your a true bad ass! Let me know if you need anything else. Also Thanks for responding.
 
+Cody Banks The true badass is the guy that provided the video of a bug report ;)

If you can get me the entire log of that crash that was seen in the window, that will help too!
 
+Yvonne R Can you try unplugging and replugging the phone and stop/starting the tether app?

Don't feel bad, if it doesn't work easily, its failure on my part :)
 
Installed on Win 7 64bit laptop...took 2 tries to start properly and connect to phone after installing phone driver for adb. Using a Samsung Startosphere. Would only run at 3G speeds, never pulled 4g even though I was getting 4G before and after running tether. Not sure if I was doing something wrong but would not disconnect from phone even after stopping tether. Also had to go to task manager to stop tether program on laptop. But still like it and will use it in the future. Thanks for your har work
 
+Yvonne R That seems awfully slow. I've had users get 20mbs, and I personally get ~8mbs.

What carrier and phone are you on? Are you using a usb cable connected directly to your computer, or through a hub? Thanks!
 
Like others have posted previously, I am having trouble installing this on a Win 7 32-bit SP1 machine:

"There is a problem with this Windows Installer package. A program required for this install to complete could not be run. Contact your support personnel or package vendor."

Any ideas and help is appreciated.
 
Hi Koushik
your new Tether application sounds great. To get via the smartphone internet. Do you see a chance to make it also the other way round? That the Android phone is getting internet via the laptop? I am asking because I am sitting quite often in hotel rooms or meeting rooms and than I am getting internet for my laptop but not for a 2 nd device like a smartphone. On my Lenovo laptop I have a program to set up a wifi hotspot which is working fine - however not all locations allow a private wifi hotspot for security reasons - so a USB or a Bluetooth connection would be great

Best regards
Claus
 
I'v been trying to use my AndroidX phone to tether my ipad2 since I have unlimited data on my phone, I don't want to go and root my phone since I'm on a iMac running 10.7 and all root instructions calls for a PC to root. I don't like the idea of paying twice for data from my carrier Verizon when I have truly unlimited data. USB is no good on a iPad, do you see a work around this or any ideas on how to get by this? Thanks
 
+Koushik Dutta Works fine on my EVO. Install on Windows 7 was quick and easy. I got the following DL/UL speed tests on my android vs tethered windows on 3G: Android: 2.61Mb/.70Mb vs Tethered Windows: 1.75Mb/.53Mb. Nice job!
 
I'm on Win 7 Ultimate 32 bit. It says, "There is a problem with this Windows installer package. A program required for this install to complete could not be run. Contact your support personnel or package vendor. Also where is the apk for the phone?
 
Ok...figured out to disconnect tether on phone you just touch the screen and it gives you the disconnect option!! DOH!! but still wont shut down completely on the laptop when you hit stop then exit. When you go to hidden icons and right click on Tether then hit exit you get the following:
************ Exception Text ************
System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'TetherForm'.
at System.Windows.Forms.Control.CreateHandle()
at System.Windows.Forms.Form.CreateHandle()
at System.Windows.Forms.Control.get_Handle()
at System.Windows.Forms.Control.SetVisibleCore(Boolean value)
at System.Windows.Forms.Form.SetVisibleCore(Boolean value)
at System.Windows.Forms.Control.set_Visible(Boolean value)
at TetherWindows.TetherForm.icon_Click(Object sender, EventArgs e)
at System.Windows.Forms.NotifyIcon.OnClick(EventArgs e)
at System.Windows.Forms.NotifyIcon.WmMouseUp(Message& m, MouseButtons button)
at System.Windows.Forms.NotifyIcon.WndProc(Message& msg)
at System.Windows.Forms.NotifyIcon.NotifyIconNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************ Loaded Assemblies ************
mscorlib
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5448 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
TetherWindows
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Program%20Files%20(x86)/ClockworkMod/Tether/TetherWindows.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5446 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5447 (Win7SP1GDR.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 2.0.0.0
Win32 Version: 2.0.50727.5420 (Win7SP1.050727-5400)
CodeBase: file:///C:/Windows/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------

************ JIT Debugging ************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
 
I gave it the ol' novice try. Guess I'll wait for the instructions :)
 
Hi,

I am running osx 10.7.2 and tether wont work
I restarted both my phone,, an evo 3d, and the mac here is the error log any help would be appreciated thanks
i had usb debugging on, and was in charge only mode

Loading tun.kext.
INFO: net.tunnelblick.tun has already been loaded.
Starting Tether...
opening tun device: /dev/tun1
adb binary path: ../darwin/adb
Running interface setup script: ./darwin/interface-setup.sh
STATUS: Phone could not be detected. See log for details.
Phone not detected by adb!
Connect your phone to your computer and make sure "USB Debugging" is enabled.
You may need to set your phone to be in "Charge Only Mode".
{}
Tun/tap device IP: 10.0.0.1
Reading tun/tap device...
Listening on tether port...
Tether error:
{ '0':
{ [Error: connect ECONNREFUSED]
code: 'ECONNREFUSED',
errno: 'ECONNREFUSED',
syscall: 'connect' } }
Tether connection closed...
STATUS: Tether has disconnected.
Tether connection closed...
Tether error:
{ '0':
{ [Error: connect ECONNREFUSED]
code: 'ECONNREFUSED',
errno: 'ECONNREFUSED',
syscall: 'connect' } }
Tether connection closed...
STATUS: Tether has disconnected.
Tether connection closed...
 
+Koushik Dutta Win7x64, installed fine but it messed with my openvpn setup. all tap devices disappeared and reappeared after the one used for tether. tether seems to work, openvpn does not.

Is there any difference between the ususal drivers and the one supplied with your app? If they're the same, it should work interchangeably, right?

EDIT: Disregard that. Seems to be OpenVPN problem. Either it doesn't like nonascii characters or spaces in the connection name. I'm not sure how it could work in the first place, since the defaultname is "Připojení k místní síti". After renaming the connection it all works fine.
 
Koush. Any thoughts on why it won't install on Windows XP or Vista????
 
Windows XP SP3 error "There is a problem with this Windows Installer package. A program required for the install to complete could not be run. Contact your support personnel or package vendor."
 
+Koushik Dutta Is this going to be open source or proprietary? (Fantastic work regardless, I'm just curious.)
 
Same problem as a few others, but I'm on 32-bit Windows 7: Windows 7.. install failed. "There is a problem with the Windows Installer package. A program run as part of the setup did not finish as expected."
 
having the same problems install problems as the others. Im on Win 7 x86
 
Worked perfectly. Very straightforward process that didn't require any instructions.
 
Genius! as always, Thanks Koush.
 
Very easy but lengthy install (My fault for not having the USB drivers installed.) Works great, speeds are still fast, however, are only a 3rd of what my phone gets. But I guess that is expected from USB tethering? 3.9Mbps Down and 1.05 Up for laptop that is tethered. 11.74Mbps Down and 2.9 Up on phone. Sprint SPH-D710 (Epic 4G Touch). Keep it up! The alpha is good so far!

EDIT: One small thing I've come across, the app stops after about 30-40 minutes of use.
 
Just installed on windows7 using a Droid bionic ... Works great setup was fast and easy tyvm man

 
Worked fine on Window 7 laptop. Seemed slower then PDANet howerver.
 
Works like a charm for me... Windows 7 64-bit using Galaxy Nexus... Good Stuff !!!
 
I cannot get it to install on Win7 32-bit.
 
When I run the installer the only options I get are "Repair Tether" or "Remove Tether". How am I supposed to install it? I'm on Windows Vista x64. Thanks
 
+Ryan Conklin That would indicate you already installed it. Try to find and run it or remove and restart and then try again.
 
I got it working on my Windows 7 PC with my husbands LG Revolution with very little trouble (most problems were due to me not reading the instructions). But my husbands phone is not very techie so I would like it when he plugged his phone I could have it set up to automatically tether for him. Or can I and I just don't know how? Thank you very much for your efforts and getting this app to work.
 
Thanks for another great product koush!

Any chance this could at some point work on an android tablet? I will probably need to tether my transformer prime at some point since it's wifi only
 
Koush: There is a typo on your drivers page for LG drivers; an extra e has been added to the link.

Also, any info on if this will eventually be a free or paid app? Maybe a free and paid version? Similarly do you plan on always requiring the device to be in USB debugging mode or is that only for the Alpha release in which the app is pushed onto the Android device?

I ask because I'm about to write about this on my website and would like to be able to address all of the above.
 
+Koushik Dutta I don't know if this has been brought up or not, but can you also offer this in the rooted variety?

Essentially, what separates this solution from the others is that it functions as a proxy. However, with the current set-up, it fails to take into account real-world usability.

Usually, I only tether in a pinch, not as a permanent solution to having internet access. I believe that most people realize that this is the practical application of tethering, and don't expect it to be their permanent internet. With that in mind, your solution requires significant set-up on the client machine -- I have to go to a website, download some software, and install it. However, in the real world, most people would not have done the necessary prep work before the need arises, or better still, would be on someone else's computer (i.e. my friend brought her laptop to the beach, but now we would like to get internet on it...). There is a significant need then for a solution that only requires set-up on the phone.

Sorry this explanation is so long, but essentially, I am describing the need for a plug-n-play-esque solution, even if root is required on the phone.
 
Installing Tether APK on the phone.
Results from APK installation:
{ '0':
{ [Error: Command failed: protocol failure
] killed: false, code: 1, signal: null },
'1': 'adb server is out of date. killing...\r\n* daemon started successfully *\r\n',
'2': 'protocol failure\r\n' }
Results from starting Tether service:
{ '0': null, '1': '', '2': '' }
Results from starting Tether activity:
{ '0':
{ [Error: Command failed: error: protocol fault (no status)
] killed: false, code: -1, signal: null },
'1': '* daemon not running. starting it now on port 5037 \r\n daemon started successfully *\r\n',
'2': 'error: protocol fault (no status)\r\n' }
Results from APK installation:
{ '0': null,
'1': '\tpkg: /data/local/tmp/Tether.apk\r\r\n* daemon not running. starting it now on port 5037 \r\n daemon started successfully \r\nadb server is out of date. killing...\r\n daemon started successfully *\r\nrm failed for /data/local/tmp/Tether.apk, No such file or directory\r\r\n',
'2': '3065 KB/s (229146 bytes in 0.073s)\r\n- waiting for device -\r\n' }
Results from starting Tether service:
{ '0':
{ [Error: Command failed: error: protocol fault (no status)
] killed: false, code: -1, signal: null },
'1': '* daemon not running. starting it now on port 5037 \r\n daemon started successfully *\r\n',
'2': 'error: protocol fault (no status)\r\n' }
 
I am running Mac OS 10.7 and using G-Nexus. I keep running into this road block:
Found that APK is already installed. Starting tether on phone.
Results from starting Tether service:
{ '0': null,
'1': 'Starting service: Intent { cmp=com.koushikdutta.tether/.TetherService }\r\n',
'2': '' }
Results from starting Tether activity:
{ '0': null,
'1': 'Starting: Intent { cmp=com.koushikdutta.tether/.TetherActivity }\r\nWarning: Activity not started, its current task has been brought to the front\r\n',
'2': '' }
It stops there and doesn't do anything. If I can get this to work and you don't block secure web sites, your app will be a winner against PDAnet. Thanks :)
 
+Ashraf dotTech Yes, USB debugging will be required. There will be a free and a paid version.

+Kiril Vatev I am planning on having the market app allow you to download the necessary files for your PC onto the SD card. Mount sdcard, install.
 
+Shawn Dobbs Looks like you were running an older adb. Can you try unplugging and replugging your phone and see if it works?
 
+Hannah Brown Can you try unplugging and replugging the phone in? The first run seems to be a big flaky. I have a fix for that in progress.
 
Installed fine on windows 7 x64 and tether started just fine. Chrome shows that internet was connected but for some reason every page i tried to go to it wouldn't load or said was unreachable. (facebook, hulu. droid-life) Im running Bionic.
 
+Koushik Dutta Thanks for the answer. That still doesn't solve the issue of tethering to someone else's computer, but I realize that that is probably a personal issue that I have rather than a widespread one. (I don't really like installing software on other people's computers.) You are doing a great job with all your apps.
 
+Koushik Dutta I'm dedicated to helping you solve this OSX problem. I'll be sitting around on the computer all evening if you need help.

I'm on 10.6.8, on a galaxy nexus. I've tried restarting everything etc, using your most recent update, and I still get the same error as everyone else.

Found that APK is already installed. Starting tether on phone.
Results from starting Tether service:
{ '0': null,
'1': 'Startingservice: Intent { cmp=com.koushikdutta.tether/.TetherService }\r\n',
'2': '' }
Results from starting Tether activity:
{ '0': null,
'1': 'Starting:Intent { cmp=com.koushikdutta.tether/.TetherActivity }\r\n',
'2': '' }

Still breaks airport too. Shoot me anything you want to try.
 
I'm interested in seeing how this progresses. It's gonna make our lives much easier.
Thanks for working this, Koushik.
 
+Koushik Dutta Thanks for clarifying that. Will the free version have any restrictions, such as how PdaNet and EasyTether Lite limit to HTTP only? Any info on free vs paid will help me spread the word about ClockwordMod Tether.
 
I get an error message on the install screen for Windows Setup (Windows 7, x86)

"There is a problem with this Windows Installer Package. A program required for this install to complete could not be run. Contact your support personnel or package vendor."

I can't continue this installation

If it helps at all.. I have an samsung Exhibit II with drivers already installed on this PC.
 
Works perfectly, but speeds are very slow for some reason.
 
The program installed successfully on Win7 x64. When I first ran the program, a networking driver was installed, but the tether.apk was never pushed to my phone. On second run, it was pushed, and the app worked successfully. Good job on this app!
 
It would be terrific if you could make this proxy support stunnel, ssl, openvpn, or other simple vpn technologies. That would make it completely undetectable with perhaps a small performance hit, or charges for a monthly vpn as a cost.
boo Jay
+
1
2
1
 
Sweet, I have an unlimited data plan, but am no allowed to tether. Hopefully this app is the solution.

Great job!
 
I can't get it to connect to the internet. Everything works fine during setup, but I can't get rid of the "No Internet Access" notification. It has network access, just not internet.

Windows7 64 bit, Stock VZW Galaxy Nexus.
 
Windows 7 64 bit ...
Found that APK is already installed. Starting tether on phone.
Results from starting Tether service:
{ '0': null,
'1': 'Starting service: Intent { cmp=com.koushikdutta.tether/.TetherService }\r\r\n',
'2': '' }
Results from starting Tether activity:
{ '0': null,
'1': 'Starting: Intent { cmp=com.koushikdutta.tether/.TetherActivity }\r\r\nWarning: Activity not started, its current task has been brought to the front\r\r\n',
'2': '' }
{}
Tun/tap device IP: 10.0.0.1
Reading tun/tap device...
error
{ [Error: listen EADDRNOTAVAIL]
code: 'EADDRNOTAVAIL',
errno: 'EADDRNOTAVAIL',
syscall: 'listen' }
 
Thanks for this. I have my Wi-Fi fix already, was looking for something separate to tether with.
 
downloaded and installed both the drivers(mytouch 4g cyanogenmod 7.1) and tether package for Win 7x64. Does not work. I get the following error:
Results from starting Tether service:
{ '0': null,
'1': 'Starting service: Intent { cmp=com.koushikdutta.tether/.TetherService }\r\r\n',
'2': '' }
Results from starting Tether activity:
{ '0': null,
'1': 'Starting: Intent { cmp=com.koushikdutta.tether/.TetherActivity }\r\r\nWarning: Activity not started, its current task has been brought to the front\r\r\n',
'2': '' }
 
WindowsSetup2 worked perfectly. Installed and running, still can't get internet using my phones connection yet but im messing with it.

Also note, I can't "exit" the tethering application on windows, minor thing but if i right click the icon on the taskbar and hit "exit" it doesn't exit. the icon remains there.
 
It doesn't work for me, Galaxy Nexus.

Found that APK is already installed. Starting tether on phone.
Results from starting Tether service:
{ '0': null,
'1': 'Starting service: Intent { cmp=com.koushikdutta.tether/.TetherService }\r\r\n',
'2': '' }
Results from starting Tether activity:
{ '0': null,
'1': 'Starting: Intent { cmp=com.koushikdutta.tether/.TetherActivity }\r\r\nWarning: Activity not started, its current task has been brought to the front\r\r\n',
'2': '' }
 
Great work man. Is there any plans for something like this for the iPhone ? Oops should I have not asked that in this post ??? 
 
Trust this has to be great contribution for anyone who was looking for such solution.
unfortunately doesn't work for Japan / Softbank. (maybe only only Jailbroken phones)
Tun/tap device IP: 10.0.0.1
Reading tun/tap device...
Listening on tether port...
Tether connection closed...
 
mac version 1 worked first go with my macbook pro and galaxy nexus. awesome
 
Koush, every time you give the finger to carrier restrictions, an angel gets it's wings. Thanks for making Android what it should be: open.
Eric T
 
Won't install on Lenovo X220 tablet running Win7 Professional 64-bit.

Tried the first and 2nd versions. Says something about not supported by vendor.
 
Win 7 Home 64bit and a CDMA Galaxy Nexus. installed first try and its up and running perfectly. Thanks! you are awesome my friend.
 
It says waiting and now the wifi on my Mac won't work
 
Much like PDANet, I eventually got it working after an hour or so of trial and error and have no idea how to replicate the success other than further trial and error. And I don't use it enough to actually remember the steps and in what order. But this is very much on me, not the app. Thanks for the app!

Using it now.

HTC EVO 4G. It required HTC Sync to be updated and running. And contrary to the directions on the program that said "set to USB charge" it needed to be set to "HTC sync" before it started working. I am not sure if the "charge" setting was a one time thing on intial install or for all future use, but it could not find the phone when set to "charge."
 
HTC Incredible 2/Windows7

Following error occurs:

STATUS: Connected to phone. Waiting for tether connection.
Phone detected by adb!
Starting the Tether application on the phone...
Tether error:
{ '0':
{ [Error: connect ECONNREFUSED]
code: 'ECONNREFUSED',
errno: 'ECONNREFUSED',
syscall: 'connect' } }
Tether connection closed...

Disabled PeerBlock 1.1
Tried to reconnect
Brought up app on phone.

Following error occurred:

STATUS: Connected to phone. Waiting for tether connection.
Phone detected by adb!
Starting the Tether application on the phone...
adb port forwarding results:
{ '0':
{ [Error: Command failed: error: device offline
] killed: false, code: 1, signal: null },
'1': '* daemon not running. starting it now on port 5037 \r\n daemon started successfully *\r\n',
'2': 'error: device offline\r\n' }
 
Loading tun.kext.
INFO: net.tunnelblick.tun has already been loaded.
Starting Tether...
opening tun device: /dev/tun1
adb binary path: ../darwin/adb
unable to open tun device
Setting up adb port forwarding to port 30002.
STATUS: Connected to phone. Waiting for tether connection.
Phone detected by adb!
Starting the Tether application on the phone...
adb port forwarding results:
{ '0': null, '1': '', '2': '' }
Checking if package is installed.
package:android
package:com.TEST.android.lvh
package:com.adobe.air
package:com.adobe.flashplayer
package:com.alphonso.pulse
package:com.amazon.venezia
package:com.android.RTN
package:com.android.backupconfirm
package:com.android.bip
package:com.android.bluetooth
package:com.android.calculator2
package:com.android.certinstaller
package:com.android.contacts
package:com.android.defcontainer
package:com.android.facelock
package:com.android.htmlviewer
package:com.android.keychain
package:com.android.launcher
package:com.android.livewallpaper.microbesgl
package:com.android.mms
package:com.android.musicfx
package:com.android.musicvis
package:com.android.nfc3
package:com.android.noisefield
package:com.android.packageinstaller
package:com.android.phasebeam
package:com.android.phone
package:com.android.providers.applications
package:com.android.providers.calendar
package:com.android.providers.contacts
package:com.android.providers.downloads
package:com.android.providers.downloads.ui
package:com.android.providers.drm
package:com.android.providers.media
package:com.android.providers.settings
package:com.android.providers.telephony
package:com.android.providers.userdictionary
package:com.android.settings
package:com.android.sharedstoragebackup
package:com.android.soundrecorder
package:com.android.stk
package:com.android.systemui
package:com.android.vending
package:com.android.vending.updater
package:com.android.voicedialer
package:com.android.vpndialogs
package:com.android.wallpaper
package:com.android.wallpaper.holospiral
package:com.android.wallpaper.livepicker
package:com.box.android
package:com.dropbox.android
package:com.ea.game.realracing2_na
package:com.evernote
package:com.facebook.orca
package:com.forshared
package:com.fusionone.android.sync.sprimebaclient
package:com.gameloft.android.ANMP.GloftN2HM
package:com.gameloft.android.ANMP.GloftSDHM
package:com.google.android.apps.books
package:com.google.android.apps.chrometophone
package:com.google.android.apps.genie.geniewidget
package:com.google.android.apps.maps
package:com.google.android.apps.plus
package:com.google.android.apps.uploader
package:com.google.android.apps.walletnfcrel
package:com.google.android.backup
package:com.google.android.browser
package:com.google.android.calendar
package:com.google.android.camera
package:com.google.android.deskclock
package:com.google.android.email
package:com.google.android.exchange
package:com.google.android.feedback
package:com.google.android.gallery3d
package:com.google.android.gm
package:com.google.android.googlequicksearchbox
package:com.google.android.gsf
package:com.google.android.gsf.login
package:com.google.android.inputmethod.latin
package:com.google.android.inputmethod.latin.dictionarypack
package:com.google.android.location
package:com.google.android.marvin.talkback
package:com.google.android.music
package:com.google.android.onetimeinitializer
package:com.google.android.partnersetup
package:com.google.android.setupwizard
package:com.google.android.street
package:com.google.android.syncadapters.bookmarks
package:com.google.android.syncadapters.contacts
package:com.google.android.tag
package:com.google.android.talk
package:com.google.android.tts
package:com.google.android.videoeditor
package:com.google.android.videos
package:com.google.android.voicesearch
package:com.google.android.youtube
package:com.google.earth
package:com.jakyl.spirithd
package:com.koushikdutta.tether
Found that APK is already installed. Starting tether on phone.
Results from starting Tether service:
{ '0': null,
'1': 'Starting service: Intent { cmp=com.koushikdutta.tether/.TetherService }\r\n',
'2': '' }
Results from starting Tether activity:
{ '0': null,
'1': 'Starting: Intent { cmp=com.koushikdutta.tether/.TetherActivity }\r\nWarning: Activity not started, its current task has been brought to the front\r\n',
'2': '' }
 
Can't get it to work on Mac 10.7.2
It just says connected to phone. Waiting for tether connections.
 
No Problem installing and getting it to work. Very easy install. Installed on my windows 7 64 bit, launched the app and clicked start accepted some firewall notifications and selecting my network preferences and everything works. Getting decent latency and average download speeds. I think its faster with wifi tether but this seems pretty straight forward and simple. Thanks!

Galaxy Nexus w/ ICS 4.0.2
 
Just installed on Galaxy Nexus. Installation was easy, and once I enabled USB debugging it worked like a charm!! You rock! I owe you a beer.
 
It took me a few minutes to remember where this "USB debugging" setting was on my phone. After that, no problem! Only 3g on my Droid X, but something I really needed.

Droix X 2.3.3
 
Great job i was able to use my windows 7 64 bit laptop. easy install and working properly. Meanwhile i was looking for a solution for my tablets since verizon is checking on wifi tethering. is there any way you can do your magic for a phone to tablet version. Thank you
 
What about tethering an Android phone to an Android tablet? For example, my Asus Transformer is wifi only, but I'd like to be able to (once I buy the keyboard dock) hook my phone into it and do a tether.
 
Droid 3 tethered to a Windows Vista 32 bit laptop right now with your software.... FTW! :-)
 
Just like Daniel, I can get everything to come up but now I sit at
{ '0': null,
'1': 'Starting service: Intent { cmp=com.koushikdutta.tether/.TetherService }\r\n',
'2': '' }
Results from starting Tether activity:
{ '0': null,
'1': 'Starting: Intent { cmp=com.koushikdutta.tether/.TetherActivity }\r\nWarning: Activity not started, its current task has been brought to the front\r\

Nothing happens.
 
Installed fine on Windows 7 64bit, however, no internet connection. Application starts and says that "Tether has Connected"
Tether Log

Results from starting Tether service:
{ '0': null,
'1': 'Starting service: Intent { cmp=com.koushikdutta.tether/.TetherService }\r\r\n',
'2': '' }
Results from starting Tether activity:
{ '0': null,
'1': 'Starting: Intent { cmp=com.koushikdutta.tether/.TetherActivity }\r\r\nWarning: Activity not started, its current task has been brought to the front\r\r\n',
'2': '' }
{}
Tun/tap device IP: 10.0.0.1
Reading tun/tap device...
Listening on tether port...
STATUS: Tether has connected
 
It was working just fine. Then died. Phone still thinks it is running but the pc software isn't working anymore.
C:\Program Files\ClockworkMod\Tether
"Local Area Connection 2"
Checking arguments...
Setting IP Address, mask, and gateway.
Setting DNS server.
Starting Tether...
C:\Program Files\ClockworkMod\Tether\node-tuntap
opening tun device: null
adb binary path: ..\win32\adb.exe
Waiting for interface to get ready... (waiting 5 seconds)
{}
Tun/tap device IP: 10.0.0.1
Reading tun/tap device...
Listening on tether port...
Tether error:
{ '0':
{ [Error: connect ECONNREFUSED]
code: 'ECONNREFUSED',
errno: 'ECONNREFUSED',
syscall: 'connect' } }
Tether connection closed...
STATUS: Tether has disconnected.
Tether connection closed...
Tether error:
{ '0':
{ [Error: connect ECONNREFUSED]
code: 'ECONNREFUSED',
errno: 'ECONNREFUSED',
syscall: 'connect' } }
Tether connection closed...
STATUS: Tether has disconnected.
C:\Program Files\ClockworkMod\Tether
"Local Area Connection 2"
Checking arguments...
Setting IP Address, mask, and gateway.
Setting DNS server.
The object is already in the list.
Starting Tether...
C:\Program Files\ClockworkMod\Tether\node-tuntap
opening tun device: null
adb binary path: ..\win32\adb.exe
Waiting for interface to get ready... (waiting 5 seconds)
Setting up adb port forwarding to port 30002.
STATUS: Connected to phone. Waiting for tether connection.
Phone detected by adb!
Starting the Tether application on the phone...
adb port forwarding results:
{ '0': null, '1': '', '2': '' }
Checking if package is installed.
package:com.google.android.location
package:blur.res
package:com.motorola.togglewidgets
package:com.android.defcontainer
package:com.motorola.contacts.preloaded
package:com.motorola.android.sdm.plugin.lawmo
package:com.android.phone
package:com.android.bluetooth
package:com.android.providers.calendar
package:com.pv.android.verizon.mod
package:com.motorola.dlauncher
package:com.motorola.blur.provider.orkut
package:com.motorola.android.locationproxy.dm
package:com.motorola.hiddenmenu
package:com.android.browser
package:com.android.music
package:com.motorola.programmenu
package:com.motorola.android.onlinealbum
package:org.mmin.handycalc
package:com.motorola.blur.richtext
package:com.android.providers.downloads.ui
package:com.motorola.blur.service.blur
package:com.motorola.setupwizard.locationconsent
package:com.motorola.phoneaddons
package:com.motorola.blur.contacts.sync
package:com.android.batteryreport
package:com.motorola.blur.updater
package:com.android.providers.media
package:com.motorola.blur.setupsettings
package:com.directv.dvrscheduler
package:com.softwareimaging.motoprint.mobile
package:com.motorola.blur.provider.picasa
package:com.motorola.android.omadownload
package:com.motorola.blur.service.storagemon
package:com.motorola.globalnwswitch
package:com.android.settings
package:com.motorola.blur.setup
package:com.amazon.kindle
package:com.motorola.blur.socialmessaging
package:com.google.android.street
package:com.motorola.blur.msexchangesvc
package:com.google.android.googlequicksearchbox
package:com.android.providers.drm
package:com.skype.android.verizon
package:com.android.musicvis
package:com.motorola.setupwizard.controller
package:com.motorola.quicksms
package:com.android.providers.telephony
package:com.svox.pico
package:com.motorola.blur.email
package:com.google.android.apps.maps
package:com.motorola.android.omadrm
package:com.motorola.certificatemanager
package:com.pandora.android
package:com.android.providers.settings
package:com.motorola.pgmsystem
package:com.google.android.apps.docs
package:com.usnaviguide.radar_now
package:com.android.providers.downloads
package:com.koushikdutta.tether
Found that APK is already installed. Starting tether on phone.
Results from starting Tether service:
{ '0': null,
'1': 'Starting service: Intent { cmp=com.koushikdutta.tether/.TetherService }\r\r\n',
'2': '' }
Results from starting Tether activity:
{ '0': null,
'1': 'Starting: Intent { cmp=com.koushikdutta.tether/.TetherActivity }\r\r\nWarning: Activity not started, its current task has been brought to the front\r\r\n',
'2': '' }
{}
Tun/tap device IP: 10.0.0.1
Reading tun/tap device...
Listening on tether port...
STATUS: Tether has connected.
STATUS: Tether has disconnected.
Tether connection closed...
Tether connection closed...
Tether connection closed...
Tether connection closed...
Tether connection closed...
Tether connection closed...
Tether connection closed...
Tether connection closed...
Tether connection closed...
Tether connection closed...
Tether error:
{ '0': { [Error: write ECONNABORTED] code: 'ECONNABORTED', errno: 'ECONNABORTED', syscall: 'write' } }
Tether connection closed...
STATUS: Tether has disconnected.
Tether connection closed...
Tether error:
{ '0':
{ [Error: connect ECONNREFUSED]
C:\Program Files\ClockworkMod\Tether
"Local Area Connection 2"
Checking arguments...
Setting IP Address, mask, and gateway.
Setting DNS server.
The object is already in the list.
Starting Tether...
C:\Program Files\ClockworkMod\Tether\node-tuntap
opening tun device: null
adb binary path: ..\win32\adb.exe
Waiting for interface to get ready... (waiting 5 seconds)
Setting up adb port forwarding to port 30002.
STATUS: Connected to phone. Waiting for tether connection.
Phone detected by adb!
Starting the Tether application on the phone...
adb port forwarding results:
{ '0':
{ [Error: Command failed: error: device offline
] killed: false, code: 1, signal: null },
'1': '',
'2': 'error: device offline\r\n' }
{}
Tun/tap device IP: 10.0.0.1
Reading tun/tap device...
Listening on tether port...
Tether error:
{ '0':
{ [Error: connect ECONNREFUSED]
code: 'ECONNREFUSED',
errno: 'ECONNREFUSED',
syscall: 'connect' } }
Tether connection closed...
STATUS: Tether has disconnected.
Tether connection closed...
Tyler Z
 
I'm also stuck on the "Connected to phone. Waiting for tether connection." screen. Motorola Atrix running MIUI Alpha 3, laptop with Windows 7 x64 (home edition).
 
+Jason Wald Looks like your device connection died. You can disable/reenable usb debugging, or restart your phone to fix this. I'll see if I am somehow causing that, but it seems to happen in a small percent of phones.
 
2nd link for Windows installer fixed my problem. Had to download Tether.apk and install on phone side. Droid 3 Android 2.3.4 ALL STOCK non-rooted with Windows xp SP3
 
Ok, i believe I managed to get everything running all set up.

But now I keep waiting for tether activity.
Nothing happens. The local area connection created to tether has no packets being sent or received.
The connection just seems dead.. even though i've tried this numerous times.
 
Installed windows 2nd version.. App still runs in background after hitting exit, same as 1st version.. Have tried exiting phone app 1st and computer app 1st. Doesnt matter. Have to go to Task manager to shut down. Win 7 64 bit. unrooted Stratosphere
 
Running Windows 7 32bit, tethered to Droid X. "Network" network was tethered, available, and connected, but no internet access. Thanks
 
I installed and uninstalled a couple times on Windows 7 64 bit. I exited the tether app a couple times and all the sudden after many failed attempts, I was connected. Thank you Koush!
 
Installed and worked fine on my droid x.
 
I just downloaded and installed on my Droid X, which is rooted and running stock 605. At first I had an issue figuring out everything because I didn't see the apk download before but when I logged on with my laptop I saw the apk download link, went back with my phone and downloaded it and after installing the tether drivers, setting up another network and turning off my wifi on the laptop, I am running fine. I tested wtih testmy.net and my speeds are 255kbps down, 164kbps up; not screaming fast but I am testing in a bedroom with 2 bars. My system is running win7 Ultimate, 64bit. Thanks for this, I don't care about having the ability to stream netflix, etc, but will be happy with being able to check in from my laptop while on call. Awesome work, I will gladly send some donate money when you get this rolling .
 
+Brandon Nunn No, I did not already have it installed. I ended up just going with repair and it installed it then. That just made it pretty confusing. Ended up trying it out and it ran through its start up stuff then switched from connected to disconnected repeatedly for like 30 sec then finally stayed connected. But it was really slow however. Anyway Great work +Koushik Dutta. It's the proof of concept! Have always been a fan of Koush's work.
 
"1": starting: Intent {cmp= com.koushikdutta.tether/.Tether Activity }\r\r\nWarning: Activity not started, its current task has been brought to the front\r\r\n.
'2': "}
 
Worked fine on my Windows 7 PC with a DROID X on CM7, however it was rather slow compared to WiFi Tether.
 
on 10.7 intel i7 macbook air cant get it to run what network settings need to be updated?
 
+jake edri shouldn't need to adjust anything. just make sure you have usb debuggin enabled in the app. care to pastebin me a log please?
 
on a stock D3 tether will only work if you connect in "mass storage" mode any other option gives an error on MAC version!! connects at 1.6MB down 329k Up
 
My experience with Tether:

I really did not like the fact that the installer opened IE instead of my dfault browser. That would make me angry in an end product.

I am not too comfortable with the program installing an app on my phone. You can decide what to make of that.

The Tether porgram on my computer will not let me exit it. It throws an error when I try to exit the program from the tray.

The solution worked for maybe 2 minutes, then the internet connection disappeared. I tried various different combinations of unplugging the phone, restarting the program, etc. Finally, I uninstalled the apk from the phone, ran the program again to reinstall the apk, and it is now working.

The speed is much slower than on the phone. In a speed test, I get around 7Mbps up on my phone, but only 3Mbps on the computer at best, but down to 1.5Mbps on multiple tests. All tests were done using the same test server.

Anyway, it works and it's fast enough fro casual browsing.
 
Same problem as Shawn above. Just stalls there. On OSX 10.6 with GN.
 
Any thoughts on getting a apk that lets you tether a tablet like the HP touchpad running CM7 or hopefully CM9 soon?
 
Getting same as some others on OSX 10.7.2. Using a rooted Samsung Galaxy SII Skyrocket on a custom ROM. It also kills my wifi.

Found that APK is already installed. Starting tether on phone.
Results from starting Tether service:
{ '0': null,
'1': 'Starting service: Intent { cmp=com.koushikdutta.tether/.TetherService }\r\n',
'2': '' }
Results from starting Tether activity:
{ '0': null,
'1': 'Starting: Intent { cmp=com.koushikdutta.tether/.TetherActivity }\r\nWarning: Activity not started, its current task has been brought to the front\r\n',
'2': '' }
 
I posted this before, and I tried to edit it and that somehow made it disappear, so here is my experiences with the Tether. Sorry if it posts twice.


I really did not like the fact that the installer opened IE instead of my dfault browser. That would make me angry in an end product.

I am not too comfortable with the program installing an app on my phone. You can decide what to make of that.

The Tether porgram on my computer will not let me exit it. It throws an error when I try to exit the program from the tray.

The solution worked for maybe 2 minutes, then the internet connection disappeared. I tried various different combinations of unplugging the phone, restarting the program, etc. Finally, I uninstalled the apk from the phone, ran the program again to reinstall the apk, and it is now working.

The speed is on par with a speedtest done directly from the phone.
Also, just to be a jerk, I tested torrents, and they seem to not work. It won't connect at all with torrents that I know work on regular wifi. I don't know if that is because of Tether or Verizon though.

It stopped working again after about 15 minutes (internet just dropped, even though the program was reporting that it was running fine). I don't feel like trying to fix it again, so I did not try.
 
No connection made:
"Results from starting Tether activity:
{ '0': null,
'1': 'Starting: Intent { cmp=com.koushikdutta.tether/.TetherActivity }\r\r\nWarning: Activity not started, its current task has been brought to the front\r\r\n',
'2': '' }"
 
+Eric Tollison
It installed on my Lenovo X220 Tablet just fine, however I am getting the error I posted above, which seems to be the most common error between the people who are getting errors.
 
Will there be an iPad version to work with my galaxy nexus?
 
I installed on Windows 7 Premium box unrooted Motorola Atrix ( original ) typing this on the connection. No problems didn't need instructions did great job.
 
Hey man! Awesome application! I'm running 4.0.1 on a Milestone (Droid) X on the regional carrier nTelos. When turning on the WIndows application with the Android app installed, this is the error I get, on the PC of course.

"{ '0': null,
'1': 'Starting: Intent { cmp=com.koushikdutta.tether/.TetherActivity }\r\r\nWarning: Activity not started, its current task has been brought to the front\r\r\n',
'2': '' }"

Not sure if it's the rom or something im doing wrong. Either way, keep up the good work!
 
+Caleb Fultz What color is the usb icon on the phone and pc? Can you pastebin me a full log, after disconnecting and reconnecting the phone?
 
Simple Install worked on Mac OS X 10.7.2
 
Koush, you are absolutely amazing. Thank you so much for being such a great developer. :)
 
+Caleb Fultz I have the exact same problem on my PC. I am running Windows 7 Professional 64-bit, and my phone is an LG Optimus S with Android 2.3.3.
 
+Kyle Krcmaric I'm running Windows XP Service Pack 3 on my current laptop. I'm thinking about booting into Ubuntu 32 bit and seeing if it has the same issue, concluding it's the ROM not the app.
 
Everything installed fine on the Galaxy Nexus, however it isn't sharing the connection. Looks promising, as it shows up on my computer as a VPN.
 
That's pretty much how my log looks aswell.
 
+Kyle Krcmaric +Caleb Fultz Oh interesting, for some reason you "netsh" command does not seem to exist. Can you open a command prompt and type "netsh" and see if it works?
 
+Koushik Dutta netsh works in command prompt. Now it gives us this...
"C:\Program Files\ClockworkMod\Tether
"Local Area Connection 4"
Checking arguments...
Setting IP Address, mask, and gateway.
The following command was not found: interface ipv4 set address "name=Local Area Connection 4" source=static address=10.0.0.1 mask=255.255.255.0 gateway=10.0.0.2.
Setting DNS server.
The following command was not found: interface ipv4 add dnsserver "name=Local Area Connection 4" address=8.8.8.8 index=1.
Starting Tether...
C:\Program Files\ClockworkMod\Tether\node-tuntap
opening tun device: null
adb binary path: ..\win32\adb.exe
Waiting for interface to get ready... (waiting 5 seconds)
{}
Tun/tap device IP: 10.0.0.1
Reading tun/tap device...
error
{ [Error: listen EADDRNOTAVAIL]
code: 'EADDRNOTAVAIL',
errno: 'EADDRNOTAVAIL',
syscall: 'listen' }"
 
+Koushik Dutta When I type netsh in cmd, it just returns "netsh>" on an new line. I do not get a message saying the command does not exist.
 
+Caleb Fultz Might be a pathing problem. Start a new command prompt as administrator (right click -> run as administrator) and run this:

netsh interface ipv4 set address "name=Local Area Connection 4" source=static address=10.0.0.1 mask=255.255.255.0 gateway=10.0.0.2.
 
I can type "netsh interface ip show config" and I get a result, so the command is there.
 
What if I were to run your PC utility as an administrator?
 
+Kyle Krcmaric Can you try running the above command as administraotr too? (Except use the proper network name for your TAP adapter). You can find hte network name in your log as well.
 
I get this now after running netsh in cmd:
"Results from starting Tether service:
{ '0': null,
'1': 'Starting service: Intent { cmp=com.koushikdutta.tether/.TetherService }\r\r\n',
'2': '' }
Results from starting Tether activity:
{ '0': null,
'1': 'Starting: Intent { cmp=com.koushikdutta.tether/.TetherActivity }\r\r\nWarning: Activity not started, its current task has been brought to the front\r\r\n',
'2': '' }
{}
Tun/tap device IP: 10.0.0.1
Reading tun/tap device...
error
{ [Error: listen EADDRINUSE] code: 'EADDRINUSE', errno: 'EADDRINUSE', syscall: 'listen' }"
 
+Caleb Fultz What were the results when running it manually?

I need the output from when you run this manualy in an administrator command window:

netsh interface ipv4 set address "name=Local Area Connection 4" source=static address=10.0.0.1 mask=255.255.255.0 gateway=10.0.0.2
 
+Caleb Fultz Errrr. I guess I don't understand. Mine doesn't print out anything when it works :)

Can you screenshot or paste me the log of your command window, including the command you are typing in?
 
+Koushik Dutta After running the command, nothing was returned in cmd, it just went back to reading "C:\Windows\system32>" ready for another command.
 
+Koushik Dutta Sure. I think I'm explaining it wrong, long day. Lol. Btw would this have anything to do with it? "unable to open tun device"
 
+Kyle Krcmaric You may have two tethers open. ( I need to fix that bug)

Can you open task manager and kill all the tether apps that are running, then restart tether? (They will also show up in the noptification tray).
 
+Koushik Dutta Turns out I did have two open, but even after killing both of them and restarting the application, I am still getting this same error:

Results from starting Tether service:
{ '0': null,
'1': 'Starting service: Intent { cmp=com.koushikdutta.tether/.TetherService }\r\r\n',
'2': '' }
Results from starting Tether activity:
{ '0': null,
'1': 'Starting: Intent { cmp=com.koushikdutta.tether/.TetherActivity }\r\r\nWarning: Activity not started, its current task has been brought to the front\r\r\n',
'2': '' }
 
What does it mean when it says the current task has been brought to the front? Could there be an app on the phone that could be interfering with Tether?
 
Tether is using Local Area Connection 2 for me, so when I go into the properties for that connection, it says the IP address is 10.0.0.1, the subnet mask is 255.255.255.0, and the default gateway is 10.0.0.2.
 
+Kyle Krcmaric That is not an error; that just means that the app is already open on the phone. Can you send me the full log again?
 
So when I go into my running tab on my phone, and select Tether, it only shows one service running, "TetherService", "TetherActivity" is not running, so could it be a problem isolated to the phone? Is there a way to try and manually start "TetherActivity" on the phone?
 
I know that US operators use only ttl values these days, but what about mss, mtu, wss and other unique signs of different OS? What happens when they implement even much in-depth interception?
 
Ok, im at

{ '0': null,
'1': 'Starting service: Intent { cmp=com.koushikdutta.tether/.TetherService }\r\r\n',
'2': '' }
Results from starting Tether activity:
{ '0': null,
'1': 'Starting: Intent { cmp=com.koushikdutta.tether/.TetherActivity }\r\r\n',
'2': '' }
STATUS: Tether has connected.

However, I can't use the internet at all.. on my computer all get "No Internet access" on the Network connection created for this program. The Local Area connection that was created for tethering shows "Network Cable unplugged" but my phone is connected to my PC
 
Great concept, but not working for me in Windows 7 x64. Connects everything looks fine but no dns. Tried changing to a different dns server but no go, no internet.
 
In USB debugging mode on Galaxy Nexus with correct ADB drivers. Windows 7 - installer did not install the APK on the device. Installed APK by hand. Windows client looks happy, phone says connected and showing 2k uploaded, but unable to use connection. Windows client just shows something like "adb connection still connected" over and over again. Cannot ping 10.0.0.2 from computer, which is supposed to be the gateway device. Keep trying! You ROCK!
 
hey man, on macbook pro with osx 10.7.2 and galaxy s2 skyrocket... tried all mac installs and none of them work for me. i get load errors for tun.kext :

Loading /tmp/tun.kext
Error loading /tmp/tun.kext

the file is in the directory and i even tried installing tuntap_20111101.pkg from sourceforge, rebooted and installed apk manually. still no luck with mac... thanks and happy to help test.
 
Just installed this on my Win7 64-bit laptop and it's working great with my DroidX .605 rooted. Connection is slow but that has nothing to do with the app, just the phone signal itself and my location. Very easy to install
1-download CW Tether program and install on your machine.
2-install .apk to my phone
3-installed tether drivers
4-plugged in my phone and turned on the app on my phone and my laptop
5-online

I already had USB debugging on my phone but if you do not, go into Settings > Applications > Development, then check USB debugging.
 
+Koushik Dutta - Does the app tethering an iPad to a Droid phone where the iPad does not have a data plan?
 
It works. HTC Desire with a laptop running Win 7. (I skip the driver download step as I know I have the drivers installed on my laptop.)
Will love a rooted version though if it can be used on laptops without any packages or relevant drivers installed, like friend's laptops.
Anyway, a big thanks and looking forward for its development.
 
Any chance this could work on my HP Touchpad? I'd love to plug my Epic Touch in the Touchpad and get service while on the road.
 
You broke HTC's search function...nice job kids :P now I can't find the ADB drivers for my Incredible.
 
It's crashing on OSX 10.7.2 (Hackintosh, Gigabyte EP45-DS3R Mobo)


1/3/12 7:28:06.239 AM authexec: executing /Users/sherpa/Downloads/Tether.app/Contents/Resources/darwin/setuid
1/3/12 7:28:06.250 AM [0x0-0x116116].com.koushikdutta.Tether: usage: dirname path
1/3/12 7:28:06.255 AM [0x0-0x116116].com.koushikdutta.Tether: cp: /../darwin/tun.kext: No such file or directory
1/3/12 7:28:06.259 AM [0x0-0x116116].com.koushikdutta.Tether: chown: /tmp/tun.kext: No such file or directory
1/3/12 7:28:06.261 AM [0x0-0x116116].com.koushikdutta.Tether: chmod: /tmp/tun.kext: No such file or directory
1/3/12 7:28:06.282 AM com.apple.kextd: Can't open CFBundle for /tmp/tun.kext.
1/3/12 7:28:06.282 AM com.apple.kextd: Can't open CFBundle for /tmp/tun.kext.
1/3/12 7:28:06.282 AM com.apple.kextd: Error: Kext /tmp/tun.kext - not found/unable to create.
1/3/12 7:28:06.282 AM [0x0-0x116116].com.koushikdutta.Tether: /tmp/tun.kext failed to load - (libkern/kext) not found; check the system/kernel logs for errors or try kextutil(8).
1/3/12 7:28:15.654 AM [0x0-0x116116].com.koushikdutta.Tether: Loading /tmp/tun.kext.
1/3/12 7:28:15.654 AM [0x0-0x116116].com.koushikdutta.Tether: Error loading /tmp/tun.kext
 
This worked pretty well for me, OSX 10.7, Evo 4g, although it was a bit slow even with "full bars" on 4g. Of course it's hard to say if that is my rom (using deck's gingerbread rom, haven't used it for very long so I don't know how well 4g works), or if that is this app. Regardless, thanks Koush!
 
Novice here. Worked first time for me, droid 3, windows 7-32 HP laptop. I use tether all day in Courthouse. We'll see how it does today. Thanks.
 
Any chance for an android client, would love to use my non 3g tablet with my phone.
 
I get this error from adb:

{ '0':
{ [Error: Command failed: error: insufficient permissions for device
] killed: false, code: 1, signal: null },
'1': '',
'2': 'error: insufficient permissions for device\n' }
 
Awesome work. The only downside with USB tethering is that 500ma current of the USB port. In some cases it's not enough current to run the phone and charge the battery. Perhaps the pogo pins on the GN could be used simultaneously while using the USB port on the computer. Again, great work!
 
WoW, this works great on my Droid Razr. Speed is OK on 4G. My laptop is Gateway NV78 running Win 7 64. Very cool!
Eze Uba
 
+Koushik Dutta I downloaded the version 3 from your site and it works now (installation and all). In my opinion, only thing that needs polishing is the interface. The program works perfectly. Cheers.
 
I tried to install as well on XP Pro and received the message "There is a problem with this Windows Installer Package. A program for this install to complete could not be run " and would not install.
 
+Koushik Dutta +Andrew Martonik
Thanks! I didn't know that most carriers would block those functions. In Denmark, at least, I don't think that is a problem, but I have no idea of how these things work (or not) in, say, USA.

So thanks for the clarification :)
 
+Koushik Dutta This may be a dumb question, but would ClockworkMod Tether allow users to tether their phone to an Android tablet?
 
Thanks for the great work! Works great on my Droid Razr connected to my laptop running Win 7 64
 
Got it all installed but not functional yet; it appears to successfully connect but the tether blinks on an off, forcing it to continually reconnect (failing most of the time).
Could be my aftermarket USB cable, but it appears to have a strong connection in general. It could be conflicting with the HTC Sync software? Enabling HTC Sync seems to be the only way to enable ADB, but the blinking with Tether appears to cause similar blinking with Sync.
 
+Koushik Dutta It didn't install automatically, but I installed the .apk without any trouble. The icon on the phone is green; says USB tether is running.
 
The error I get most often is this:


Phone still visible by adb.
Tether error:
{ '0':
{ [Error: connect ECONNREFUSED]
code: 'ECONNREFUSED',
errno: 'ECONNREFUSED',
syscall: 'connect' } }
Tether connection closed...
 
Installed on Windows 7 with Samsung GSII Skyrocket, and works great, has a little bit higher latency than would like when opening web pages. Also tried to install on Windows XP and could not install, is there a reason for this, or is XP not supported?
 
What's the best way to send you screenshots of my failed install attempts on Win 7 Ultimate 64bit (Desktop PC) and Win7 Ultimate 32bit (Laptop)?
 
When we gonna see rom manager updated to work with the rezound 
 
Oddly enough unplugging and reconnecting resulted in a frozen phone...no idea what that's all about. Did a battery pull because i'm impatient and tried again; pastebin of log is here:
http://pastebin.com/S5pJHwVa

HTC Sync connection dies as soon as I press "Start" on the desktop app, and reconnects when I press "Stop."
 
+Geoffrey Berryman I see the error in the log; it seems that the program responsible for the phone-pc connection (adb) is not responding. Not sure why that would be happening. You could try killing adb in task manager, and plugging in the phone again. Though I suspect the problem will just happen again. I'll need to investigate HTC sync.
 
Yeah; I would disable HTC Sync but it appears to be the only way to enable ADB with this particular phone (droid incredible).
 
I get this on my Ubuntu 11.10 laptop, after attaching my Galaxy Nexus via USB

[jeremy:~/Desktop/tether-linux/linux]$ sudo ./run.sh

0
~/Desktop/tether-linux/linux/i386 ~/Desktop/tether-linux/linux
~/Desktop/tether-linux/linux
Starting Tether...
opening tun device: /dev/net/tun
adb binary path: ../linux/adb
Testing adb status...
Unable to open tun device! Exiting.
Failure during ioctl.
 
I downloaded this on my Google Chromebook without too much success. Chromebook's run Linux so i went with the linux down load but as expected it can't read the file. Any suggestions? because this idea would be amazing on my netbook
 
Mac OS X 10.7.2 + Galaxy Nexus - the app quits right away. I had to "ifconfig tun1 down" to get back to the internet, and although I can't read the message fast enough (is there a log somewhere?) I think it's quitting when it finds tun1. I have TunnelBlick installed separately if that matters.
 
For anyone having trouble on Win7 while using ESET antivirus, disabling the firewall will allow the connection to go through. Getting 1mb/s down and .4mb/s up, but i'm also in a large building. But for work I much prefer the 100mb/s down and 40mb/s up speed :D
 
USB 2.0 port, and forgot to mention its on 64-bit
 
nexus s with stock ics(rooted) and macbook pro running osx 10.7.2, works great, maybe an option to quit the android client.
 
install went fine, when trying to use it... this is all i get. apk on phone is on and running. samsung drivers previously installed. what should i do?

'1': 'Starting: Intent { cmp=com.koushikdutta.tether/.TetherActivity }\r\r\nWarning: Activity not started, its current task has been brought to the front\r\r\n',
'2': '' }
{}
 
Works like a charm with Mac OSX Lion and Verizon Galaxy Nexus.
 
On Ubuntu 11.10 I ran the sh, it worked, installed the APK and is now saying "Phone still visible by adb." My question is: what do I do now? It doesn't seem to generate an additional networking device on the desktop so there isn't anything to "connect" to.
 
Here is the output. The last line just repeats every five seconds or so.


matt@matt-LinuxLaptop:~$ sudo '/media/sda3/Downloads/linux/run.sh'

0
/media/sda3/Downloads/linux/x86_64 ~
~
Starting Tether...
opening tun device: /dev/net/tun
adb binary path: ../linux/adb
Testing adb status...
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
List of devices attached
0A3BA07C0F007016 device

Checking if package is installed.
STATUS: Connected to phone. Waiting for tether connection.
Phone detected by adb!
Starting the Tether application on the phone...
Found that APK is already installed. Starting tether on phone.
Setting up adb port forwarding to port 30002.
adb port forwarding results:
{ '0': null, '1': '', '2': '' }
Results from starting Tether service:
{ '0': null,
'1': 'Starting service: Intent { cmp=com.koushikdutta.tether/.TetherService }\r\n',
'2': '' }
Results from starting Tether activity:
{ '0': null,
'1': 'Starting: Intent { cmp=com.koushikdutta.tether/.TetherActivity }\r\nWarning: Activity not started, its current task has been brought to the front\r\n',
'2': '' }
Testing adb status...
Phone still visible by adb.
Testing adb status...
Phone still visible by adb.
Testing adb status...
Phone still visible by adb.
 
+Matt Fuller Looks like everything worked properly. Your browser should just work. You ought to see the device if you type "ifconfig -a".
 
Hmm, nope I have an eth0, lo, two vmnets, and wlan0. Thanks for replying back so quick though. Maybe it didn't install the device for some reason?
 
thats the same thing i get on windows. that '1' brought to the front crap
 
Getting this error on install. tapinstal.exe failed There was a error running tapinstall.exe
any ideas? Iam guessing its b/c this is my work PC and they have it locked down.
 
Okay, I downloaded the OSX version again and got the apk to install from that. Works like a charm now. OS X 10.6 on Galaxy Nexus getting 0.3MB down and 0.1MB up under 3G
 
Love all your stuff. I get the following when I try to connect. I have tried USB charge only as well as mass storage. Mac 10.6.8 and DroidX . I downloaded the APK file directly to the DroidX.

STATUS: Phone could not be detected. See log for details.
Phone not detected by adb!
Connect your phone to your computer and make sure "USB Debugging" is enabled.
You may need to set your phone to be in "Charge Only Mode".
Tether connection closed...
Tether error:
{ '0':
{ [Error: connect ECONNREFUSED]
code: 'ECONNREFUSED',
errno: 'ECONNREFUSED',
syscall: 'connect' } }
Tether connection closed...
STATUS: Tether has disconnected.
Tether connection closed...


USB Debugging is enabled. The Tether app color is blue.
 
+Don Parrott make sure you have usb debugging enabled. what color is theusb icon on your droid x? Does it say that usb debugging is enabled? You can find that setting in settings -> applications -> development.
 
+Koushik Dutta First of all, awesome work as always! Glad for your choice of UX. Documentation is an excuse for bad UX. That said, the LG Electronics Drivers link on your website has an extra "e" at the tail end.
 
I'm having a similar problem as Matt Fuller - This is on Windows 7 64-bit with an HTC Incredible. Here's my Tether log:


C:\Program Files (x86)\ClockworkMod\Tether
"Local Area Connection 2"
Checking arguments...
Setting IP Address, mask, and gateway.
Setting DNS server.
The object is already in the list.
Starting Tether...
C:\Program Files (x86)\ClockworkMod\Tether\node-tuntap
opening tun device: null
adb binary path: ..\win32\adb.exe
Testing adb status...
Waiting for interface to get ready... (waiting 5 seconds)
List of devices attached
HT05WHJ01593 device
Checking if package is installed.
STATUS: Connected to phone. Waiting for tether connection.
Phone detected by adb!
Starting the Tether application on the phone...
Found that APK is already installed. Starting tether on phone.
Setting up adb port forwarding to port 30002.
adb port forwarding results:
{ '0': null, '1': '', '2': '' }
Results from starting Tether service:
{ '0': null,
'1': 'Starting service: Intent { cmp=com.koushikdutta.tether/.TetherService }\r\r\n',
'2': '' }
Results from starting Tether activity:
{ '0': null,
'1': 'Starting: Intent { cmp=com.koushikdutta.tether/.TetherActivity }\r\r\n',
'2': '' }
{}
Tun/tap device IP: 10.0.0.1
Reading tun/tap device...
error
{ [Error: listen EADDRNOTAVAIL]
code: 'EADDRNOTAVAIL',
errno: 'EADDRNOTAVAIL',
syscall: 'listen' }
Testing adb status...
Phone still visible by adb.
Testing adb status...
Phone still visible by adb.
Testing adb status...
Phone still visible by adb.
Testing adb status...
Phone still visible by adb.
Testing adb status...
Phone still visible by adb.
...
 
+Timothy Buck Can you check your task manager to see if you have a "node.exe" running? Kill all node.exe and TetherWindows.exes you find.
 
Works perfectly for me. Windows Home Premium 64 bit with Droid Razr in Charge Only mode. Looks like the old Azilink method I used to tether with Ubuntu on my old Droid.
 
Koushik, same results for Win7 32 and 64. Any particular logs needed? Does the phone need to be connected when running the msi?
 
+Brent Yager No, phone does not need to be connected. Do you know if you have the .NET framework 2.0 installed?
 
I'm using a d2g and Ubuntu 11.10 and I'm still getting this error:

0
~/Android/tether-linux2/linux/i386 ~/Android/tether-linux2
~/Android/tether-linux2
Starting Tether...
opening tun device: /dev/net/tun
adb binary path: ../linux/adb

module.js:334
throw new Error("Cannot find module '" + request + "'");
^
Error: Cannot find module './build/Release/linuxtuntap.node'
at Function._resolveFilename (module.js:334:11)
at Function._load (module.js:279:25)
at Module.require (module.js:357:17)
at require (module.js:368:17)
at /home/suraj/Android/tether-linux2/node-tuntap/tuntap.js:98:19
at Object.oncomplete (os.js:51:7)
 
Very cool... what I would really like to see though is addition of a client for Android, ... thus allowing you to tether your wifi tablet through your phone. keep up your awesome works! (just recently flashed my phone with CWM Recovery! ;) )
 
On the 64bit: .net 1.1 and .net 4.0
On the 32bit: .net 4.0
 
I am trying this on a MacBook Air 11" 2010 model (Snow Leopard-10.6.8) with an unrooted Samsung Galaxy Nexus (4.0.2). I had to manually install the apk and restart the desktop client once I had installed and started the app on my phone. The program didn't see the phone until I restarted it. All seems to work well at that point. I'll post if I run into any other issues, but all seems great now.
 
+Mark Wiewel Looks like something hung around after you quit. I'll see if I can fix that. Thanks!
 
Hi,

I tried installing on a win7 enterprise 32 bit with an HTC evo and it did not work. Anything special that I need to do?
Thanks. Appreciate the work you are doing...this is going to be great.
 
There are many ways a carrier can detect a tether, User-Agent string is just the laziest. If I was sitting at a carrier watching for people stealing their Internet connection, I would probably watch DNS requests. Most modern operating systems constantly make connections to the Internet that no Android phone would ever make. For instance, Windows machines frequently make connections to Microsoft to check for root certificate updates, OS X makes connections to apple.com to check to see if the WiFi connection is in a walled garden or not. Writing an IDS or OSSEC rule for these would be trivial and probably far more telling than a spoofable User-Agent string.
 
Just tried on G2 2.3 with OS 10.7 says it can't find phone. Debugging check... charge only check... Any ideas?????
 
Koushik, if I install .net 2.0 on both machines will it affect any programs that are using the already installed .net 4.0? I can also do a GoToMeeting with you if you need ;)
 
Had a problem at first with firewall and windows wanting to assign a network type but a quick restart of the program fixed all.
Also had a stupid problem where I left wifi on, on my phone, is it possible to set wifi as off by default from the PC using adb?

Very solid program, props to you.
Thanks
JK
Translate
 
Hi there, I'm on Windows 7 with an HTC EVO. It worked just yesterday, but today I am getting this error:


STATUS: Connected to phone. Waiting for tether connection.
Phone detected by adb!
Starting the Tether application on the phone...
adb port forwarding results:
{ '0':
{ [Error: Command failed: error: more than one device and emulator
] killed: false, code: 1, signal: null },
'1': '',
'2': 'error: more than one device and emulator\r\n' }

EDIT: Both the device and desktop show successful connections, but still no internet connection. It's alright though, I expect to see great things as these problems get ironed out! (Although its probably user error on my part.)
 
Koushik, I went to try to install .net 2.0 on the Win7 64bit Desktop PC that already has .net 1.1 and 4.0 on it and it said .net 2.0 is already installed as part of the operating system. Same with the Win 7 32bit laptop with .net 4.0 installed.
 
Tested on Ubuntu 11.10 gnome 3.3.3, linux kernel 3.0.0-15-generic with HTC Evo Shift 2.3.3 no/root. Works perfectly.
 
Win7 x32 Enterprise:
Getting the same error as some above .msi did not install. Then the installer backs out. Any tips?
 
On Ubuntu 10.04 lucid I get the " libssl.so.1.0.0: cannot open shared object file: No such file or directory" error others have reported. I was able to solve that and a similar error with libcrypto using symbolic links, but then could not get past a "OPENSSL_1.0.0 not found" error.
 
Perfect app. Will you be releasing a ver for rooted phones? And BTW if you need help translating the help file into spanish let me know ,i will be glad to help.
 
I'm on Windows 7, 32 bit, and the installer failed multiple times. I have my bionic, 2.3.4 on usb debugging, it failed to install both in charge only and mass storage modes.
Gene W
 
Got it sorted out. HTC Incredible stock w/ Win 7 SP1 64bit. Looks good from here!
Gene W
 
I have noticed that my Win 7 is reporting that the virtual networking adapter does not have internet access, but tether is working correctly.
Gene W
 
This is a beautiful thing and if you are successful setting up a stealth spoofing of the user agent string it will be perfect. Is a continuous loop of testing the adb in the PC log window normal? D/L speeds of about 800kb
 
Will this work for an xbox? Or only on the computer you install the apk. On?
 
Any chance there will be an android client for my Asus Transformer some day?
 
Installed easily, Win 7 SP1 64 bit, 5mb down. Great work! (Samsung GalaxyS SGH-T959 T-Mobile)
Gene W
 
Looks like DNS lookup is periodically failing ...
Gene W
 
I looked at the DNS settings in the virtual adapter and saw that it is only setting one DNS server: 8.8.8.8 . Probably needs a second to prevent periodic DNS lookup failure.
 
No problem installing on Mac running 10.7.2 but speeds on Speedtest.net were a little slow. I'm only in a 3G area but my speeds were 120 ms for ping, .37 mbps down and .42 mbps up.
 
+Jacob Yates I'm on Oneiric too, but the 3.0.0-14 kernel. Any idea how to enable TUN? Do I need to upgrade or is it still available to be activated in my kernel?
 
have it on my Mac on 10.7.2, i installed it and everything was running fine until i disconnected. now my laptop wont connect to my home wifi and when i try to tether again i hit start and the tether sign turns red and closes.... HELP PLEASE
 
+Koushik Dutta No node.exe or TetherWindows.exe processes running, and it's still not working. The log appears the same as before -- it repeats "Testing adb status...Phone still visible by adb" over and over.

If it matters, my HTC Incredible is running Cyanogenmod 7.1.0, though the problem appears to be on the Windows side, not the phone side.
 
Mac OS 10.7, Liquid Smooth AOSP on HTC Thunderbolt. Worked great where the other options I have tried have not.
 
Worked great using Win 7 and Samsung SCH-I500 Verizon Fascinate. Awesome Job!!
Question: will this possibly work if tried with an iPad 2?
 
Awesome cant wait to try it out. Just unrooted my phone too
Joe R
 
Tried installing on a WinXP netbook. Keep getting a notice that I need to download .NETFramework 2.0. I did that, restarted the computer, started install, and again got the message I needed .NET___.
 
Hi Koushik, thanks for building! Having a bit of a problem on HTC EVO, connected, but no data flowing, looking at my network settings, the connection is "local only" with no internet connectivity, any help would be appreciated!


Checking arguments...
Setting IP Address, mask, and gateway.
Setting DNS server.
The object is already in the list.
Starting Tether...
C:\node-tuntap
opening tun device: null
adb binary path: ..\win32\adb.exe
Testing adb status...
Waiting for interface to get ready... (waiting 5 seconds)
List of devices attached
HT174HL10086 device
Checking if package is installed.
STATUS: Connected to phone. Waiting for tether connection.
Phone detected by adb!
Starting the Tether application on the phone...
Found that APK is already installed. Starting tether on phone.
Setting up adb port forwarding to port 30002.
adb port forwarding results:
{ '0': null, '1': '', '2': '' }
Results from starting Tether service:
{ '0': null,
'1': 'Starting service: Intent { cmp=com.koushikdutta.tether/.TetherService }\r\r\n',
'2': '' }
Results from starting Tether activity:
{ '0': null,
'1': 'Starting: Intent { cmp=com.koushikdutta.tether/.TetherActivity }\r\r\nWarning: Activity not started, its current task has been brought to the front\r\r\n',
'2': '' }
{}
Tun/tap device IP: 10.0.0.1
Reading tun/tap device...
Listening on tether port...
Testing adb status...
Phone still visible by adb.
STATUS: Tether has connected.
Testing adb status...
Phone still visible by adb.
Testing adb status...
Phone still visible by adb.
STATUS: Tether has connected.
Testing adb status...
Phone still visible by adb.
 
I am unable to start the tunnel on linux (Ubuntu 11.10). I've seen a previous comment, not nothing offered as a solution.

Starting Tether...
opening tun device: /dev/net/tun
adb binary path: ../linux/adb

module.js:334
throw new Error("Cannot find module '" + request + "'");
^
Error: Cannot find module './build/Release/linuxtuntap.node'
at Function._resolveFilename (module.js:334:11)
at Function._load (module.js:279:25)
at Module.require (module.js:357:17)
at require (module.js:368:17)
at /root/tether-linux/node-tuntap/tuntap.js:98:19
at Object.oncomplete (os.js:51:7)
 
+Christopher Kovacs Please redownload the package. It was updated last night (clear any browser caches so you don't get the same cached file).