Android ADB PPP
ADB installer (if needed)
http://forum.xda-developers.com/showthread.php?t=2588979
ppp over adb (for linux/unix users)
http://forum.xda-developers.com/showthread.php?t=522498
[REF] PPP over USB with adb (without hacking)
http://forum.xda-developers.com/showthread.php?t=835912
How to use gadb ppph?
http://stackoverflow.com/questions/4565100/how-to-use-adb-ppp
Reverse Tethering
http://forum.xda-developers.com/showthread.php?t=2287494
If you are using Windows, open "Network Connections" in Control Panel. It is somewhat different from setup in Linux. Right click on an Internet connection that you have. I assume that you are using a desktop which doesn't have any wifi adapter, so right click on LAN Ethernet connection with Internet, and select "Properties". In tab "Sharing" (or "Advanced" for Windows XP), click "Allow other network users to connect through...", then select the USB connection in dropdown list below. Click OK. Windows will automatically setup your USB network connection and assign to it an IP address, default for Windows 7: 192.168.137.1, default for Windows XP: 192.168.0.1. You can see your Internet connection is now "Shared" and your USB connection is now "Unidentified network".
adb shell
or
Any terminal in android
ifconfig rndis0 10.42.0.2 netmask 255.255.255.0
route add default gw 10.42.0.1 dev rndis0
If route fails, try:
busybox route add default gw 10.42.0.1 dev rndis0
Or
netcfg rndis0 dhcp
busybox ifconfig
Reverse Tethering 3.19
http://forum.xda-developers.com/showthread.php?t=1371345
https://github.com/liudongmiao/XposedBridge
https://github.com/liudongmiao/Xposed
Port forwarding
http://www.codeproject.com/Articles/191930/Android-Usb-Port-Forwarding
how to use adb command to push a file on device without sd card
http://stackoverflow.com/questions/20834241/how-to-use-adb-command-to-push-a-file-on-device-without-sd-card
How to Push and Pull Files on Android using the ADB commands
http://www.droidviews.com/push-pull-files-android-using-adb-commands/
ADB services
https://android.googlesource.com/platform/system/core/+/master/adb/SERVICES.TXT