Anbox Allows You to Run Android Apps Natively in Ubuntu Linux

It’s been possible to run Android app in computers for a while with solutions such as Bluestacks or ShashLik, as well as running Android-x86 ISO in a virtual machine. But all those solutions rely on emulation, may not have the best performance, and at the time I tried them did not really work well, or were inconvenient to use. Anbox is different as instead of running its own Linux kernel for Android, it leverages the Linux kernel in Ubuntu for better integration and performance, and use an LXC container to run Android.

Click to Enlarge

Anbox has been tested with Ubuntu 16.04, but should also work with other recent Ubuntu distributions. Installing Anbox (Alpha) is easy, and can be done with a single command line:

The command will modify your system with the following:

  • Add the anbox-support ppa ppa:morphis/anbox-support to the host system
  • Install the anbox-modules-dkms deb package from the ppa which will add kernel modules for ashmem and binder which are required for the Android container to work.
  • Configure binder and ashmem kernel modules to be loaded automatically on boot.
  • Add an upstart job for the current user XXXXX which will start the anbox runtime on login.
  • Add a X11 session configuration file to allow the system  application launcher (Unity7, Gnome Shell, ..) to find available Android applications.

If you’re OK with that, enter “I AGREE” to complete the installation, and reboot your computer.

The instructions indicate that you can install apps with adb:

I did that but, adb could not find any devices attached. So I checked the system-info:

And my Nvidia graphics card with proprietary drivers does not seem to be handled properly. Not sure, whether is it the reason Anbox is not running. There are also lots of anbox related messages looping in the kernel log:

So sadly, I did not manage to make it work, but Anbox is an open source project released in github  and licensed under the terms of the GPLv3 license, plus some parts with an Apache-2.0 license, so it could be fixed by the developer, or yourself. Several users currently have problems and submitted issues to Anbox’s Github repo. Anbox is alpha software, so it’s bound to have issues at the beginning.

While I did not manage to get it to work, you can still checkout what’s it supposed to look like in the video below.

You could also visit Anbox website for more details.

Via Liliputing

Share this:

Support CNX Software! Donate via cryptocurrencies or become a Patron on Patreon

ROCK Pi 4C Plus
Notify of
The comment form collects your name, email and content to allow us keep track of the comments placed on the website. Please read and accept our website Terms and Privacy Policy to post a comment.
Weller PCB manufacturer