Commit Graph

101 Commits

Author SHA1 Message Date
weishu b96294edea ksud: Add uninstall 2024-04-22 20:41:53 +08:00
weishu 02245e2503 ksud: fmt & tidy 2024-03-11 14:01:21 +08:00
weishu a463d56a7f ksud: resize image if it is shrinked 2024-03-04 13:50:00 +08:00
weishu 128b907e7c ksud: Add some logs 2024-02-29 22:40:42 +08:00
weishu 8e1ba90c63 ksud: correctly copy chr device and keep xattr. close #1397 2024-02-29 19:23:11 +08:00
weishu e4b59e143a ksud: Fix incorrect dir copy 2024-02-25 22:55:24 +08:00
weishu 40d631a20c ksud: Force creating new module format to avoid many wired issues. close #1384, close #1381 2024-02-25 22:29:13 +08:00
weishu 961652f7a3 ksud: fix punch hole 2024-02-25 20:21:17 +08:00
weishu 3559a8d315 ksud: remove link manager 2024-02-23 18:08:53 +08:00
weishu 8e0071ace7 ksud: fix mount view of manager when 'umount modules by default' is enabled 2024-02-22 19:08:37 +08:00
weishu 53fd829a6b ksud: use bind mount to serve module webui 2024-02-22 16:26:14 +08:00
weishu 102bde759c ksud: Add support for module webui 2024-02-20 16:39:05 +08:00
weishu 0131e99360 ksud: don't reclaim when enable/disable modules 2024-02-19 16:36:41 +08:00
weishu b3c77ed937 ksud: reclaim sparse space when install/uninstall modules. close #1367 2024-02-19 15:29:03 +08:00
weishu f1e019f87d ksud: check image before shrink 2024-02-19 12:31:35 +08:00
weishu b57067161d ksud: Add command to shrink image 2024-01-30 13:23:49 +08:00
weishu 23449cbf3d ksud: fmt 2024-01-30 12:58:20 +08:00
weishu c50d090879 ksud: shrink image before resize 2024-01-30 12:56:59 +08:00
weishu 6d1e6d6287 ksud: default 1T for sparse file 2024-01-30 12:56:59 +08:00
weishu 4e1dbcbb84 ksud: use default block size to reduce image size 2024-01-30 12:56:59 +08:00
weishu b495d5e7a2 ksud: resize the journal size of image 2024-01-30 12:56:59 +08:00
weishu c8bb77dd4d ksud: remove unnecessary image check 2024-01-30 12:56:59 +08:00
weishu 200b10cc0f ksud: sparse file default 256G 2024-01-29 21:49:39 +08:00
weishu 2f1b4b484f website: Add description for sparse file 2024-01-29 21:42:52 +08:00
weishu 1ebedc15a7 ksud: use sparse image to avoiding resize image. close #1220 2024-01-29 18:50:19 +08:00
5ec1cff b5e3ecfaf7 ksud: extract binaries properly (#1253) 2024-01-05 23:31:52 +08:00
weishu 4bedd619c7 ksud: don't extract on module install 2024-01-05 22:25:41 +08:00
weishu b557c9b3c4 ksud: re-extract ksud when necessary close #1242 2024-01-04 12:09:28 +08:00
weishu 48939c6e99 ksud: Fix weird module.prop. close #1191 2023-12-15 18:27:55 +08:00
Howard Wu a94c35f69f Check if contain module id (#1128) 2023-11-12 12:34:18 +08:00
weishu 1a8dd01a97 ksud: bump dependencies 2023-11-02 12:05:21 +08:00
weishu 03761a9fe7 ksud: don't clean update dir, only ensure it exists 2023-09-02 10:39:40 +08:00
weishu d2302d8189 ksud: Fix module not showing when there is a module don't declare id in module.prop. fix #890 2023-08-20 23:35:09 +08:00
weishu 5892a00fea Revert "ksud: Shrink image after module is updated. fix #855"
This reverts commit 4c953484c1.
2023-08-18 12:33:38 +08:00
weishu 4c953484c1 ksud: Shrink image after module is updated. fix #855 2023-08-17 23:57:51 +08:00
weishu 5f1a274383 ksud: No need to force e2fsck, fix #858,#879 2023-08-17 23:18:42 +08:00
weishu def3eae924 ksud: exposed the command stdout/stderr to log 2023-08-17 22:05:49 +08:00
Ylarod e9b90c0d05 ksud: add post_mount stage (#864) 2023-08-16 11:39:32 +08:00
weishu 6eac1ad1fe ksud: support common & module boot-completed.sh 2023-07-31 19:50:53 +08:00
weishu e983bb86fd ksud: fix prune module 2023-07-11 22:00:50 +08:00
weishu dfdd5ee7d0 ksud: refactor module iteration 2023-07-11 21:45:45 +08:00
weishu 4530117511 ksud: remove update flag file before mount. if module installation is failed, the module.img will be reverted and the update flag file may exist 2023-07-11 21:28:56 +08:00
weishu 33f357cb23 ksud: uninstall module at next boot. close #740 2023-07-11 21:25:51 +08:00
weishu 9533299d98 manager: save stderr of installation to log file. fix #723 2023-07-11 20:10:12 +08:00
weishu 9c7286c269 ksud: Specify the block size of the ext4 image as 1K, because our subsequent size calculations are based on this; some phones such as the Samsung S23, if no default value is specified, will cause unexpected errors. close #721 2023-07-11 18:30:33 +08:00
weishu 9787aa9734 ksud: increase reserved size to 256M 2023-06-22 16:48:13 +08:00
tiann 1ef5a91a28 ksud: keep pwd after switch mnt ns 2023-04-06 13:20:23 +08:00
Ylarod e27409a1fa ksud: exec uninstall.sh while uninstalling (#347) 2023-04-05 14:36:35 +08:00
tiann e808bed680 ksud: refine su and make it compitable with MagiskSU
Supported features:

1.  --mount-master, -M, -mm which would make the command run in global mount namespace.
2. - user to switch a specific user's shell.
3. -v, -V to print version code and name.

fix #330 #306 #305 #32
2023-04-04 13:50:48 +08:00
tiann 9fa33cae86 ksud: Since we have forbidden module running when Magisk installed, we
can now move common script from /data/adb/ksu/post-fs-data.d ->
/data/adb/post-fs-data.d and /data/adb/ksu/service.d ->
/data/adb/service.d
2023-03-27 10:51:25 +08:00