Para a versão em PT-BR,clique aqui.

What is Box4Droid?

Box4Droid is a simple script that automates the installation of a preconfigured Rootfs with Box86,Box64, Wine and DXVK installed, made by me.YouTube: Smartphone Desktop.

Do you need root?

Currently, the script provides two ways to run RootFS, Proot and Chroot each have their advantages and disadvantages, but in a simple way, use Proot if you do not have root access or use Chroot if you have Root access (It is the fastest).

How to install?

First you need to install Termux and Termux-x11. After installing them, just copy the command curl -o install https://raw.githubusercontent.com/Herick75/Box4Droid/main/Scripts/install && chmod +x install && ./install and paste it in the Termux terminal, after you paste the command in Termux, choose an installation language, and then select your preferred version, and wait until the installation is completed.

How to start Box4Droid ?

After the installation is completed, type box in the terminal, then it will ask which resolution you want to use, after choosing it you will enter the Box4Droid menu.

System requirements

•Adreno 616 - Adreno 650 (With stable drivers)

•Adreno 7xx (With experimental drivers)

•Adreno 610 (With experimental drivers)

•Android 10+

•64-bit Android

•You also need at least 2,4GB free for the installation to go without problems.

How to configure?

You can choose to use environment variables, there are 3 files, dxvk.conf, Box86.conf and DXVK_env.conf. These files are created and found in the internal storage inside the Box4Droid folder right after the first run of Box86.

The Box86.conf file is for you to use the Box86 environment variables, see all of them here . You can add as many variables as you like. In this file, there is the res variable, in it you put the same resolution that you chose in Termux-x11, otherwise the screen content may be cut off or there may be borders on the screen.

The DXVK_env.conf file is for you to use the environment variables referring to DXVK_HUD, in addition to other settings.

The dxvk.conf file is for you to use the environment variables referring to dxvk(To use it, it is necessary to uncomment the line that exports your directory, this variable is found in DXVK_env.conf).

known issues

For some reason, when you go to install Termux and use the pkg update -y command for the first time, it may happen that you get some error and it is not possible to continue the installation, if that happens, just delete the Termux data and try again.

Screenshot

Another problem that happens is when you start Box86 for the first time, when you run anything, it will run extremely slow, in this case, it is highly recommended to restart Box86 (in most cases, games will run perfectly after that).

Before Screenshot

After Screenshot

In Wine, processor cores are not available to be selected via taskmgr. GTA IV has infinite loading. I'm looking for a way around this.

Screenshot

And there are probably other issues, so feel free to open an issue.

TO-DO list

Install VirGL for Mali GPUs.

Create a launcher.

Things to note

Some issues/instabilities can happen when using Box86 in proot environment, so it's not recommended to use Box86 in proot as debug/testing environment, there are better options for that.

Third party applications

Box86 by ptitseb MIT license

Proot under Termux GPL-2.0 license

Anlinux Ubuntu Rootfs GPL-2.0 License

DXVK Zlib license

Termux-app GPLv3 license

Termux-x11

Wine