Install Ubuntu and run x86 Linux & Windows apps on Android (No Root)
In this video, I’m going to show you how to run ARM and x86 Linux and Windows applications on your Android device, without rooting your device.
All you need is a phone or tablet running Android 7.0 and higher with an ARM (32 or 64 bit) CPU.
This tutorial contains installing an Ubuntu 20.04 distro with XFCE desktop using Termux and AndroNix, then compiling and installing box86 & Wine so we can run Linux and Windows software made for x86/Intel architecture.
Commands and links used in the video:
Termux download: https://f-droid.org/en/packages/com.termux/
bVNC and AndroNix can be downloaded from Google Play Store
Converting 64 bit (aarch64/arm64) Termux to 32 bit (armhf/armv7l/armv8l):
pkg install wget
wget https://raw.githubusercontent.com/WMCB-Tech/termux-prefix-switcher/master/termux-prefix-switcher
termux-prefix-switcher switch
Starting Ubuntu 20.04 desktop:
./start-ubuntu20.sh
vncserver-stop (type 1)
vncserver-start (choose HD ready resolution)
Installing box86:
apt install git wget cmake build-essential python3 gcc-arm-linux-gnueabihf
git clone https://github.com/ptitSeb/box86
cd box86
mkdir build
cd build
cmake .. -DARM_DYNAREC=ON -DCMAKE_BUILD_TYPE=RelWithDebInfo
make
Installing Wine:
wget https://twisteros.com/wine.tgz
tar zxvf wine.tgz
rm wine.tgz
Installing and running 7-Zip installer:
wget https://www.7-zip.org/a/7z1900.exe
/root/box86/build/box86 /root/wine/bin/wine /root/7z1900.exe
Running installed 7-Zip (terminal or launcher command):
/root/box86/build/box86 /root/wine/bin/wine /root/.wine/drive_c/Program Files/7-Zip/7zFM.exe
ubuntu