Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
78 commits
Select commit Hold shift + click to select a range
d8e875a
EROFS mount using fuse (#553)
Howard20181 May 24, 2023
a4ca446
Remove `OpenGApps` (#554)
Howard20181 May 24, 2023
644d1dc
Update checkers workflows
Howard20181 May 25, 2023
02862b2
Overlayfs: don't use `userxattr`
Howard20181 May 25, 2023
3d819b9
Add support for arch (#556)
faizauthar12 May 25, 2023
b38fe8c
Fix Python dependency installation
Howard20181 May 26, 2023
9b117b8
mk_overlayfs: fix undefined behavior
Howard20181 May 26, 2023
fddfd79
Prevent system partition from containing duplicate data from other pa…
Howard20181 May 26, 2023
32af1ea
Fix scripts folder permissions (#572)
ferferga Jun 1, 2023
d5ed25e
Fix 2304 Remove Amazon Appstore (#573)
s1204IT Jun 2, 2023
c622109
Fix SELinux context
Howard20181 Jun 2, 2023
67f26c8
Disable GMS system OTA
Howard20181 Jun 6, 2023
aefda92
Drop KernelSU support for WSA version lower than 2303
Howard20181 Jun 6, 2023
9a4f25e
Check WSA download link version
Howard20181 Jun 20, 2023
bbc86e1
Rename main version to major version
Howard20181 Jun 20, 2023
3aeb235
fix corporation name (#605)
arielherself Jun 27, 2023
88bd889
Fix mtab workaround
Howard20181 Jul 5, 2023
d979887
Fix custom tmp dir build
Howard20181 Jul 6, 2023
21e80a3
Drop KernelSU support for 2304- (#616)
Howard20181 Jul 8, 2023
40028f1
[WIP] Rebuild EXT4 images
Howard20181 Jul 11, 2023
22bc69f
Less version determination
Howard20181 Jul 11, 2023
34576be
Merge pull request #715 from LSPosed/rebuild-ext4
Howard20181 Oct 24, 2023
f55c188
Add support for Gentoo (#625)
soleera Oct 24, 2023
0c4c752
Download Microsoft component packages while using `--skip-download-ws…
sn-o-w Oct 24, 2023
0a765ec
Fix KernelSU (#707)
s1204IT Oct 24, 2023
7bc3428
Fix typo in generateWSALinks.py (#671)
eltociear Oct 24, 2023
661f71e
Ignore `VelvetTitan` (#713)
s1204IT Oct 24, 2023
15f5d26
Use Official repository (#714)
s1204IT Oct 24, 2023
8548114
Download correct WSA version (#712)
ricnava00 Oct 24, 2023
d44a77b
fix scripts permissions (#718)
Doddddd Oct 25, 2023
a2313d7
Use lspinit to integrate Magisk
Howard20181 Feb 6, 2024
734ebf8
Fix lspinit init
Howard20181 Feb 6, 2024
7d501a7
Add back magisk32 to fix zygisk32
Howard20181 Feb 6, 2024
ad6f29a
use full manager app
Howard20181 Feb 6, 2024
ccef439
Fix arm64 build
Howard20181 Feb 7, 2024
0906e38
Add GApps integration
Howard20181 Feb 8, 2024
ea61cd4
Format code
Howard20181 Feb 8, 2024
bd7dba0
No hard-code kernel version
Howard20181 Feb 8, 2024
061a0c5
2024
Howard20181 Feb 8, 2024
a85996a
Skip Optimize-VHD
Howard20181 Feb 8, 2024
85db04b
2024
Howard20181 Feb 8, 2024
cef9ef4
[WIP] Gapps integrate
Howard20181 Feb 8, 2024
a3efd6d
[WIP] Fix SELinux
Howard20181 Feb 9, 2024
4f7d3c1
Fix parameter parsing
Howard20181 Feb 9, 2024
f310b75
Always check files
Howard20181 Feb 9, 2024
62d3f88
Remove workaround of live apply modules policy
Howard20181 Feb 9, 2024
7eaf4d7
let lspinit copy rule
Howard20181 Feb 11, 2024
7bc40ff
Fix env at first boot
Howard20181 Feb 12, 2024
e3130bd
Refine post-fs-data.sh
Howard20181 Feb 12, 2024
44df7ca
Always overwrite files
Howard20181 Feb 12, 2024
502e3c7
Load modules by Magisk
Howard20181 Mar 2, 2024
c31c994
Cleanup mount point
Howard20181 Mar 2, 2024
33e2369
Update LSPinit
Howard20181 Mar 2, 2024
2a247dc
Download cust.img
Howard20181 Mar 2, 2024
59758e5
Fix stupid bug
Howard20181 Mar 2, 2024
41aec53
Merge pull request #776 from LSPosed/lspinit
Howard20181 Mar 3, 2024
8950e28
Fix run.sh (#778)
s1204IT Mar 3, 2024
f78b9ea
Fix run.sh not recognize the compress format
Howard20181 Mar 4, 2024
63790f6
function YesNoBox allow default no
Howard20181 Mar 4, 2024
511374f
variable "$default" may be empty (#781)
Doddddd Mar 5, 2024
730070d
Add back remove amazon
Howard20181 Mar 5, 2024
78a3fe5
Update docs
Howard20181 Mar 5, 2024
055bba0
EOL note
Howard20181 Mar 5, 2024
8cee064
Fix arm64 build
Howard20181 Mar 5, 2024
8c71c33
Don't allow install gapps and kernelsu at the same time
Howard20181 Mar 5, 2024
2726a69
When installing GApps explicitly prompts to install Magisk instead of…
Howard20181 Mar 5, 2024
2d2c790
Enhanced compatibility
Howard20181 Jul 13, 2024
d190ec2
Add a script to quickly debug Magisk (#803)
Howard20181 Jul 25, 2024
5448a5f
Enhanced compatibility (#804)
Howard20181 Jul 25, 2024
028a766
Update issue-moderator-action to v2 (#805)
Howard20181 Jul 25, 2024
599e027
Stop copy sepolicy.rule (#806)
Howard20181 Jul 25, 2024
b406112
Update lspinit for Magisk 27008+
Howard20181 Oct 26, 2024
96451a2
Fix python `SyntaxWarning`s on non-raw regex strings (#810)
Morilli Oct 26, 2024
92b0ba5
Fixed selection without root in the run.sh (#824)
MrKristofere Dec 31, 2024
4ec5226
Fix #822
Howard20181 Dec 31, 2024
5066f5a
Add more CDN hosts
Howard20181 Jan 11, 2025
07e6d5b
Simplify GApps and Magisk link generation scripts
Howard20181 Jul 17, 2025
10659d9
Create gapps_debug.sh
Howard20181 Sep 20, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/issue_moderator.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Check issue
uses: tachiyomiorg/issue-moderator-action@v1
uses: tachiyomiorg/issue-moderator-action@v2
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
auto-close-rules: |
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/ps2check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,11 @@ on:
paths:
- '**.ps1'
- '.github/workflows/ps2check.yml'
workflow_dispatch:
pull_request:

permissions: {}
paths:
- '**.ps1'
- '.github/workflows/ps2check.yml'
workflow_dispatch:

jobs:
shellcheck:
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/shellcheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,11 @@ on:
paths:
- '**.sh'
- '.github/workflows/shellcheck.yml'
workflow_dispatch:
pull_request:

permissions: {}
paths:
- '**.sh'
- '.github/workflows/shellcheck.yml'
workflow_dispatch:

jobs:
shellcheck:
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
download
output
python3-env
token
24 changes: 0 additions & 24 deletions arm64/gapps/product/etc/sysconfig/component-overrides.xml

This file was deleted.

Binary file removed arm64/gapps/product/overlay/GoogleWebViewOverlay.apk
Binary file not shown.
Binary file removed arm64/system/priv-app/VpnDialogs/VpnDialogs.apk
Binary file not shown.
Binary file added bin/arm64/lspinit
Binary file not shown.
Binary file added bin/x64/lspinit
Binary file not shown.
31 changes: 15 additions & 16 deletions docs/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Magisk on WSA (with Google Apps)

:warning: Magisk on WSA will no longer be available after March 5, 2025. [Learn more](https://learn.microsoft.com/en-us/windows/android/wsa/).

:warning: For fork developers: Please don't build using GitHub Actions, as GitHub will count your forked GitHub Actions usage against this upstream repository, which may cause this upstream repository gets disabled by GitHub staff like [MagiskOnWSA](https://github.com/LSPosed/MagiskOnWSA) because of numerous forks building GitHub Actions, and counting the forks' Action usage against this upstream repository.

## Support for generating from these systems
Expand All @@ -8,10 +10,11 @@

The following dependencies are required:

| DistrOS | | | | |
|:-------------------:|--------------------------------------------------------------------------------------------|------------|--------------|--------------------|
| Debian | `lzip patchelf e2fsprogs python3 python3-pip aria2 p7zip-full attr unzip sudo erofs-utils` | `whiptail` | `qemu-utils` | `python3-venv` |
| openSUSE Tumbleweed | Same as above | `dialog` | `qemu-tools` | `python3-venvctrl` |
| DistrOS | | | | | |
|:-------------------:|----------------------------|------------|--------------------|---------------|---------------|
| Debian | `python3 aria2 unzip sudo` | `whiptail` | `python3-venv` | `python3-pip` | `p7zip-full` |
| openSUSE Tumbleweed | Same as above | `dialog` | `python3-venvctrl` | Same as above | Same as above |
| Arch | Same as Debian | `libnewt` | Same as Debian | `python-pip` | `p7zip` |

The python3 library `requests` is used.

Expand Down Expand Up @@ -40,7 +43,7 @@
- Integrate Magisk and GApps in a few clicks within minutes
- Keep each build up to date
- Support both ARM64 and x64
- Support all OpenGApps variants except for aroma (aroma does not support x86_64, please use super instead)
- Support MindTheGapps
- Remove Amazon Appstore
- Fix VPN dialog not showing (use our [VpnDialogs app](https://github.com/LSPosed/VpnDialogs))
- Add device administration feature
Expand All @@ -63,9 +66,6 @@
5. Select the WSA version and its architecture (mostly x64).
6. Select the version of Magisk.
7. Choose which brand of GApps you want to install:
- OpenGApps

Select the [OpenGApps variant](https://github.com/opengapps/opengapps/wiki#variants) you like.
- MindTheGapps

There is no other variant we can choose.
Expand Down Expand Up @@ -153,13 +153,11 @@

Or you can download the built package for 12.1 and 13 for x86_64 from [this page](https://sourceforge.net/projects/wsa-mtg/files/x86_64/).

- Can I switch OpenGApps to MindTheGapps and keep user data in a previous build?

No. You should wipe data after changing the GApps brand. Otherwise, you will find that the installed GApps are not recognized.
- Is it possible to migrate data from a lower version like 2305 to a newer version?

- WSA with OpenGApps integrated fails to start.
This is certainly available, Microsoft's change of read-only partition from 2305's EROFS to read-only EXT4 only affects the read-only system partition.

OpenGApps has not yet released a version built for Android 12L and 13, only built for Android 11, which may not be compatible and thus cause crashes. Consider switching to MindTheGapps.
It has no effect on the user data partition. Check the logs if there is a failure to boot.

- How to install KernelSU?

Expand All @@ -173,10 +171,11 @@

- [StoreLib](https://github.com/StoreDev/StoreLib): API for downloading WSA
- [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
- ~~[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
- ~~[WSAGAScript](https://github.com/ADeltaX/WSAGAScript): The first GApps integration script for WSA~~
- ~~[erofs-utils](https://github.com/sekaiacg/erofs-utils): Pre-build `erofs-utils` with erofsfuse enabled~~

_The repository is provided as a utility._

_Android is a trademark of Google LLC. Windows is a trademark of Microsoft LLC._
_Android is a trademark of Google LLC. Windows is a trademark of Microsoft Corporation._
9 changes: 2 additions & 7 deletions installer/Install.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
# You should have received a copy of the GNU Affero General Public License
# along with MagiskOnWSALocal. If not, see <https://www.gnu.org/licenses/>.
#
# Copyright (C) 2023 LSPosed Contributors
# Copyright (C) 2024 LSPosed Contributors
#

$Host.UI.RawUI.WindowTitle = "Installing MagiskOnWSA...."
Expand Down Expand Up @@ -47,12 +47,7 @@ Function Test-CommandExist {
Finally { $ErrorActionPreference = $OldPreference }
} #end function Test-CommandExist

function Finish {
Clear-Host
If (Test-CommandExist Optimize-VHD) {
Write-Output "Optimizing VHDX size...."
Optimize-VHD ".\*.vhdx" -Mode Full
}
Function Finish {
Clear-Host
Start-Process "wsa://com.topjohnwu.magisk"
Start-Process "wsa://com.android.vending"
Expand Down
Binary file removed linker/aarch64/libc.so
Binary file not shown.
Binary file removed linker/aarch64/libdl.so
Binary file not shown.
Binary file removed linker/aarch64/libm.so
Binary file not shown.
Binary file removed linker/aarch64/linker64
Binary file not shown.
Binary file removed linker/x86_64/libc.so
Binary file not shown.
Binary file removed linker/x86_64/libdl.so
Binary file not shown.
Binary file removed linker/x86_64/libm.so
Binary file not shown.
Binary file removed linker/x86_64/linker64
Binary file not shown.
Loading