Skip to content

Instantly share code, notes, and snippets.

View iamSlightlyWind's full-sized avatar
💭
SlightlyWind was never just an alias

Phong Pham iamSlightlyWind

💭
SlightlyWind was never just an alias
View GitHub Profile
@iamSlightlyWind
iamSlightlyWind / android_wine_i386.md
Last active October 31, 2024 17:41
Debian chroot with box86 and hardware acceleration

Alternatively, you can try a more automated approach using Arch: iamSlightlyWind/android_chroot

Make sure your device is rooted, and your kernel supports switching SELinux to Permissive. If not, trying to set SELinux to Permissive will cause a system-wide crash.

Setup termux

termux-setup-storage
echo "allow-external-apps = true" >> .termux/termux.properties
apt update
@iamSlightlyWind
iamSlightlyWind / termux-hw-acc.sh
Last active August 1, 2024 12:06
termux-hw-acc.sh
#Unattended script to compile necessary libs to enable hardware acceleration on Termux from scratch.
termux-setup-storage
apt update
apt full-upgrade -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold"
apt-get install neofetch git wget -y
wget https://github.com/suhan-paradkar/tewmux-disabled/releases/download/mesa-hw/instructions.tar.gz
tar xf instructions.tar.gz
rm instructions.tar.gz