Hacker News new | ask | show | jobs
by puppet-master 1728 days ago
Followed instructions for 21.04 (distro = "hirsute"), greeted with complaint about binder missing. Found some bug report on the web suggesting I must rebuild my kernel to enable binder. Noped out of there.

Looks like a nice effort though. Is this some problem specific to 21.04 kernel config?

2 comments

I have seen an error like that with anbox before, but it was not on Ubuntu. I just had to mount the binderfs and it stopped complaining. Might be worth a try:

    mount -t binder binder /dev/binderfs
https://brauner.github.io/2019/01/09/android-binderfs.html
In Ubuntu kernels the Android modules are named "binder_linux" and "ashmem_linux" so:

  sudo modprobe binder_linux
  sudo modprobe ashmem_linux
Where $version is the kernel version, for -generic kernels they are in the package "linux-modules-extra-${version}-generic" and for -lowlatency "linux-modules-${version}-lowlatency". On -generic the modules-extra may sometimes not be installed by default.
Also if you have secureboot on,you won't be able to load ashmem because it's not signed by default by ubuntu. That is without signing the module yourself. I have waydroid running in 21.04 without any issues.