Windows Subsystem for Android™ with Play Store + Magisk + Xposed (Lsposed)
使用 actions 自动编译 Lsposed 团队的 Magisk WSA 并创建 zip 打包的 release,直接在 release 中下载编译好的 安卓子系统
本项目 release 中默认是 Google Apps + Magisk 的安卓子系统。
如果有自定义需求,可以 fork 本项目,在 actions 中选择自定义参数进行调整。
https://user-images.githubusercontent.com/5022927/145696886-e13ebfc1-ff25-4410-893e-d3e517af70ea.mp4
Install.ps1
and select Run with PowerShell
%LOCALAPPDATA%\Packages\MicrosoftCorporationII.WindowsSubsystemForAndroid_8wekyb3d8bbwe\LocalCache\userdata.vhdx
before uninstallation and restore it after installation.) (If you want to restore the icons to the start menu, please install and use WSAHelper.)Install.ps1
as administrator:
Win+x
and select Windows Terminal (Admin)
cd "{X:\path\to\your\extracted\folder}"
and press enter
, and remember to replace {X:\path\to\your\extracted\folder}
including the {}
, for example cd "D:\wsa"
PowerShell.exe -ExecutionPolicy Bypass -File .\Install.ps1
and press enter
Actions workflow task Delete workflow runs
run Failed
Check workflow permissions, should be Read and write permissions
Read the Github Docs to find out how to change this setting
Why should we delete old workflow runs?
Keeping old workflow runs can take up a lot of storage resources and is suspected to be abusive, which can lead to banning.
Can I delete the unzipped folder?
No.
Why does the size of the zip do not match the one shown?
The zip you downloaded is compressed and Github is showing the uncompressed size.
How can I update WSA to a new version?
Rerun the Github action, download the new artifact, replace the content of your previous installation and rerun Install.ps1
. Don't worry, your data will be preserved.
How can I get the logcat from WSA?
%LOCALAPPDATA%\Packages\MicrosoftCorporationII.WindowsSubsystemForAndroid_8wekyb3d8bbwe\LocalState\diagnostics\logcat
How can I update Magisk to a new version?
Do the same as updating WSA
How to pass safetynet?
Like all the other emulators, no way.
Virtualization is not enabled?
Install.ps1
helps you enable it if not enabled. After rebooting, rerun Install.ps1
to install WSA. If it's still not working, you have to enable virtualization in BIOS. That's a long story so ask Google for help.
How to remount the system as read-write?
No way in WSA since it's mounted as read-only by Hyper-V. You can modify the system by making a Magisk module. Or directly modify system.img. Ask Google for help.
I cannot adb connect localhost:58526
Make sure developer mode is enabled. If the issue persists, check the IP address of WSA in the setting page and try adb connect ip:5555
.
Magisk online module list is empty?
Magisk actively removes online module repositories. You can install modules locally or by adb push module.zip /data/local/tmp
and adb shell su -c magisk --install-module /data/local/tmp/module.zip
.
Can I use the stable or lower version of Magisk 23.0?
No. Magisk has bugs preventing itself from running on WSA. Magisk 24+ has fixed them. So you must use Magisk 24 or higher version.
How can I get rid of Magisk?
Choose none
as the root solution.
Github Action script is updated, how can I synchronize it?
fetch upstream
fetch and merge
su
for debugging Magisk Integration