-
Notifications
You must be signed in to change notification settings - Fork 26
Troubleshooting and FAQ
akwin1234 edited this page Jun 20, 2026
·
3 revisions
This page addresses common environment issues, kernel configurations, and networking errors encountered while using Damru.
- Cause: On some hosts (especially WSL2 and VPS servers), Docker's NAT or forwarding rules are blocked by custom firewall chains.
-
Fix: Run the automated network repair command:
This command installs correct MASQUERADE and FORWARD rules on the
python -m damru fix-internet
docker0bridge. -
Manual Verification: Run a quick connectivity check:
If this fails, ensure the host DNS resolver
docker run --rm alpine ping -c 3 google.com
/etc/resolv.confis accessible by Docker.
- Cause: The host kernel lacks the binder/binderfs modules required for Redroid container inter-process communication.
-
Fix (WSL2): Switch to Damru's pre-compiled WSL2 kernel:
- Download our kernel and place it at
C:\Users\<User>\vmlinux. - Add the path to
.wslconfigand runwsl --shutdown.
- Download our kernel and place it at
-
Fix (Native Linux): Load the kernel modules manually:
sudo modprobe ashmem_linux sudo modprobe binder_linux devices="binder,vndbinder,hwbinder"
-
Cause: Multiple worker pools or other processes are running on the default ADB ports (
5600+). -
Fix: remap the default starting port using the environment variable:
This offsets all running workers to ports
export DAMRU_REDROID_BASE_PORT=57005700,5701, etc., avoiding port collision.
Q: Can I run Damru on a headless VPS?
A: Yes. Damru is optimized for headless VPS deployments (e.g. Ubuntu 24.04). All render pipelines run virtualized.
Q: How do I visually inspect what Chrome is doing in the container?
A: Ensure you have scrcpy installed, then run the live-view CLI command:
python -m damru view --serial <adb_serial>This mirrors the Android screen onto your local machine in real-time.