adding ashmem and binder to the kernel by default?? obviusly bc of anbox.


Recommended Posts

Hi Folks! I think this would be great for testing Anbox easily on armbian. We are linux users (and we hate android), but in order to get ARM Linux attractive as desktop we may have to offer anbox.

the kernel modules have problems on latest kernels so would be great to have them included already. maybe that makes the kernel "too big" and isn't acceptable, but that's up to you to consider it or not.

best regards, Salvador.

Link to post
Share on other sites
Donate and support the project!

well, ubuntu kernels seems to have them by default nowdays.

 

the problem with the modules is that sometimes they install.. and sometimes doesn't.  I tried to install this kernel modules several times on armbian 5.8+ and it have many problems lately (not only on ARM obviusly). they don't care that much bc ubuntu already have those by default. adding them by default it's just... enabling them on the script... 

 

I don't know how much impact could have enabling them for people that would not use them.

 

I am thinking on the long run on reliability as desktop.. and having anbox could make a difference..some people tested anbox on ARM devices lately with decent results so maybe would be a good idea. any reliable successor of anbox for arm linux devices will use those modules anyway. emulating would be stupid being able to not do it.

 

 

Link to post
Share on other sites

So ashmem and binder are part of mainline and just need to be activated. Just took a quick look and it seems actual for 5.10 they are no longer tristate but boolean.

Not sure when and why that changed because in Ubuntu 5.8 HWE kernel they are still modules....

 

cat config-5.8.0-33-generic |grep 'ASHMEM\|BINDER'
CONFIG_ASHMEM=m
CONFIG_ANDROID_BINDER_IPC=m
CONFIG_ANDROID_BINDERFS=m
CONFIG_ANDROID_BINDER_DEVICES=""
# CONFIG_ANDROID_BINDER_IPC_SELFTEST is not set

 

Anyway. I suggest to provide a PR with the changes.

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...