where did you find the Waydroid 1.6.0? I’m running Waydroid 1.5.4 on Mobian. Curious about 1.6.0.
purism@librem5:~$ apt show waydroid
Package: waydroid
Version: 1.6.0
Priority: optional
Section: misc
Maintainer: Erfan Abdi erfangplus@gmail.com
Installed-Size: 488 kB
Depends: python3:any, lxc, python3-gbinder, python3-gi, gir1.2-gtk-3.0, python3-dbus, dbus, polkitd | policykit-1, pipewire-pulse | pulseaudio, iptables
Recommends: ca-certificates
Download-Size: 229 kB
APT-Manual-Installed: yes
APT-Sources: https://repo.waydro.id crimson/main all Packages
Description: Android™ application support
waydroid allows running a separate Android™ environment
confined to a LXC container.
Interesting! I’m running mobian forky, and it only has the 1.5.4 ?! wow, the Crimson has a more recent version of waydroid now then even the testing release of mobian?!
Good to know!
Update to my waydroid setup on byzantium:
- Up to date byzantium
- Last waydroid package (1.6.1) from upstream’s bullseye repo: Index of /dists/bullseye
- No other external packages
With latest byzantium kernel (6.6.119pureos1~byz1) waydroid didn’t start anymore. I had these errors in the system logs:
janv. 16 19:03:49 pinibrem5 audit[2374]: AVC apparmor="DENIED" operation="mount" class="mount" info="failed flags match" error=-13 profile="/usr/bin/lxc-start" name="/mnt/">
janv. 16 19:03:49 pinibrem5 audit[2374]: AVC apparmor="DENIED" operation="mount" class="mount" info="failed flags match" error=-13 profile="/usr/bin/lxc-start" name="/debug>
janv. 16 19:03:49 pinibrem5 audit[2374]: AVC apparmor="DENIED" operation="mount" class="mount" info="failed flags match" error=-13 profile="/usr/bin/lxc-start" name="/secon>
janv. 16 19:03:49 pinibrem5 kernel: audit: type=1400 audit(1768586629.769:25): apparmor="DENIED" operation="mount" class="mount" info="failed flags match" error=-13 profile>
janv. 16 19:03:49 pinibrem5 kernel: audit: type=1400 audit(1768586629.769:26): apparmor="DENIED" operation="mount" class="mount" info="failed flags match" error=-13 profile>
janv. 16 19:03:49 pinibrem5 kernel: audit: type=1400 audit(1768586629.769:27): apparmor="DENIED" operation="mount" class="mount" info="failed flags match" error=-13 profile>
janv. 16 19:03:49 pinibrem5 init: mount("tmpfs", "/mnt", "tmpfs", MS_NOEXEC | MS_NOSUID | MS_NODEV, "mode=0755,uid=0,gid=1000") failed Permission denied
janv. 16 19:03:49 pinibrem5 init: mount("tmpfs", "/debug_ramdisk", "tmpfs", MS_NOEXEC | MS_NOSUID | MS_NODEV, "mode=0755,uid=0,gid=0") failed Permission denied
janv. 16 19:03:49 pinibrem5 init: mount("tmpfs", kSecondStageRes, "tmpfs", MS_NOEXEC | MS_NOSUID | MS_NODEV, "mode=0755,uid=0,gid=0") failed Permission denied
I guess there is an apparmor profile to update, but I’m not at ease with that. So I downgraded the /usr/bin/lxc-start profile to complain mode instead of enforce (see AppArmor - Ubuntu Server documentation ):
$ sudo aa-complain /usr/bin/lxc-start
This command above requires the apparmor-utils package.
EDIT: There are up-to-date (1.6.1) waydroid packages for crimson and byzantium in the Purism’s Gitlab repo Librem5 / debs / waydroid · GitLab . But you have to dig into the CI artifacts to find them. Look for artifacts from the last package-pureos:arm64 job for pureos/byzantium or pureos/crimson depending on your OS release.
EDIT2: With kernel 6.6.119pureos1~byz2 nore more need to tweak the apparmor profile.