just create a standalone vm without kernel and HVM mode and exclude it from memory balancing, but now im having another problem, waydroid is installed but i get stucked on this:
started the container with sudo waydroid container start
started the session with waydroid session start
but android doesnt boot, if i check the status it shows that container and session is running but no wayland display, any idea how to fix it @icequbes1?
I’ve followed these steps in order, I skipped the git clone GitHub - choff/anbox-modules: Anbox kernel modules part because @icequbes1 said it was unnecessary.
I still get the freeze starting screen from Anbox, am I missing a step?
I’m on QubesOs 4.1
For other people interested in the solution, the steps below worked for me.
create New qube
Name and label: anbox-qube
Type: Standalone VM
Template: debian
Networking: sys-firewall
Launch setting after creation
under tab Basic
I gave it 15 GB diskspace
under tab Advanced
/section/Memory/CPU
initial memory: 800 mb
VCPUs:
exclude in memory balancing (tick off the box)
/section/Kernel/
none
/section/Virtualization
Mode: HVM (current)
apply - ok
Create a new qube StandAloneVM (Fully persistent) with Debian-11 template and check “Launch settings after creation”
On Settings window, go to “Advanced”, uncheck “Include in memory balancing”, set your initial memory.
2.1 On kernel, set it to (none).
2.2 On Virtualization, set HVM.
Run the vm, open the terminal to update the package list and upgrade the system to install adb, fastboot and anbox: sudo apt update && sudo apt full-upgrade && sudo apt install adb fastboot anbox
Download the Anbox Android Image and the sha256sum file wget https://build.anbox.io/android-images/2018/07/19/android_amd64.img.sha256sum && wget https://build.anbox.io/android-images/2018/07/19/android_amd64.img
I could see the emulator listed by adb, but still anbox wouldn’t launch.
Anbox seems to be totally broken generaly speaking , but it’s weird that I can’t reproduce on my machine. The only difference is that I downloaded the img from a mirror ( the link from the post is broken ) and that debian template is a bit more up to date since your post.