mirror of
https://github.com/LSPosed/MagiskOnWSALocal.git
synced 2025-04-25 09:49:16 +00:00
Integrate Magisk root and Google Apps into WSA (Windows Subsystem for Android)
.github/workflows | ||
LICENSE | ||
magisk.apk | ||
README.md |
Magisk on WSA
Usage
- Fork this repo
- Go to Action tab and select workflow
Magisk
, click the run button and enter the needed infomation (magisk apk download link) - Wait the action complete and download the artifact
- Uninstall WSA
- Unzip the artifact
- Enable deveop mode on Windows
- Open powershell with admin permission and run
Add-AppxPackage -Register .\AppxManifest.xml
under the unzipped artifact directory - Launch WSA and enable develop mode, launch the file manager, and wait until the file manager popup
- Run
adb connect localhost:58526
to connect to WSA and install Magisk app (the one you use to build) and launch it - Fix the environment as Magisk app will prompt and reboot
- Enjoy by installing Riru and LSPosed
Prebuilt Magisk
There's still a bug from Magisk that prevents it from running on WSA. So please don't use the official build yet. The download link of the prebuilt Magisk is: https://raw.githubusercontent.com/LSPosed/MagiskOnWSA/main/magisk.apk and its source codes are on the magisk branch.