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 February 27, 2024 13:55
Debian chroot with box86 and hardware acceleration

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
apt full-upgrade -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold"
pkg install root-repo x11-repo -y
pkg install neofetch wget openssh pulseaudio tsu -y
@iamSlightlyWind
iamSlightlyWind / History|-22508419|2Ln6.json
Last active September 21, 2022 14:03
Visual Studio Code Settings Sync Gist
{
"terminal.integrated.profiles.windows": {
"PowerShell": {
"source": "PowerShell",
"icon": "terminal-powershell"
},
"Command Prompt": {
"path": [
"${env:windir}\\Sysnative\\cmd.exe",
"${env:windir}\\System32\\cmd.exe"
@iamSlightlyWind
iamSlightlyWind / termux-hw-acc.sh
Last active June 1, 2024 17:56
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
pkg install -y x11-repo