The ultimate all-in-one terminal toolkit for Waydroid power users.
Start, stop, manage apps, transfer files, capture screenshots, record screens, view logs โ and much more โ all from a beautiful, organized CLI with safety checks and graphical dialog support.
Getting Started ยท Features ยท CLI Flags ยท FAQ ยท Contributing
- Features at a Glance
- Requirements
- Quick Start
- Menu Overview
- CLI Flags (Non-Interactive)
- Logging
- Copy/Paste to Android
- Frequently Asked Questions
- Changelog & Releases
- Contributing
- License
- File Transfer GUI (Option 13): Added a graphical file/folder picker for both host and device paths using
zenityso you no longer need to type full Android paths. Falls back to manual input ifzenityisn't available. - remote_browse() helper: New helper to browse the Android filesystem over ADB; used by push/pull flows.
- Fix: Resolved a scoping bug where
remote_browse()was accidentally defined nested; moved it to top-level.
| Feature | Description |
|---|---|
| Start / Restart | Launch Waydroid stack + Weston with automatic Wayland socket detection |
| Stop | Gracefully stop Waydroid and Weston compositor |
| ADB Shell Access | Drop into an interactive ADB shell with auto-reconnect if device is offline |
| Auto-detect Sessions | On launch, detects running Waydroid / ADB devices and offers to connect |
| APK Install | Install from local files, URLs (curl/wget), or batch from a directory |
| Waydroid Script | One-click access to GApps, Magisk, and more via casualsnek/waydroid_script |
| Feature | Description |
|---|---|
| ADB Auto-Handshake | Automatic connection and reconnect logic for reliable operations |
| List Devices | View all connected ADB devices |
| Reconnect ADB | Quick re-establish connection if it drops |
| Feature | Description |
|---|---|
| Display Settings | Change resolution & density; tablet/ultra-wide presets; restore defaults |
| App Management | Search, uninstall, batch uninstall, export installed app lists |
| Copy / Paste | Send terminal text into Android input fields โ special characters supported |
| Theme Toggle | Light/dark terminal theme with persistence to config file |
| Feature | Description |
|---|---|
| ๐ธ Screenshot | Capture Android screen โ ~/Pictures/Waydroid/ |
| ๐ฌ Screen Recording | Record up to 180s โ ~/Videos/Waydroid/ |
| ๐ File Transfer | Push/pull files and folders between host โ Android |
| ๐ Logcat Viewer | Live logcat, filter by tag, errors-only, save to file |
| โ๏ธ Freeze / Disable Apps | Disable bloatware without uninstalling; re-enable anytime |
| ๐ Clear App Data | Wipe all data or just cache for any app |
| ๐ Quick Launch | Launch any installed app by package name |
| โน๏ธ Device Info | Android version, display, storage, memory, network, uptime |
| ๏ฟฝ APK Downloader | Search APKMirror by name or download from direct URL; optional instant install |
| ๐จ Theme Customization | 6 color schemes: Light, Dark, Ocean, Forest, Sunset, Neon โ persisted |
| โฟ Accessibility Tools | Large Text mode, Text-to-Speech status, High-Contrast mode |
| ๐ข Realtime Resource Monitor | Live CPU/RAM/Disk usage updates in-place every second |
| Feature | Description |
|---|---|
| Zenity Dialogs | Optional graphical prompts (always-on-top with --modal) |
| Weston Focus | APK install dialogs auto-focus the compositor window via xdotool |
| Confirmations | Destructive actions require confirmation; bypass with --yes |
| Batch Operations | Batch APK install/uninstall from files or directories |
| Logging | Separate install/uninstall logs with auto-rotation at 1 MB |
| Update Check | Compares local version against GitHub; offers to open release page |
| Dependency | Purpose | Required |
|---|---|---|
waydroid |
Android container | โ |
weston |
Wayland compositor | โ |
adb |
Android Debug Bridge | โ |
git |
Version control / self-update | โ |
curl or wget |
APK downloads & update checks | โ |
python3 |
Waydroid script support | โ |
zenity |
Graphical dialogs (file picker, app selector) | Optional |
wl-clipboard |
Wayland clipboard (wl-copy / wl-paste) |
Optional |
xdotool |
Window focus for modal dialogs | Optional |
espeak-ng or spd-say |
Text-to-Speech for accessibility | Optional |
sudo apt update && sudo apt install -y \
waydroid weston adb zenity curl wget git \
python3 python3-pip wl-clipboard xdotool espeak-ngsudo pacman -S waydroid weston android-tools zenity curl wget git python wl-clipboard xdotool espeak-ng
# 1. Clone the repository git clone https://github.com/Nigel1992/Waydroid-Advanced-Manager.git # 2. Enter the directory cd Waydroid-Advanced-Manager # 3. Make executable chmod +x waydroid-manager.sh # 4. Launch! ./waydroid-manager.sh
๐ก Tip: Run
./waydroid-manager.sh --versionto check the installed version and release date.
The interactive menu is organized into 5 sections with 25 options:
โโ CORE โโ
1) START/RESTART Waydroid
2) STOP Waydroid & Weston
3) ADB SHELL ACCESS (Direct)
4) INSTALL APK File
5) WAYDROID SCRIPT (GApps, Magisk, etc.)
โโ ADB โโ
6) LIST ADB Devices
7) RECONNECT ADB
โโ SETTINGS & APPS โโ
8) DISPLAY SETTINGS (Resolution, Density)
9) APP MANAGEMENT (Install/Uninstall)
10) COPY/PASTE to Android
โโ TOOLS โโ
11) ๐ธ SCREENSHOT
12) ๐ฌ SCREEN RECORDING
13) ๐ FILE TRANSFER (Push/Pull)
14) ๐ LOGCAT VIEWER
15) โ๏ธ FREEZE/DISABLE Apps
16) ๐ CLEAR APP DATA/Cache
17) ๐ QUICK LAUNCH App
18) โน๏ธ DEVICE INFO
19) ๐ฆ APK DOWNLOADER
20) ๐จ THEME CUSTOMIZATION
21) โฟ ACCESSIBILITY TOOLS
โโ SYSTEM โโ
22) STATUS
23) RESOURCE MONITOR (CPU/RAM/Disk)
24) CHECK FOR UPDATES
25) EXIT
Run any action directly from the command line without entering the interactive menu:
| Flag | Description |
|---|---|
--version, -v |
Show version and exit |
--help, -h |
Show help and exit |
--debug |
Enable debug logging |
--restart |
Restart Waydroid stack |
--stop |
Stop Waydroid and Weston |
--status |
Show system status |
--install-apk <path|url> |
Install APK from file or URL |
--install-apks-dir <dir> |
Batch install all APKs from a directory |
--uninstall-list <file> |
Uninstall packages from a newline-delimited file |
--yes, -y |
Auto-confirm destructive actions (scripting) |
--set-dpi <dpi> |
Set display density |
--set-res <WxH> |
Set display resolution |
--list-apps-export [file] |
Export installed apps list |
--theme <dark|light> |
Set and persist terminal theme |
--self-update |
Update script from git |
Examples:
# Install an APK from URL ./waydroid-manager.sh --install-apk https://example.com/app.apk # Batch install a folder of APKs, auto-confirm ./waydroid-manager.sh --install-apks-dir ~/apks/ --yes # Set resolution to tablet mode ./waydroid-manager.sh --set-res 1200x1920 --set-dpi 240
All actions are logged to ~/.cache/waydroid-manager/:
| Log File | Contents |
|---|---|
waydroid-manager.log |
General operations, errors, session events |
install.log |
Per-APK install results and batch summaries |
uninstall.log |
Per-app uninstall results |
Log files are automatically rotated when they exceed 1 MB.
| Details | |
|---|---|
| How to use | Focus an input field in Waydroid โ select Option 9 โ type or paste text โ press Enter |
| Supported | All plain text including special characters: & | ; < > $ \ ` |
| Not supported | Multi-line text, files, or binary data |
| How it works | Uses adb shell input text with proper escaping for shell metacharacters |
๐น How do I install Waydroid in the first place?
Waydroid requires a Wayland-based desktop session (GNOME on Wayland, Sway, etc.) and a compatible Linux kernel.
# Ubuntu/Debian sudo apt install waydroid # Initialize Waydroid (first-time only) sudo waydroid init
For detailed instructions, see the official Waydroid documentation.
๐น Waydroid won't start โ "Session is already running"
This happens when a previous Waydroid session wasn't cleanly shut down. Fix it with:
# Stop the container sudo waydroid container stop # Kill any leftover sessions waydroid session stop # Now start fresh with the manager ./waydroid-manager.sh
The manager's auto-detect feature (on launch) will also notice an existing session and offer to reconnect.
๐น ADB won't connect โ "Connection refused" or device not found
- Make sure Waydroid is running โ use Option 1 to start it first.
- Check the IP โ Waydroid typically uses
192.168.240.112. The manager auto-detects this. - Restart ADB โ try Option 6 (Reconnect ADB) or manually:
adb kill-server && adb start-server adb connect 192.168.240.112:5555 - Firewall โ ensure your firewall isn't blocking local connections on port 5555.
๐น APK installation fails โ "INSTALL_FAILED_..."
| Error | Cause | Fix |
|---|---|---|
INSTALL_FAILED_OLDER_SDK |
APK requires a newer Android version | Find a compatible APK version |
INSTALL_FAILED_NO_MATCHING_ABIS |
APK is built for wrong architecture (e.g., ARM on x86) | Use an x86/x86_64 build or enable ARM translation via Waydroid Script (Option 4) |
INSTALL_FAILED_ALREADY_EXISTS |
App already installed | Uninstall first via Option 8, then retry |
INSTALL_FAILED_INSUFFICIENT_STORAGE |
Not enough space in the container | Clear app caches (Option 15) or resize the Waydroid image |
๐น How do I get Google Play Store / GApps?
Use Option 4 (Waydroid Script) which integrates casualsnek/waydroid_script:
- Start Waydroid (Option 1)
- Select Option 4
- Choose "Install GApps"
After installation, reboot Waydroid. You'll need to sign in with your Google account. Some apps may require device certification โ the Waydroid Script can register your device ID with Google.
๐น How do I install Magisk / root Waydroid?
Also via Option 4 (Waydroid Script):
- Start Waydroid (Option 1)
- Select Option 4
- Choose "Install Magisk"
This patches the Waydroid system image with Magisk for root access. Useful for apps that need superuser privileges.
๐น Screenshot / screen recording doesn't work
- Ensure ADB is connected โ the "ACTIVE" indicator at the bottom of the menu should show a device.
- Screenshots use
adb shell screencapโ if this fails, it typically means the container's display isn't rendering properly. Try restarting Waydroid. - Screen recording uses
adb shell screenrecordโ some Waydroid builds may have limited support for this. Make sure the container is fully booted (wait 10-15 seconds after start). - Output folders are auto-created:
- Screenshots:
~/Pictures/Waydroid/ - Recordings:
~/Videos/Waydroid/
- Screenshots:
๐น File transfer fails โ "Permission denied"
Android's /sdcard/ is the safest target for file operations:
# Push to Android adb push myfile.txt /sdcard/ # Pull from Android adb pull /sdcard/myfile.txt ~/Downloads/
If pushing to system paths (e.g., /system/), you'll need root (Magisk). For most use cases, stick to /sdcard/ โ this is what the File Transfer tool (Option 12) uses by default.
๐น How do I change the screen resolution / DPI?
Interactive: Use Option 7 (Display Settings) โ choose from presets or enter custom values:
| Preset | Resolution | Use Case |
|---|---|---|
| Phone | 720ร1280 | Mobile apps |
| Tablet | 1200ร1920 | Tablet-optimized apps |
| Desktop | 1920ร1080 | Landscape / productivity |
| Ultra-wide | 3440ร1440 | Ultra-wide monitors |
CLI:
./waydroid-manager.sh --set-res 1920x1080 --set-dpi 160
Changes take effect immediately. Use the "Reset to defaults" option to revert.
๐น Can I disable bloatware / pre-installed apps?
Yes! Use Option 14 (Freeze/Disable Apps):
- Select "Disable (freeze) an app"
- Pick the app from the list (uses zenity picker if available)
- The app is disabled without being uninstalled โ no data is lost
To re-enable: select "Enable (unfreeze) an app" and pick from the disabled list.
This is the safest way to deal with bloatware since you can always re-enable the app if needed.
๐น The zenity dialog appears behind other windows
All zenity dialogs should use --modal to stay on top. If you're still experiencing issues:
- Make sure
xdotoolis installed:sudo apt install xdotool - The manager uses
xdotoolto focus the Weston compositor before opening dialogs - If a dialog still hides, click the taskbar/panel to bring it forward
๐น Logcat shows too much output โ how do I filter?
Use Option 13 (Logcat Viewer) which offers four modes:
| Mode | What it shows |
|---|---|
| Live logcat | Everything (Ctrl+C to stop) |
| Save to file | Dumps last 500 lines for offline analysis |
| Filter by tag | Only messages from a specific Android component (e.g., ActivityManager) |
| Errors only | Only ERROR-level messages (*:E filter) |
From CLI (outside the manager):
# Filter by tag adb logcat -s ActivityManager # Errors only adb logcat *:E # Save to file adb logcat -d -t 1000 > ~/logcat_dump.txt
๐น How do I update the manager?
Option A โ From the menu: Select Option 25 (Check for Updates). If a new version is available, the manager shows the GitHub URL and offers to open it in your browser.
Option B โ CLI:
./waydroid-manager.sh --self-update
Option C โ Manual:
cd Waydroid-Advanced-Manager
git pull origin main๐น Can I run this on X11 instead of Wayland?
Waydroid requires Wayland. The manager uses Weston as a nested Wayland compositor, which means it works even if your desktop session is X11. Weston creates a Wayland environment inside an X11 window.
If you're on X11, the manager handles Weston for you automatically โ just use Option 1 to start.
๐น How do I use CLI flags for scripting / automation?
Combine flags for headless operation:
# Install APK without prompts ./waydroid-manager.sh --install-apk ~/Downloads/app.apk --yes # Batch install + auto-confirm ./waydroid-manager.sh --install-apks-dir ~/apks/ --yes # Set display and exit ./waydroid-manager.sh --set-res 1920x1080 --set-dpi 240 # Export app list to file ./waydroid-manager.sh --list-apps-export ~/apps.txt
Use --yes / -y to skip all confirmation prompts โ ideal for scripts and CI pipelines.
๐น Where are config and cache files stored?
| Path | Contents |
|---|---|
~/.config/waydroid-manager.conf |
Theme preference and settings |
~/.cache/waydroid-manager/ |
Logs directory |
~/.cache/waydroid-manager/waydroid-manager.log |
General log |
~/.cache/waydroid-manager/install.log |
APK install history |
~/.cache/waydroid-manager/uninstall.log |
Uninstall history |
~/Pictures/Waydroid/ |
Saved screenshots |
~/Videos/Waydroid/ |
Saved screen recordings |
๐น The "Quick Launch" feature doesn't work for my app
Quick Launch (Option 16) uses am start to resolve and launch an app's main activity. If it fails:
- App may not have a launcher activity โ some background services or system apps can't be launched this way.
- Try the full package name โ make sure you're using the complete package (e.g.,
com.example.app, not justapp). - App might be disabled โ check Option 14 to see if it's in the disabled list.
- Check logcat โ use Option 13 to see what error Android reports when trying to launch.
๐น How do I completely reset Waydroid?
If Waydroid is in a broken state:
# 1. Stop everything waydroid session stop sudo waydroid container stop # 2. Reset the Waydroid data (WARNING: deletes all Android apps and data!) sudo rm -rf /var/lib/waydroid /home/$USER/.local/share/waydroid # 3. Re-initialize sudo waydroid init # 4. Start fresh ./waydroid-manager.sh
โ ๏ธ Warning: This removes ALL Android apps, data, and settings. Back up important files first using the File Transfer tool (Option 12).
See CHANGELOG.md for the full release history.
Latest release: v0.8.1 (2026-03-13)
I build this project in my free time and don't need donations for myself. If you'd like to give something back, I'd kindly ask you to donate to a charity of your choice instead โ they need it far more than I do. If you still prefer to support me directly in private, thank you so much; it's genuinely appreciated, and I'll be happy to list you as a donor on GitHub and, where applicable, in a donors section of the project, as a small thank you.