Request for Inclusion of ashmem, binder, and memfd in the kernel for waydroid support
Feature Request: Add ashmem, binder, and memfd Support
Background
I wanna use Waydroid, which is an Android container designed for Wayland.
Issue
Waydroid depends on the ashmem and binder kernel modules. In the future, it will transition to using memfd. Most Linux distributions typically ship with ashmem and binder built into the kernel, but this is not the case with Microsoft’s implementation.
I have wrote a script that downloads the kernel, compiles the headers, and loads ashmem and binder. However, this setup tends to break every time i update my ubuntu or Microsoft updates underlying WSL.
Request
It would be greatly beneficial if you could consider adding for the following to the kernel by default it wont harm anybody but help a lot of us:
- ashmem
- binder
- memfd (for future compatibility)
it is specially important now as support windows subsystem for android has stopped
Logs are required for review from WSL team
If this a feature request, please reply with '/feature'. If this is a question, reply with '/question'. Otherwise please attach logs by following the instructions below, your issue will not be reviewed unless they are added. These logs will help us understand what is going on in your machine.
How to collect WSL logs
Download and execute collect-wsl-logs.ps1 in an administrative powershell prompt:
Invoke-WebRequest -UseBasicParsing "https://raw.githubusercontent.com/microsoft/WSL/master/diagnostics/collect-wsl-logs.ps1" -OutFile collect-wsl-logs.ps1
Set-ExecutionPolicy Bypass -Scope Process -Force
.\collect-wsl-logs.ps1
The script will output the path of the log file once done.
If this is a networking issue, please use collect-networking-logs.ps1, following the instructions here
Once completed please upload the output files to this Github issue.
Click here for more info on logging If you choose to email these logs instead of attaching to the bug, please send them to [email protected] with the number of the github issue in the subject, and in the message a link to your comment in the github issue and reply with '/emailed-logs'.
/feature
Diagnostic information
Found '/feature', adding tag 'feature'
@sirredbeard hey Hayden, could you look at this ? as i told you on telegram this would also solve https://github.com/WhitewaterFoundry/Fedora-Remix-for-WSL/issues/226
I also want to use Waydroid on WSL2 and facing same issue, now trying to make custom kernel with Blinder Support.
Works with 6.6. self-built kernel as per guidelines https://learn.microsoft.com/en-us/community/content/wsl-user-msft-kernel-v6
Will this ultimately be the best alternative to the awesome Win11 Android subsystem that's hacked to support Google Play? The best new feature on Win11 was the Android subsystem.. pretty sad that MIcrosoft is purposefully removing it and replacing with with AI bloat that nobody asked for.