WSABuilds/README.md

41 lines
2.8 KiB
Markdown
Raw Normal View History

2021-10-26 12:19:47 +02:00
# Magisk on WSA
2021-10-27 15:06:38 +02:00
## Features
2021-10-27 16:07:29 +02:00
- Integrate Magisk and OpenGApps in a few clicks within minutes
- No Linux environment required for integration
- Keep each build up to date
2021-10-27 15:06:38 +02:00
- Support both ARM64 and x64
2021-10-30 14:48:34 +02:00
- Support all OpenGApps variants
- Fix external storage access of DocumentUI
2021-10-27 15:06:38 +02:00
2021-10-26 12:19:47 +02:00
## Usage
2021-10-26 11:16:38 +02:00
2021-10-30 09:26:06 +02:00
1. Star (if you like) and fork this repo
1. Go to the **Action** tab in your forked repo
![Action Tab](https://docs.github.com/assets/images/help/repository/actions-tab.png)
1. In the left sidebar, click the **Magisk** workflow.
![Workflow](https://docs.github.com/assets/images/actions-select-workflow.png)
1. Above the list of workflow runs, select **Run workflow**
![Run Workflow](https://docs.github.com/assets/images/actions-workflow-dispatch.png)
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 and click **Run workflow**
![Run Workflow](https://docs.github.com/assets/images/actions-manually-run-workflow.png)
2021-10-26 11:16:38 +02:00
1. Wait the action complete and download the artifact
2021-10-30 09:26:06 +02:00
![Download](https://docs.github.com/assets/images/help/repository/artifact-drop-down-updated.png)
1. Unzip the artifact and uninstall WSA if you have an official installation or replace the pevious unzipped artifact if you have a manual installation
2021-10-27 15:03:32 +02:00
1. Enable developer mode on Windows
2021-10-31 09:37:54 +01:00
1. Right click `Install.ps1` and select `Run with PowerShell`
2021-10-27 15:03:32 +02:00
1. Launch WSA and enable developer mode, launch the file manager, and wait until the file manager popup
2021-10-31 09:37:54 +01:00
1. Make sure you have [Platform tools](https://developer.android.com/studio/releases/platform-tools)m run `adb connect localhost:58526` to connect to WSA, `adb install magisk.apk` to install Magisk App (the one you used to build) and launch it
2021-10-30 09:26:06 +02:00
1. Fix the environment as Magisk app will prompt and reboot (sometimes it keeps prompting even after environment fix, just ignore it)
2021-10-26 11:30:03 +02:00
1. Enjoy by installing Riru and LSPosed
2021-10-26 12:19:47 +02:00
## Prebuilt Magisk
2021-10-26 11:30:03 +02:00
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](https://raw.githubusercontent.com/LSPosed/MagiskOnWSA/main/magisk.apk) and its source codes are on the magisk branch.
2021-10-27 15:11:39 +02:00
## 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