Waydroid

Installing and configuring waydroid in Mocaccino Desktop

Installing and configuring

Waydroid is available in the Community repository. If you have enabled this repository you can install it by using this command:

1
$ sudo luet install apps/waydroid-vanilla

OR

1
$ sudo luet install apps/waydroid-gapps

Enable and start the waydroid systemd service

1
$ sudo systemctl enable --now waydroid-container.service

initialize for vanilla:

1
$ sudo waydroid init

or for android with Gapps do:

1
$sudo waydroid init -s GAPPS

AppArmor (optional)

Waydroid can use AppArmor to sandbox Android processes, but it is not a hard requirement. Since it is installed as a dpendency of lxc, you might as well enable it.

Enable the apparmor service:

1
systemctl enable --now apparmor.service snapd.apparmor.service

Enable required boot parameters. Edit /etc/default/grub and append apparmor=1 security=apparmor parameters.

1
GRUB_CMDLINE_LINUX_DEFAULT="apparmor=1 security=apparmor"

After editing this file, regenerate the grub config file:

1
grub-mkconfig -o /boot/grub/crug.cfg

Now restart the system.

References

Last modified July 14, 2025: add waydroid draft (39a4db2)