Skip to content

LuisMiSanVe/AutoUSBTetherScript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

See in spanish/Ver en español

🔌 USB Tether Automatic Script

image

Simple Script to enable USB Tether in your phone through your PC.

📝 Technology Explanation

This script uses ADB (Android Debug Bridge) to communicate with the phone and execute SVC Shell commands.

📋 Prerequisites

To run ADB commands, you'll need the ADB tools package installed:

  • Windows:

Donwload and install the platform tools SDK.
You must either place the script in the same folder as adb.exe or to put it in the PATH so you can use ADB commands anywhere in your system.

  • Linux (Debian):

Install the apt package:

sudo apt install adb

Clone the script and give it execution permissions:

chmod +x script.sh

🛠️ Setup

In your phone, unlock the developer options (the method to unlock varies in each Android version) and enable USB Debugging, then connect your phone to your PC with an USB cable.

Install the requisites and execute the script.

You can also add a shortcut of the script on the startup programs so it opens in startup.

🚀 Project Usage Explanation

The script searches for Android devices connected via USB and if it doesn't find any in 5 tries, it closes, but if it does, it enables USB Tethering.

💻 Technologies Used

About

Script to enable USB Tether in your phone from the PC

Topics

Resources

License

Stars

Watchers

Forks

Contributors