Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request for Inclusion of ways to load ashmem, binder, and memfd in Fedora Remix for WSL for Waydroid and Anbox Support. #226

Open
progressive-galib opened this issue Oct 20, 2024 · 3 comments

Comments

@progressive-galib
Copy link


Feature Request: Add ashmem, binder, and memfd Support


Background


As a paying customer of Fedora-Remix-for-WSL from the Windows Store, I appreciate the ongoing efforts to maintain and enhance this distribution. Additionally, I have a strong interest in 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 Whitewater Foundry or Microsoft updates WSL.

Request


It would be greatly beneficial if you could consider adding support for the following:

  • ashmem
  • binder
  • memfd (for future compatibility)

Suggestion perhaps there could be a dnf package called android support that installs these modules


@crramirez
Copy link
Contributor

Hello @progressive-galib,

Thank you for taking the time to fill the request. Nowadays, loading modules in kernel is not supported by WSL, but will be supported soon when WSL comes with kernel 6. At that time we can consider adding packages that install those modules

@progressive-galib
Copy link
Author

progressive-galib commented Oct 31, 2024 via email

@crramirez
Copy link
Contributor

It can happen any time. Microsoft has tried to ship this kernel twice and has rolled it back because many issues. Also, users are asking insistently for it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants