Introducing XDA:DevCon – A Conference For Developers By Developers
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
capslock66
Old
(Last edited by capslock66; 8th April 2013 at 12:46 PM.)
#1  
capslock66's Avatar
Senior Member - OP
Thanks Meter 615
Posts: 265
Join Date: Oct 2010
Location: Brussel
Lightbulb [Tool][Windows Only][Root] Android Reverse Tethering 3.3

Android Reverse Tethering for windows users.

Tethering is the ability to surf on your pc using the 3g of your phone
Reverse tethering is the opposite : surf on your phone using the ADSL of your PC. No Wifi or 3G connection required.

This work only for rooted users !!!
For non rooted users, you can try my other solution, but require more manipulations and is limited to surf : http://www.codeproject.com/KB/androi...orwarding.aspx

Installation :
Unpack the zip file. This zip files contains the windows part, ADB and the android APK.

Before starting the tool :
  • You must install drivers for your device. Generic driver provided by google is on the usb_driver.zip
    You can also check the Universal Naked Driver
  • Ensure you have debugging enabled on your phone :
    Settings > Applications > Development > USB Debugging > Turn On
  • Ensure you have root access AND SuperUser application installed.
    Change the superuser settings (Menu -> Preferences -> Notifications part) :
    Uncheck "Notifications" label to display "Do not show notification when an app is granted Su Permissions"


AndroidTool

The AndroidTool.exe is the windows part

The low level communication tool (ADB) is included in the zip file.
AndroidTool will try to find ADB in c:\android-sdk-windows\platform-tools\adb.exe
If not found he will use the provided one.

The first time you use the program :
  • If you want to use another version of ADB, clik "config" and in the first tab enter the path to the ADB
  • Select the DNS server to use in the right list. On complex system, some dns can be detected.

Start reverse tethering
Just click “Connect”.
If it's the first time you use the program, This will install the latest android package and the dependencies (busybox and redsocks).
The SuperUser process may ask you to allow “Usb tunnel”



If the android process crash after receiving superuser rights, close the windows program and start again.

The android interface (first tab) will show connections forwarded to windows.
Others tabs are just for debugging (give information about system route tables and connections). Not yet finished.

Start your browser
Google chrome will complain that no connection is available. Don’t care. That work.
Firefox , opera and dolphin don’t have problem with that !!!

The current version of the application can’t forward low level ICMP packet (PING).
From Android Os point of vue, there is no internet connection.

Google Market/Play :
The search market work, but it’s not possible to download.
The application want to have an active 3G or Wifi network interface.
Some market applications are tagged "Wifi" only.
I can't fix this problem without changing low level API (ConnectivityManager/ConnectivityService).
If a developer can generate a Service.jar enabling traces in ConnectivityService class, he can send it to me.

To get around this problem, you can activate the 3G BEFORE starting reverse tethering,all the data will goes to the usb.
Tips : You can connect to some wifi hotspot not protected by a key.
It's only when you want to surf that the hotspot ask you a user/password.
But, at this point, we have an 'active' connection. Market download should work after starting reverse tethering.

Other apps :
The system detect automatically ports like http (80), https (443) , Market (5228),UDP ports like DNS, ...
You don't need to add static ports in the windows program (config / ports).
So unless the application is not well written, it must work.
I suppose it's more than 95%

Not fully working application:
  • Market (only download)
  • Skype use the same 'interesting' API to check connection
  • If someone know another one, post a reply !

Troubleshooting

If your device is not listed in the "select a device" combobox :
  • Ensure Usb debugging is enabled (Settings > Applications > Development > USB Debugging > Turn On). Deactivating and reactivating the Debug mode may help
  • The ADB subsystem is sometimes not working properly. Click the "Kill ADB" button (on Tools)
  • Your device is perhaps not installed properly. See your device manufacturer. On the download section of this article, the usb_driver.zip contains a generic driver. Lastest version can be download here : http://developer.android.
    com/sdk/win-usb.html
Click refresh or restart the tool to detect your device.
If the connection shutdown often, try another usb cable

Proxy :
Proxy settings must be set on your browser (stock browser don't allow it)
You can use 2 browsers : one at home (without proxies) and one at work (with proxies) like firefox
For Firefox : Type "about:config" in the address bar
For Opera : Type "opera:config" in the address bar
(Ask google for configuration options)

Tested under :
Tested under more than 20 android models. Thanks for your feedback

Version 3.3 : minor update
  • Updated low level binaries (smaller)
  • Better connection

Version 3.02 : minor bugfix.

Version 3.00 beta : major update
  • Rewrite low level communication. Should be more faster and more stable
  • Simplify user interface.
  • Fix systray

Version 2.30 : minor update
  • Added systray support on the windows tool.
    Last 20 seconds upload and download graph is displayed in tray.
    Minimize or click to systray icon to put it to systray. click again to show the tool.

Main Todo list :
  • Find a way to allow market download (one day). Proxy is no more on planning.

Follow new updates on twitter : @ReverseTether

Older versions are removed (180000 downloads)
Attached Files
File Type: zip usb_driver.zip - [Click for QR Code] (8.27 MB, 72933 views)
File Type: zip ReverseTethering_3.02.zip - [Click for QR Code] (3.48 MB, 87154 views)
File Type: zip ReverseTethering_3.3.zip - [Click for QR Code] (3.05 MB, 11435 views)
The Following 493 Users Say Thank You to capslock66 For This Useful Post: [ Click to Expand ]
 
ravindrank
Old
#2  
Senior Member
Thanks Meter 30
Posts: 168
Join Date: Jan 2011
Location: Bangalore, India
Quote:
Originally Posted by capslock66 View Post
Unpack the zip file. This zip files contains the windows part, ADB and the android APK.

You MUST uninstall previous version. If you don’t find it, run a dos command prompt on the installation folder and enter this command : Adb uninstall service.tracetool

Ensure you have debugging enabled on your phone :
Settings > Applications > Development > USB Debugging > Turn On

Run the windows program : AndroidTool.exe

The first time you use the program, click on “Show Android interface”. This will install the package and the dependencies (busybox and redsocks).
The SuperUser process may ask you to allow “Usb tunnel”

To start tethering click “Connect”.
Again, The SuperUser process may ask you to allow “Usb tunnel”

If the android process crash after receiving superuser rights, close the windows program and start again. (It’s a beta)

The android interface will show connections forwarded to windows.

Start your browser
Google chrome will complain that no connection is available. Don’t care. That work.
Firefox , opera and dolphin don’t have problem with that !!!

The current version of the application can’t forward low level ICMP packet (PING).
From Android Os point of vue, there is no internet connection.

Market :
The search market work, but due to the same connection problem, it’s not possible to download. I hope Google will fix the market.
I was looking to get some internet access on alpha build of ics for galaxy tab... Hope this works..will try and let you know..thanks for the good work...

Sent from my GT-P1000 using XDA App
Regards
Ravindran
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Sony Ericsson T310 -> Motorola A780 (Linux phone) -> Sony Ericsson P1i -> Samsung Galaxy Tab P1000 -> Nexus 4
The Following 14 Users Say Thank You to ravindrank For This Useful Post: [ Click to Expand ]
 
Theonew
Old
(Last edited by Theonew; 2nd December 2011 at 10:45 PM.)
#3  
Theonew's Avatar
Recognized Contributor
Thanks Meter 1023
Posts: 3,458
Join Date: Dec 2010
Location: Wherever I am

 
DONATE TO ME
Great work. Tested this and it works pretty well (on HTC Aria CM7).
 
ldloh2
Old
#4  
Member
Thanks Meter 12
Posts: 63
Join Date: Jan 2010
do you mean we need to connect the tablet to the PC using the USB cable then we can use reverse thethering thingy ?
 
drajax
Old
#5  
drajax's Avatar
Senior Member
Thanks Meter 50
Posts: 248
Join Date: Aug 2008
Location: CHENNAI
Wouldn't the PC app like Connectify Me do this thing without all this?

☞★sent from drajax's Galaxy SL!!! *♂ツ
ѕωуρє∂ ƒяσм му gαℓαχу ѕℓ
The Following User Says Thank You to drajax For This Useful Post: [ Click to Expand ]
 
Bewinxed
Old
#6  
Bewinxed's Avatar
Senior Member
Thanks Meter 146
Posts: 335
Join Date: Jun 2011
Location: Amman
Wow thanks a million!, i hope we can download apps as well but i'll settle for apks for now, <3

---------- Post added at 08:14 PM ---------- Previous post was at 07:55 PM ----------

Quote:
Originally Posted by drajax View Post
Wouldn't the PC app like Connectify Me do this thing without all this?

☞★sent from drajax's Galaxy SL!!! *♂ツ
it would, but this program uses a USB cable, connectify uses WiFi, so for us who don't have wifi routers or connectify we can use this
The Following User Says Thank You to Bewinxed For This Useful Post: [ Click to Expand ]
 
screamworks
Old
#7  
screamworks's Avatar
Senior Member
Thanks Meter 112
Posts: 312
Join Date: Jul 2011
Location: Brisbane

 
DONATE TO ME
Galaxy S II (GT-I9100) on CyanogenMod 7.1, using SiyahKernel 2.2b6, doesn't work. Using Windows 7 x86, with correct drivers installed. Can't get past the step of clicking 'Show Android Interface'. Clicks, but nothing happens. No devices are listed within the program.
Samsung Galaxy S II:
FAQ + guide: 90% of your problems have been covered here | Device won't boot/stuck in boot-loop?
GT-I9100CyanogenMod 9 (nightly builds)
If you found my help especially... helpful, perhaps consider buying me a drink?
 
capslock66
Old
#8  
capslock66's Avatar
Senior Member - OP
Thanks Meter 615
Posts: 265
Join Date: Oct 2010
Location: Brussel
Quote:
Originally Posted by screamworks View Post
Galaxy S II (GT-I9100) on CyanogenMod 7.1, using SiyahKernel 2.2b6, doesn't work. Using Windows 7 x86, with correct drivers installed. Can't get past the step of clicking 'Show Android Interface'. Clicks, but nothing happens. No devices are listed within the program.
If the device is not listed, it's not a problem related with reverse tethering. It's a driver or installation problem !
The Following 5 Users Say Thank You to capslock66 For This Useful Post: [ Click to Expand ]
 
capslock66
Old
#9  
capslock66's Avatar
Senior Member - OP
Thanks Meter 615
Posts: 265
Join Date: Oct 2010
Location: Brussel
Quote:
Originally Posted by ldloh2 View Post
do you mean we need to connect the tablet to the PC using the USB cable then we can use reverse thethering thingy ?
Yes, you just need to install the windows program then click connect.
It's a beta, market is not able to download.
The Following 3 Users Say Thank You to capslock66 For This Useful Post: [ Click to Expand ]
 
screamworks
Old
#10  
screamworks's Avatar
Senior Member
Thanks Meter 112
Posts: 312
Join Date: Jul 2011
Location: Brisbane

 
DONATE TO ME
Quote:
Originally Posted by capslock66 View Post
If the device is not listed, it's not a problem related with reverse tethering. It's a driver or installation problem !
Elaborate? On your post it says:
Quote:
Tested under:
Acer Iconia A500 (Taboonay 2.1)
Galaxy S (Cyanogen 7)
Galaxy S II
HTC Aria (CM7)
The device is listed. And I've got all appropriate drivers for my device installed?
Samsung Galaxy S II:
FAQ + guide: 90% of your problems have been covered here | Device won't boot/stuck in boot-loop?
GT-I9100CyanogenMod 9 (nightly builds)
If you found my help especially... helpful, perhaps consider buying me a drink?

The Following User Says Thank You to screamworks For This Useful Post: [ Click to Expand ]
 
Post Reply+
Tags
android, opposite, reverse, tethering
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

report this ad
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Go to top of page...