mirror of
https://github.com/LSPosed/MagiskOnWSALocal.git
synced 2025-05-06 23:06:34 +08:00
43 lines
2.6 KiB
Markdown
43 lines
2.6 KiB
Markdown
# Magisk on WSA
|
|
|
|
## Features
|
|
- Integrate Magisk and OpenGApps in a few clicks within minutes
|
|
- No Linux environment required for integration
|
|
- Keep each build up to date
|
|
- Support both ARM64 and x64
|
|
- Support all OpenGApps variants
|
|
- Fix external storage access of DocumentUI
|
|
- Unatended installation
|
|
- Automatically activates developers mode in Windows 11
|
|
- Update to new version while preserving data with one-click script
|
|
- Merged all language packs
|
|
|
|
## Usage
|
|
|
|
1. Star (if you like) and fork this repo
|
|
1. Go to the **Action** tab in your forked repo
|
|

|
|
1. In the left sidebar, click the **Magisk** workflow.
|
|

|
|
1. Above the list of workflow runs, select **Run workflow**
|
|

|
|
1. Input the download link of Magisk and select the [OpenGApps variant](https://github.com/opengapps/opengapps/wiki#variants) (none is no OpenGApps) you like, select the root solution (none means no root) and click **Run workflow**
|
|

|
|
1. Wait for the action to complete and download the artifact
|
|

|
|
1. Unzip the artifact
|
|
- If you have an official WSA installation, you should uninstall it first. (In case you want to preserve your data, you can backup `%LOCALAPPDATA%\Packages\MicrosoftCorporationII.WindowsSubsystemForAndroid_8wekyb3d8bbwe\LocalCache\userdata.vhdx` before uninstallation and restore it after installation.)
|
|
1. Right-click `Install.ps1` and select `Run with PowerShell`
|
|
- If you previously have a MagiskOnWSA installation, it will automatically uninstall the previous while **preserving all userdata** and install the new one, so don't worry about your data.
|
|
1. Enjoy by installing LSPosed-zygisk with zygisk enabled or Riru and LSPosed-riru
|
|
|
|
## Video Demo
|
|
|
|
[demo](https://user-images.githubusercontent.com/5022927/139580565-35971031-7258-40bf-93e2-49a0750156f3.mp4)
|
|
|
|
## Credits
|
|
- [Magisk](https://github.com/topjohnwu/Magisk): The most famous root solution on Android
|
|
- [The Open GApps Project](https://opengapps.org): One of the most famous Google Apps packages solution
|
|
- [WSA-Kernel-SU](https://github.com/LSPosed/WSA-Kernel-SU) and [kernel-assisted-superuser](https://git.zx2c4.com/kernel-assisted-superuser/): The kernel `su` for debugging Magisk Integration
|
|
- [WSAGAScript](https://github.com/ADeltaX/WSAGAScript): The first GApps integration script for WSA
|