Getting x86_64 and i686 PRoot Env working in Termux with proot-distro and qemu-user-(x86_64, i386) or blink.
NOTE: SLOW PERFORMANCE IN EVERY DEVICE but you can use taskset -a -c 4-7 (your proot-distro command)
to little improve performance (only if u have 8 cores)
To run proot-distro with blink use PROOT_DISTRO_X64_EMULATOR=BLINK
.
The Commands
- Updating Packages
apt update && yes | apt upgrade
- (i686/x86) Installing
apt install git qemu-user-i386 blink proot-distro -y && git clone https://github.com/mcagabe19-stuff/termux-proot-x86 && cd termux-proot-x86 && bash ./movedistrosi686.sh
- (amd64/x86_64) Installing
apt install git qemu-user-x86-64 blink proot-distro -y && git clone https://github.com/mcagabe19-stuff/termux-proot-x86 && cd termux-proot-x86 && bash ./movedistrosx86_64.sh
- Well done.