INSTALLING ANBOX IN DEEPIN WITHOUT DYING IN THE ATTEMPT

Anbox It is a free and open source application that acts as a compatibility layer, allowing you to use applications developed for Android on GNU / Linux. It integrates and uses the client system kernel, ie allowing superior to native performance emulation. Anbox will allow us to install Android apps on Gnu / Linux in an easy and simple way but only in some distributions, our goal is to show you how easily Deepin.

Application Manager Anbox

Installation of Anbox

Step 1: Install modules Kernel

As a first step visit the following link https://github.com/anbox/anbox-modules , Clone and click download, you will download a zip file, which must decompress, where you create more convenient. Once this is done, we open our file browser then entered in the unzipped folder named android-modules-master, Right click and give it to
open terminal. Then you need to copy, paste and execute one by one the following commands in the terminal:

sudo cp anbox.conf /etc/modules-load.d/
sudo cp 99-anbox.rules /lib/udev/rules.d/
sudo cp -rT ashmem /usr/src/anbox-ashmem-1
sudo cp -rT binder /usr/src/anbox-binder-1
sudo dkms install anbox-ashmem/1
sudo dkms install anbox-binder/1



Step 2: Install the Android Debug Bridge (ADB)

Proceed to install the debug bridge that will connect and interact with our GNU / Linux system Android so we provide a terminal and run the following commands:

sudo apt install adb 
sudo apt install android-tools-adb

Step 3: Installing the application support Snap

Since the tutorial is based on the official version of Snap Anbox we install through the terminal, said support Deepin using the following commands:

sudo apt install snapd
sudo snap install --devmode --beta anbox

At the conclusion of installation and application support, delete the downloaded folder and restart the computer; eventually we find in the launcher name Deepin access Anbox Application Manager which we run with double click to start it.

Starting Anbox

Note: It could be that the launch for the first time since its shortcut, it stays on the home screen and then closes, even if you try repeatedly. to solve enough to start it once via terminal with the command:

anbox.appmgr



Install applications on Android

The Anbox project is currently based on Android 7.1 Nougat and continues in beta, which means you can find countless failures as applications that do not run or close, showing no video or audio and extensive; etc.

to) We prepare system dependencies with:

sudo apt install wget curl lzip unzip squashfs-tools

b) Unload script with the following:

wget https://raw.githubusercontent.com/geeks-r-us/anbox-playstore-installer/master/install-playstore.sh

c) We grant permissions:

chmod +x install-playstore.sh

Now install the PlayStore in Ambox, and enable the use of ARM applications using libhoudini. All this has been automated by a script,

The installation depends on the speed of your Internet. Once you have installed the Google Play Store Services and run the following command to clean.

d) We run the script:

sudo ./install-playstore.sh

and) we clean:

sudo ./install-playstore.sh --clean

Note:To use the Play Store, you must access the Android settings from the gear and the Applications section and enable all permissions for it and Google Services. also you must give permission to each application that we install in the future. If still you are not allowed to login from Play Store. It should open a terminal and run:

sudo /snap/anbox/current/bin/anbox-bridge.sh start



Ready! Now it's only a matter of access with your Google credentials, and download applications.

Anbox running on Deepin 15.11


You have any concerns or questions about this tutorial feel free to leave a comment and we hope that will be profitable when run Android apps on Deepin.


 

17
What do you think about it?

please Enter to comment
9 Comment threads
8 Responses thread
0 Followers
 
Comment with more reactions
Highly Commended thread
10 Authors comments
Kamilo Valenciadany2aJose Gonzalez CarrilloIsaías Gätjens MJosé Andrés Rodríguez Romero Authors of the most recent comments
subscribe
Newer oldest More popular
Report of
Ranita
Member

Finally an emulator that works, thanks.

Andres Ampuero
Member

Hello, you can install apk applications with isntalador?

Eli
Publisher

Hola, creo que si, digamos que bajaste la aplicación flipboard-app.apk y que la tienes en el directorio /home/andres/Downloads, para instalarla trata esto:

adb install /home/andres/Downloads/flipboard-app.apk

Déjame saber si te funciona.

masilvad
Member

Excelente tutorial, lastima que no me aparece en la playstore el juego call of dutty mobile ni mario kart tour. Tambien veo que al querer adicionar cuentas en el menu de configuracion se sale de esa pantalla

Car
Author

Avatarmasilvad Hay aplicaciones que no corren o andan mal; estaría bueno hacer un listado entre todos de aquellas que funcionan correctamente

masilvad
Member

Consegui el apk del juego Call of Dutty Mobile, lo pase al ambiente anbox, lo instale pero al querer ejecutarlo no abre

José Andrés Rodríguez Romero
Member

soy nuevo, lo instale pero no funciono, solo abre se queda un rato con el logo de android y se cierra. utilice el comando «anbox.appmgr» pero me dice «No such file or directory» me gustaría desinstalarlo, como lo puedo hacer ??

Isaías Gätjens M
Publisher

@joseandresrodriguezromero

Hola, de manera general, por cada comando de instalación de snap

sudo snap install [paquete]

Entonces se desinstala con 

sudo snap remove [paquete]

 

Si quiere desinstalar todo lo que hay instalado con snap, primero lista todos los paquetes snap instalados con el comando

sudo snap list

Luego para desinstalar cada uno de los paquetes, otra vez

sudo snap remove [paquete]

 

Para terminar de desinstalar snap ejecuta 

sudo apt purge snspd

 

Luego para desinstalar los paquetes instalados con apt, por cada 

sudo apt install [paquete]

Se desinstala con

sudo apt remove [paquete]

 

No recomiendo que desinstale los paquetes

wget curl lzip unzip squashfs-tools

Porque son usados por otros componentes del sistema.

 

Al terminar desinstala cualquier «cabo suelto» con el comando 

sudo apt autoremove

 

Este es el procedimiento general, espero que le ayude, si tiene más dudas pues pregunte con confianza.

También puede esperar a que Car te conteste, tal vez él le dé una lista detallada de todos y cada uno de los comandos de desinstalación.

Saludos.

Jose Gonzalez Carrillo
Member

Hola Comunidad..
He hecho el tutorial asta el final y no me ha funcionado
alguien se atreve hacer algun tutorial en video para saber como funciona o donde fallo
de antemano agradecer a toda la comunidad
por cierto he visto otros tutoriales pero estan basados en ubuntu y no tienen nada que ver

Isaías Gätjens M
Publisher

@josegonzalezcarrillo

Hola, ¿cuál fue el mensaje de error que le dió? Asegúrese de haber hecho todos lo pasos y no haberse saltado nada.

dany2a
Member

buenas tardes a todos, aquí está mi problema cuando ejecuto en la terminal, sudo cp anbox.conf /etc/modules-load.d/
me pone ca
cp: no se puede evaluar ‘anbox.conf’: ningún archivo o carpeta de este tipo

Isaías Gätjens M
Publisher

@dany2a

Hola, posiblemente en la terminal cuando ejecutó el comando estaba en una carpeta y el archivo anbox.conf está en otra carpeta.

dany2a
Member

Résolue merci

dany2a
Member

anbox.appmgr
realpath: »: No such file or directory
realpath: »: No such file or directory
realpath: »: No such file or directory
realpath: »: No such file or directory
realpath: »: No such file or directory
realpath: »: No such file or directory
realpath: »: No such file or directory
realpath: »: No such file or directory

dany2a
Member

Bonsoir error [email protected]:~$ anbox.appmgr
realpath: »: No such file or directory
realpath: »: No such file or directory
realpath: »: No such file or directory
realpath: »: No such file or directory
realpath: »: No such file or directory
realpath: »: No such file or directory
realpath: »: No such file or directory
realpath: »: No such file or directory
[ 2019-11-30 16:52:16] [launch.cpp:[email protected]()] Session manager is not yet running, trying to start it
[ 2019-11-30 16:52:16] [launch.cpp:[email protected]_session_manager] Started session manager, will now try to connect ..
[ 2019-11-30 16:52:16] [splash_screen.cpp:[email protected]] Window has no associated renderer yet, creating one …
[ 2019-11-30 16:53:06] [launch.cpp:[email protected]()] Session manager failed to become ready
[email protected]:~$

Kamilo Valencia
Member

hola. tengo un inconveniente. ya instale el emulador pero al momento de instalar la play store no me aparece de ninguna manera, ni sisquiera en la parte de configuraciones> aplicaciones. que sera?

dany2a
Member

idem