Hello there! I have in mind to try anbox, an android compatibility layer for Linux. It requires two kernel modules to be installed: ashmem and binder. As far as I can tell, ashmem is supported by the manjaro kernel but binder is not:
$ ls -1 /dev/{ashmem,binder}
ls: cannot access '/dev/binder': No such file or directory
/dev/ashmem
$ uname -a
Linux zzzzzz 5.14.10-1-MANJARO #1 SMP PREEMPT Thu Oct 7 06:43:34 UTC 2021 x86_64 GNU/Linux
Is there a specific reason why binder is not supported? (for example, it’s a security no-go maybe?) I’ve seen workarounds where people install custome kernels from AUR, but I’m not too enthusiastic about diverging from the official manjaro kernels.
i also had same problem i solved it i will advise to keep in mind that these modules dont work with all kernel from my point of view i will only say to use these with only and only kernel 4.19 or 5.10 otherwise your kernel might crash on boot
Is anyone here using an android emulator? I was using the one that comes with the Android Studio, but it’s not really for daily usage outside of app development. Someone recommended Anbox, but it really doesn’t work with the default manjaro kernels. Any other options you found to be useful?
Is anyone here using an android emulator? I was using the one that comes with the Android Studio, but it’s not really for daily usage outside of app development. Someone recommended Anbox, but it really doesn’t work with the default manjaro kernels. Any other options you found to be useful?
Anbox looks like exactly what I’m looking for, but it’s not working with Manjaro kernels. I’m wondering if people have experience with similar tools. I found waydroid, but it also doesn’t work with manjaro because of the same kernel issues.
Nevermind, binder is in Manjaro kernel and Anbox works with Manjaro. But it does not work out of the box, and some fine tuning is required. Furthermore, if you follow the instructions in the Arch wiki, you can mess things up if you’re not careful (for example installing anbox-modules-dkms leads to things breaking).
I’ve seen lots of anbox-related questions in the forum. @philm & @linux-aarhus: How can I best record this knowledge so others do not have to spend as much time on this as I have?