Package Base Details: anbox-git

Git Clone URL: https://aur.archlinux.org/anbox-git.git (read-only)
Submitter: irtimmer
Maintainer: irtimmer
Last Packager: irtimmer
Votes: 116
Popularity: 4.608624
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.

guiniol commented on 2017-04-13 11:26

@EXL if you've got all that working, you should be able to 'anbox session-manager' and go from there. I couldn't get that to work but @subjectdenied seems to have got further along than me

subjectdenied commented on 2017-04-13 09:57

$ anbox session-manager

but it crashes with:

[EE 2017-04-13 09:56:07] [client.cpp:49@start] Failed to start container: Failed to start container: Failed to start container
[WW 2017-04-13 09:56:07] [session_manager.cpp:140@operator()] Lost connection to container manager, terminating.
[WW 2017-04-13 09:56:07] [session_manager.cpp:140@operator()] Lost connection to container manager, terminating.
[EE 2017-04-13 09:56:07] [daemon.cpp:58@Run] Container is not running

EXL commented on 2017-04-13 09:45

1. Install properties-cpp:
$ yaourt -S properties-cpp

2. Install process-cpp:
$ yaourt -S process-cpp
--- Edit PKBUILD and replace "_pkgver" to "pkgver" here:
https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=process-cpp#n16

3. Now install anbox-git:
$ yaourt -S anbox-git

4. Download android.img:
$ cd ~/Download/
$ wget http://build.anbox.io/android-images/2017/04/12/android_1_amd64.img

5. Run?
$ datadir=$HOME/Downloads/anbox-data
$ mkdir -p $datadir/rootfs
$ sudo anbox container-manager --android-image=/home/exl/Downloads/android_1_amd64.img --data-path=$datadir

===
@guiniol @subjectdenied
But what's next? Please help me.

guiniol commented on 2017-04-13 09:11

Next error:
Failed to open /usr//usr/lib/anbox/translators/libEGL_translator.so: [/usr//usr/lib/anbox/translators/libEGL_translator.so: cannot open shared object file: No such file or directory]

it's not looking in the right place

subjectdenied commented on 2017-04-13 09:01

android-image can be found here i guess:

wget http://build.anbox.io/android-images/2017/04/12/android_1_amd64.img

guiniol commented on 2017-04-13 08:38

To launch the daemon, you need to run (this must be done before anbox session-manager):
anbox container-manager

If you get an error about 'No runtime directory specified' make sure 'XDG_RUNTIME_DIR' is set to something.

Now, all we need is the android.img

snowyyyy commented on 2017-04-13 08:08

[daemon.cpp:58@Run] Failed to connect to socket /run/anbox-container.socket: No such file or directory

guiniol commented on 2017-04-13 07:45

The kernel modules are in the package, however, they are not installed at the right place.
They are in
/usr/src/anbox-modules-ashmem-/
/usr/src/anbox-modules-binder-/

but they should be in
/usr/src/anbox-modules-ashmem-<version>/
/usr/src/anbox-modules-binder-<version>/

you can create a symlink (put whatever in the version) and then
dkms add anbox-modules-ashmem/<version>
dkms build anbox-modules-ashmem/<version>
dkms install anbox-modules-ashmem/<version>

The modules can then be loaded (ashmem_linux and binder_linux)

However, now it complains about `No runtime directory specified` and I have yet to figure out how to specify it

mufeed2000 commented on 2017-04-13 07:12

Has anyone got it actually running? Looks like we need kernel modules and a (very stripped down) android image. I can't seem to find either. Any help would be appreciated. :)

mufeed2000 commented on 2017-04-13 05:49

So, how do i use this? Installed it but session manager is not running because of the 2 kernel modules needed. How do i make that work?