When I run sudo python3 waydroid_extras.py -n, it shows
==> Stopping waydroid and unmounting already mounted images...
==> Found system image: /var/lib/waydroid/images/system.img
==> Resizing system image....
==> Unmounting ..
==> Warning: umount failed.. umount: /tmp/waydroidimage: not mounted.
==> Failed to mount system image... ! mount: /tmp/waydroidimage: /dev/loop18 already mounted or mount point busy.
system: ubuntu focal
When I run `sudo python3 waydroid_extras.py -n`, it shows
```
==> Stopping waydroid and unmounting already mounted images...
==> Found system image: /var/lib/waydroid/images/system.img
==> Resizing system image....
==> Unmounting ..
==> Warning: umount failed.. umount: /tmp/waydroidimage: not mounted.
==> Failed to mount system image... ! mount: /tmp/waydroidimage: /dev/loop18 already mounted or mount point busy.
```
system: ubuntu focal
Have you stopped waydroid properly ? This typically happens when waydroid is still running or exited without clearing its mounts !
you can run sudo umount /dev/loop18 and try running the script again ! ( Replace /dev/loop18 with whatever it says is already mounted )
Have you stopped waydroid properly ? This typically happens when waydroid is still running or exited without clearing its mounts !
you can run ```sudo umount /dev/loop18``` and try running the script again ! ( Replace /dev/loop18 with whatever it says is already mounted )
Have you stopped waydroid properly ? This typically happens when waydroid is still running or exited without clearing its mounts !
you can run sudo umount /dev/loop18 and try running the script again ! ( Replace /dev/loop18 with whatever it says is already mounted )
Thank you. I have fixed it. Maybe the way to stop waydroid properly should be added to the README.
> Have you stopped waydroid properly ? This typically happens when waydroid is still running or exited without clearing its mounts !
>
> you can run `sudo umount /dev/loop18` and try running the script again ! ( Replace /dev/loop18 with whatever it says is already mounted )
Thank you. I have fixed it. Maybe the way to stop waydroid properly should be added to the README.
hi,
when I run the "sudo python3 waydroid_extras.py -n" I pressed "y" to the conformation of the failed mount system img thinking it will mount the img later but i can't seem to open the waydroid again.
when i run the "waydroid show-full-ui" after "sudo systemctl start waydroid-container.service", it gives this output and i am not able to open waydroid: -
[18:53:47] Starting waydroid session
[18:53:50] Failed to add service waydroidusermonitor: -1
[18:53:50] Failed to add service waydroidclipboard: -1
ss of libndk translation installed
ss of sudo systemctl start waydroid-container.servic
waydroid log
`muneesh@fedora waydroid_script]$ waydroid log
(026199) [18:35:38] Failed to add service waydroidusermonitor: -1
(026199) [18:35:38] Failed to add service waydroidclipboard: -1
(020823) [18:37:41] session manager stopped, stopping container and waiting...
(020823) [18:37:41] % 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"
(020823) [18:37:41] % /usr/lib/waydroid/data/scripts/waydroid-net.sh stop
vnic is waydroid0
which: no iptables-legacy in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin)
which: no ip6tables-legacy in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin)
(020823) [18:37:41] % umount /var/lib/waydroid/rootfs/vendor/waydroid.prop
(020823) [18:37:41] % umount /var/lib/waydroid/rootfs/vendor
(020823) [18:37:41] % umount /var/lib/waydroid/rootfs
(020823) [18:37:41] % umount /var/lib/waydroid/data
(020823) [18:37:41] % modprobe ashmem_linux
modprobe: FATAL: Module ashmem_linux not found in directory /lib/modules/5.18.16-200.fc36.x86_64
(020823) [18:37:41] Failed to load ashmem driver
(020823) [18:37:41] modprobe: FATAL: Module ashmem_linux not found in directory /lib/modules/5.18.16-200.fc36.x86_64
(020823) [18:37:41] Failed to load Ashmem driver
(020823) [18:37:41] % chmod 666 -R /dev/binder
(020823) [18:37:41] % chmod 666 -R /dev/vndbinder
(020823) [18:37:41] % chmod 666 -R /dev/hwbinder
(020823) [18:37:41] Container manager is waiting for session to load
(028347) [18:53:47] Starting waydroid session
(028347) [18:53:47] Save session config: /var/lib/waydroid/session.cfg
(028347) [18:53:47] UserMonitor service is not even started
(028347) [18:53:47] Clipboard service is not even started
(020823) [18:53:47] % /usr/lib/waydroid/data/scripts/waydroid-net.sh start
vnic is waydroid0
which: no iptables-legacy in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin)
which: no ip6tables-legacy in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin)
Warning: ZONE_ALREADY_SET: 'waydroid0' already bound to 'trusted'
success
(020823) [18:53:48] % mount /var/lib/waydroid/images/system.img /var/lib/waydroid/rootfs
(020823) [18:53:48] % mount -o remount,ro /var/lib/waydroid/images/system.img /var/lib/waydroid/rootfs
(020823) [18:53:48] % mount /var/lib/waydroid/images/vendor.img /var/lib/waydroid/rootfs/vendor
(020823) [18:53:48] % mount -o remount,ro /var/lib/waydroid/images/vendor.img /var/lib/waydroid/rootfs/vendor
(020823) [18:53:48] % mount -o bind /var/lib/waydroid/waydroid.prop /var/lib/waydroid/rootfs/vendor/waydroid.prop
(020823) [18:53:48] Failed to parse android version from system.img
(020823) [18:53:48] Save config: /var/lib/waydroid/waydroid.cfg
(020823) [18:53:48] % mount -o bind /home/muneesh/.local/share/waydroid/data /var/lib/waydroid/data
(020823) [18:53:48] % chmod 777 -R /dev/dri
(020823) [18:53:48] % chmod 777 -R /dev/fb0
(020823) [18:53:48] % lxc-start -P /var/lib/waydroid/lxc -F -n waydroid -- /init
(020823) [18:53:48] New background process: pid=28408, output=background
lxc-start: waydroid: utils.c: safe_mount: 1218 No such file or directory - Failed to mount "/dev/ashmem" onto "/usr/lib64/lxc/rootfs/dev/ashmem"
(020823) [18:53:48] waiting 10 seconds for container to start...
(020823) [18:53:49] Save session config: /var/lib/waydroid/session.cfg
(020823) [18:53:49] Failed to add service waydroidhardware: -1
(028347) [18:53:50] Failed to add service waydroidusermonitor: -1
(028347) [18:53:50] Failed to add service waydroidclipboard: -1
(030793) [18:57:37] % tail -n 60 -F /var/lib/waydroid/waydroid.log
(030793) [18:57:37] *** output passed to waydroid stdout, not to this log ***
(030824) [18:58:23] Run waydroid -h for usage information.
(031153) [19:01:01] Run waydroid -h for usage information.
(031159) [19:01:05] Run waydroid -h for usage information.
(031173) [19:01:12] % tail -n 60 -F /var/lib/waydroid/waydroid.log
(031173) [19:01:12] *** output passed to waydroid stdout, not to this log ***
(031196) [19:01:37] % tail -n 60 -F /var/lib/waydroid/waydroid.log
(031196) [19:01:37] *** output passed to waydroid stdout, not to this log ***
`
any idea how to fix this?
hi,
when I run the "sudo python3 waydroid_extras.py -n" I pressed "y" to the conformation of the failed mount system img thinking it will mount the img later but i can't seem to open the waydroid again.
when i run the "waydroid show-full-ui" after "sudo systemctl start waydroid-container.service", it gives this output and i am not able to open waydroid: -
[18:53:47] Starting waydroid session
[18:53:50] Failed to add service waydroidusermonitor: -1
[18:53:50] Failed to add service waydroidclipboard: -1
ss of libndk translation installed

ss of sudo systemctl start waydroid-container.servic

waydroid log
`muneesh@fedora waydroid_script]$ waydroid log
(026199) [18:35:38] Failed to add service waydroidusermonitor: -1
(026199) [18:35:38] Failed to add service waydroidclipboard: -1
(020823) [18:37:41] session manager stopped, stopping container and waiting...
(020823) [18:37:41] % 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"
(020823) [18:37:41] % /usr/lib/waydroid/data/scripts/waydroid-net.sh stop
vnic is waydroid0
which: no iptables-legacy in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin)
which: no ip6tables-legacy in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin)
(020823) [18:37:41] % umount /var/lib/waydroid/rootfs/vendor/waydroid.prop
(020823) [18:37:41] % umount /var/lib/waydroid/rootfs/vendor
(020823) [18:37:41] % umount /var/lib/waydroid/rootfs
(020823) [18:37:41] % umount /var/lib/waydroid/data
(020823) [18:37:41] % modprobe ashmem_linux
modprobe: FATAL: Module ashmem_linux not found in directory /lib/modules/5.18.16-200.fc36.x86_64
(020823) [18:37:41] Failed to load ashmem driver
(020823) [18:37:41] modprobe: FATAL: Module ashmem_linux not found in directory /lib/modules/5.18.16-200.fc36.x86_64
(020823) [18:37:41] Failed to load Ashmem driver
(020823) [18:37:41] % chmod 666 -R /dev/binder
(020823) [18:37:41] % chmod 666 -R /dev/vndbinder
(020823) [18:37:41] % chmod 666 -R /dev/hwbinder
(020823) [18:37:41] Container manager is waiting for session to load
(028347) [18:53:47] Starting waydroid session
(028347) [18:53:47] Save session config: /var/lib/waydroid/session.cfg
(028347) [18:53:47] UserMonitor service is not even started
(028347) [18:53:47] Clipboard service is not even started
(020823) [18:53:47] % /usr/lib/waydroid/data/scripts/waydroid-net.sh start
vnic is waydroid0
which: no iptables-legacy in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin)
which: no ip6tables-legacy in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin)
Warning: ZONE_ALREADY_SET: 'waydroid0' already bound to 'trusted'
success
(020823) [18:53:48] % mount /var/lib/waydroid/images/system.img /var/lib/waydroid/rootfs
(020823) [18:53:48] % mount -o remount,ro /var/lib/waydroid/images/system.img /var/lib/waydroid/rootfs
(020823) [18:53:48] % mount /var/lib/waydroid/images/vendor.img /var/lib/waydroid/rootfs/vendor
(020823) [18:53:48] % mount -o remount,ro /var/lib/waydroid/images/vendor.img /var/lib/waydroid/rootfs/vendor
(020823) [18:53:48] % mount -o bind /var/lib/waydroid/waydroid.prop /var/lib/waydroid/rootfs/vendor/waydroid.prop
(020823) [18:53:48] Failed to parse android version from system.img
(020823) [18:53:48] Save config: /var/lib/waydroid/waydroid.cfg
(020823) [18:53:48] % mount -o bind /home/muneesh/.local/share/waydroid/data /var/lib/waydroid/data
(020823) [18:53:48] % chmod 777 -R /dev/dri
(020823) [18:53:48] % chmod 777 -R /dev/fb0
(020823) [18:53:48] % lxc-start -P /var/lib/waydroid/lxc -F -n waydroid -- /init
(020823) [18:53:48] New background process: pid=28408, output=background
lxc-start: waydroid: utils.c: safe_mount: 1218 No such file or directory - Failed to mount "/dev/ashmem" onto "/usr/lib64/lxc/rootfs/dev/ashmem"
(020823) [18:53:48] waiting 10 seconds for container to start...
(020823) [18:53:49] Save session config: /var/lib/waydroid/session.cfg
(020823) [18:53:49] Failed to add service waydroidhardware: -1
(028347) [18:53:50] Failed to add service waydroidusermonitor: -1
(028347) [18:53:50] Failed to add service waydroidclipboard: -1
(030793) [18:57:37] % tail -n 60 -F /var/lib/waydroid/waydroid.log
(030793) [18:57:37] *** output passed to waydroid stdout, not to this log ***
(030824) [18:58:23] Run waydroid -h for usage information.
(031153) [19:01:01] Run waydroid -h for usage information.
(031159) [19:01:05] Run waydroid -h for usage information.
(031173) [19:01:12] % tail -n 60 -F /var/lib/waydroid/waydroid.log
(031173) [19:01:12] *** output passed to waydroid stdout, not to this log ***
(031196) [19:01:37] % tail -n 60 -F /var/lib/waydroid/waydroid.log
(031196) [19:01:37] *** output passed to waydroid stdout, not to this log ***
`
any idea how to fix this?
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
When I run
sudo python3 waydroid_extras.py -n, it showssystem: ubuntu focal
Have you stopped waydroid properly ? This typically happens when waydroid is still running or exited without clearing its mounts !
you can run
sudo umount /dev/loop18and try running the script again ! ( Replace /dev/loop18 with whatever it says is already mounted )Thank you. I have fixed it. Maybe the way to stop waydroid properly should be added to the README.
hi,
when I run the "sudo python3 waydroid_extras.py -n" I pressed "y" to the conformation of the failed mount system img thinking it will mount the img later but i can't seem to open the waydroid again.
when i run the "waydroid show-full-ui" after "sudo systemctl start waydroid-container.service", it gives this output and i am not able to open waydroid: -
[18:53:47] Starting waydroid session
[18:53:50] Failed to add service waydroidusermonitor: -1
[18:53:50] Failed to add service waydroidclipboard: -1
ss of libndk translation installed

ss of sudo systemctl start waydroid-container.servic

waydroid log
`muneesh@fedora waydroid_script]$ waydroid log
(026199) [18:35:38] Failed to add service waydroidusermonitor: -1
(026199) [18:35:38] Failed to add service waydroidclipboard: -1
(020823) [18:37:41] session manager stopped, stopping container and waiting...
(020823) [18:37:41] % 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"
(020823) [18:37:41] % /usr/lib/waydroid/data/scripts/waydroid-net.sh stop
vnic is waydroid0
which: no iptables-legacy in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin)
which: no ip6tables-legacy in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin)
(020823) [18:37:41] % umount /var/lib/waydroid/rootfs/vendor/waydroid.prop
(020823) [18:37:41] % umount /var/lib/waydroid/rootfs/vendor
(020823) [18:37:41] % umount /var/lib/waydroid/rootfs
(020823) [18:37:41] % umount /var/lib/waydroid/data
(020823) [18:37:41] % modprobe ashmem_linux
modprobe: FATAL: Module ashmem_linux not found in directory /lib/modules/5.18.16-200.fc36.x86_64
(020823) [18:37:41] Failed to load ashmem driver
(020823) [18:37:41] modprobe: FATAL: Module ashmem_linux not found in directory /lib/modules/5.18.16-200.fc36.x86_64
(020823) [18:37:41] Failed to load Ashmem driver
(020823) [18:37:41] % chmod 666 -R /dev/binder
(020823) [18:37:41] % chmod 666 -R /dev/vndbinder
(020823) [18:37:41] % chmod 666 -R /dev/hwbinder
(020823) [18:37:41] Container manager is waiting for session to load
(028347) [18:53:47] Starting waydroid session
(028347) [18:53:47] Save session config: /var/lib/waydroid/session.cfg
(028347) [18:53:47] UserMonitor service is not even started
(028347) [18:53:47] Clipboard service is not even started
(020823) [18:53:47] % /usr/lib/waydroid/data/scripts/waydroid-net.sh start
vnic is waydroid0
which: no iptables-legacy in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin)
which: no ip6tables-legacy in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin)
Warning: ZONE_ALREADY_SET: 'waydroid0' already bound to 'trusted'
success
(020823) [18:53:48] % mount /var/lib/waydroid/images/system.img /var/lib/waydroid/rootfs
(020823) [18:53:48] % mount -o remount,ro /var/lib/waydroid/images/system.img /var/lib/waydroid/rootfs
(020823) [18:53:48] % mount /var/lib/waydroid/images/vendor.img /var/lib/waydroid/rootfs/vendor
(020823) [18:53:48] % mount -o remount,ro /var/lib/waydroid/images/vendor.img /var/lib/waydroid/rootfs/vendor
(020823) [18:53:48] % mount -o bind /var/lib/waydroid/waydroid.prop /var/lib/waydroid/rootfs/vendor/waydroid.prop
(020823) [18:53:48] Failed to parse android version from system.img
(020823) [18:53:48] Save config: /var/lib/waydroid/waydroid.cfg
(020823) [18:53:48] % mount -o bind /home/muneesh/.local/share/waydroid/data /var/lib/waydroid/data
(020823) [18:53:48] % chmod 777 -R /dev/dri
(020823) [18:53:48] % chmod 777 -R /dev/fb0
(020823) [18:53:48] % lxc-start -P /var/lib/waydroid/lxc -F -n waydroid -- /init
(020823) [18:53:48] New background process: pid=28408, output=background
lxc-start: waydroid: utils.c: safe_mount: 1218 No such file or directory - Failed to mount "/dev/ashmem" onto "/usr/lib64/lxc/rootfs/dev/ashmem"
(020823) [18:53:48] waiting 10 seconds for container to start...
(020823) [18:53:49] Save session config: /var/lib/waydroid/session.cfg
(020823) [18:53:49] Failed to add service waydroidhardware: -1
(028347) [18:53:50] Failed to add service waydroidusermonitor: -1
(028347) [18:53:50] Failed to add service waydroidclipboard: -1
(030793) [18:57:37] % tail -n 60 -F /var/lib/waydroid/waydroid.log
(030793) [18:57:37] *** output passed to waydroid stdout, not to this log ***
(030824) [18:58:23] Run waydroid -h for usage information.
(031153) [19:01:01] Run waydroid -h for usage information.
(031159) [19:01:05] Run waydroid -h for usage information.
(031173) [19:01:12] % tail -n 60 -F /var/lib/waydroid/waydroid.log
(031173) [19:01:12] *** output passed to waydroid stdout, not to this log ***
(031196) [19:01:37] % tail -n 60 -F /var/lib/waydroid/waydroid.log
(031196) [19:01:37] *** output passed to waydroid stdout, not to this log ***
`
any idea how to fix this?