Hi, I’m having a little trouble. I recently opened an Issue on the StoneyRidge kernel github repo about adding the waydroid kernels. It was done relatively quickly and I compiled the kernel. However I can’t get Waydroid to work and I think it has something to do with the Linux kernel headers but I’m not positive. I’m going to attach a comment I made on the now closed issue that has the rest of the context.
I’ve successfully compiled the kernel on my main PC in an EndeavourOS live environment using “none” as I’m not compiling for alpine. I used a flash drive to transfer the compiled kernel to the Stoneyridge device I have. It’s currently running Fedora 40 and I haven’t tried any other distro as of yet. I wrote myself a small script to install the kernel for me as I figured doing it by hand would cause errors. Here’s the script:
#/bin/bash
echo "removing old entries"
sudo rm -rf /boot/vmlinuz-6.6.43-chrultrabook-stoney
sudo rm -rf /boot/initramfs-6.6.43-chrultrabook-stoney.img
sudo rm -rf /lib/modules/6.6.43-chrultrabook-stoney
sudo rm -rf /usr/src/linux-headers-6.6.43-chrultrabook-stoney
echo "copying headers"
sudo cp -r ./source/linux-6.6.43 /usr/src/linux-headers-6.6.43-chrultrabook-stoney
sudo rm -rf ./build/modules/lib/modules/6.6.43-chrultrabook-stoney/build
sudo ln -s /usr/src/linux-headers-6.6.43-chrultrabook-stoney ./build/modules/lib/modules/6.6.43-chrultrabook-stoney/build
echo "moving & copying files"
sudo mv ./build/vmlinuz ./build/vmlinuz-6.6.43-chrultrabook-stoney
sudo mv ./build/System.map ./build/System.map-6.6.43-chrultrabook-stoney
sudo cp ./build/vmlinuz-6.6.43-chrultrabook-stoney /boot/
sudo cp ./build/System.map-6.6.43-chrultrabook-stoney /boot/
sudo cp -r ./build/modules/lib/modules/6.6.43-chrultrabook-stoney /lib/modules/
echo "starting install"
sudo kernel-install add 6.6.43-chrultrabook-stoney ./build/vmlinuz-6.6.43-chrultrabook-stoney
After rebooting and starting Waydroid I still get the error
Failed to load binder driver
modprobe: FATAL: Module binder_linux not found in directory /lib/modules/6.6.43-chultrabook-stoney
Binder node "binder" for waydroid not found
As a hail mary I tried installing the Anbox modules by choff and this caused my system to become unbootable with the error
BUG: unable to handle page fault for address: ffffffffc07088e0
#PF: supervisor read access in kernel mode
#PF: error_code(0x0000) - not-present page
Starting systemd-tmpfiles-setup-de◼ Device Nodes in /dev gracefully...
[FAILED] Failed to mount sys-fs-fuse-connec◼s.mount - FUSE Control File System.
See `systemctl status sys-fs-fuse-connections.mount` for details.
fbcon: Taking over console
[ 157.719741] Console: switching to colour frame buffer device 170x40
Console: switching to colour frame buffer device 170x48