EasyADB is a command-line tool designed to simplify the use of Android Debug Bridge (ADB) commands. It provides a user-friendly interface where users can execute ADB commands without the need to remember complex syntax. With EasyADB, you can manage Android devices, apps, files, and more simply by selecting options from a menu.
Managing Android devices through ADB can be daunting for those who are not familiar with command-line tools. Remembering the syntax and options for different ADB commands can be challenging. EasyADB aims to make this process easier by providing a menu-driven interface, allowing you to execute various ADB commands by just pressing numbers and hitting Enter.
This code currently is designed to work on Windows only.
EasyADB includes a wide range of features organized into different sections:
-
Device Management
- List all connected Android devices and emulators
- Connect to a device over Wi-Fi
- Disconnect from a device
- Pair a device with ADB over Wi-Fi
-
App Management
- Install an APK file
- Uninstall an app
- Install multiple APKs (for split APKs)
- Reinstall an app, keeping its data
-
File Management
- Copy files between the host machine and the device
- Delete files on the device
-
System Management and Debugging
- Stream system logs
- Save logs to a file
- Generate bug reports
- Display real-time system processes
-
Shell and Command Execution
- Start an interactive shell
- Run specific shell commands
- List installed packages
- Uninstall packages via the shell
-
Screen Management
- Take screenshots
- Record the screen to a video file
- Get or set the screen resolution and density
-
Network Management
- Forward local ports to remote ports
- Display network interface configurations
- Enable or disable airplane mode and Wi-Fi
-
Data Management
- Create and restore full backups
- Clear app data for specific packages
-
Development and Testing
- Run stress tests
- Simulate user input
- Manage device settings programmatically
-
Root Access and File Permissions
- Restart the adbd daemon with root privileges
- Change file permissions
- Remount system partitions as writable
-
Remote Control
- Send key events (e.g., home, back)
- Simulate taps and swipes
-
Power Management
- Reboot the device
- Reboot into bootloader or recovery mode
- Power off the device
-
Permissions and Security
- Grant or revoke app permissions
- Manage device policies
-
Battery Management
- Dump the current battery status
- Set and reset battery levels
-
Advanced Usage
- Wait for the device to be connected
- Enter superuser mode
- Get and set device properties
- Python 3.x
- ADB (Android Debug Bridge) installed and included in the
platform-toolsdirectory - Windows operating system
- Clone this repository:
git clone https://github.com/awiones/EasyADB.git- Navigate to the project directory:
cd EasyADB- Ensure the
platform-toolsfolder containing ADB is inside the project directory.
- Connect your Android device to your computer via USB.
- Run the
main.pyscript:
python main.py- Follow the on-screen instructions to select and execute ADB commands using the menu options.
To install an APK on a connected device:
- Run
main.py. - Select the "App Management" option by entering the corresponding number.
- Select "Install an APK file on the connected device."
- Follow the prompts to complete the installation.
Contributions are welcome! If you have suggestions, improvements, or bug fixes, please submit a pull request or open an issue.
- Fork the Repository: Create a personal copy of the repository on GitHub.
- Make Changes: Implement your changes and test them locally.
- Submit a Pull Request: Describe your changes and submit a pull request for review.
This project is licensed under the MIT License. See the LICENSE file for details.
- Android Developers - ADB Documentation
- Thanks to all contributors for making ADB usage easier!
With EasyADB, managing Android devices is now a breeze. Say goodbye to complicated command-line syntax and hello to simplicity. Just press a number and hit Enter!
- This version specifies that the tool is designed to work on Windows only.
- Make sure to add the repository link in the "Installation" section.
- Feel free to customize further if you want to include more details or instructions specific to your implementation.
Made with ❤️ by Awiones