Waydroid crashes my phone
-
I run UT on a OnePlus 3 (stable channel). I have installed waydoird using:
$ sudo ubports-qa install xenial_-_android9_-_wayland $ wget -O - https://github.com/Anbox-halium/anbox-halium/raw/lineage-17.1/scripts/install.sh | bash
Afterwards, I tried to run it using:
$ sudo /home/anbox/run-container.sh
This fails after:
modprobe: ERROR: ../libkmod/libkmod.c:586 kmod_search_moddep() could not open moddep file '/lib/modules/3.18.31-halium-gac6f57d5/modules.dep.bin' modprobe: FATAL: Module binder_linux not found in directory /lib/modules/3.18.31-halium-gac6f57d5 modprobe: ERROR: ../libkmod/libkmod.c:586 kmod_search_moddep() could not open moddep file '/lib/modules/3.18.31-halium-gac6f57d5/modules.dep.bin' modprobe: FATAL: Module ashmem_linux not found in directory /lib/modules/3.18.31-halium-gac6f57d5 mount: unknown filesystem type 'binder' ERROR: Binder and ashmem nodes not found!
After this nothing happens for a second or two, then the screen goes black and the phone becomes unresponsive except for the power button, which allows me to reboot the phone.
Since apt doesn't work on UT, how do I install the required modules?
-
@rapidrotator because of Halium 7.1 you are bound to Anbox.
Maybe there will be a Halium 9 port some day.
Look here for example: https://forums.ubports.com/topic/4481/halium9-gsi-oneplus-3-t .
But that is outdated, since the GSI meanwhile is old and not maintained anymore.But in theory someone could do a proper H9 port with generic Halium 9 system.image...
-
@rapidrotator
Try switching to the Development channel and trying again. -
@rapidrotator Waydroid is still in development so maybe here is a good place to seek advice https://t.me/anbox_halium too.
-
@arubislander Same result.
-
@rapidrotator that looks like the kernel is not patched right to run waydroid.
Also, the Oneplus3 Port is based on Halium 7.1, which is not capable of running the new waydroid way. -
@luksus Interesting. Is there a way to get the right kernel or should I run anbox?
-
@rapidrotator because of Halium 7.1 you are bound to Anbox.
Maybe there will be a Halium 9 port some day.
Look here for example: https://forums.ubports.com/topic/4481/halium9-gsi-oneplus-3-t .
But that is outdated, since the GSI meanwhile is old and not maintained anymore.But in theory someone could do a proper H9 port with generic Halium 9 system.image...
-
@luksus I actually bought a Pinephone, but the OnePlus 3 is so much faster and also has more memory. The only thing the pinephone has over it is the hardware kill switches.
I will try and install anbox and see if if performs. Thanks!