As I see that Anbox should work in X is there any instructions how to install it? It's not on "supported devices" list yet.
Just follow http://docs.ubports.com/en/latest/userguide/dailyuse/anbox.html and skip "flash a specific boot image" step.
In my case (F5122) it works. I used UT Terminal app:
sudo mount -o rw,remount / sudo apt update sudo apt install anbox-ubuntu-touch anbox-tool install sudo apt install android-tools-adb sudo mount -o ro,remount / cd /home/phablet/Downloads wget https://f-droid.org/FDroid.apk adb install FDroid.apk
and reboot... (not sure if it's needed)
There is no sound by default, see https://github.com/anbox/anbox/issues/904. You need to override system/etc/media_codecs.xml file. I was trying to figure it out via rootfs-overlay (https://docs.anbox.io/userguide/advanced/rootfs_overlay.html) with no luck. I repacked android.img with fixed media_codecs.xml file and now there is a sound and even choppy video via NewPipe app. I used this fixed media_codecs.xml file: http://dpaste.com/2H2CP58, it's all in one from these files: https://github.com/anbox/anbox/tree/master/android/media because "Include" and "Included" tags don't work yet.
Is there a way to apply anbox rootfs-overlay?