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

Git Clone URL: https://aur.archlinux.org/anbox-git.git (read-only)
Package Base: anbox-git
Description: Required kernel module sources for Android
Upstream URL: http://anbox.io/
Licenses: GPL3
Submitter: irtimmer
Maintainer: irtimmer
Last Packager: irtimmer
Votes: 115
Popularity: 6.452885
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 »

yochananmarqos commented on 2019-08-03 17:48

This also requires libdwarf as a make dependency:

-- Could NOT find libdwarf (missing: LIBDWARF_LIBRARY LIBDWARF_INCLUDE_DIR)

It builds fine with commit cd829e9ccd3a5d654c8aa5e16e32f0d3915d54a8, but doesn't want to launch anymore after recent system updates:

$ anbox launch --package=org.anbox.appmgr --component=org.anbox.appmgr.AppViewActivity
[ 2019-08-03 16:54:33] [daemon.cpp:61@Run] Failed to retrieve ready property from application manager

spritwar commented on 2019-07-29 18:54

I had gmock related issues while compiling. Solution:

install gmock and adding "rm cmake/FindGMock.cmake" on the end of prepare() function (PKGBUILD)

barfin commented on 2019-07-29 05:04

"Application manager service is not running yet" what's wrong?

HiJack88 commented on 2019-07-26 20:35

Well, i wonder why it isn't working on your machine. All i can say is its working here fine. I did a full system upgrade an re-compiled the entire anbox package. But it looks like there is some script already blocking anbox's network adress. You may check your startup process accordingly.

BTW. Snap is still the recommended way to bring up anbox an i think the best way.

Cheers.

TeaHistoria commented on 2019-07-23 22:52

@HiJack88

_ sudo /usr/bin/anbox container-manager --daemon --privileged --data-path=/var/lib/anbox & echo "Starting Anbox session manager" /usr/bin/anbox session-manager & /usr/bin/anbox launch --package=org.anbox.appmgr --component=org.anbox.appmgr.AppViewActivity [2] 5317 [3] 5318 Starting Anbox session manager /usr/bin/anbox session-manager [3] + 5318 done echo "Starting Anbox session manager" /usr/bin/anbox session-manager [ 2019-07-23 22:45:09] [container_manager.cpp:119@operator()] bind: Address already in use [2] + 5317 exit 1 sudo /usr/bin/anbox container-manager --daemon --privileged [ 2019-07-23 22:45:09] [lxc_container.cpp:141@setup_network] Anbox bridge interface 'anbox0' doesn't exist. Network functionality will not be available [ 2019-07-23 22:46:06] [launch.cpp:214@operator()] Session manager failed to become ready

same problem !! Session manager failed to become ready

but when I use snapd anbox works without interruption, it's just that I want to use the aur package

HiJack88 commented on 2019-07-23 17:38

@TeaHistoria:

You may check out my startup script here. Save it as ~/bin/anbox-start.sh an make it executable.

You'll need to invoke the anbox-bridge script first. You can find it in the AUR.

!/bin/sh

echo "${?}" sleep 2s echo "Launching Anbox container manager" sudo /usr/bin/anbox container-manager --daemon --privileged --data-path=/var/lib/anbox & echo "Starting Anbox session manager" /usr/bin/anbox session-manager & sleep 2s /usr/bin/anbox launch --package=org.anbox.appmgr --component=org.anbox.appmgr.AppViewActivity echo "Started Anbox application manager. Please wait."

TeaHistoria commented on 2019-07-22 23:18

helpp >> all anbox package installed on my machine.. butttt!

» anbox launch --package=org.anbox.appmgr --component=org.anbox.appmgr.AppViewActivity [ 2019-07-22 23:15:46] [daemon.cpp:61@Run] Application manager service is not running yet

wrwolf2 commented on 2019-07-14 19:25

SOLVED !!!

upon upgrading arch-linux firmware ( kernel 5.2.0-arch2-1-ARCH ) we tried out YAY ( AUR helper ) to add anbox-git ( & anbox-modules-dkms-git) & with no patched PKGBUILD. <<-- that's actually worked this time and finished building with no errors, allowing to launch ANBOX and testing basic internet connection. too bad adding google account seems impossible right now

@mawiegand just updated previous entry , that answers your Q.

mawiegand commented on 2019-07-14 19:15

@wrwolf2 did you try it with a newer kernel? I am using the latest stable arch kernel (5.2.0-arch2-1-ARCH).

My make.log:

DKMS make.log for anbox-modules-binder-r1098.cd829e9 for kernel 5.2.0-arch2-1-ARCH (x86_64)
Sa 13. Jul 00:48:13 CEST 2019
make -C /lib/modules/5.2.0-arch2-1-ARCH/build V=0 M=$PWD
make[1]: Verzeichnis „/usr/lib/modules/5.2.0-arch2-1-ARCH/build“ wird betreten
  CC [M]  /var/lib/dkms/anbox-modules-binder/r1098.cd829e9/build/deps.o
  CC [M]  /var/lib/dkms/anbox-modules-binder/r1098.cd829e9/build/binder.o
  LD [M]  /var/lib/dkms/anbox-modules-binder/r1098.cd829e9/build/binder_linux.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /var/lib/dkms/anbox-modules-binder/r1098.cd829e9/build/binder_linux.mod.o
  LD [M]  /var/lib/dkms/anbox-modules-binder/r1098.cd829e9/build/binder_linux.ko
make[1]: Verzeichnis „/usr/lib/modules/5.2.0-arch2-1-ARCH/build“ wird verlassen

wrwolf2 commented on 2019-07-14 17:31

@mawiegand

apparently we still hit a error message on each bootstrap ( " failed to start loading kernel modules " ) and also the following error shows up when loading modules manually.

[lmarenda12@CenavaLinux ~]$ sudo modprobe binder_linux
modprobe: FATAL: Module binder_linux not found in directory/lib/modules/5.1.15-arch1-1-ARCH 
this errors encountered on running:
[lmarenda12@CenavaLinux anbox-git]$ makepkg -si
==> dkms install anbox-modules-binder/r1098.cd829e9 -k 5.1.15-arch1-1-ARCH
Error! Bad return status for module build on kernel: 5.1.15-arch1-1-ARCH (x86_64)
Consult /var/lib/dkms/anbox-modules-binder/r1098.cd829e9/build/make.log for more information. 
make.log
DKMS make.log for anbox-modules-binder-r1098.cd829e9 for kernel 5.1.15-arch1-1-ARCH (x86_64)
dom 14 lug 2019, 19:48:54, UTC
make -C /lib/modules/5.1.15-arch1-1-ARCH/build V=0 M=$PWD
make[1]: ingresso nella directory "/usr/lib/modules/5.1.15-arch1-1-ARCH/build"
  CC [M]  /var/lib/dkms/anbox-modules-binder/r1098.cd829e9/build/deps.o
  CC [M]  /var/lib/dkms/anbox-modules-binder/r1098.cd829e9/build/binder.o
/var/lib/dkms/anbox-modules-binder/r1098.cd829e9/build/binder.c:3406:11: error: initialization of ‘vm_fault_t (*)(struct vm_fault *)’ {aka ‘unsigned int (*)(struct vm_fault *)’} from incompatible pointer type ‘int (*)(struct vm_fault *)’ [-Werror=incompatible-pointer-types]
 3406 |  .fault = binder_vm_fault,
      |           ^~~~~~~~~~~~~~~
/var/lib/dkms/anbox-modules-binder/r1098.cd829e9/build/binder.c:3406:11: note: (near initialization for ‘binder_vm_ops.fault’)
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:275: /var/lib/dkms/anbox-modules-binder/r1098.cd829e9/build/binder.o] Error 1
make[1]: *** [Makefile:1571: _module_/var/lib/dkms/anbox-modules-binder/r1098.cd829e9/build] Error 2
make[1]: uscita dalla directory "/usr/lib/modules/5.1.15-arch1-1-ARCH/build"
make: *** [Makefile:8: all] Error  
with newer firmware, same as above
DKMS make.log for anbox-modules-binder-r1098.cd829e9 for kernel 5.2.0-arch2-1-ARCH (x86_64)
dom 14 lug 2019, 21:16:35, UTC
make -C /lib/modules/5.2.0-arch2-1-ARCH/build V=0 M=$PWD
make[1]: ingresso nella directory "/usr/lib/modules/5.2.0-arch2-1-ARCH/build"
  CC [M]  /var/lib/dkms/anbox-modules-binder/r1098.cd829e9/build/deps.o
  CC [M]  /var/lib/dkms/anbox-modules-binder/r1098.cd829e9/build/binder.o
/var/lib/dkms/anbox-modules-binder/r1098.cd829e9/build/binder.c:3406:11: error: initialization of ‘vm_fault_t (*)(struct vm_fault *)’ {aka ‘unsigned int (*)(struct vm_fault *)’} from incompatible

incompatible pointer type ‘int (*)(struct vm_fault *)’ [-Werror=incompatible-pointer-types]
 3406 |  .fault = binder_vm_fault,
      |           ^~~~~~~~~~~~~~~
/var/lib/dkms/anbox-modules-binder/r1098.cd829e9/build/binder.c:3406:11: note: (near initialization for ‘binder_vm_ops.fault’)
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:278: /var/lib/dkms/anbox-modules-binder/r1098.cd829e9/build/binder.o] Error 1
make[1]: *** [Makefile:1595: _module_/var/lib/dkms/anbox-modules-binder/r1098.cd829e9/build] Error 2
make[1]: uscita dalla directory "/usr/lib/modules/5.2.0-arch2-1-ARCH/build"
make: *** [Makefile:8: all] Error 2

this <link> https://wiki.archlinux.org/index.php/Anbox </link> is the wiki we are following to get anbox.