Package Details: anbox-modules-dkms-git 1:r1096.ea2b7a3-1

Git Clone URL: (read-only)
Package Base: anbox-git
Description: Required kernel module sources for Android
Upstream URL:
Licenses: GPL3
Submitter: irtimmer
Maintainer: irtimmer
Last Packager: irtimmer
Votes: 105
Popularity: 2.046199
First Submitted: 2017-04-12 21:41
Last Updated: 2019-05-14 18:21

Pinned Comments

irtimmer commented on 2018-01-19 10:35

WARNING: Before you go ahead and install Anbox on your system, please keep in mind that Anbox is not yet stable. Not every feature is working well yet. You will find bugs, see crashes and unexpected problems. As this is a Git package, patches should go upstream as they will not be bundled with the package.

Latest Comments

1 2 3 4 5 6 ... Next › Last »

satcom886 commented on 2019-05-24 12:07

I can confirm, that the modifications provided by @WhyNotHugo work. The package builds successfully and the module works.

satcom886 commented on 2019-05-24 11:29

Please update the PKGBUILD, so it works with 5.1.x kernels. It seems binder_linux does not build.

WhyNotHugo commented on 2019-05-22 07:50

Apply this patch to PKGBUILD for this to build under the latest kernel:

diff --git a/PKGBUILD b/PKGBUILD
index b3196f9..52d29b5 100644
@@ -17,6 +17,7 @@ source=("git+"
+        ''
@@ -26,6 +27,7 @@ sha256sums=('SKIP'
+            'SKIP'

 pkgver() {
@@ -42,6 +44,9 @@ prepare() {
   # Don't build tests
   truncate -s 0 cmake/FindGMock.cmake
   truncate -s 0 tests/CMakeLists.txt
+  cd "$srcdir/anbox-modules"
+  patch -p0 binder/binder.c < ../19.patch

 build() {

amatwkgs commented on 2019-05-16 03:20

If you are using a kernel >= 5.1, please see for a possible fix.

zethex commented on 2019-05-15 09:40

Cannot find kernel modules after installing. Modprobe outputs that it cannot find the modules "binder_linux" and "ashmem_linux". On next boot systemd shows failed "Load Kernel Modules". Most likely because it also cannot find the modules.

JJK commented on 2019-05-12 19:31

For some reason after installing, ashmem is working, while binder is not working.

 ls -l /dev/{ashmem,binder}
ls: cannot access '/dev/binder': No such file or directory
crw-rw-rw- 1 root root 10, 56 May 12 21:11 /dev/ashmem
systemd-modules-load[281]: Inserted module 'ashmem_linux'
systemd-modules-load[281]: Failed to find module 'binder_linux'

ltsdw commented on 2019-05-10 14:07

To be more specific I think is something with boost, like:

sudo anbox container-manager --daemon --privileged --data-path=/var/lib/anbox
[ 2019-05-10 14:02:28] [container_manager.cpp:119@operator()] boost::filesystem::create_directories: Invalid argument

EDIT: Now I see other users with the same error below

EDIT2: Ok, until here:

sudo ANBOX_LOG_LEVEL=debug anbox container-manager --daemon --privileged --data-path=/var/lib/anbox --android-image=/var/lib/anbox/android.img
[ 2019-05-10 14:30:26] [mount_entry.cpp:36@create] Mounting "/dev/loop1" on "/var/lib/anbox/rootfs" ...
[ 2019-05-10 14:30:26] [mount_entry.cpp:36@create] Mounting "/var/lib/anbox/cache" on "/var/lib/anbox/rootfs/cache" ...
[ 2019-05-10 14:30:26] [mount_entry.cpp:36@create] Mounting "/var/lib/anbox/data" on "/var/lib/anbox/rootfs/data" ...
[ 2019-05-10 14:30:26] [service.cpp:57@create] Everything setup. Waiting for incoming connections.
[ 2019-05-10 14:32:10] [service.cpp:84@new_client] Got connection from pid 4691
[ 2019-05-10 14:32:10] [management_api_skeleton.cpp:44@start_container] 
[ 2019-05-10 14:32:10] [lxc_container.cpp:297@start] Containers are stored in /var/lib/anbox/containers
[ 2019-05-10 14:32:10] [lxc_container.cpp:342@start] Using rootfs path /var/lib/anbox/rootfs
[ 2019-05-10 14:33:07] [service.cpp:84@new_client] Got connection from pid 4716
[ 2019-05-10 14:33:08] [management_api_skeleton.cpp:44@start_container] 
[ 2019-05-10 14:33:08] [lxc_container.cpp:297@start] Containers are stored in /var/lib/anbox/containers
[ 2019-05-10 14:33:08] [lxc_container.cpp:342@start] Using rootfs path /var/lib/anbox/rootfs

But not here:

ANBOX_LOG_LEVEL=debug anbox session-manager --gles-driver=host
[ 2019-05-10 14:36:44] [Renderer.cpp:168@initialize] Using a surfaceless EGL context
[ 2019-05-10 14:36:44] [Renderer.cpp:251@initialize] Successfully initialized EGL
[ 2019-05-10 14:36:44] [service.cpp:41@Service] Successfully acquired DBus service name
[ 2019-05-10 14:36:44] [client.cpp:49@start] Failed to start container: Failed to start container: Failed to start container
[ 2019-05-10 14:36:44] [session_manager.cpp:148@operator()] Lost connection to container manager, terminating.
[ 2019-05-10 14:36:45] [daemon.cpp:61@Run] Container is not running
terminate called after throwing an instance of 'boost::wrapexcept<boost::log::v2_mt_posix::system_error>'
  what():  Failed to set TLS value: Invalid argument
Stack trace (most recent call last) in thread 4781:

EDIT3: Every new ANBOX_LOG_LEVEL=debug anbox session-manager --gles-driver=host is a new error, like: fail segmentation


#16 Object "", at 0xffffffffffffffff, in

at end of output

HiJack88 commented on 2019-05-08 02:26

I can answer yochananmarqos back on this. gmock & libdwarf are not needed in order to build the package here.

montefuscolo's proposal made the package compiling fine on my build system again, so that should be enough of a PKGBUILD update.

yochananmarqos commented on 2019-05-03 14:37

I had to install gmock & libdwarf to get r1096.ea2b7a3 to build. They need to be added to make dependencies.

montefuscolo commented on 2019-05-01 12:43

As of May 1th, it works only by changing cmake line in build section on PKGBUILD and adding -Wno-error=missing-field-initializers to DCMAKE_CXX_FLAGS.

build() {
  mkdir -p "$srcdir/${_pkgname}/build"
  cd "$srcdir/${_pkgname}/build"

  cmake .. -DCMAKE_INSTALL_LIBDIR=/usr/lib -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_CXX_FLAGS="-Wno-error=missing-field-initializers -Wno-error=implicit-fallthrough" -DCMAKE_BUILD_TYPE=Release