Skip to content

olegos2/termux-box

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

logo

English   |    Русский   |    Polski

About

Termux-box is a script to install preconfigured rootfs with Box86, Box64, Wine and DXVK installed. It allows you to run x86 and x86_64 windows programs (such as games) on Android using Termux.

Termux-box is not Box64Droid neither Box4Droid.

Installation

After installation the start command in termux is termux-box

Download and install Termux, Termux-X11

Open termux and paste command

curl -s -o x https://raw.githubusercontent.com/olegos2/termux-box/main/install && chmod +x x && ./x

Additional components

Updated Termux-X11 for dri3 turnip mode.

Configuration

After installing termux-box some settings and variables can be changed in termux-box/preferences menu. To install Vulkan/OpenGL drivers you should start Wine and select Mesa and D3D libs in Start Menu -> Install. To change or add environment variables edit config saved in /sdcard/termux-box/Env.conf.

Big thanks to Hugo for help.

MishkaKolos Discord

Device support

Android

  • Android 9+ — basic support, may not work
  • Android 10+ — root users
  • Android 11+ — non-root users

Render

  • Snapdragon with Adreno 6xx or Adreno 7xx — Turnip + Zink / Turnip + DXVK with better speed.
  • Qualcomm/Mediatek/Exynos — VirGL

Features

  • Termux-box has automatic updates, so you don't have to reinstall it so often.
  • TFM works a lot faster with custom wine.
  • The most lightweight rootfs.
  • Proot which is faster than proot-distro.
  • Chroot with working VirGL for root users
  • VirGL server with dxtn support (termux virgl doesn't have this). Mesa-VirGL 18.3.0, 19.1.8, 22.1.7.
  • Turnip with adreno 610 and 7xx support. Mesa-zink-11.06.22 built from alexvorxx repo which is faster and has better compatibility. D8VK + DXVK + VKD3D and WineD3D.
  • Prefix-tweaks script that automatically installs DirectX, 7-Zip, various registry fixes, better taskmgr and notepad. Custom theme, better fonts which give a lot better look compared to default wine prefix. Better icons. E:\ (Android/data/com.termux/files/Download folder) for faster performance without having to copy games to C:\ drive
  • Experimental wine-tweaks script that automatically installs downloaded wine, customizes it for better TFM speed and reduces size

Third party applications

Box64 MIT license

Box86 MIT license

Proot GPL-2.0 license

DXVK Zlib license

DXVK-ASYNC

DXVK-GPLASYNC

VKD3D LGPL-2.1 license

D8VK Zlib license

Termux-app GPLv3 license

Termux-x11 GPL-3.0 license

Wine

Mesa MIT license

mesa-zink-11.06.22