Does 86Box work with Termux on Android?
86Box lets you emulate a vintage computer that were released in the past, including the 90s motherboards that were unveiled to the public. This program is available on multiple platforms, but here’s a big question.
Does 86Box work on Android inside a Ubuntu proot distribution within Termux?
The answer is: Yes!
But, why? Typically, the majority of Android devices uses the ARM64 processor to ensure that power efficiency and high performance is achieved, making your Android phone or tablet work speedily, with the help of Linux as the kernel. Termux provides a limited Linux environment, which you can then go to a proot distribution to install a Linux distribution.
You’ll ask “So, how can I then run 86Box on a Ubuntu proot distro?” The answer is right here!
Running 86Box on Android
We’ve managed to run 86Box with a small Linux live distribution, called Damn Small Linux (Classic) 0.4.10, that you can download here.
The following steps had to be taken:
We’ve downloaded the AppImage file from the 86Box GitHub repository to a separate directory with wget.We’ve tried to run the AppImage file after running chmod +x on the file, but it failed to start because of /dev/fuse: Permission denied. Superuser permissions are needed in the Android system to access this device block file.After that, we ran the same AppImage file, but we’ve also added the --appimage-extract switch. This causes AppImage to extract the program files to a separate directory called squashfs-root.After that, we’ve tried to run the application by executing AppRun, but we got an error message saying that 86Box didn’t find the roms directory.To solve the problem, we’ve downloaded the roms .tar.gz file from the releases page that you can find here.After the download is complete, we’ve extracted the archive to the roms-5.3 directory in squashfs-root using tar xvf v5.3.tar.gz.After renaming the directory to roms using mv roms-5.3 roms, we’ve executed AppRun again. This time, we got the virtual machine manager for 86Box!Unfortunately, another quirk appeared. As soon as we’re trying to create a virtual machine, 86Box again reports that it couldn’t find the roms directory. According to the terminal output, it appears that 86Box tried to locate this directory under squashfs-root/usr/local/bin/roms but failed.We’ve exited the virtual machine manager, and created a symbolic link that points to the roms directory found under squashfs-root, to avoid duplicate copying, using ln -s ../../../roms usr/local/bin/roms. Then, we’ve verified that the symbolic link got created correctly.As soon as we tried creating the new system, 86Box worked this time! It found all the machine types, graphics cards, and other system components!The virtual machine has been configured, and it’s ready to start.Then, we’ve started the virtual machine, and inserted the Damn Small Linux 0.4.10 ISO file called damnsmall-0.4.10.iso to the virtual machine.After that, we’ve watched as the virtual machine booted up!Finally, Damn Small Linux runs under 86Box on Android! However, the performance is slower compared to running 86Box on a computer. You can verify the Linux version that this version of DSL runs.
#86Box #Android #news #smartphone #Tech #Technology #Termux #update