Commit Graph

154 Commits

Author SHA1 Message Date
Howard Wu
1917586e6b Set SELinux context using setfattr
to make it work properly on distributions that do not support SELinux

Add new dependency `attr`

Close #127
2022-09-22 19:37:17 +08:00
Howard Wu
e3ca2a6e2e close #122 2022-09-22 14:38:11 +08:00
Peter Njeim
75b973630e Merge branch 'main' of https://github.com/LSPosed/MagiskOnWSALocal 2022-09-17 21:08:19 -03:00
Howard Wu
42f56d9af4 Request root access only when all files are present in offline mode 2022-09-17 21:23:18 +08:00
Howard Wu
9968805324 Use pathlib instead of os.path 2022-09-17 21:15:44 +08:00
Syuugo
08fbb8d9dc
Add batch script (#116)
Co-authored-by: Howard Wu <40033067+Howard20181@users.noreply.github.com>
2022-09-17 20:38:33 +08:00
Peter Njeim
76405ff9b3 Merge branch 'main' of https://github.com/LSPosed/MagiskOnWSALocal 2022-09-17 03:30:04 -03:00
Howard Wu
823f1895d0 Fix stupid mistake 2022-09-17 00:57:15 +08:00
Howard Wu
2a86e252a2 Minor change 2022-09-16 19:32:04 +08:00
Howard Wu
d296e27659 Fix Play Services SElinux Policy
close #55
2022-09-16 16:22:45 +08:00
Peter Njeim
861372aea2 Merge branch 'main' of https://github.com/LSPosed/MagiskOnWSALocal 2022-09-14 17:47:31 -03:00
Howard Wu
317fb94198 Update run.sh 2022-09-15 00:38:43 +08:00
Howard Wu
48bf7f8d15 Update run.sh 2022-09-15 00:38:03 +08:00
bri
adac723617
add 7zip to check_dependencies() in run.sh (#111) 2022-09-15 00:36:18 +08:00
Howard Wu
32c19f2f03 Workaround #108 2022-09-13 19:11:45 +08:00
Peter Njeim
9e39211eb9 Merge branch 'main' of https://github.com/LSPosed/MagiskOnWSALocal 2022-09-12 15:33:48 -03:00
Howard Wu
afb6e676d5 Make MindTheGapps default 2022-09-10 15:02:46 +08:00
Howard Wu
2c3240a7ee Minor changes 2022-09-10 14:58:18 +08:00
Syuugo
37b59237d7
Build x86_64 with MindTheGappsBuilder (#94)
Co-authored-by: Howard Wu <40033067+Howard20181@users.noreply.github.com>
2022-09-10 14:40:21 +08:00
Howard Wu
29c373b9fd Get Magisk link: Fallback to Jsdelivr
Some regions can't connect to Github smoothly. Fallback to Jsdelivr.
2022-09-09 18:46:41 +08:00
Peter Njeim
0b1f8e305f Merge branch 'main' of https://github.com/LSPosed/MagiskOnWSALocal 2022-09-08 18:35:10 -03:00
Howard Wu
5f10ebcd29
close #85 2022-09-08 10:21:50 +08:00
Howard Wu
a93e299f91 Selectable temporary directory locations
Uncomment `export TMPDIR=$PARENT_DIR/WORK_DIR_` to use the source directory as the working directory
This allows the script to work on devices with low `/tmp`
 storage space
close #31
2022-09-07 19:53:36 +08:00
Howard Wu
6d9f1e8754 close #76 2022-09-06 16:15:22 +08:00
Peter Njeim
f155ed2c75 Merge branch 'main' of https://github.com/LSPosed/MagiskOnWSALocal 2022-09-05 06:05:32 -03:00
Howard Wu
dca2264212
Merge pull request #70 from s1204IT/main 2022-09-05 13:47:19 +08:00
Howard Wu
89bf502389 Install dependencies only if needed 2022-09-05 13:41:13 +08:00
Peter Njeim
bde50303cd Merge branch 'main' of https://github.com/LSPosed/MagiskOnWSALocal 2022-09-04 18:38:42 -03:00
Syuugo
4f3a5e3587
Fix 2022-09-04 23:44:31 +09:00
Howard Wu
70bb0fdb8f Formatting codes 2022-09-04 00:43:31 +08:00
Howard Wu
bc48faf17a Rewrite usage. 2022-09-04 00:32:32 +08:00
Howard Wu
0d08462c49 Change the integration GApps conditions 2022-09-03 23:44:52 +08:00
Howard Wu
1591313b20 Remove duplicate product size calculation. 2022-09-03 23:18:38 +08:00
someone5678
07d36084cc scripts: Fix MindTheGapps integration
* Fix MindTheGapps integration failure in build.sh due to missing element in GAPPS_BRAND_MAP and GAPPS_VARIANT_MAP
* Change MindTheGApps to MindTheGapps as that is the official name of the project[1]
* Add PRODUCT_SIZE caculation as MindTheGApps has gapps blobs and packages in product partion too

ref:
[1] https://gitlab.com/MindTheGapps/vendor_gapps
2022-09-03 23:30:34 +09:00
Howard Wu
b03a18f7d1 Enable file integrity checks and resume incomplete downloads 2022-09-03 21:50:35 +08:00
Howard Wu
a400bd362f
Merge pull request #66 from kokarare1212/patch-1 2022-09-03 21:27:18 +08:00
Syuugo
2ef1502adc
Eliminate ca-certificates 2022-09-03 22:19:03 +09:00
碧舞すみほ
c111114d24
Update build.sh
Fix nameserver timeout error
2022-09-03 19:40:44 +09:00
Syuugo
60f5c87cea Minor Changes 2022-09-03 13:32:52 +09:00
Howard Wu
f09e4f4f9b Minor Changes 2022-09-03 12:24:28 +08:00
Peter Njeim
27188bb543 Merge branch 'main' of https://github.com/LSPosed/MagiskOnWSALocal 2022-09-01 00:36:13 -03:00
Howard Wu
d0cb48c214 Fix artifact name 2022-09-01 11:19:49 +08:00
Howard Wu
2e07425e9f Fix the problem that offline mode reports an error when choosing not to integrate GApps. 2022-09-01 11:11:43 +08:00
Howard Wu
e717deaa1d Show help info if input error 2022-09-01 10:55:19 +08:00
Howard Wu
4142f3b0b9 close #56 2022-09-01 10:40:35 +08:00
Peter Njeim
7b3058199d
fix: upstream GApps bug 2022-08-31 17:51:06 -03:00
Peter Njeim
c947dce526 Merge branch 'main' of https://github.com/LSPosed/MagiskOnWSALocal 2022-08-30 16:21:55 -03:00
Howard Wu
9908c9a909 Check if custom Magisk exists 2022-08-31 01:10:20 +08:00
Howard Wu
cfe108f47c Fix custom Magisk install 2022-08-31 00:50:21 +08:00
Howard Wu
c0fb8f1d2b Show help without reporting errors. 2022-08-31 00:23:41 +08:00
Howard Wu
5d608e3a86 Fix release type selector 2022-08-30 23:57:26 +08:00
Howard Wu
73cb428d1b Check input 2022-08-30 23:47:09 +08:00
Howard Wu
2b493f8e74 Fix offline mode 2022-08-30 21:59:26 +08:00
Peter Njeim
6429795850 fix: magisk version 2022-08-29 22:06:05 -03:00
Peter Njeim
78c17d3c4f fix: WSA version 2022-08-29 21:45:19 -03:00
Peter Njeim
fb2b56d5ac fix: permission issues 2022-08-29 21:20:13 -03:00
Peter Njeim
31bd0083cd test 2022-08-29 21:04:01 -03:00
Peter Njeim
98be0a92c3 test 2022-08-29 20:55:22 -03:00
Peter Njeim
04600a0561 fix: randomizer 2022-08-29 20:42:11 -03:00
Peter Njeim
0a9c0173bf feat: use new build script 2022-08-29 18:32:14 -03:00
Peter Njeim
aab19c0688 Merge branch 'main' of https://github.com/LSPosed/MagiskOnWSALocal 2022-08-29 15:03:07 -03:00
Howard Wu
d30124de60 Offline mode: more detailed error reporting 2022-08-29 18:51:16 +08:00
Howard Wu
741c7fe611 off-line -> offline 2022-08-29 16:47:59 +08:00
Howard Wu
3eaeeae198
Disable offline mode by default 2022-08-29 16:39:35 +08:00
Howard20181
4e0aca05bd Implement cli 2022-08-29 16:29:54 +08:00
Howard20181
bc4664ded8 Easy way to install self-build Magisk. 2022-08-26 03:54:13 +08:00
Howard20181
646417b9da Show OpenGApps variant warning message 2022-08-26 03:32:41 +08:00
Howard20181
259400452c Add an easy way to skip OpenGApps variant locking
Now all but the pico variant will bootloops.
2022-08-26 03:28:43 +08:00
Howard20181
a3c9842d68 Fix Magisk file path error. 2022-08-26 02:52:16 +08:00
Howard20181
312dfd680c Update artifact name 2022-08-26 02:45:32 +08:00
Howard20181
38373a5945 Minor Changes 2022-08-26 02:38:57 +08:00
Howard20181
f6a348a596 Download on demand
Delete only when files are corrupted
Download only when a new version of a file is available
close #39
2022-08-26 02:33:27 +08:00
Howard20181
cd138840d8 Cleanup 2022-08-26 00:33:22 +08:00
Howard20181
111fd20c18 Rewrite Integrate GApps 2022-08-26 00:20:49 +08:00
Syuugo
3fb9ef1e77
Fix some strings 2022-08-25 18:46:37 +09:00
Howard20181
5c59ac539c Fix MindTheGapps build 2022-08-25 14:38:44 +08:00
Howard20181
e5b9f3b9e3 Some permissions are pre-set to remove warnings before copying. 2022-08-25 14:05:05 +08:00
Howard20181
08638400bd Fix some missing strings 2022-08-25 02:32:55 +08:00
Syuugo
89f23006de
Fixed some text
OpenG "A "pps, etc.
2022-08-25 03:16:13 +09:00
Howard20181
9768767b17 Multi-threaded download with aria2
Close #24
2022-08-24 01:54:24 +08:00
Howard20181
9905925e64 close #32 2022-08-23 20:34:26 +08:00
Howard20181
f2b05674dc Update Permissions
Windows gives a very bad habit: not checking the permissions of executable files.
2022-08-23 17:15:15 +08:00
Howard20181
4a932186a1 close #30 2022-08-23 16:32:34 +08:00
Howard20181
e13b05c68c Fix normal exit 2022-08-23 15:52:26 +08:00
Howard20181
95003e88e6 Handle unexpected exit 2022-08-23 14:03:56 +08:00
Howard20181
9117ee91d1 close #28 2022-08-23 13:04:16 +08:00
Alessandro
9817f89a94
Update run.sh 2022-08-21 22:33:07 +02:00
Alessandro
29d55d7a65
Update extractWSA.py 2022-08-21 22:30:32 +02:00
Howard20181
289088134c close #19 2022-08-20 02:15:13 +08:00
Howard20181
4c2fb756f7 WSA already starts logd at on init 2022-08-18 20:57:39 +08:00
Howard20181
fec3e7649f Speed up the build
Change work directory to `/tmp`
Unmount partition before cleanup
2022-08-18 02:02:29 +08:00
Howard20181
e180b3a3ef close #11 2022-08-17 20:49:13 +08:00
Howard20181
88cab1de9e Exit when an error is encountered 2022-08-17 18:43:34 +08:00
Howard20181
a0e09aa774 Warning if not run in bash 2022-08-17 01:46:18 +08:00
Howard20181
ac410b3f6c Changing file permissions 2022-08-17 01:24:35 +08:00
Howard20181
3fb48840f5 Fix permissions 2022-08-17 01:13:11 +08:00
Howard20181
04da6f2406 Randomize Magisk paths and service names 2022-08-15 18:51:24 +08:00
Howard20181
32fce182b7 Fix fix permissions path 2022-08-14 20:05:43 +08:00
Howard20181
5ae99d1154 Fix #3 2022-08-14 18:13:37 +08:00
Howard20181
6b706d2814 Fix dependencies 2022-08-14 17:34:50 +08:00