From 17c83fd1d3b40cf7dcaf6c76d6c252112c9f89c3 Mon Sep 17 00:00:00 2001 From: Malte Cantarutti Date: Sun, 19 Apr 2026 21:17:28 +0200 Subject: [PATCH] Add old static symlinks needed by gbinder (waydroid) --- INSTALL.sh | 8 ++++++++ UNINSTALL.sh | 5 +++++ 2 files changed, 13 insertions(+) diff --git a/INSTALL.sh b/INSTALL.sh index f6e32c1..5f5a13f 100755 --- a/INSTALL.sh +++ b/INSTALL.sh @@ -14,3 +14,11 @@ sudo dkms install anbox-binder/1 sudo modprobe binder_linux lsmod | grep -e binder_linux ls -alh /dev/binder + +#Add symlinks to devices needed by gbinder +sudo ln -s /dev/binderfs/anbox-binder /dev/binder +sudo ln -s /dev/binderfs/anbox-hwbinder /dev/hwbinder +sudo ln -s /dev/binderfs/anbox-vndbinder /dev/vndbinder +sudo chmod 777 /dev/binder +sudo chmod 777 /dev/hwbinder +sudo chmod 777 /dev/vndbinder diff --git a/UNINSTALL.sh b/UNINSTALL.sh index f5d4795..e204b23 100755 --- a/UNINSTALL.sh +++ b/UNINSTALL.sh @@ -10,6 +10,11 @@ sudo rm -rf /usr/src/anbox-binder-1 sudo rm -f /etc/modules-load.d/anbox.conf sudo rm -f /lib/udev/rules.d/99-anbox.rules +#Remove symlinks +sudo rm /dev/binder +sudo rm /dev/hwbinder +sudo rm /dev/vndbinder + # Verify remove by trying to load the modules and checking the created devices: failed_checks=0 if sudo modprobe binder_linux > /dev/null 2>&1; then