TL;DR Its not working yet, here's what I tried...
- I am using ubuntu 17.4
- I started from here :
- Using e.g. synaptics installed snapd, anbox
- Tried anbox:
Version was:
$anbox version
anbox 0.0~git20190124-1-Ubuntu
Anbox did not run, there was a module missing:
$ anbox session-manager [ 2020-01-21 18:25:14]
[session_manager.cpp:130@operator()] Failed to start as either binder or ashmem kernel drivers are not loaded
Ok, checking if the kernel drivers are there...
$ ls -1 /dev/{ashmem,binder}
ls: cannot access '/dev/binder': No such file or directory
/dev/ashmem
Module binder is not there...
$ sudo modprobe ashmem_linux
$ sudo modprobe binder_linux
$ ls -1 /dev/{ashmem,binder}
ls: cannot access '/dev/binder': No such file or directory
/dev/ashmem
modprobe did not solve my problem...
- Going for manual install of anbox from github.
The instructions there give a ppa for the modules, but at present ubuntu does not accept using it because it says it is unsecured. From the comments, the modules are maintained here
sudo apt install dkms
...
dkms is already the newest version (2.7.1-4ubuntu2.1).
dkms set to manually installed.
$ sudo apt-get install linux-headers-generic
...
linux-headers-generic is already the newest version (5.3.0.26.30).
ok, now get source code...
$ cd /tmp
/tmp$ git clone https://github.com/anbox/anbox-modules.git
/tmp$ cd anbox-modules/
Modprobe works, lsmod shows the modules loaded, but /dev/binder is still not there... :S