_defalt
2017-09-06, 11:55
Anbox (https://anbox.io/) is a container-based approach to boot a full Android system on a regular GNU/Linux system like Debian. In other words Anbox will let you run Android on your Linux system without the slowness of virtualization. Anbox puts the Android operating system into a container, abstracts hardware access and integrates core system services into a GNU/Linux system. Every Android application will be integrated with your operating system like any other native application.
Learn more about this open-source project from the author (https://github.com/anbox/anbox#overview).
How to install
The official Anbox installation (https://github.com/anbox/anbox#installation) is not compiled for Debian so it doesn't run in kali-linux. Even though Anbox now supports Debian yet i was still not able to run it after installation. This person (https://github.com/zhsj) who is also a contributor of Anbox, has compiled Anbox from the source for Debian 9 stretch and it is also working in kali.
From his Personal Package Archive (https://ftp.ustclug.org/~zsj/anbox/), read before install
Install
Install lxc - Linux Containers userspace tools.
sudo apt update && sudo apt install lxc
Install deb packages.
sudo wget -O /etc/apt/trusted.gpg.d/zhsj.gpg https://ftp.ustclug.org/~zsj/anbox/zhsj.gpg
echo "deb [arch=amd64] https://ftp.ustclug.org/~zsj/anbox stretch main" |sudo tee /etc/apt/sources.list.d/anbox.list
sudo apt update && sudo apt install anbox
Now you need to download the Android image.
sudo wget -O /var/lib/anbox/android.img https://build.anbox.io/android-images/2017/07/13/android_3_amd64.img
Start
There are two systemd services.
sudo systemctl start anbox-container-manager.service
systemctl --user start anbox-session-manager.service
Now you can start anbox application from your desktop.
If you want these services to start when booting, just
sudo systemctl enable anbox-container-manager.service
systemctl --user enable anbox-session-manager.service
You can also build Anbox from the source (https://github.com/anbox/anbox#build-from-source) if you meet with its requirements (https://github.com/anbox/anbox#requirements).
If anyone manages to run Anbox application by installing it from its author's Personal Package Archive (https://launchpad.net/~morphis/+archive/ubuntu/anbox-support), you are requested to post the solution here.
You can contribute your programing skills to help improving this project and make it compatible for kali-linux so that pentesters can test the security of their Android apps directly on Linux platform without using emulators.
Learn more about this open-source project from the author (https://github.com/anbox/anbox#overview).
How to install
The official Anbox installation (https://github.com/anbox/anbox#installation) is not compiled for Debian so it doesn't run in kali-linux. Even though Anbox now supports Debian yet i was still not able to run it after installation. This person (https://github.com/zhsj) who is also a contributor of Anbox, has compiled Anbox from the source for Debian 9 stretch and it is also working in kali.
From his Personal Package Archive (https://ftp.ustclug.org/~zsj/anbox/), read before install
Install
Install lxc - Linux Containers userspace tools.
sudo apt update && sudo apt install lxc
Install deb packages.
sudo wget -O /etc/apt/trusted.gpg.d/zhsj.gpg https://ftp.ustclug.org/~zsj/anbox/zhsj.gpg
echo "deb [arch=amd64] https://ftp.ustclug.org/~zsj/anbox stretch main" |sudo tee /etc/apt/sources.list.d/anbox.list
sudo apt update && sudo apt install anbox
Now you need to download the Android image.
sudo wget -O /var/lib/anbox/android.img https://build.anbox.io/android-images/2017/07/13/android_3_amd64.img
Start
There are two systemd services.
sudo systemctl start anbox-container-manager.service
systemctl --user start anbox-session-manager.service
Now you can start anbox application from your desktop.
If you want these services to start when booting, just
sudo systemctl enable anbox-container-manager.service
systemctl --user enable anbox-session-manager.service
You can also build Anbox from the source (https://github.com/anbox/anbox#build-from-source) if you meet with its requirements (https://github.com/anbox/anbox#requirements).
If anyone manages to run Anbox application by installing it from its author's Personal Package Archive (https://launchpad.net/~morphis/+archive/ubuntu/anbox-support), you are requested to post the solution here.
You can contribute your programing skills to help improving this project and make it compatible for kali-linux so that pentesters can test the security of their Android apps directly on Linux platform without using emulators.