/third_party_mobox

Third party mobox emulator for HarmonyOS NEXT and OpenHarmony

Primary LanguageShell

logo

English   |    Русский   |    Українська   |    Português Brasileiro   |    Polski   |    日本語   |    简体中文

Mobox is a project designed to run windows x86 applications in Termux using Box64 and Wine.

Installation

  1. Install Termux, Termux-X11 and Input Bridge.

  2. Open termux and paste command

curl -s -o ~/x https://raw.githubusercontent.com/olegos2/mobox/main/install && . ~/x
  1. Type mobox in termux.

Configuration

Wine

Wine can be installed or uninstalled in Manage packages menu. To select wine container, use option 4 in main menu. Mesa VirGL, Turnip, Wine Mono and Gecko can be installed in Wine Start Menu.

Settings

Box86 and Box64 dynarec variables

There are two switchable menus to change dynarec variables in mobox settings menu. For more information about dynarec variables see Box64 usage and Box86 usage

System settings

To change wine locale, dxvk hud preset or Turnip settings, use System settings menu in mobox. Fallback resolution is used only when x11 resolution couldn't be detected automatically. If you have Snapdragon 8 Gen 1, 8+ Gen 1, 7+ Gen 2, enable the second option in select a7xx flickering fix (TU_DEBUG) in System settings menu.

Root settings

If you have root, then you can use OOM Adjuster which is useful if low memory killer stops termux.

Termux-X11 preferences

  • Display resolution mode exact
  • Display resolution 1280x720
  • Reseed Screen While Soft Keyboard is open OFF
  • Fullscreen on device display ON
  • Force Landscape orientation ON
  • Hide display cutout ON
  • Show additional keyboard OFF
  • Prefer scancodes when possible ON

Controls

For touch controls Input Bridge app is required

Uninstall

To uninstall mobox, use Backup and restore menu.

Debugging

To enable logging - select option 2 in Mobox -> Settings -> Debug settings menu. Path to the log is /sdcard/mobox_log.txt

Support status

Android

  • Android 10 or higher is recommended.

Device

  • Most Android cellphones can run mobox and DirectX 9 games using Mesa VirGL.
  • Snapdragon device with Adreno 6xx or Adreno 725-740 is recommended to achieve best performance and compatibility with Turnip+DXVK.

Root

  • Root is not required.

Known issues

  • If termux app crashes when trying to enter mobox menu, then remove custom theme scripts:
rm -rf $PREFIX/glibc/opt/termux-style
  • Some devices may have prefix creation freeze issues when installing PhysX, in this case change settings in Compatibility settings menu
  • For SD845 device, disable dri3 in Compatibility settings menu

Support mobox

boosty

Big thanks to Hugo, JeezDisReez, ptitSeb, MishkaKolos, Xanzo, Jotaros, Maxython and others for help.

MishkaKolos Discord

Third party applications

glibc-packages

Box64

Box86

DXVK

DXVK-ASYNC

DXVK-GPLASYNC

VKD3D

D8VK

Termux-app

Termux-x11

Wine

wine-ge-custom

Mesa

mesa-zink-11.06.22

Mesa-VirGL