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?