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
Arbri çoçka
d1d73f11a5
fix same text in Albania
2021-12-27 12:01:05 -08:00
topjohnwu
05697372f8
Remove issues action
...
Handled by external MagiskBot
2021-12-25 17:26:03 -08:00
topjohnwu
0c1f68816e
Release new canary build
2021-12-14 21:40:40 -08:00
kubalav
92546e8a74
Update Slovak translation
2021-12-14 21:25:58 -08:00
John Wu
a4faa3f392
Update stub strings.xml path
2021-12-14 05:31:12 -08:00
南宫雪珊
df191cd2b5
Use AGP to compile resources
2021-12-14 05:30:15 -08:00
南宫雪珊
baa19f0ccf
Rewrite app installation
...
Fix #4960
2021-12-14 05:20:29 -08:00
vvb2060
5a49bd3ac9
Add OkHttp cache
2021-12-14 05:01:12 -08:00
LoveSy
b37d7e0500
Use default icon when failed to get app icon
...
Fix #5051
2021-12-14 04:58:18 -08:00
topjohnwu
f4ed6274a4
Invert vbmeta header patching config
...
vbmeta header should not be patched in most cases
2021-12-14 04:52:25 -08:00
LoveSy
56eb1a1cf9
Load fstab from system/etc
...
Caused by this commit: e98afa2687
Fix #5057
2021-12-14 03:51:55 -08:00
LoveSy
a7c156a9e3
Further fix oplus.fstab
support
...
* Further fix `oplus.fstab` support
In some oneplus devices, `oplus.fstab` does exists but `init` never
loaded it and those entries in `oplus.fstab` are written directly to
`fstab.qcom`. Previous implementation will introduce duplicate entries
to `fstab.qcom` and brick the device. This commit filters those entries
from `oplus.fstab` that are already in `fstab.qcom` and further filters
duplicated entries in `oplus.fstab` (keep only the last entry).
Fix #5016
* Fix UB
Since we moved entry, we need to explicitly copy its member.
For c++23 we can use `auto{}`.
2021-12-14 03:40:23 -08:00
南宫雪珊
d81ca77231
Update gradle/wrapper/gradle-wrapper.properties
2021-12-14 03:36:01 -08:00