๐ Waydroid Advanced Manager
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
๐ Table of Contents
โจ Features at a Glance
๐ What's New in 0.8.1
- File Transfer GUI (Option 13): Added a graphical file/folder picker for both host and device paths using
zenity so you no longer need to type full Android paths. Falls back to manual input if zenity isn'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.
๐ What's New in 0.8.0
๐ข Core
| 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 |
๐ต ADB & Connectivity
| 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 |
โ๏ธ Settings & Apps
| 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 |
๐ ๏ธ Tools
| 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 |
๐ Safety & Automation
| 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 |
๐ง Requirements
| 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 |
One-Line Install (Debian / Ubuntu)
sudo apt update && sudo apt install -y \
waydroid weston adb zenity curl wget git \
python3 python3-pip wl-clipboard xdotool espeak-ng
Arch Linux
sudo pacman -S waydroid weston android-tools zenity curl wget git python wl-clipboard xdotool espeak-ng
๐ Quick Start
# 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 --version to check the installed version and release date.
๐ฅ๏ธ Menu Overview
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
โ๏ธ CLI Flags (Non-Interactive)
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
๐ Logging
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.
๐ Copy/Paste to Android (Option 9)
|
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 |
โ Frequently Asked Questions
๐น 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"