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 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
Can I delete the unzipped folder?
No.
Why the size of the zip does not match the one shown?
The zip you downloaded is compressed and Github is showing the uncompressed size.
How can I update WSA to 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 new version?
Do the same as updating WSA
VPN is not working?
Tell Microsoft to fix it. We cannot fix it easily.
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 system as read-write?
No way in WSA since it's mounted as read-only by Hyper-V. You can modify 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 remove online module repository. You can install module 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 Magisk 23.0 stable or lower version?
No. Magisk has bugs preventing itself 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 root solution.
Github Action script is updated, how can I synchronize it?
fetch upstream
fetch and merge
su
for debugging Magisk Integration此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。