Hi
I’m trying to run Way-droid on Whonix but having some issues since dnsmasq is not giving dhcp to the lxc container.
Any help would be great, I think a guide on running android inside whonix would be a great addition to the wiki since many operations require phone apps.
These are the step i took so far
- Adding the repo
export DISTRO="bullseye" && \
sudo scurl -Sf https://repo.waydro.id/waydroid.gpg --output /usr/share/keyrings/waydroid.gpg && \
echo "deb [signed-by=/usr/share/keyrings/waydroid.gpg] tor+https://repo.waydro.id/ $DISTRO main" > ~/waydroid.list && \
sudo mv ~/waydroid.list /etc/apt/sources.list.d/waydroid.list && \
sudo apt update
- Installing
sudo apt install waydroid -y
- Starting the init process and downloading images.
sudo waydroid init
- Editing conf files for vm support
nano /var/lib/waydroid/waydroid_base.prop
change these
ro.hardware.gralloc=default
ro.hardware.egl=swiftshader
- Start
sudo systemctl start waydroid-container
or manually with
sudo waydroid container start
- Xfce is using x11 so we have to use a wayland compositor
sudo apt install weston
setsid weston &
- Adjust the window size and then enter this in the terminal
XDG_SESSION_TYPE=wayland waydroid show-full-ui
This should start android with a full ui
Currently I I’m not recieving dhcp from dnsmasq.
I tried to restart the script installed at
/usr/lib/waydroid/data/scripts/waydroid-net.sh
the bridge interface is created but when I enter the console I do not receive any dhcp
sudo wayland shell
ip a