Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

wsl2-android-binder-kernel

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.

What it adds

CONFIG_ANDROID_BINDER_IPC=y
CONFIG_ANDROID_BINDERFS=y
CONFIG_ANDROID_BINDER_DEVICES="binder,hwbinder,vndbinder"

Everything else is stock Microsoft WSL2 kernel config.

Installation

  1. Download bzImage and modules.tar.gz from the latest release
  2. Save bzImage somewhere stable, e.g. C:\Users\YourName\wsl-kernel\bzImage
  3. Add to C:\Users\YourName\.wslconfig:
    [wsl2]
    kernel=C:\\Users\\YourName\\wsl-kernel\\bzImage
  4. Run wsl --shutdown then relaunch your distro
  5. Install kernel modules inside WSL (needed for networking and binder):
    sudo tar -xzf modules.tar.gz -C /lib/modules/
    sudo depmod -a
  6. Verify modules load and binder is present:
    sudo modprobe bridge
    sudo modprobe dummy
    ls /dev/binder

Builds

  • 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), plus latest always points to the most recent build

About

Auto-built WSL2 kernel with Android binder support (Waydroid). Tracks microsoft/WSL2-Linux-Kernel releases.

Resources

Stars

4 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors