A reproducible research and engineering environment for running, debugging, and testing Android applications on Linux with native GPU acceleration, ARM binary translation, and HTTPS network inspection.
- 🔬 Technical Stack
- 🚀 Why Waydroid Helper?
- 🔒 Native Certificate Injection
- 📚 Documentation Index
- 🧰 Included Helper Scripts
- 📄 License
| Layer | Component | Details / Responsibility |
|---|---|---|
| Host OS | Modern Linux | Ubuntu, Debian, Fedora, Arch Linux, openSUSE |
| Container Virtualization | Waydroid | Native Linux container (LXC) architecture running LineageOS |
| Graphics Pipeline | Mesa 3D | Direct Rendering Infrastructure (/dev/dri/renderD128) hardware acceleration |
| ARM Translation | Libhoudini | Dynamic ARM (arm64-v8a / armeabi-v7a) to x86_64 binary translation |
| Helper Tooling | Waydroid Helper | Automated lifecycle management for extensions, translation, and keymaps |
| Network Interception | mitmproxy | System CA certificate overlay injection for HTTPS interception |
| Runtime Tracing | Frida | Dynamic instrumentation for inspecting in-memory network calls |
| Input Mapping | Integrated Helper / Phantom | Touchscreen to mouse/keyboard event translation |
Modifying container root partitions manually can lead to filesystem corruption and broken OTA updates. Using Waydroid Helper (waydroid_script) is strongly recommended:
- Overlay Architecture: Libhoudini translation libraries and configurations reside in
/var/lib/waydroid/overlay/system, keeping the base container image pristine. - Persistence Across Updates: Upstream container updates do not overwrite your ARM translation libraries or configuration files.
- Integrated Controller Mapping: Built-in support for mapping mouse aiming, WASD movement, and hotkeys directly to touchscreen coordinates.
DroidForge leverages Waydroid's native overlay architecture for trusted CA certificates:
- Placing the hashed certificate (
<hash>.0) inside/var/lib/waydroid/overlay/system/etc/security/cacerts/mounts it directly into the system trust store on container boot. - No root modules (such as Magisk) are required. The host kernel manages the overlay cleanly.
| Guide | Description |
|---|---|
| 01 - Host Installation & Setup | Package installation across Linux distributions and container initialization. |
| 02 - ARM Translation with Waydroid Helper | Deploying Libhoudini for running ARM and ARM64 applications on x86_64. |
| 03 - Network Traffic Inspection & CA Certificates | Converting CA certificates, overlay staging, and global proxy configuration. |
| 04 - Input Mapping & Graphics Acceleration | Mesa DRI hardware rendering verification and desktop keymapping controls. |
| 05 - Advanced Network Analysis & Troubleshooting | Diagnosing proxy bypass, QUIC / HTTP/3 blocking, and transparent NAT redirection. |
| 06 - Runtime Traffic Analysis with Frida | In-process network call tracing for pinned or custom native network engines. |
All scripts are located in the scripts/ directory and are pre-configured with executable permissions:
| Script | Purpose |
|---|---|
scripts/cert-convert.sh |
Converts PEM certificates to <hash>.0 and installs to the Waydroid overlay |
scripts/proxy-toggle.sh |
Sets, checks, or clears the Android global HTTP proxy via ADB |
scripts/verify-env.sh |
Diagnostic verifier for Linux host session, render nodes, and ADB connectivity |
scripts/capture-traffic.sh |
Captures raw .pcap packets on the waydroid0 virtual bridge for Wireshark |
scripts/block-quic.sh |
Blocks outbound UDP 443 to force apps from QUIC/HTTP/3 to fall back to TCP |
scripts/transparent-proxy.sh |
Configures host iptables PREROUTING rules for apps bypassing system proxy |
scripts/setup-frida-server.sh |
Auto-detects container ABI, downloads, pushes, and launches frida-server |
This project is licensed under the MIT License.