Auto-built WSL2 kernel with Android binder support, for use with Waydroid.
Tracks microsoft/WSL2-Linux-Kernel releases and applies the minimum config changes needed for Android binder.
CONFIG_ANDROID_BINDER_IPC=y
CONFIG_ANDROID_BINDERFS=y
CONFIG_ANDROID_BINDER_DEVICES="binder,hwbinder,vndbinder"
Everything else is stock Microsoft WSL2 kernel config.
- Download
bzImageandmodules.tar.gzfrom the latest release - Save
bzImagesomewhere stable, e.g.C:\Users\YourName\wsl-kernel\bzImage - Add to
C:\Users\YourName\.wslconfig:[wsl2] kernel=C:\\Users\\YourName\\wsl-kernel\\bzImage
- Run
wsl --shutdownthen relaunch your distro - Install kernel modules inside WSL (needed for networking and binder):
sudo tar -xzf modules.tar.gz -C /lib/modules/ sudo depmod -a
- Verify modules load and binder is present:
sudo modprobe bridge sudo modprobe dummy ls /dev/binder
- Automatic: runs daily, builds only when Microsoft ships a new kernel version
- Manual: use the Actions tab > "Build WSL2 Kernel with Android Binder" > "Run workflow" — optionally specify a tag to build an older version
- Releases: each Microsoft kernel version gets its own tagged release (e.g.
linux-msft-wsl-6.6.123.2-binder), pluslatestalways points to the most recent build