Package Details: anbox-modules-dkms-git 1:r493.7dc4a1b-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: 30
Popularity: 23.765244
First Submitted: 2017-04-12 21:41
Last Updated: 2017-04-28 08:32

Latest Comments

danbrough commented on 2017-04-30 03:48

Got the most recent version building and running fine
but the DNS isn't resolving.
I use "adb shell" to login and "setprop net.dns1" and "setprop net.eth0.dns1" to specify a DNS server (which I can ping) but domain name querys aren't resolving.

c1tas commented on 2017-04-29 02:31

[Unit]
Description=Anbox Session Manager

[Service]
ExecStart=/usr/bin/anbox session-manager --gles-driver=host

[Install]
WantedBy=default.target

change /usr/lib/systemd/user/anbox-session-manager.service works for me

mohan226 commented on 2017-04-28 16:38

I can start the session-manager, it says something like android is booted.
I cannot start the appmgr, it just opens and with a black screen and close. If I try to launch an application directly "primusrun anbox launch --action=android.intent.action.MAIN --package=com.devhd.feedly --component=com.devhd.feedly.Main" as in the desktop file, nothing happens.
"anbox system-info" gives me segfault
dmesg says
[ 182.982380] init: write_file: Unable to open '/proc/sys/vm/extra_free_kbytes': No such file or directory
[ 184.026085] init: write_file: Unable to open '/proc/sys/net/ipv4/tcp_default_init_rwnd': No such file or directory
segfault at 0 ip 00007f935a9f9d36 sp 00007ffcb8d86078 error 4 in libc-2.25.so[7f935a978000+19b000]

EDIT: Opening Contacts gives me distorted graphics and closes, same with feedly.

kirill9617 commented on 2017-04-28 07:24

wild34, I had the same issue
try to add
rm cmake/FindGMock.cmake

in prepare()

But now I have segfault on start
[ 4810.423105] init: write_file: Unable to open '/proc/sys/vm/extra_free_kbytes': No such file or directory
[ 4811.010233] anbox[6525]: segfault at 10 ip 00007fe7fa4c5998 sp 00007fe7b1bfa930 error 4 in i965_dri.so[7fe7fa0ca000+6c6000]

wild34 commented on 2017-04-27 12:36

I have other issue, have a look (community/gmock 1.8.0-1 [installed]):

-- Configuring done
-- Generating done
-- Build files have been written to: /tmp/makepkg/anbox-git/src/anbox/build
[ 2%] Built target OpenglCodecCommon
[ 2%] Performing configure step for 'GMock'
[ 3%] Built target xdg
[ 6%] Built target emugen
[ 12%] Built target emugl_common
CMake Error: The source directory "/usr/src/gmock" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
make[2]: *** [CMakeFiles/GMock.dir/build.make:106: GMock-prefix/src/GMock-stamp/GMock-configure] Error 1
make[1]: *** [CMakeFiles/Makefile2:68: CMakeFiles/GMock.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 20%] Built target process-cpp

leidola commented on 2017-04-22 00:24

FYI: As an alternative to using these modules - which do not work with e.g. linux-git - one can compile the upstream kernel with binder and ashmen included. I added the following snipplet to linux-git's PKGBUILD and I successfully run anbox with these modules.

cat << EOF >> .config
CONFIG_ANDROID=y
CONFIG_ANDROID_LOW_MEMORY_KILLER=n
CONFIG_ANDROID_BINDER_IPC=y
CONFIG_ANDROID_BINDER_DEVICES="binder"
CONFIG_ASHMEM=y
CONFIG_ION=n
EOF

Ravenman commented on 2017-04-21 18:24

Here I have the same issue, like talonz:

(1/7) Install DKMS modules
==> dkms install anbox-modules-binder/r468.76be0e2 -k 4.10.11-1-ARCH
Error! Bad return status for module build on kernel: 4.10.11-1-ARCH (x86_64)
Consult /var/lib/dkms/anbox-modules-binder/r468.76be0e2/build/make.log for more information.
==> No kernel 4.10.8-1-ARCH modules. You must install them to use DKMS!
==> dkms install vboxhost/5.1.20_OSE -k 4.10.11-1-ARCH
==> dkms install anbox-modules-ashmem/r468.76be0e2 -k 4.10.11-1-ARCH
Error! Bad return status for module build on kernel: 4.10.11-1-ARCH (x86_64)
Consult /var/lib/dkms/anbox-modules-ashmem/r468.76be0e2/build/make.log for more information.
(2/7) Updating linux initcpios

Checking the files, I found this:

[user@localhost ~]$ cat /var/lib/dkms/anbox-modules-binder/r468.76be0e2/build/make.log
DKMS make.log for anbox-modules-binder-r468.76be0e2 for kernel 4.10.11-1-ARCH (x86_64)
vie abr 21 11:30:48 -05 2017
make -C /lib/modules/4.10.10-1-ARCH/build V=0 M=$PWD
make[1]: *** /lib/modules/4.10.10-1-ARCH/build: No such file or directory. Stop.
make: *** [Makefile:8: all] Error 2

[user@localhost ~]$ cat /var/lib/dkms/anbox-modules-ashmem/r468.76be0e2/build/make.log
DKMS make.log for anbox-modules-ashmem-r468.76be0e2 for kernel 4.10.11-1-ARCH (x86_64)
vie abr 21 11:31:12 -05 2017
make -C /lib/modules/4.10.10-1-ARCH/build V=0 M=$PWD
make[1]: *** /lib/modules/4.10.10-1-ARCH/build: No such file or directory. Stop.
make: *** [Makefile:8: all] Error 2

What am I doing wrong here?

StarterX4 commented on 2017-04-21 17:12

I can't compile this, the code horrible. Someone can report this to devs?
Files like "/anbox/runtime.cpp", "/anbox/rpc/connection_creator.cpp", "/anbox/rpc/connection_creator.cpp" etc. contain same declared functions (dev's backups?), these second contained functions are with "~".
I tried with CXX flags like "-Wno-unused-const-variable", "-Wno-implicit-exception-spec-mismatch" but it doesn't work.
I tried to fix them manually, but it doesn't have sense.

Example errors:
/tmp/yaourt-tmp-starterx4/aur-anbox-git/src/anbox/external/xdg/xdg.cpp:60:23: error: unused variable
'xdg_runtime_dir' [-Werror,-Wunused-const-variable]
constexpr const char* xdg_runtime_dir{"XDG_RUNTIME_DIR"};
^
1 error generated.
make[2]: *** [external/xdg/CMakeFiles/xdg.dir/build.make:63: external/xdg/CMakeFiles/xdg.dir/xdg.cpp.o] Błąd 1
make[1]: *** [CMakeFiles/Makefile2:1851: external/xdg/CMakeFiles/xdg.dir/all] Błąd 2
make: *** [Makefile:141: all] Błąd 2



/tmp/yaourt-tmp-starterx4/aur-anbox-git/src/anbox/src/anbox/rpc/connection_creator.cpp:37:20: error: function
previously declared with an explicit exception specification redeclared with an implicit exception
specification [-Werror,-Wimplicit-exception-spec-mismatch]
ConnectionCreator::~ConnectionCreator() {}
^
/tmp/yaourt-tmp-starterx4/aur-anbox-git/src/anbox/src/anbox/rpc/connection_creator.h:43:3: note: previous
declaration is here
~ConnectionCreator() noexcept;
^
1 error generated.

mhspace commented on 2017-04-20 05:58

Is there any chance of supporting NetworkManager along with systemd-network?

win_chen commented on 2017-04-20 04:27

anbox session-manager
[EE 2017-04-20 12:22:19] [daemon.cpp:58@Run] Failed to connect to socket /run/anbox-container.socket: Connection refused

please help, how can i fix it?

All comments