Anbox on Jetson Xavier NX

I was trying to install anbox on my Jetson and after most of the steps went smoothly running

sudo modprobe ashmem_linux

gave me this error:

modprobe: FATAL: Module ashmem_linux not found in directory /lib/modules/4.9.201-tegra

Any one know how to get past this error? (same error applies to binder_linux

Have a try this link.

https://github.com/anbox/anbox-modules

EDIT:

So the info i provided was wrong. While its not possible to use dkms, we can still build the modules in-tree with a kernel build.

Just edit the file:
Linux_for_Tegra/source/public/kernel/kernel-4.9/arch/arm64/configs/tegra_defconfig file
and add these lines at the end

#Anbox Configuration
CONFIG_ANDROID=y
CONFIG_ANDROID_BINDER_IPC=y
CONFIG_ANDROID_BINDER_IPC_SELFTEST=y
CONFIG_ASHMEM=y

And do a kernel build with nvbuild.sh and install the modules and new kernel. And you now have the /dev/binder and /dev/ashmem!

Now I am built the anbox from sources following link here:
https://github.com/HarleyPato/anbox-arm64

But figuring out how to get an android roofs image and run it !
Sadly not much documentation for arm64!

It does not work unfortunately because the kernel in jetson devices is 4.9.140. It looks like minimum kernel version needed is 4.15.

Detailed instructions here: