Add old static symlinks needed by gbinder (waydroid)

This commit is contained in:
Malte Cantarutti 2026-04-19 21:17:28 +02:00
parent a6aa97d65b
commit 50678b6ceb
2 changed files with 13 additions and 0 deletions

View File

@ -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

View File

@ -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