Commit Graph

404 Commits

Author SHA1 Message Date
weishu
cfc982f2f3 ksud: don't reclaim when enable/disable modules 2024-02-19 16:36:41 +08:00
weishu
e0e7058d14 ksud: reclaim sparse space when install/uninstall modules. close #1367 2024-02-19 15:29:03 +08:00
weishu
e0802b0d15 ksud: check image before shrink 2024-02-19 12:31:35 +08:00
LoveSy
abf0dacb36 Add fallback to mount syscall (#1349) 2024-02-05 17:36:07 +08:00
weishu
60d2685f7e ksud: Fix dependency 2024-02-02 11:25:54 +08:00
LoveSy
a4b9ea04a4 Use as_ref instead of as_slice (#1336) 2024-02-02 10:40:36 +08:00
LoveSy
f80d0764b5 Use rustix for setgroups (#1334) 2024-02-01 23:35:42 +08:00
LoveSy
f80769a82a Recursive bind mount (#1332) 2024-02-01 23:29:19 +08:00
LoveSy
64269c8c4f Use rustix for prctl (#1333) 2024-02-01 23:28:56 +08:00
weishu
9f04482b90 ksud: allow to set upperdir and workdir for overlayfs 2024-02-01 18:02:10 +08:00
weishu
aca505c3e6 ksud: Fix bind mount failed 2024-02-01 17:15:44 +08:00
weishu
d4826bc97c ksud: fmt 2024-02-01 16:33:33 +08:00
weishu
4efc8164f1 ksud: Fix overlayfs mount 2024-02-01 16:32:18 +08:00
weishu
0fc25cf091 ksud: remove unused methods 2024-02-01 16:32:18 +08:00
LoveSy
4d4bd4793f Use new mount api 2024-02-01 01:50:30 +08:00
LoveSy
c1a2cbf1e4 Use rustix to replace some unsafe calls 2024-02-01 00:35:51 +08:00
weishu
883a3e3407 ksud: force-stop manager when set-manager 2024-01-31 11:15:23 +08:00
weishu
27bd18f60e ksud: fix potential slow copy 2024-01-30 22:34:33 +08:00
weishu
7cb5fb47e1 ksud: Add command to shrink image 2024-01-30 13:23:49 +08:00
weishu
d43b40572d ksud: clippy 2024-01-30 12:59:24 +08:00
weishu
c99b5b31c1 ksud: fmt 2024-01-30 12:58:20 +08:00
weishu
ca960a2a8f ksud: shrink image before resize 2024-01-30 12:56:59 +08:00
weishu
cce423a2f6 ksud: Add cli for fast copy sparse file 2024-01-30 12:56:59 +08:00
weishu
946fb6f999 ksud: default 1T for sparse file 2024-01-30 12:56:59 +08:00
weishu
b6ecce4317 ksud: use default block size to reduce image size 2024-01-30 12:56:59 +08:00
weishu
be70a91f16 ksud: resize the journal size of image 2024-01-30 12:56:59 +08:00
weishu
71c2790f08 ksud: remove unnecessary image check 2024-01-30 12:56:59 +08:00
weishu
b612efcfad ksud: sparse file default 256G 2024-01-29 21:49:39 +08:00
weishu
23ba3182cf website: Add description for sparse file 2024-01-29 21:42:52 +08:00
weishu
d7bc853bfc ksud: use sparse image to avoiding resize image. close #1220 2024-01-29 18:50:19 +08:00
weishu
16c5aba4ff ksud: fix dd failure 2024-01-29 15:51:54 +08:00
weishu
2fec279de3 ksud: use boot partition when replace kernel 2024-01-18 16:27:11 +08:00
weishu
1e676e5dc2 ksud: Fix relative boot image path 2024-01-16 14:05:10 +08:00
weishu
7b63e099ce ksud: Fix build for win 2024-01-16 11:39:21 +08:00
weishu
653225bb5b ksud: Add support for boot patch 2024-01-15 20:17:10 +08:00
weishu
757e69b15e ksud: report module mounted event to kernel 2024-01-08 12:11:54 +08:00
5ec1cff
30e00859b9 ksud: extract binaries properly (#1253) 2024-01-05 23:31:52 +08:00
weishu
faf7a8e3b1 ksud: don't extract on module install 2024-01-05 22:25:41 +08:00
Nullptr
b82fc971dd Remove ksud path to make xi and vvb happy (#1251)
Not creating new historical legacy
2024-01-05 17:28:06 +08:00
Nullptr
52f5727875 Fix temp dir on Android 10 or below (#1250)
Co-authored-by: Ylarod <me@ylarod.cn>
2024-01-05 14:41:33 +08:00
weishu
01711b4114 ksud: minor tweaks 2024-01-04 16:12:22 +08:00
5ec1cff
153ce9a39a ksud: update resetprop (#1247)
- source code from Magisk a0b8aa4d and built with `build.py -r binary
resetprop`
- support waiting on property (`-w`)
2024-01-04 15:47:23 +08:00
weishu
b99701d216 ksud: re-extract ksud when necessary close #1242 2024-01-04 12:09:28 +08:00
5ec1cff
097e291d93 ksud: su supports set gid and groups (#1240)
- When no gid is provided, use uid as gid.
2024-01-03 18:22:01 +08:00
Nullptr
76e7d7c60c Fix mount order (#1235) 2023-12-30 08:01:51 +08:00
Nullptr
706cd1e73e Mount temp dir at /debug_ramdisk (#1226) 2023-12-23 21:05:26 +08:00
Huy Minh
e69769d25f Update busybox to 1.36.1 (#1214)
Pulled from Magisk-v26.4.apk

Signed-off-by: Huy Minh <buingoc67@gmail.com>
2023-12-19 20:58:31 +08:00
weishu
a1153683e1 ksud: Fix weird module.prop. close #1191 2023-12-15 18:27:55 +08:00
Howard Wu
88d4eca8ff Check if contain module id (#1128) 2023-11-12 12:34:18 +08:00
weishu
b4a52f89cc ksud: bump dependencies 2023-11-02 12:05:21 +08:00