how do I install ashmem or binder?

Solution 1:

Maybe try building and installing the kernel modules yourself.

  1. Download anbox from github [1] so that you have the ashmem and binder directories.
  2. Extract ashmem and biinder into /usr/
  3. Rename the folders to anbox-ashmem-1 and anbox-binder-1 (the 1 is the version number in dkms.conf)
install dkms if not already installed(sudo aptitude install dkms)
sudo dkms add -m anbox-binder -v 1
sudo dkms build -m anbox-binder -v 1
sudo dkms install -m anbox-binder -v 1
sudo modprobe ashmem-linux binder-linux

[1] https://github.com/anbox/anbox/archive/master.zip