Skip to content

noscripter/SimpleRT

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SimpleRT

Reverse Tethering utility for Android.

Allows you to share your computer's internet connection with your Android device via a USB cable.

Development is still in progress, bugs and errors can occur.

No root, no adb required!

Linux & OSX are supported! Windows is not, and unlikely to be in the future (ok, maybe in some day).

  • Android part:

    Implemented as standalone service, no gui, no activities. Simplicity!

    Dependencies:

    • Android 4.0 and higher.

    Build system based on gradle + gradle experimental android plugin (supporting ndk). For build you need both sdk & ndk. Create local.properties file in root dir, it should be looks like that:

    ndk.dir=/home/viper/Android/Sdk/ndk-bundle
    sdk.dir=/home/viper/Android/Sdk
    

    build:

    ./gradlew assembleDebug
    

    app/build/outputs/apk/app-debug.apk is your apk.

    ####There is already built apk

  • Desktop part:

    Dependencies:

    • libusb-1.0
    • tun/tap kernel module. osx version is here.

    ####FIrst of all, check out iface_up.sh and change LOCAL_INTERFACE, if you need.

    Makefile is universal for both linux and osx, just type make.

Usage:

  • run console util as root
  • connect your android device

First connection requires some trivial steps:

![First step] (https://github.com/vvviperrr/SimpleRT/blob/master/screens/accessory.png)

![Second step] (https://github.com/vvviperrr/SimpleRT/blob/master/screens/vpn.png)

![Third step] (https://github.com/vvviperrr/SimpleRT/blob/master/screens/connected.png)

Issues: Some apps do not recognize the reverse tethered internet connection due to ConnectivityManager policy. Just leave WiFi or 3g connection active, connection will go through SimpleRT anyway.

Partially used code from linux-adk, which is licensed under the GNU GPLv2 or later. This project is under the GNU GPLv3 or later, which is compatible with the license of linux-adk.

#####License: GNU GPL v3

SimpleRT: Reverse tethering utility for Android
Copyright (C) 2016 Konstantin Menyaev

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <http://www.gnu.org/licenses/>.

About

Simple Reverse Tethering for Android

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 71.0%
  • Java 19.0%
  • Shell 5.1%
  • Makefile 4.9%