ls: cannot access '/dev/binder': No such file or directory in Anbox

13,905

I was able to overcome this by doing the fallowing clone the repo of the anbox modules

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

cd

cd anbox-modules

execute

./INSTALL.sh

set up

 sudo modprobe ashmem_linux
 sudo modprobe binder_linux

and REBOOT

Share:
13,905

Related videos on Youtube

Yadu
Author by

Yadu

Perfection is the perfect enemy of perfectly adequate.

Updated on September 18, 2022

Comments

  • Yadu
    Yadu over 1 year

    I was able to install anbox in ubuntu (~18), successfully used it, but now I'm unable to do the same in latest Lubuntu (~20), what I am getting when i list the kernel modules using

    $ ls -1 /dev/{ashmem,binder}
    

    is

    ls: cannot access '/dev/binder': No such file or directory
    

    what am i missing?

  • Doug Maurer
    Doug Maurer over 3 years
    This by far the best info I've found regarding this topic. More importantly, Anbox now works! I wish I could upvote this 100 times.
  • Yadu
    Yadu over 3 years
    this happens in every flavour of ubuntu, i guess after the ubuntu ~18
  • Jaime
    Jaime over 3 years
    Before proceed with Yadu's answer be sure you have got installed dkms. If dkms not yet installed you should install it: apt install dkms I did it on recent installed Ubuntu 20.04 LTS and it works.
  • theo-brown
    theo-brown about 3 years
    This didn't fix it for me.
  • student
    student almost 3 years
    @avidreader610 Did you manage to install it in the meantime? For me it doesn't work too.
  • theo-brown
    theo-brown almost 3 years
    @student sadly not :((