• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

[Tool][Windows Only][Root] Android Reverse Tethering 3.19

Search This thread

capslock66

Senior Member
Oct 21, 2010
792
1,220
Brussel
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.

==>Troubleshooting (FAQ) <==
Since a lot of users don't read the full article before asking for help, I will start by this section !

  1. Not yet compatible with Android 5. Work on progress. Don't ask me when it will be available
  2. Android 4.3 and upper : You must install the Connectivity hack (see Connectivity hack section) before connect .
  3. Android 4.3 and upper : You must connect your phone/tablet to a working wifi or 3g once after each boot before using reverse tethering !!!
  4. This work only for rooted users and with Windows. Don't ask for linux or for some fruit operating systems !!!
  5. The tool is not compatible with "CrossBreeder" , "adaway" or other tools that change the host file (removing localhost)
  6. Tethering and reverse tethering (this tool) are not compatible at the same time, it's then not possible to turn your android phone as a wifi hotspot.
  7. If your device is not listed in the "select a device" dropdow list:
    • Ensure Usb debugging is enabled. See "Before starting the tool" section
    • 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. You can download a generic driver from google here : http://developer.android.com/sdk/win-usb.html.
    • Windows can detect your device as a "Media Transfer Protocol" (MTP) or "Picture Transfer Protocol" (PTP). When you connect the usb cable, you can receive an "Usb" notification. Click the notification to change this parameter. If one don't work, take the another one...
    Click refresh or restart the tool to detect your device.
    If the connection shutdown often, try another usb cable
  8. Proxies problems :
    • Corporte proxy. The windows application is not able to traverse proxies.
      The good news is that you can use some applications like FreeCap , sockscap and proxifier.
      You must start the androidTool from one of these launchers, giving proxy adress and port.
      Thanks "edgd1er" for the information.
    • Android 3G proxy. Even if 3g is desactivated, your provider (APN) proxy may still be used by applications.
      The windows tool is not able to communicate with your provider proxy.
      Note that only a few providers include a proxy. You must remove it manually.
      The tool will give you informations on how to do it when detected.
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.
    If you don't find drivers for your phone/tablet, check the Universal Naked Driver
    Other interesting tool to install Adb and drivers (32/64) : [TOOL] ADB, Fastboot and Drivers - 15 seconds ADB Installer .
    Some screenshots are availables in this thread to install the 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"
f6K8j.png


AndroidTool

The AndroidTool.exe is the windows part
h306a.png

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”

xwNDm.jpg


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. Send the log on this thread in case of problem.

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.

Command line prompt :

The windows tool is a "One click" application. Just click the "Connect" button.
But you can add parameters to directly connect when the program start.
Here are the supported commands : Device:xxxx (where xxxx is the device id), Connect, Disconnect, KillAdb, LogToClipboard, Show, Hide, Quit
Parameter sample : Device:123465789 Connect Hide
Create a second shortcut with Disconnect Quit parameters to stop connection and close the application.

Connectivity hack :

This will install some low level program to install a "fake" Wifi for browsers and google play market.
Don't worry, I didn't brick my phone and tablet during the development.

The Xposed framework author and me are not responsible for anything you do with your phone/tablet/rice cooker.
This work for android 4.X, but an experimental version of the Xposed framework for Gingerbread made by liudongmiao can be found here: http://forum.xda-developers.com/showthread.php?p=44034334#post44034334 (no support from my side)

  • On the windows program, go to tools tab and click "install hack"
  • Launch the Xposed Installer (you just installed) on your android and click on "Install/Update"
  • Go to the module tab and check the HackConnectivityService (see screenshot below)
  • Reboot the phone
  • Done!
    This work for market but also for some other programs (some games,skype,hangouts...)

    Ex8qfXS.png


For older android 2.x or 3.x version :
The application want to have an active 3G or Wifi network interface.
Some market applications are tagged "Wifi" only.
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.

Not fully working application but work if you install the HackConnectivityService on android 4.x:

  • Market download
  • Spotify
  • Skype. (not checked yet)
  • If someone know another one, post a reply !

History :

Version 3.19
  • Added some rights for sdcard access.
  • New windows icons.

Version 3.18
  • Fixed Xposed HackConnectivityService module. You must click "install hack" to update it
  • Small bug fix.

Version 3.17
  • Updated Xposed framework installer 2.4.1
  • Small bug fix.

For Linux ,Mac OS X , I recommand this guide (from @phamthanhnam ) : http://forum.xda-developers.com/showthread.php?t=2287494 .
This required entering a lot of manual commands on both android and the PC each time you want to connect (reserved to power "geek" users).
This work also for windows, but much more complicated, compared to this "One click" connect tool. I let user chose the solution he want...

I will not respond to email or private message. If you want support, post a reply on this forum.

Do you like this program ? Want to make a donation ? Send any amount to my paypal account (click the donate button on left)

Please read FAQ on top of the page before asking for help.

Older versions were removed (416611 downloads)
 

Attachments

  • ReverseTethering_3.19.zip
    4.1 MB · Views: 1,509,993
Last edited:

ravindrank

Senior Member
Jan 22, 2011
174
41
seattle, WA
sites.google.com
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
 

ldloh2

Senior Member
Jan 29, 2010
73
12
do you mean we need to connect the tablet to the PC using the USB cable then we can use reverse thethering thingy ?
 

Bewinxed

Senior Member
Jun 24, 2011
415
180
30
Amman
Bewinxed.deviantart.com
Wow thanks a million!, i hope we can download apps as well :D but i'll settle for apks for now, <3

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

Wouldn't the PC app like Connectify Me do this thing without all this? :cool::confused:

☞★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 ;)
 

screamworks

Senior Member
Jul 4, 2011
313
110
Brisbane
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.
 

capslock66

Senior Member
Oct 21, 2010
792
1,220
Brussel
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 !
 

screamworks

Senior Member
Jul 4, 2011
313
110
Brisbane

combustiblemonkey

Senior Member
Jul 31, 2010
169
43
Inspire 4G CM7, works

As a side note, I had ADB running when I started it & it didnt work. Killed all ADB sessions & relaunched, after that it worked like a charm.
 
  • Like
Reactions: fratermus

capslock66

Senior Member
Oct 21, 2010
792
1,220
Brussel
Elaborate? On your post it says:


The device is listed. And I've got all appropriate drivers for my device installed? :confused:

Did you enabled USB Debugging ?
Run a dos command prompt then enter this command :
Code:
cd\instfolder
adb devices
instfolder is the folder where you unzipped ReverseTethering.zip
Ensure you have adb.exe in that folder
You should see :
Code:
List of devices attached
xxxxxxxxxxx device
If not, try to re-install driver or test on another PC.
 
  • Like
Reactions: -RDR-

Kolero

Senior Member
Aug 16, 2011
73
10
Working on Nexus S with MIUI. Opera browser and Market both work.

I was hoping to use it to avoid using my data while playing games or when installing games with huge downloads after installing, but that doesn't seem to be the case yet. I see I can add ports for forwarding, but how can I tell what port a game uses?
 

yken

Senior Member
Dec 24, 2006
1,357
242
This was something i was waiting but i could not use the internet from pc.
I have SGS1, 2.3.6. I dont get any error messages. Clicking connect makes it connect but status column always not connected.

Im on company network. Which IP i will use? Which port i will use?
 

capslock66

Senior Member
Oct 21, 2010
792
1,220
Brussel
I was hoping to use it to avoid using my data while playing games or when installing games with huge downloads after installing, but that doesn't seem to be the case yet. I see I can add ports for forwarding, but how can I tell what port a game uses?
Next version will detect automatically ports.
But it's still not possible do download from Market
 

capslock66

Senior Member
Oct 21, 2010
792
1,220
Brussel
This was something i was waiting but i could not use the internet from pc.
I have SGS1, 2.3.6. I dont get any error messages. Clicking connect makes it connect but status column always not connected.

Im on company network. Which IP i will use? Which port i will use?

Beta 2 (+- 15 decembre) will be more stable. With automatic port detection.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 933
    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.

    ==>Troubleshooting (FAQ) <==
    Since a lot of users don't read the full article before asking for help, I will start by this section !

    1. Not yet compatible with Android 5. Work on progress. Don't ask me when it will be available
    2. Android 4.3 and upper : You must install the Connectivity hack (see Connectivity hack section) before connect .
    3. Android 4.3 and upper : You must connect your phone/tablet to a working wifi or 3g once after each boot before using reverse tethering !!!
    4. This work only for rooted users and with Windows. Don't ask for linux or for some fruit operating systems !!!
    5. The tool is not compatible with "CrossBreeder" , "adaway" or other tools that change the host file (removing localhost)
    6. Tethering and reverse tethering (this tool) are not compatible at the same time, it's then not possible to turn your android phone as a wifi hotspot.
    7. If your device is not listed in the "select a device" dropdow list:
      • Ensure Usb debugging is enabled. See "Before starting the tool" section
      • 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. You can download a generic driver from google here : http://developer.android.com/sdk/win-usb.html.
      • Windows can detect your device as a "Media Transfer Protocol" (MTP) or "Picture Transfer Protocol" (PTP). When you connect the usb cable, you can receive an "Usb" notification. Click the notification to change this parameter. If one don't work, take the another one...
      Click refresh or restart the tool to detect your device.
      If the connection shutdown often, try another usb cable
    8. Proxies problems :
      • Corporte proxy. The windows application is not able to traverse proxies.
        The good news is that you can use some applications like FreeCap , sockscap and proxifier.
        You must start the androidTool from one of these launchers, giving proxy adress and port.
        Thanks "edgd1er" for the information.
      • Android 3G proxy. Even if 3g is desactivated, your provider (APN) proxy may still be used by applications.
        The windows tool is not able to communicate with your provider proxy.
        Note that only a few providers include a proxy. You must remove it manually.
        The tool will give you informations on how to do it when detected.
    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.
      If you don't find drivers for your phone/tablet, check the Universal Naked Driver
      Other interesting tool to install Adb and drivers (32/64) : [TOOL] ADB, Fastboot and Drivers - 15 seconds ADB Installer .
      Some screenshots are availables in this thread to install the 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"
    f6K8j.png


    AndroidTool

    The AndroidTool.exe is the windows part
    h306a.png

    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”

    xwNDm.jpg


    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. Send the log on this thread in case of problem.

    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.

    Command line prompt :

    The windows tool is a "One click" application. Just click the "Connect" button.
    But you can add parameters to directly connect when the program start.
    Here are the supported commands : Device:xxxx (where xxxx is the device id), Connect, Disconnect, KillAdb, LogToClipboard, Show, Hide, Quit
    Parameter sample : Device:123465789 Connect Hide
    Create a second shortcut with Disconnect Quit parameters to stop connection and close the application.

    Connectivity hack :

    This will install some low level program to install a "fake" Wifi for browsers and google play market.
    Don't worry, I didn't brick my phone and tablet during the development.

    The Xposed framework author and me are not responsible for anything you do with your phone/tablet/rice cooker.
    This work for android 4.X, but an experimental version of the Xposed framework for Gingerbread made by liudongmiao can be found here: http://forum.xda-developers.com/showthread.php?p=44034334#post44034334 (no support from my side)

    • On the windows program, go to tools tab and click "install hack"
    • Launch the Xposed Installer (you just installed) on your android and click on "Install/Update"
    • Go to the module tab and check the HackConnectivityService (see screenshot below)
    • Reboot the phone
    • Done!
      This work for market but also for some other programs (some games,skype,hangouts...)

      Ex8qfXS.png


    For older android 2.x or 3.x version :
    The application want to have an active 3G or Wifi network interface.
    Some market applications are tagged "Wifi" only.
    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.

    Not fully working application but work if you install the HackConnectivityService on android 4.x:

    • Market download
    • Spotify
    • Skype. (not checked yet)
    • If someone know another one, post a reply !

    History :

    Version 3.19
    • Added some rights for sdcard access.
    • New windows icons.

    Version 3.18
    • Fixed Xposed HackConnectivityService module. You must click "install hack" to update it
    • Small bug fix.

    Version 3.17
    • Updated Xposed framework installer 2.4.1
    • Small bug fix.

    For Linux ,Mac OS X , I recommand this guide (from @phamthanhnam ) : http://forum.xda-developers.com/showthread.php?t=2287494 .
    This required entering a lot of manual commands on both android and the PC each time you want to connect (reserved to power "geek" users).
    This work also for windows, but much more complicated, compared to this "One click" connect tool. I let user chose the solution he want...

    I will not respond to email or private message. If you want support, post a reply on this forum.

    Do you like this program ? Want to make a donation ? Send any amount to my paypal account (click the donate button on left)

    Please read FAQ on top of the page before asking for help.

    Older versions were removed (416611 downloads)
    24
    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
    10
    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 !
    9
    Google play announce.

    After a LOT of search and experimentations,
    I am now able to download from market (play) without having any connection (Wi-Fi/3G).

    A new version is not for today. A lot of work is still to be done.
    One drawback: This will work only on Android 4.X

    More info later...
    7
    Will you update it for Android 5?

    I am waiting for a stable android 5 version formy a500
    Xposed framework for android 5 is still in beta