Skip to content

Commit

Permalink
Support v2304 (#19)
Browse files Browse the repository at this point in the history
Starting with WSA version 2304, the system image is now raw EROFS wrapped with `vhdx`. In this case, the integration has moved to mount EROFS and use the mounted directory as `lowerdir`, use OverlayFS to make it readable and writeable, and modify it in the merged directory.
  • Loading branch information
YT-Advanced authored May 14, 2023
1 parent 5462294 commit 510d825
Show file tree
Hide file tree
Showing 11 changed files with 375 additions and 164 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
- name: Install Ubuntu Dependencies 🧑‍🏭
uses: awalsh128/cache-apt-pkgs-action@latest
with:
packages: ca-certificates patchelf e2fsprogs aria2 p7zip-full attr unzip xz-utils qemu-utils python3-venv
packages: ca-certificates patchelf e2fsprogs aria2 p7zip-full attr unzip xz-utils qemu-utils python3-venv erofs-utils
version: 1.0

- name: Update Package 👷
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/comment_on_issues.yml
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ jobs:
if: env.iscustom == 'true' && success()
uses: awalsh128/cache-apt-pkgs-action@latest
with:
packages: ca-certificates patchelf e2fsprogs aria2 p7zip-full attr unzip xz-utils qemu-utils python3-venv
packages: ca-certificates patchelf e2fsprogs aria2 p7zip-full attr unzip xz-utils qemu-utils python3-venv erofs-utils
version: 1.0

- name: Update Package
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/custom_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ jobs:
- name: Install Ubuntu Dependencies 🧑‍🏭
uses: awalsh128/cache-apt-pkgs-action@latest
with:
packages: ca-certificates patchelf e2fsprogs aria2 p7zip-full attr unzip xz-utils qemu-utils python3-venv
packages: ca-certificates patchelf e2fsprogs aria2 p7zip-full attr unzip xz-utils qemu-utils python3-venv erofs-utils
version: 1.0

- name: Update Package 👷
Expand Down
25 changes: 25 additions & 0 deletions arm64/gapps/product/etc/sysconfig/component-overrides.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- This file is part of MagiskOnWSALocal.
MagiskOnWSALocal is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.
MagiskOnWSALocal is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
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
-->
<config>
<component-override package="com.android.vending">
<component class="com.google.android.finsky.verifier.impl.PackageVerificationReceiver" enabled="false" />
<component class="com.google.android.finsky.verifier.impl.api.safetynet.PackageVerificationApiService" enabled="false" />
<component class="com.google.android.finsky.verifier.impl.PackageVerificationService" enabled="false" />
</component-override>
</config>
Loading

0 comments on commit 510d825

Please sign in to comment.