Waydroid fails to work on xiaomi-beryllium.
Describe your issue
What's the expected behaviour?
Waydroid should work on xiaomi-beryllium.
What's the current behaviour?
Waydroid doesn't start.
How to reproduce your issue?
Install waydroid on xiaomi-beryllium. Try to start.
What device are you using?
On what postmarketOS version did you encounter the issue?
-
edge ( master
branch) -
v22.06
-
v21.12
(supported until 2022-07-12) -
I confirm that the issue still is present after running sudo apk upgrade -a
On what environment did you encounter the issue?
Phone environments
-
Phosh -
Plasma Mobile -
Sxmo (Wayland/Sway)
Other
-
No environment ("none" in pmbootstrap) -
GNOME -
KDE Plasma -
Kodi -
MATE -
Shelli -
Sway -
Weston -
Xfce4 -
LXQt -
fbkeyboard -
i3wm -
Sxmo (Xorg/Dwm) -
console UI -
framebufferphone
How did you get postmarketOS image?
-
from https://images.postmarketos.org -
I built it using pmbootstrap -
It was preinstalled on my device
What's the build date of the image? (in yyyy-mm-dd format)
20220812
Additional information
waydroid log
(002205) [21:30:32] Failed to load Ashmem driver
(002205) [21:30:32] % chmod 666 -R /dev/binder
(002205) [21:30:32] % chmod 666 -R /dev/vndbinder
(002205) [21:30:33] % chmod 666 -R /dev/hwbinder
(002205) [21:30:33] Container manager is waiting for session to load
(002740) [21:30:41] Save session config: /var/lib/waydroid/session.cfg
(002740) [21:30:41] UserMonitor service is not even started
(002740) [21:30:41] Clipboard service is not even started
(002205) [21:30:42] % /usr/lib/waydroid/data/scripts/waydroid-net.sh start
(002205) [21:30:42] % mount /usr/share/waydroid-extra/images/system.img /var/lib/waydroid/rootfs
(002205) [21:30:42] % mount -o remount,ro /usr/share/waydroid-extra/images/system.img /var/lib/waydroid/rootfs
(002205) [21:30:42] % mount /usr/share/waydroid-extra/images/vendor.img /var/lib/waydroid/rootfs/vendor
(002205) [21:30:42] % mount -o remount,ro /usr/share/waydroid-extra/images/vendor.img /var/lib/waydroid/rootfs/vendor
(002205) [21:30:42] % mount -o bind /var/lib/waydroid/waydroid.prop /var/lib/waydroid/rootfs/vendor/waydroid.prop
(002205) [21:30:42] % mount -o bind /home/device/.local/share/waydroid/data /var/lib/waydroid/data
(002205) [21:30:42] % umount -l /sys/fs/cgroup/schedtune
umount: /sys/fs/cgroup/schedtune: no mount point specified.
(002205) [21:30:42] % chmod 777 -R /dev/dri
(002205) [21:30:42] % chmod 777 -R /dev/fb0
(002205) [21:30:42] % chmod 777 -R /dev/video1
(002205) [21:30:42] % chmod 777 -R /dev/video0
(002205) [21:30:42] % lxc-start -P /var/lib/waydroid/lxc -F -n waydroid -- /init
(002205) [21:30:42] New background process: pid=2993, output=background
lxc-start: waydroid: utils.c: safe_mount: 1218 No such file or directory - Failed to mount "/dev/ashmem" onto "/usr/lib/lxc/rootfs/dev/ashmem"
(002205) [21:30:42] Save session config: /var/lib/waydroid/session.cfg
(004689) [21:31:36] Failed to get service waydroidplatform, trying again...
(004689) [21:31:37] Failed to get service waydroidplatform, trying again...
(004689) [21:31:38] Failed to get service waydroidplatform, trying again...
(004689) [21:31:39] Failed to get service waydroidplatform, trying again...
(004689) [21:31:40] Failed to get service waydroidplatform, trying again...
(004689) [21:31:41] Failed to get service waydroidplatform, trying again...
(004689) [21:31:42] Failed to get service waydroidplatform, trying again...
(004689) [21:31:43] Failed to get service waydroidplatform, trying again...
(004689) [21:31:44] Failed to get service waydroidplatform, trying again...
(004689) [21:31:45] Failed to get service waydroidplatform, trying again...
(004689) [21:31:46] Failed to get service waydroidplatform, trying again...
(005294) [21:31:59] Failed to get service waydroidplatform, trying again...
(005294) [21:32:00] Failed to get service waydroidplatform, trying again...
(005294) [21:32:01] Failed to get service waydroidplatform, trying again...
(013410) [21:37:01] Save session config: /var/lib/waydroid/session.cfg
(002205) [21:37:37] session manager stopped, stopping container and waiting...
(002205) [21:37:37] % lxc-stop -P /var/lib/waydroid/lxc -n waydroid -k
lxc-start: waydroid: conf.c: run_buffer: 321 Script exited with status 126
lxc-start: waydroid: start.c: lxc_end: 988 Failed to run lxc.hook.post-stop for container "waydroid"
(002205) [21:37:38] % /usr/lib/waydroid/data/scripts/waydroid-net.sh stop
(002205) [21:37:38] % umount /var/lib/waydroid/rootfs/vendor/waydroid.prop
(002205) [21:37:38] % umount /var/lib/waydroid/rootfs/vendor
(002205) [21:37:38] % umount /var/lib/waydroid/rootfs
(002205) [21:37:38] % umount /var/lib/waydroid/data
(002205) [21:37:38] % modprobe ashmem_linux
modprobe: module ashmem_linux not found in modules.dep
(002205) [21:37:38] Failed to load ashmem driver
(002205) [21:37:38] modprobe: module ashmem_linux not found in modules.dep
(002205) [21:37:38] Failed to load Ashmem driver
(002205) [21:37:38] % chmod 666 -R /dev/binder
(002205) [21:37:38] % chmod 666 -R /dev/vndbinder
(002205) [21:37:38] % chmod 666 -R /dev/hwbinder
(002205) [21:37:38] Container manager is waiting for session to load
(014649) [21:40:18] % tail -n 60 -F /var/lib/waydroid/waydroid.log