Package Details: anbox-modules-dkms-git r38.8148a16-5

Git Clone URL: https://aur.archlinux.org/anbox-modules-dkms-git.git (read-only, click to copy)
Package Base: anbox-modules-dkms-git
Description: Kernel modules for Anbox or Waydroid (DKMS)
Upstream URL: https://github.com/choff/anbox-modules
Keywords: anbox ashmem binder binderfs waydroid
Licenses: GPL
Conflicts: anbox-modules-dkms
Provides: anbox-modules-dkms
Submitter: eNV25
Maintainer: eNV25 (sickcodes)
Last Packager: eNV25
Votes: 8
Popularity: 0.000404
First Submitted: 2021-12-11 12:21 (UTC)
Last Updated: 2022-06-20 18:20 (UTC)

Dependencies (2)

Required by (0)

Sources (1)

Pinned Comments

eNV25 commented on 2022-08-14 08:39 (UTC)

Avoid this package if you can, updates may fail to build in new kernel versions. Review the ArchWiki again to see if you really need this package.

If need this package, it should preferably be used with an Long-Term Support (LTS) kernel, like linux-lts. Newer Arch Linux kernel versions are more likely to not work, as the upstream maintainer does not use those.

For newer kernel that fail to build, there is often a PR that fixes the issue. For such cases, you could make local changes to the PKGBUILD to point to the PR. This is not friendly to AUR helpers, so it is simpler for most people to avoid this package as I explained above.

sickcodes commented on 2021-09-27 20:52 (UTC) (edited on 2021-12-13 03:10 (UTC) by sickcodes)

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

The simplest way is to boot into https://archlinux.org/packages/core/x86_64/linux-lts/

Latest Comments

1 2 3 4 Next › Last »

sl1pkn07 commented on 2022-10-17 16:22 (UTC)

apply https://github.com/choff/anbox-modules/pull/5 fix the build with 6.x kernels

eNV25 commented on 2022-08-14 08:39 (UTC)

Avoid this package if you can, updates may fail to build in new kernel versions. Review the ArchWiki again to see if you really need this package.

If need this package, it should preferably be used with an Long-Term Support (LTS) kernel, like linux-lts. Newer Arch Linux kernel versions are more likely to not work, as the upstream maintainer does not use those.

For newer kernel that fail to build, there is often a PR that fixes the issue. For such cases, you could make local changes to the PKGBUILD to point to the PR. This is not friendly to AUR helpers, so it is simpler for most people to avoid this package as I explained above.

Omar007 commented on 2022-08-14 08:07 (UTC)

Requires https://github.com/choff/anbox-modules/pull/4 when you've updated and your kernel is now at 5.19

bobosito commented on 2022-08-07 10:25 (UTC)

Installing linux-headers removed the error messages.

eNV25 commented on 2022-08-07 06:26 (UTC)

bobosito, can't reproduce

bobosito commented on 2022-08-07 04:23 (UTC)

Hello, I can't install this package on my machine. Am wondering if others are having issues. Here's the output on my machine I found that looked worth mentioning. Let me know if you want additional information. Thanks.

Before hit y/n for install.

==> Leaving fakeroot environment.
==> Finished making: anbox-modules-dkms-git r39.2699623-1 (Sun Aug  7 00:17:16 2022)
==> Cleaning up...
 -> devel check for package failed: '/usr/bin/git ls-remote https://github.com/choff/anbox-modules master' encountered an error
[sudo] password for bobosito:

After y for install.

(1/3) Reloading device manager configuration...
(2/3) Arming ConditionNeedsUpdate...
(3/3) Install DKMS modules
==> ERROR: Missing etc kernel headers for module anbox-ashmem/r39.2699623.
==> ERROR: Missing boot kernel headers for module anbox-binder/r39.2699623.
==> ERROR: Missing srv kernel headers for module anbox-ashmem/r39.2699623.
==> ERROR: Missing lib kernel headers for module anbox-binder/r39.2699623.
==> ERROR: Missing sbin kernel headers for module anbox-ashmem/r39.2699623.
==> ERROR: Missing sys kernel headers for module anbox-binder/r39.2699623.
==> ERROR: Missing mnt kernel headers for module anbox-binder/r39.2699623.
==> ERROR: Missing dev kernel headers for module anbox-ashmem/r39.2699623.
==> ERROR: Missing proc kernel headers for module anbox-binder/r39.2699623.
==> ERROR: Missing lost+found kernel headers for module anbox-binder/r39.2699623.
==> ERROR: Missing var kernel headers for module anbox-ashmem/r39.2699623.
==> ERROR: Missing var kernel headers for module anbox-binder/r39.2699623.
==> ERROR: Missing home kernel headers for module anbox-binder/r39.2699623.
==> ERROR: Missing boot kernel headers for module anbox-ashmem/r39.2699623.
==> ERROR: Missing sys kernel headers for module anbox-ashmem/r39.2699623.
==> ERROR: Missing proc kernel headers for module anbox-ashmem/r39.2699623.
==> ERROR: Missing bin kernel headers for module anbox-binder/r39.2699623.
==> ERROR: Missing opt kernel headers for module anbox-binder/r39.2699623.
==> ERROR: Missing root kernel headers for module anbox-binder/r39.2699623.
==> ERROR: Missing opt kernel headers for module anbox-ashmem/r39.2699623.
==> ERROR: Missing root kernel headers for module anbox-ashmem/r39.2699623.
==> ERROR: Missing lost+found kernel headers for module anbox-ashmem/r39.2699623.
==> ERROR: Missing usr kernel headers for module anbox-ashmem/r39.2699623.
==> ERROR: Missing run kernel headers for module anbox-binder/r39.2699623.
==> ERROR: Missing bin kernel headers for module anbox-ashmem/r39.2699623.
==> ERROR: Missing sbin kernel headers for module anbox-binder/r39.2699623.
==> ERROR: Missing mnt kernel headers for module anbox-ashmem/r39.2699623.
==> ERROR: Missing usr kernel headers for module anbox-binder/r39.2699623.
==> ERROR: Missing tmp kernel headers for module anbox-ashmem/r39.2699623.
==> ERROR: Missing efi kernel headers for module anbox-ashmem/r39.2699623.
==> ERROR: Missing home kernel headers for module anbox-ashmem/r39.2699623.
==> ERROR: Missing efi kernel headers for module anbox-binder/r39.2699623.
==> ERROR: Missing etc kernel headers for module anbox-binder/r39.2699623.
==> ERROR: Missing tmp kernel headers for module anbox-binder/r39.2699623.
==> ERROR: Missing run kernel headers for module anbox-ashmem/r39.2699623.
==> ERROR: Missing lib64 kernel headers for module anbox-ashmem/r39.2699623.
==> ERROR: Missing lib64 kernel headers for module anbox-binder/r39.2699623.
==> ERROR: Missing dev kernel headers for module anbox-binder/r39.2699623.
==> ERROR: Missing lib kernel headers for module anbox-ashmem/r39.2699623.
==> ERROR: Missing srv kernel headers for module anbox-binder/r39.2699623.

eNV25 commented on 2022-06-27 20:14 (UTC) (edited on 2022-06-27 20:14 (UTC) by eNV25)

LuciRose431 about ashmem being removed, waydroid doesn't need it anymore it can use the new memfd instead. Anbox apparently needs to update their android image before using memfd.

eNV25 commented on 2022-06-27 20:10 (UTC)

I don't like using patch on a moving target.

LuciRose431 commented on 2022-06-27 10:29 (UTC) (edited on 2022-06-27 10:56 (UTC) by LuciRose431)

@eNV25 Include this patch for kernel 5.18 https://github.com/choff/anbox-modules/pull/2.patch instead of using sed command.

prepare() {
        patch -p1 -d $srcdir/$_pkgname < 2.patch
        ...
}

LuciRose431 commented on 2022-06-27 10:21 (UTC)

@eNV25 ashmem is removed from linux kernel 5.18