topjohnwu
195d885887
Reduce log spamming
2022-01-20 00:18:46 -08:00
topjohnwu
519bd2f30f
Disable AVD hacks by default
2022-01-19 20:28:01 -08:00
topjohnwu
20ef724fad
Add new build command avd_patch
2022-01-19 05:12:11 -08:00
vvb2060
f443cbaa2b
Revert "Always run non disabled module post-fs-data scripts"
...
This reverts commit 4dfb193d10f24fbc96a88c1d13821f471621ba81.
2022-01-18 04:48:47 -08:00
vvb2060
dbf45da8ab
Avoid constantly check env
2022-01-18 04:47:53 -08:00
topjohnwu
6b67902d53
Uninstalled app su requests should still show in logs
2022-01-18 04:44:11 -08:00
topjohnwu
0ad0ef485c
Bump min Magisk version to v21.0
...
Close #5220
2022-01-18 04:27:40 -08:00
topjohnwu
7dfe3e53d5
Optimize imports
2022-01-18 03:58:47 -08:00
vvb2060
5be3bd1e64
Show User-Agent
2022-01-18 02:02:41 -08:00
vvb2060
bc0c1980db
Support modules update
2022-01-18 02:02:41 -08:00
vvb2060
2997258fd0
Cleanup code
2022-01-18 02:02:41 -08:00
vvb2060
11600fc116
Use libs instead of copy code
2022-01-18 02:02:41 -08:00
vvb2060
a8640f52ef
Merge into one file
2022-01-18 02:02:41 -08:00
Arbri çoçka
0f4e44c38f
Update values-sq
2022-01-18 00:35:55 -08:00
capntrips
053f4d481d
disable virtualAB check for noSecondSlot
2022-01-18 00:35:38 -08:00
capntrips
f466c27da9
disable pixel check for noSecondSlot
2022-01-18 00:35:38 -08:00
RikkaW
bfe6bc3095
Fix bottom nav sometimes not hide correctly
...
Replace homemade animation with StateListAnimator
2022-01-18 00:24:16 -08:00
vvb2060
ff8f3e766e
Update zh-rCN translation
2022-01-18 00:23:40 -08:00
vvb2060
6635ea3e29
Allow offline hide manager
2022-01-18 00:20:49 -08:00
LoveSy
591788c0df
Fix an NPE
...
java.lang.NullPointerException: Attempt to invoke virtual method 'int android.text.Layout.getEllipsisCount(int)' on a null object reference
2022-01-17 22:55:44 -08:00
vvb2060
571b8986a4
Don't assume installed version matches app
2022-01-17 20:29:11 -08:00
topjohnwu
bb7a74e4b4
Add Zygisk API getFlags()
2022-01-17 19:54:33 -08:00
topjohnwu
76ddfeb93a
Allow modifying denylist without enforcement
2022-01-15 23:46:22 -08:00
LoveSy
c38b826abf
Skip overlayfs for post-fs-data mount
...
adb remount will introduce overlayfs for /system and /vendor, we should
skip mounting as overlayfs. This also helps us support overlayfs Magisk
later.
2022-01-14 03:42:37 -08:00
topjohnwu
21d7db0959
Add new Zygisk API to get module dir
2022-01-14 03:10:02 -08:00
topjohnwu
d7b51d2807
Update dependencies
2022-01-14 00:07:19 -08:00
topjohnwu
a7af8b5722
Add DoH back
...
JSDelivr is no longer China friendly
2022-01-13 03:50:29 -08:00
topjohnwu
9c93fe6003
Update bootctl
...
Close #5134
2022-01-13 02:24:02 -08:00
topjohnwu
21505a7470
Update scripts for PATCHVBMETAFLAG
2022-01-12 02:29:34 -08:00
topjohnwu
ba6e6cc15a
Update vbmeta option hiding criteria
...
Hide when Samsung, A/B, or vbmeta partition exists
2022-01-12 02:29:34 -08:00
vvb2060
fd7bf2bc3a
Support PATCHVBMETAFLAG env variable
2022-01-12 02:29:34 -08:00
LoveSy
b2cd24ed1b
Fix an UB when cil compile error
2022-01-11 03:01:27 -08:00
vvb2060
66cf2c984a
Don't fix env when patch boot
2022-01-11 02:50:12 -08:00
残页
de1b2b19b0
Only store sepolicy rules into partitions in ext4 format
...
Fix topjohnwu#5013
When installing from recovery, previous implementation may select f2fs partitions to store sepolicy rules, but magiskinit won't mount them and unable to load sepolicy rules.
2022-01-11 02:25:34 -08:00
LoveSy
e31583485d
Don't prefetch env to avoid deadlock
...
Fix #5178
2022-01-11 00:47:06 -08:00
topjohnwu
490e51c1d7
Don't set RECOVERYMODE if recovery_dtbo exists
...
Apparently some boot images with ramdisk still have recovery_dtbo,
so this assumption is no longer safe to do. Expect the user to
set this option properly themselves in the app.
Fix #4976 , close #5070 , close #5184
2022-01-11 00:17:47 -08:00
RikkaW
1df2a04713
Find suitable anchor view for SnackBar
...
This will fix the SnackBar position if BottomNav or FAB is visible.
Fix #5163
Fix #5135
2022-01-10 23:10:42 -08:00
vvb2060
42804d5314
Fix stub clean task
2022-01-10 23:02:51 -08:00
vvb2060
558710bbdd
Fix gradle task dependencies
2022-01-02 16:10:44 -08:00
topjohnwu
f4926cb822
Small refactoring
2022-01-02 16:09:03 -08:00
topjohnwu
1e77e0862a
Separate fstab finding to its own function
2022-01-02 15:49:12 -08:00
topjohnwu
8c696cb8ca
Minor code refactoring
2021-12-28 23:37:06 -08:00
LoveSy
62ef8ade8f
Skip loading Magisk when detecting DSU
...
Fix #4402
Co-authored-by: topjohnwu <topjohnwu@gmail.com>
2021-12-28 21:04:09 -08:00
LoveSy
3d88dd3123
Update dtc to fix a UB
...
See https://github.com/dgibson/dtc/pull/65
2021-12-28 17:18:32 -08:00
残页
880b348ce6
Add an old cgroup path
...
Fix topjohnwu#5125
cgroup root path might be mem cgroup instead of acct, especially on low-ram devices.
bc131c3244
%5E%21/#F0
2021-12-28 17:12:15 -08:00
残页
31fe3a1cd8
Java keywords cannot be used as package/class name
2021-12-28 17:11:38 -08:00
LoveSy
19182ffddf
If dt fstab contains error, fallback to default fstab
...
See https://cs.android.com/android/platform/superproject/+/master:system/core/init/first_stage_mount.cpp;drc=master;l=155
From the source of `FirstStageMount`, dt fstab can fail gracefully and
if any error occurs it will fall back to default fstab. Magisk now
replaces the default fstab and dt fstab unconditionally, bringing potential
errors to the default fstab and causing init fails to load partitions.
2021-12-28 17:10:52 -08:00
vvb2060
afcc60066e
Fix toast
2021-12-27 12:17:35 -08:00
vvb2060
d3ade06421
Use InputStream transfer
2021-12-27 12:17:35 -08:00
topjohnwu
f1a3ef9590
Update dependencies
2021-12-27 12:17:09 -08:00