Commit graph

167 commits

Author SHA1 Message Date
Howard Wu
599e027054
Stop copy sepolicy.rule () 2024-07-25 19:32:21 +08:00
Howard Wu
5448a5f92f
Enhanced compatibility ()
33aebb5976
2024-07-25 16:44:06 +08:00
Howard Wu
2d2c7905f5 Enhanced compatibility
Support fb5ee86615
2024-07-13 18:35:09 +08:00
Howard Wu
2726a6996f When installing GApps explicitly prompts to install Magisk instead of silently installing it 2024-03-06 05:36:43 +08:00
Howard Wu
8c71c3362b Don't allow install gapps and kernelsu at the same time
Close 
2024-03-06 05:08:34 +08:00
Howard Wu
730070d44a Add back remove amazon
Amazon Apps only ship in the apex module on a high version of WSA,
so just simply delete it
For the WSA upgrade from the older version which already installed this module,
run `adb shell pm uninstall com.microsoft.mado` to remove it.
2024-03-06 00:58:52 +08:00
Howard Wu
502e3c7ebe Load modules by Magisk 2024-03-03 01:40:14 +08:00
Howard Wu
7bc40ffbd1 Fix env at first boot 2024-02-12 08:51:10 +08:00
Howard Wu
7eaf4d7cda let lspinit copy rule 2024-02-11 19:49:58 +08:00
Howard Wu
f310b75fb0 Always check files 2024-02-10 04:38:11 +08:00
Howard Wu
4f7d3c1951 Fix parameter parsing 2024-02-10 03:46:33 +08:00
Howard Wu
a3efd6dab1 [WIP] Fix SELinux 2024-02-09 21:12:36 +08:00
Howard Wu
cef9ef4a54 [WIP] Gapps integrate 2024-02-09 03:05:42 +08:00
Howard Wu
bd7dba0a92 No hard-code kernel version 2024-02-08 18:15:03 +08:00
Howard Wu
ea61cd4052 Format code 2024-02-08 15:14:56 +08:00
Howard Wu
0906e3868b Add GApps integration 2024-02-08 14:27:43 +08:00
Howard Wu
ccef439f53 Fix arm64 build 2024-02-07 20:56:41 +08:00
Howard Wu
ad6f29a51f use full manager app 2024-02-07 03:00:05 +08:00
Howard Wu
7d501a7156 Add back magisk32 to fix zygisk32 2024-02-07 02:37:33 +08:00
Howard Wu
734ebf8648 Fix lspinit init 2024-02-07 02:24:02 +08:00
Howard Wu
a2313d7f54 Use lspinit to integrate Magisk 2024-02-07 00:47:43 +08:00
Doddddd
d44a77be84
fix scripts permissions ()
Co-authored-by: Doddddd <s1524010598@gmail.com>
2023-10-25 17:08:42 +08:00
Syuugo
661f71eae7
Ignore VelvetTitan () 2023-10-24 21:43:43 +08:00
Syuugo
0a765ecb4d
Fix KernelSU () 2023-10-24 21:39:35 +08:00
sn-o-w
0c4c7521f7
Download Microsoft component packages while using --skip-download-wsa ()
Co-authored-by: Doddddd <88972478+Doddddd@users.noreply.github.com>
2023-10-24 21:38:50 +08:00
Howard Wu
22bc69f732 Less version determination 2023-07-12 01:28:09 +08:00
Howard Wu
40028f110e [WIP] Rebuild EXT4 images 2023-07-12 01:21:17 +08:00
Howard Wu
21e80a355e
Drop KernelSU support for 2304- () 2023-07-08 12:42:11 +08:00
Howard Wu
d9798874c0 Fix custom tmp dir build
Fix 
2023-07-07 03:13:36 +08:00
Howard Wu
88bd8894d9 Fix mtab workaround 2023-07-05 14:58:11 +08:00
Howard Wu
bbc86e1b3d Rename main version to major version 2023-06-20 12:16:58 +08:00
Howard Wu
9a4f25e538 Check WSA download link version
I don't know why Microsoft's server returns multiple versions at the same time
2023-06-20 12:14:42 +08:00
Howard Wu
aefda92b20 Drop KernelSU support for WSA version lower than 2303
5003824fa8
2023-06-06 22:23:05 +08:00
Howard Wu
c622109277 Fix SELinux context 2023-06-03 01:19:51 +08:00
s1204IT
d5ed25eddd
Fix 2304 Remove Amazon Appstore () 2023-06-02 16:56:23 +08:00
Fernando Fernández
32af1ea2bc
Fix scripts folder permissions ()
Ran chmod +x *.sh in the scripts directory to ensure all the files had relevant permissions.

Only build.sh had faulty permissions
2023-06-01 10:03:54 +08:00
Howard Wu
fddfd7954c Prevent system partition from containing duplicate data from other partitions
This is caused by using Overlayfs mounts
Even though this has no side effects,
it will consume more disk space
2023-05-26 21:55:30 +08:00
Howard Wu
9b117b8c94 mk_overlayfs: fix undefined behavior
kernel logs:
```
overlayfs: upperdir is in-use as upperdir/workdir of another mount, accessing files from both mounts will result in undefined behavior.
overlayfs: workdir is in-use as upperdir/workdir of another mount, accessing files from both mounts will result in undefined behavior.
```
2023-05-26 20:23:22 +08:00
Howard Wu
b38fe8c678 Fix Python dependency installation
Always use it when a virtual environment exists
2023-05-26 16:12:43 +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 
2023-05-26 01:26:17 +08:00
Howard Wu
d8e875a4ae
EROFS mount using fuse ()
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 
Close 
2023-05-24 18:09:59 +08:00
Howard Wu
969d2b2fa6
Inject zygisk.rc for sync --zygisk-restart ()
a87f56846a
2023-05-23 22:34:39 +08:00
Howard Wu
94632581d5 Fix 2023-05-16 15:06:20 +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 ()
* 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
8c2abce385 Revert "No need to add VpnDialogs for 2304"
This reverts commit ffff85324f.
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