A modern PyQt6-based GUI application for executing Android ADB (Android Debug Bridge) commands with an intuitive interface. This tool allows you to control your Android device remotely through various pre-configured commands.
- 🎨 Beautiful and modern PyQt6 user interface
- 📱 One-click execution of common ADB commands
- 🔧 Support for custom ADB commands
- 📤 Real-time command output display
- 🚀 Non-blocking execution (threading)
- ⚙️ Easy-to-use button-based interface organized by categories
- Python 3.8 or higher
- Android device with ADB enabled
- ADB (Android Debug Bridge) installed on your system
- Clone or download the repository:
cd /home/kali/Desktop/Android_ADB_Shell- Create a virtual environment:
python3 -m venv venv- Activate the virtual environment:
On Linux/Mac:
source venv/bin/activateOn Windows:
venv\Scripts\activate- Install required packages:
pip install -r requirement.txt- Run the application:
python GUI.py- Connect your Android device to your computer via USB
- Enable USB Debugging on your Android device (Settings > Developer Options > USB Debugging)
- Run the application using the command above
- The application will display all available commands organized by category
-
List Connected Devices: Display all connected Android devices
- Command:
adb devices
- Command:
-
Get Device Information: Retrieve detailed device properties
- Command:
adb shell getprop
- Command:
-
Reboot Device: Restart the connected device
- Command:
adb reboot
- Command:
-
Reboot to Bootloader: Boot device into bootloader mode
- Command:
adb reboot bootloader
- Command:
-
Reboot to Recovery: Boot device into recovery mode
- Command:
adb reboot recovery
- Command:
-
Open Camera: Launch the default camera application
- Command:
adb shell am start -a android.media.action.IMAGE_CAPTURE
- Command:
-
Open Video Recorder: Launch the video recording application
- Command:
adb shell am start -a android.media.action.VIDEO_CAPTURE
- Command:
-
List Cameras: Display available camera features
- Command:
adb shell pm list features | grep camera
- Command:
-
Take Screenshot: Capture a screenshot from the device
- Command:
adb shell screencap -p /sdcard/screenshot.png && adb pull /sdcard/screenshot.png
- Command:
-
Record Screen (10 sec): Record device screen for 10 seconds
- Command:
adb shell screenrecord --time-limit=10 /sdcard/recording.mp4 && adb pull /sdcard/recording.mp4
- Command:
-
Turn Screen On: Wake up the device screen
- Command:
adb shell input keyevent 224
- Command:
-
Turn Screen Off: Put the device screen to sleep
- Command:
adb shell input keyevent 223
- Command:
-
Lock Screen: Lock the device
- Command:
adb shell input keyevent 26
- Command:
-
List Installed Apps: Show all installed applications
- Command:
adb shell pm list packages
- Command:
-
Install APK: Install an APK file on the device
- Command:
adb install "path/to/file.apk"
- Command:
-
Uninstall App: Remove an application by package name
- Command:
adb uninstall package.name
- Command:
-
Clear App Cache: Clear cached data for a specific application
- Command:
adb shell pm clear package.name
- Command:
-
Get Android Version: Check the Android OS version
- Command:
adb shell getprop ro.build.version.release
- Command:
-
Get Device Model: Display device model name
- Command:
adb shell getprop ro.product.model
- Command:
-
Get Battery Info: Show detailed battery status and health
- Command:
adb shell dumpsys battery
- Command:
-
Get Storage Info: Display storage space usage
- Command:
adb shell df -h
- Command:
-
Get Memory Info: Show RAM and memory statistics
- Command:
adb shell free -h
- Command:
-
Open Settings: Launch device Settings application
- Command:
adb shell am start -a android.settings.SETTINGS
- Command:
-
Go Home: Navigate to device home screen
- Command:
adb shell input keyevent 3
- Command:
-
Open Recent Apps: Open recent applications list
- Command:
adb shell input keyevent 187
- Command:
-
Clear Notifications: Clear all device notifications
- Command:
adb shell service call notification 1
- Command:
-
Enable WiFi: Turn on WiFi connectivity
- Command:
adb shell svc wifi enable
- Command:
-
Disable WiFi: Turn off WiFi connectivity
- Command:
adb shell svc wifi disable
- Command:
-
Enable Bluetooth: Turn on Bluetooth connectivity
- Command:
adb shell service call bluetooth_manager 6
- Command:
-
Disable Bluetooth: Turn off Bluetooth connectivity
- Command:
adb shell service call bluetooth_manager 8
- Command:
- Execute Custom Command: Run any custom ADB command
- Input your command in the text field and click "Execute Custom Command"
- Example:
adb shell ls /sdcard
| Command | Description |
|---|---|
adb devices |
List all connected devices |
adb version |
Show ADB version |
adb help |
Display help information |
| Command | Description |
|---|---|
adb shell getprop |
Get all device properties |
adb shell getprop ro.build.version.release |
Get Android version |
adb shell getprop ro.product.model |
Get device model |
adb shell getprop ro.serialno |
Get device serial number |
adb shell wm size |
Get screen resolution |
| Command | Description |
|---|---|
adb shell pm list packages |
List all installed packages |
adb install file.apk |
Install an APK file |
adb uninstall package.name |
Uninstall an application |
adb shell pm clear package.name |
Clear app cache and data |
adb shell pm grant package.name permission |
Grant permissions |
| Command | Description |
|---|---|
adb push local_file device_path |
Copy file to device |
adb pull device_path local_path |
Copy file from device |
adb shell ls /path |
List directory contents |
adb shell rm /path/file |
Delete a file |
adb shell mkdir /path |
Create a directory |
| Command | Description |
|---|---|
adb shell screencap -p /sdcard/file.png |
Take screenshot |
adb shell screenrecord /sdcard/video.mp4 |
Record screen |
adb shell input keyevent 26 |
Lock screen |
adb shell input keyevent 3 |
Go to home |
adb shell input tap X Y |
Tap on coordinates |
| Command | Description |
|---|---|
adb reboot |
Restart device |
adb reboot bootloader |
Reboot to bootloader |
adb reboot recovery |
Reboot to recovery |
adb shell dumpsys battery |
Get battery info |
adb shell getprop ro.build.fingerprint |
Get device fingerprint |
| Command | Description |
|---|---|
adb shell svc wifi enable |
Enable WiFi |
adb shell svc wifi disable |
Disable WiFi |
adb shell service call bluetooth_manager 6 |
Enable Bluetooth |
adb shell service call bluetooth_manager 8 |
Disable Bluetooth |
adb shell getprop dhcp.wlan0.ipaddress |
Get device IP address |
| Command | Description |
|---|---|
adb logcat |
View device logs |
adb logcat -c |
Clear logs |
adb bugreport |
Generate bug report |
adb shell dmesg |
View kernel logs |
- Organized into 7 collapsible categories
- Quick-click buttons for common operations
- Text input fields for custom parameters (APK path, package names, etc.)
- Scrollable interface for easy navigation
- Real-time command execution results
- Color-coded output (green text on dark background)
- Success indicators (✓) and error indicators (✗)
- Clear Output button to reset the display
- Ensure ADB is properly installed on your system
- Add ADB to your system PATH
- Restart the application after installing ADB
- Enable USB Debugging on your Android device
- Try a different USB cable
- Restart the ADB daemon:
adb kill-serverthenadb devices - Update your device drivers
- Some commands require root/superuser access
- Your device may need to grant USB Debugging permissions
- Check the authorization dialog on your device
- Always activate the virtual environment before running the app
- Use
source venv/bin/activateon Linux/Mac - Use
venv\Scripts\activateon Windows
- OS: Windows, macOS, or Linux
- Python: 3.8 or higher
- RAM: Minimum 512 MB
- Storage: Minimum 100 MB for installation
- PyQt6: Modern GUI framework
- Python subprocess module (standard library)
See requirement.txt for the complete list of dependencies.
This project is open source and available for educational and personal use.
For issues, suggestions, or contributions, please feel free to open an issue or submit a pull request.
- Use this tool responsibly and only on devices you own or have permission to access
- Some ADB commands may void your device warranty
- Always back up important data before executing device modifications
- The author is not responsible for any damage caused by improper usage
Version 1.0.0
Happy ADB-ing! 🚀