This repository contains scripts to set up and run ADB (Android Debug Bridge) on Termux, a terminal emulator and Linux environment for Android. The first script installs ADB, and the second script runs ADB after it has been set up.
- Easy ADB Installation: Simple script to install ADB on Termux.
- Device Management: Instructions to connect and manage Android devices using ADB.
- Common Commands: List of frequently used ADB commands.
- Troubleshooting: Solutions to common issues faced while using ADB on Termux.
- Android device with Termux installed
- Internet connection
-
Make the scripts executable:
chmod +x adbsetup.sh chmod +x adb.sh
-
Execute the first script (only needed the first time) to set up ADB:
./adbsetup.sh
-
Follow the necessary setup steps. After the setup is complete, execute the second script to run ADB:
./adb.sh
Here are some common ADB commands:
-
List connected devices:
adb devices
-
Install an APK:
adb install /path/to/your_app.apk
-
Uninstall an app:
adb uninstall com.example.yourapp
-
Reboot the device:
adb reboot
If you encounter issues, try the following solutions:
- Ensure USB Debugging is enabled on your device.
- Use a different USB cable or port.
- Restart the ADB server:
adb kill-server adb start-server
We welcome contributions! Please read our contributing guidelines before submitting a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.