508 Commits

Author SHA1 Message Date
Muhammad Alfaiz Khisma Authar
3d819b9ba5
Add support for arch (#556)
* For Arch, confirm before any operation

---------

Co-authored-by: Howard Wu <HowardWu20@outlook.com>
2023-05-26 03:01:04 +08:00
Howard Wu
02862b2c65 Overlayfs: don't use userxattr
Some old kernel does not support this
we always mount overlay in privileged mode
so we don't need it
Fix #559
2023-05-26 01:26:17 +08:00
Howard Wu
644d1dc06e Update checkers workflows 2023-05-25 14:13:18 +08:00
Howard Wu
a4ca446e03
Remove OpenGApps (#554)
* Remove `OpenGApps`

* Update README.md
2023-05-24 18:26:54 +08:00
Howard Wu
d8e875a4ae
EROFS mount using fuse (#553)
Get rid of kernel support of EROFS
Pre-build `erofs-utils` from https://github.com/sekaiacg/erofs-utils/releases/tag/v1.6-230502
Since it is statically linked, so binary build for Android also works for other platforms.
x86_64 using [erofs-utils-v1.6-g689372cd-Linux_x86_64-2305022024.zip](https://github.com/sekaiacg/erofs-utils/releases/download/v1.6-230502/erofs-utils-v1.6-g689372cd-Linux_x86_64-2305022024.zip)
aarch64 using [erofs-utils-v1.6-g689372cd-Android_arm64-v8a-2305022023.zip](https://github.com/sekaiacg/erofs-utils/releases/download/v1.6-230502/erofs-utils-v1.6-g689372cd-Android_arm64-v8a-2305022023.zip)

Fix #535
Close #552
2023-05-24 18:09:59 +08:00
Howard Wu
969d2b2fa6
Inject zygisk.rc for sync --zygisk-restart (#548)
a87f56846a
2023-05-23 22:34:39 +08:00
Weiqi Gao
ca48cf372c
Fix install scripts (#518)
* Use pwsh 7 in higher priority

* Auto switch to file directory

* Only merge resources when makepri.exe exists

* Fix the error on PowerShell store version

---------

Co-authored-by: Howard Wu <HowardWu20@outlook.com>
2023-05-17 21:56:39 +08:00
Howard Wu
7a33f97d19 Fix system crash when Play Store is self-updating 2023-05-17 02:33:40 +08:00
Howard Wu
94632581d5 Fix #538 2023-05-16 15:06:20 +08:00
Howard Wu
9866cc3544 Run check when workflow change 2023-05-16 08:49:44 +08:00
Howard Wu
ad70105dc7 Run PowerShell check on windows 2023-05-16 08:47:21 +08:00
Howard Wu
e34ccf9dc2 Add PowerShell Script checker 2023-05-16 08:44:53 +08:00
Howard Wu
acc9cc6da1 Refine build script
Refine error output
Refine update file path
2023-05-16 07:46:43 +08:00
Howard Wu
c70d6107f4 pass shellcheck 2023-05-16 06:50:21 +08:00
Howard Wu
07f580587d Refine Magisk init 2023-05-16 06:48:30 +08:00
Syuugo
bb5298adbb
Support 2304: KernelSU & Remove amazon (#529)
* KernelSU 2304

* Remove amazon : 2304

* Fix Remove amazon 2304

* Only delete: `mado_release.apex`

* Fix variable name
2023-05-16 06:36:37 +08:00
Howard Wu
ee87a65453
Update KernelSU.md 2023-05-16 02:29:27 +08:00
Howard Wu
8c2abce385 Revert "No need to add VpnDialogs for 2304"
This reverts commit ffff85324fd57ec89720a37ceb95d9b8a6b7c296.
2023-05-16 02:24:04 +08:00
Howard Wu
ffff85324f No need to add VpnDialogs for 2304 2023-05-16 02:03:58 +08:00
Howard Wu
bdcb07119c Fix magisk service seclabel 2023-05-16 00:17:04 +08:00
Howard Wu
62ad5d6277 Fix gmscore_app sepolicy 2023-05-15 21:52:17 +08:00
Howard Wu
510e4aac17 Reduce Magisk version requirements to 26.0 2023-05-15 02:24:01 +08:00
Howard Wu
6f9d5f0087 Magisk version 26.1+ required
Magisk below this version will not work on WSA with modules that use custom sepolicy
2023-05-15 02:22:21 +08:00
Howard Wu
5c2218df43
Fix Magisk integration (#536)
Co-authored-by: LoveSy <shana@zju.edu.cn>
2023-05-15 02:07:45 +08:00
Howard Wu
e8d81271f3 Cleanup echo info 2023-05-14 02:30:43 +08:00
Howard Wu
2364c36dbb Fix 2303 build failed
Fix #534

The commit also fixes an issue where the version number
was wrong when getting the download link online at the
same time when WSA was already downloaded
2023-05-14 00:33:09 +08:00
Howard Wu
6d5f3f4a67 Python Dependencies Silent Installation 2023-05-13 21:26:43 +08:00
Howard Wu
d6b7070121 Only use venv when Python version >= 3.11 2023-05-13 21:23:58 +08:00
Howard Wu
fd9569ce6e Add dependency erofs-utils 2023-05-13 20:51:52 +08:00
Howard Wu
cde01be6c8
Fix 2304 build (#531)
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.
2023-05-13 20:45:09 +08:00
Howard Wu
285d43c601 Use Python3 virtual environments
Try to Fix #508
2023-05-12 00:07:27 +08:00
Howard Wu
ad396d6810 Add dependency sudo
Unsupported system without `sudo`
Close #499 #497
2023-04-18 17:11:37 +08:00
Howard Wu
f07cafe63f Don't double quote $SUDO
Try to Fix #497
2023-04-18 16:34:32 +08:00
Howard Wu
d8194364fa Fix dependencies install
Forget to update package list before install
2023-04-17 18:49:34 +08:00
Pawloland
8337c73a1e
Stop run.sh when installing dependencies fails (#490) 2023-04-12 21:13:57 +08:00
Howard Wu
b05bb4fa92 Add KernelSU link hint 2023-04-12 02:48:28 +08:00
Howard Wu
cce4b69776 Init download WSA version value 2023-04-12 02:45:08 +08:00
Howard Wu
73d851f879 Fix Kernel version for 2303 2023-04-12 02:43:07 +08:00
Howard Wu
6649117eeb Format code 2023-04-11 05:06:10 +08:00
Howard Wu
fd51bd872b Do not open and close files in each new thread 2023-04-11 04:55:18 +08:00
Howard Wu
bbfc3c2d29 Refine WSA download links generate
Refine dependencies install
2023-04-11 04:35:46 +08:00
Howard Wu
04103a8fd2 Don't append null parameter
Fix #484
2023-04-10 22:34:49 +08:00
S
1ebd85b105
Change user (#480) 2023-04-07 18:45:29 +08:00
Howard Wu
5d6baa3826 Fix permissions
Fix #478
2023-04-07 01:58:40 +08:00
Howard Wu
e7d94eabdb Delay creation of preinit block 2023-04-06 03:47:33 +08:00
Howard Wu
2e250809f4 Magisk rules dir -> preinit
4e2b88b3d0
2023-04-06 03:11:58 +08:00
Howard Wu
e5542d9e2e Allow stable Magisk 2023-04-06 02:49:09 +08:00
Howard Wu
13ca3b0e1f
Suppress Magisk reinstallation warning (#476)
https://github.com/topjohnwu/Magisk/pull/6691
2023-04-06 02:21:35 +08:00
Howard Wu
04c9029506 Update note 2023-03-29 20:11:29 +08:00
Howard Wu
530d4c574e Fix typo 2023-03-29 20:08:32 +08:00