Skip to content

[Has Workaround] Waydroid fails to install due to lack of binder_linux #2882

@y2k04

Description

@y2k04

Confirmations

What happened?

Waydroid won't install due to binder_linux being missing.

Description

To fix this, I had to make sure that uname -r didn't return a kernel version ending in a '+' (rpi-update causes this),
and ran the following commands:

# Making sure everything is up to date
sudo apt update; sudo apt upgrade -y

sudo apt install \
    dkms `# To install kernel modules without recompiling the kernel` \
    linux-headers-$(uname -r) `# Ensuring the kernel headers are installed` \
    apparmor-utils dh-apparmor auditd `# Apparmor is already installed, but the utilities are not for some reason.`

# Downloading and installing the anbox_binder module.
git clone https://github.com/choff/anbox-modules
cd anbox-modules
./INSTALL.sh

sudo reboot now

And then I can install Waydroid using PiApps without major issues (and reboot again to change to 4k kernel and install /proc/pressure).

Currently still get a lot of read-only file system errors in journalctl though.

Waydroid running on Pi 5 without issues

What are your system specs (run the following command in your terminal)?

OS: Debian GNU/Linux 13 (trixie)
OS architecture: 64-bit
Last updated Pi-Apps on: 12/26/2025
Latest Pi-Apps version: 12/26/2025
Kernel: aarch64 6.12.47+rpt-rpi-v8
Device model: Raspberry Pi 5 Model B Rev 1.1
SOC identifier: bcm2712
Machine-id (hashed): 8fc1f0cde5509f82cf6498841f26ad15352d1c9a
Serial-number (hashed): 6b1454ed00f990771e4d52737c6513e920af1f31
Cpu name: Cortex-A76
Ram size: 7.95 GB
Raspberry Pi OS image version: 2025-12-04
Language: en_US.UTF-8

(Recommended) Error log? Terminal output? Debug messages?

The /proc/pressure mode has been enabled by adding 'psi=1' to /boot/firmware/cmdline.txt
Please reboot now and install the Waydroid app again.
[REBOOTED]
Cache read/write disabled: interface file missing. (Kernel needs AppArmor 2.4 compatibility patch.)
Warning: unable to find a suitable fs in /proc/mounts, is it mounted?
Use --subdomainfs to override.
Failed to run 'apparmor_parser -rWT /etc/apparmor.d/lxc-containers'. You will probably need to run it by hand at some point.
[18:56:21] ERROR: 'system_ota'
[18:56:21] See also: <https://github.com/waydroid>
Use '--details-to-stdout' to get more details:
  /usr/bin/waydroid --details-to-stdout upgrade -o
19:05:03] WayDroid session is stopped
Starting Android session, please wait... 
[19:05:04] Skipping notification manager service because we could not connect to the notifications server: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Notifications was not provided by any .service files
[19:05:18] Android with user 0 is ready
Done
sed: can't read /home/amber/.local/share/applications/Waydroid.desktop: No such file or directory
chmod: cannot access '/home/amber/.local/share/applications/Waydroid.desktop': No such file or directory
[gbinder] Service manager /dev/binder has appeared
/home/amber/pi-apps/apps/Waydroid/install-64: line 177: wait: pid 17313 is not a child of this shell

[After successful install]
Dec 26 20:26:22 raspberrypi systemd-udevd[398]: /usr/lib/udev/rules.d/90-alsa-restore.rules:18 GOTO="alsa_restore_std" has no matching label, ignoring.
Dec 26 20:26:22 raspberrypi systemd-udevd[398]: /usr/lib/udev/rules.d/90-alsa-restore.rules:22 GOTO="alsa_restore_std" has no matching label, ignoring.
Dec 26 20:26:24 raspberrypi blkmapd[896]: open pipe file /run/rpc_pipefs/nfs/blocklayout failed: No such file or directory
Dec 26 20:26:26 raspberrypi wpa_supplicant[870]: nl80211: kernel reports: Registration to specific type not supported
Dec 26 20:26:29 raspberrypi wpa_supplicant[870]: bgscan simple: Failed to enable signal strength monitoring
Dec 26 20:26:53 raspberrypi init: Could not set 'ro.vndk.lite' to 'true' while loading .prop filesRead-only property was already set
Dec 26 20:26:53 raspberrypi init: /vendor/etc/init/android.hardware.audio.service.rc: 1: ignored duplicate definition of service 'vendor.audio-hal'
Dec 26 20:26:53 raspberrypi init: /vendor/etc/init/android.hardware.graphics.composer@2.1-service.rc: 1: ignored duplicate definition of service 'vendor.hwcomposer-2-1'
Dec 26 20:26:53 raspberrypi libprocessgroup: Failed to mount blkio cgroup: Operation not permitted
Dec 26 20:26:53 raspberrypi libprocessgroup: Failed to mount cgroup v2: Device or resource busy
Dec 26 20:26:53 raspberrypi libprocessgroup: lchown() failed for /sys/fs/cgroup/.: Read-only file system
Dec 26 20:26:53 raspberrypi libprocessgroup: Failed to create directory for cgroup2 cgroup
Dec 26 20:26:53 raspberrypi libprocessgroup: Failed to mount cgroup2 cgroup: Read-only file system
Dec 26 20:26:53 raspberrypi libprocessgroup: Failed to mount cpu cgroup: Operation not permitted
Dec 26 20:26:53 raspberrypi libprocessgroup: Failed to mount cpuset cgroup: Operation not permitted
Dec 26 20:26:53 raspberrypi kernel: cgroup: Unknown subsys name 'memory'
Dec 26 20:26:53 raspberrypi kernel: cgroup: Unknown subsys name 'schedtune'
Dec 26 20:26:53 raspberrypi libprocessgroup: Failed to mount schedtune cgroup: Invalid argument
Dec 26 20:26:53 raspberrypi libprocessgroup: Failed to make and chown /sys/fs/cgroup/uid_0: Read-only file system
Dec 26 20:26:53 raspberrypi init: createProcessGroup(0, 4) failed for service 'exec 1 (/system/bin/bootstrap/linkerconfig --target /linkerconfig/bootstrap)': Read-only file system
Dec 26 20:26:53 raspberrypi linkerconfig: Unable to access VNDK APEX at path: /apex/com.android.vndk.v33: No such file or directory
Dec 26 20:26:53 raspberrypi libprocessgroup: Failed to make and chown /sys/fs/cgroup/uid_0: Read-only file system
Dec 26 20:26:53 raspberrypi init: createProcessGroup(0, 5) failed for service 'ueventd': Read-only file system
Dec 26 20:26:53 raspberrypi libprocessgroup: Failed to make and chown /sys/fs/cgroup/uid_0: Read-only file system
Dec 26 20:26:53 raspberrypi init: createProcessGroup(0, 6) failed for service 'apexd-bootstrap': Read-only file system
Dec 26 20:26:53 raspberrypi apexd: Failed to scan /product/apex : Can't open /product/apex for reading : No such file or directory
Dec 26 20:26:53 raspberrypi apexd: Failed to scan /vendor/apex : Can't open /vendor/apex for reading : No such file or directory
Dec 26 20:26:54 raspberrypi libprocessgroup: Failed to make and chown /sys/fs/cgroup/uid_1092: Read-only file system
Dec 26 20:26:54 raspberrypi init: createProcessGroup(1092, 13) failed for service 'prng_seeder': Read-only file system
Dec 26 20:26:54 raspberrypi libprocessgroup: Failed to make and chown /sys/fs/cgroup/uid_0: Read-only file system
Dec 26 20:26:54 raspberrypi init: createProcessGroup(0, 14) failed for service 'boringssl_self_test32_vendor': Read-only file system
Dec 26 20:26:54 raspberrypi libprocessgroup: Failed to make and chown /sys/fs/cgroup/uid_0: Read-only file system
Dec 26 20:26:54 raspberrypi init: createProcessGroup(0, 15) failed for service 'boringssl_self_test64_vendor': Read-only file system
Dec 26 20:26:54 raspberrypi libprocessgroup: Failed to make and chown /sys/fs/cgroup/uid_0: Read-only file system
Dec 26 20:26:54 raspberrypi init: createProcessGroup(0, 16) failed for service 'exec 2 (/vendor/bin/sh -c [ -c /dev/host_hwbinder ] && setprop ctl.stop vendor.gralloc-2-0)': Read-only file system
Dec 26 20:26:54 raspberrypi libprocessgroup: Failed to make and chown /sys/fs/cgroup/uid_1036: Read-only file system
Dec 26 20:26:54 raspberrypi init: createProcessGroup(1036, 17) failed for service 'logd': Read-only file system
Dec 26 20:26:54 raspberrypi libprocessgroup: Failed to make and chown /sys/fs/cgroup/uid_1069: Read-only file system
Dec 26 20:26:54 raspberrypi init: createProcessGroup(1069, 18) failed for service 'lmkd': Read-only file system
Dec 26 20:26:54 raspberrypi libprocessgroup: Failed to make and chown /sys/fs/cgroup/uid_1000: Read-only file system
Dec 26 20:26:54 raspberrypi init: createProcessGroup(1000, 19) failed for service 'servicemanager': Read-only file system
Dec 26 20:26:54 raspberrypi libprocessgroup: Failed to make and chown /sys/fs/cgroup/uid_1000: Read-only file system
Dec 26 20:26:54 raspberrypi init: createProcessGroup(1000, 20) failed for service 'hwservicemanager': Read-only file system
Dec 26 20:26:54 raspberrypi init: failed to set task profiles
Dec 26 20:26:54 raspberrypi init: failed to set task profiles
Dec 26 20:26:54 raspberrypi init: failed to set task profiles
Dec 26 20:26:54 raspberrypi libprocessgroup: Failed to make and chown /sys/fs/cgroup/uid_1000: Read-only file system
Dec 26 20:26:54 raspberrypi init: createProcessGroup(1000, 21) failed for service 'vndservicemanager': Read-only file system
Dec 26 20:26:54 raspberrypi init: failed to set task profiles
Dec 26 20:26:54 raspberrypi init: failed to set task profiles
Dec 26 20:26:54 raspberrypi libprocessgroup: Failed to make and chown /sys/fs/cgroup/uid_0: Read-only file system
Dec 26 20:26:54 raspberrypi init: createProcessGroup(0, 22) failed for service 'boringssl_self_test32': Read-only file system
Dec 26 20:26:54 raspberrypi libprocessgroup: Failed to make and chown /sys/fs/cgroup/uid_0: Read-only file system
Dec 26 20:26:54 raspberrypi init: createProcessGroup(0, 30) failed for service 'boringssl_self_test64': Read-only file system
Dec 26 20:26:54 raspberrypi libprocessgroup: Failed to make and chown /sys/fs/cgroup/uid_0: Read-only file system
Dec 26 20:26:54 raspberrypi init: createProcessGroup(0, 31) failed for service 'vold': Read-only file system

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions