Package Details: anbox-modules-dkms 5.19-1

Git Clone URL: https://aur.archlinux.org/anbox-modules-dkms.git (read-only, click to copy)
Package Base: anbox-modules-dkms
Description: Android kernel driver fork by @choff (binder/binderfs & ashmem) in DKMS format
Upstream URL: https://github.com/choff/anbox-modules
Keywords: anbox ashmem binder binderfs waydroid
Licenses: GPL3
Conflicts: anbox-modules-dkms-git
Provides: anbox-modules-dkms
Submitter: sickcodes
Maintainer: None
Last Packager: sickcodes
Votes: 9
Popularity: 0.69
First Submitted: 2021-12-17 05:28 (UTC)
Last Updated: 2022-12-09 07:16 (UTC)

Pinned Comments

sickcodes commented on 2022-01-15 11:43 (UTC)

This has been adjusted to build on 5.10-5.15 thank you to legend Christian Hoff!

Working DKMS fork by Christian Hoff: https://github.com/choff/anbox-modules

DKMS add modules, without reboot:

sudo modprobe binder_linux devices=binder,hwbinder,vndbinder,anbox-binder,anbox-hwbinder,anbox-vndbinder

sudo modprobe ashmem_linux

Pull Requests: https://github.com/sickcodes/aur

Contact (Discord/Telegram/Git/Element): https://sick.codes

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

jfcandidofilho commented on 2022-06-25 20:14 (UTC)

I'm having the same problem as @UndiedGamer

UndiedGamer commented on 2022-06-09 07:02 (UTC)

the build fails on 5.18.2 :/ /home/undiedgamer/.cache/yay/anbox-modules-dkms/src/anbox-modules/binder/deps.c:144:24: warning: ‘enum task_work_notify_mode’ declared inside parameter list will not be visible outside of this definition or declaration 144 | enum task_work_notify_mode notify) = NULL; | ^~~~~~~~~~~~~~~~~~~~~ /home/undiedgamer/.cache/yay/anbox-modules-dkms/src/anbox-modules/binder/deps.c:147:24: warning: ‘enum task_work_notify_mode’ declared inside parameter list will not be visible outside of this definition or declaration 147 | enum task_work_notify_mode notify) | ^~~~~~~~~~~~~~~~~~~~~ /home/undiedgamer/.cache/yay/anbox-modules-dkms/src/anbox-modules/binder/deps.c:147:46: error: parameter 3 (‘notify’) has incomplete type 147 | enum task_work_notify_mode notify) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /home/undiedgamer/.cache/yay/anbox-modules-dkms/src/anbox-modules/binder/deps.c:146:5: error: function declaration isn’t a prototype [-Werror=strict-prototypes] 146 | int task_work_add(struct task_struct task, struct callback_head work, | ^~~~~~~~~~~~~ /home/undiedgamer/.cache/yay/anbox-modules-dkms/src/anbox-modules/binder/deps.c: In function ‘task_work_add’: /home/undiedgamer/.cache/yay/anbox-modules-dkms/src/anbox-modules/binder/deps.c:151:46: error: type of formal parameter 3 is incomplete 151 | return task_work_add_ptr(task, work, notify); | ^~~~~~ /home/undiedgamer/.cache/yay/anbox-modules-dkms/src/anbox-modules/binder/deps.c:152:1: error: control reaches end of non-void function [-Werror=return-type] 152 | } | ^ cc1: some warnings being treated as errors

evdinowork commented on 2022-06-01 10:41 (UTC)

oh lmao I kept my pr on choff's github rather than @sickcodes, my bad ig

sickcodes commented on 2022-05-30 02:20 (UTC)

Thanks @cracychaos I’ll update shortly

cracychaos commented on 2022-05-29 12:20 (UTC) (edited on 2022-05-29 12:20 (UTC) by cracychaos)

It builds and looks working(with 5.18.0-arch1-1) with this change:

diff --git a/binder/deps.c b/binder/deps.c
index a97d546..fcde9df 100644
--- a/binder/deps.c
+++ b/binder/deps.c
@@ -8,6 +8,7 @@
 #include <linux/spinlock.h>
 #include <linux/kallsyms.h>
 #include <linux/kprobes.h>
+#include <linux/task_work.h>
 #include <linux/version.h>

 #include "deps.h"

evdinowork commented on 2022-05-25 01:39 (UTC) (edited on 2022-05-25 02:31 (UTC) by evdinowork)

broken on 5.18 :/ I have fixed it numerous times before you guys had it patched so lemme see what happened this time
edit: it was a one line patch and is now on the github as a pr :D

crodjer commented on 2022-05-23 12:51 (UTC) (edited on 2022-05-24 11:10 (UTC) by crodjer)

Edit: Was able to figure this out.One needs kernel headers as well. This worked: paru -S linux517-headers


Does this work on Manjaro? I am seeing an error with both 5.17 and 5.15 kernels:

==> Starting prepare()...
patching file binder/binder.c
==> Sources are ready.
anbox-modules-dkms-5.15-1: parsing pkg list...
==> Making package: anbox-modules-dkms 5.15-1 (Monday 23 May 2022 06:20:34 PM)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> WARNING: Using existing $srcdir/ tree
==> Removing existing $pkgdir/ directory...
==> Entering fakeroot environment...
==> Starting package()...
make -C /lib/modules/5.15.38-1-MANJARO/build V=0 M=$PWD
make[1]: *** /lib/modules/5.15.38-1-MANJARO/build: No such file or directory.  Stop.
make: *** [Makefile:8: all] Error 2
==> ERROR: A failure occurred in package().
    Aborting...

sickcodes commented on 2022-05-14 12:42 (UTC)

Only works up to 5.15 currently @Zepman

https://github.com/choff/anbox-modules/commits/master

sickcodes commented on 2022-05-14 12:41 (UTC)

Done, arpanetus thanks