Commit Graph

2999 Commits

Author SHA1 Message Date
ShirkNeko
5c80febdbd manager: Deprecated AUTO_ADD_TRY_UMOUNT_FOR_BIND_MOUNT, the leftover add_sus_mount cli and umount_for_zygote_system_process
Reason:
 - AUTO_ADD_TRY_UMOUNT_FOR_BIND_MOUNT is also causing a bit more performance overheads and still it cannot catch all the sus mounts in all situations. Actually it can easily be done in boot-completed.sh, and it should be more accurate, see module templates for more details.

- Official KernelSU also allows ksud to add custom path to try_umount list as well, users can use their own way to add only the desired sus mounts to try_umount list, but remember to disable susfs ADD_TRY_UMOUNT in kernel if users want to use the official one.

- There are less use cases for umount_for_zygote_system_process, and sometimes enabling this may cause bootloop with some modules enabled, instead user can use busybox nsenter to umount the sus mounts for specific process later by themmselves.
2025-11-22 22:54:10 +08:00
ShirkNeko
39f4a5991a Add cursor rules 2025-11-22 22:08:52 +08:00
Ylarod
b2565fda08 ksud: fmt 2025-11-22 17:41:53 +08:00
Wang Han
923ba8c213 ksud: Set KSU_MODULE only for module script (#2971) 2025-11-22 17:41:49 +08:00
Ylarod
c94608a2eb ksud: config set support read from stdin, and less restriction 2025-11-22 17:41:46 +08:00
Ylarod
ccb59cb7ca ksud: larger config value size limit, update docs 2025-11-22 17:15:57 +08:00
Tools-app
36d93501c8 Fix compile on x86_64
Co-authored-by: weishu <twsxtd@gmail.com>
Signed-off-by: Tools-app <localhost.hutao@gmail.com>
2025-11-22 16:58:25 +08:00
生于生时 亡于亡刻
27f6db889a chore(ksud): enable clippy::all, clippy::pedantic && make clippy happy (#617)
* Revert "chore(ksud): bump ksud's deps (#585)"
* Because it may cause compilation errors.

This reverts commit c8020b2066.

* chore(ksud): remove unused Result

Signed-off-by: Tools-app <localhost.hutao@gmail.com>

* chore(ksud): enable clippy::all, clippy::pedantic && make clippy happy

https://rust-lang.github.io/rust-clippy/master/index.html#map_unwrap_or

https://rust-lang.github.io/rust-clippy/master/index.html#uninlined_format_args

https://rust-lang.github.io/rust-clippy/master/index.html#used_underscore_items

https://rust-lang.github.io/rust-clippy/master/index.html#redundant_closure_for_method_calls

https://rust-lang.github.io/rust-clippy/master/index.html#redundant_pub_crate
...
and use some #![allow(...)] or #[allow(...)]

Signed-off-by: Tools-app <localhost.hutao@gmail.com>

---------

Signed-off-by: Tools-app <localhost.hutao@gmail.com>
2025-11-22 16:58:19 +08:00
ShirkNeko
6898d82daf Step 7-1: Optimize the susfs interface format and refactor the code
- Remove unused resources
2025-11-22 16:56:51 +08:00
ShirkNeko
8d8d0180ae manager: fix build 2025-11-22 04:22:01 +08:00
ShirkNeko
f7b875fc16 Revert "Step 7: Add Custom Background (beta):"
This reverts commit a585989a03.
2025-11-22 04:16:24 +08:00
ShirkNeko
0d73908d1b Step 7: Add susfs interface 2025-11-22 04:16:04 +08:00
5ec1cff
3dd210cfec manager: no need to check overlayfs 2025-11-22 00:56:04 +08:00
YuKongA
18c65c8495 manager: try fix HyperOS2- edgeToEdge 2025-11-21 22:53:33 +08:00
KOWX712
4f9b745cd0 manager: make inset synchronize 2025-11-21 22:25:58 +08:00
ShirkNeko
a585989a03 Step 7: Add Custom Background (beta): 2025-11-21 22:24:22 +08:00
weishu
ba6f29557e meta-overlayfs: Moved to module repo 2025-11-21 14:03:20 +08:00
Wang Han
79b78e35ba ksud: Use regex to validate module id (#2968)
https://github.com/tiann/KernelSU/blob/main/website/docs/guide/module.md?plain=1#L106
2025-11-21 13:10:15 +08:00
ShirkNeko
932fabd35c Step 6: feat: add direct zip flash for AnyKernel3 and modules
- fix Chrome zip open failure
- one-tap flash AnyKernel3 kernel packages
- bulk install with state de-duplication
- refine share UI & color scheme

---------------------------------
Co-Authored-By: Der_Googler <54764558+dergoogler@users.noreply.github.com>
Co-authored-by: rifsxd <rifat.44.azad.rifs@gmail.com>
Co-authored-by: ShirkNeko <109797057+ShirkNeko@users.noreply.github.com>
Co-authored-by: KOWX712 <leecc0503@gmail.com>
Signed-off-by: ShirkNeko <109797057+ShirkNeko@users.noreply.github.com>
2025-11-21 13:08:54 +08:00
weishu
4ea5c8f450 metaovl: Fix incorrect permission, Add updateJson and changelog 2025-11-21 11:12:56 +08:00
ShirkNeko
c6b184793e Step 5-2: Simplify and separate the main logic for flashing anykernel3 2025-11-21 01:48:33 +08:00
Ylarod
e3ef521de5 add module config, migrate managedFeatures (#2965)
Co-authored-by: YuKongA <70465933+YuKongA@users.noreply.github.com>
2025-11-20 22:06:12 +08:00
ShirkNeko
3d4e0e48b4 [skip ci]ksud: fmt & clippy 2025-11-20 20:30:06 +08:00
ShirkNeko
ff3071ca08 Step 5-1-1: No longer need to add unmounting for default mount points 2025-11-20 19:53:18 +08:00
weishu
dd969eac22 meta-overlayfs: quote rel path removal 2025-11-20 19:08:19 +08:00
weishu
9f2e5f513d metaovl: copy selinux context when install 2025-11-20 19:08:02 +08:00
ShirkNeko
385f4ab2c5 Step 5-1: Move the KPM interface to the settings
- Avoid multiple page re-rendering
- Add hook type information
- Clean up code
2025-11-20 18:38:53 +08:00
ShirkNeko
6826406494 manager: fix dark mode color issue
Co-authored-by: YuKongA <70465933+YuKongA@users.noreply.github.com>
2025-11-20 17:01:54 +08:00
ShirkNeko
6465e7a874 Step 5: Add a settings tool page to migrate some settings to it
- Add SELinux status toggle

- Add backup and restore for the allowlist
2025-11-20 16:28:37 +08:00
ShirkNeko
c753dd1345 ci: Fix omitted checks 2025-11-20 14:39:45 +08:00
weishu
06c8580788 metaovl: Use xcp to copy image faster. 2025-11-20 14:33:25 +08:00
ShirkNeko
5f228f1896 ci :Skip the disguised manager build for the MIUIX branch 2025-11-20 14:28:57 +08:00
weishu
2368c5afd5 metaovl: use cp instead of mv to copy files 2025-11-20 14:02:19 +08:00
ShirkNeko
16ec695b63 kernel/makefile: Adjust the build branch 2025-11-20 14:02:05 +08:00
ShirkNeko
404352b536 Step 4-1: Fixed incorrect homepage indexing after enabling KPM
- Adjusted the position of the personalized menu
2025-11-20 13:59:40 +08:00
ShirkNeko
8e7f1f1cc7 manager: Support monet colors
Co-authored-by: YuKongA <70465933+YuKongA@users.noreply.github.com>
2025-11-20 12:02:49 +08:00
ShirkNeko
d2a6fa4513 Step 4: Add KPM interface and flash anykernel3 2025-11-20 03:18:13 +08:00
YuKongA
9574409955 manager: fix dialog text of multiple modules install 2025-11-19 23:50:14 +08:00
weishu
9c2924de78 meta-overlayfs: avoid moving skip-mount modules 2025-11-19 23:50:07 +08:00
ShirkNeko
d7878ddd45 manager: If SELinuxStatus is the last information component, set the margin to 0. 2025-11-19 23:49:24 +08:00
ShirkNeko
bc3399fd1b Step 3: Added theme mode switching, introduced uninstall path manager and user-mode scanning toggle 2025-11-19 23:39:07 +08:00
ShirkNeko
ba1aaaa160 ksud: fix build 2025-11-19 21:18:53 +08:00
weishu
a4e5a571bd ksud: Fix the metamodule's non-meta stage script, which is executed twice. 2025-11-19 21:11:10 +08:00
ShirkNeko
3c501295b7 Step 2: Add the remaining dynamic manager configurations 2025-11-19 21:10:34 +08:00
ShirkNeko
a8acea9180 support metamodule, remove built-in overlayfs mount
Co-authored-by: weishu <twsxtd@gmail.com>
Co-authored-by: YuKongA <70465933+YuKongA@users.noreply.github.com>
Co-authored-by: Ylarod <me@ylarod.cn>
2025-11-19 19:33:01 +08:00
ShirkNeko
4f79c94ab9 Step 1: Import susfs and sulog to modify 2025-11-19 18:45:00 +08:00
ShirkNeko
a14551b3ec Introducing miuix
Co-authored-by: YuKongA <70465933+YuKongA@users.noreply.github.com>
2025-11-19 16:11:33 +08:00
ShirkNeko
2ea748dac1 manager: add inset support to webui (#2952)
ref:
https://github.com/MMRLApp/WebUI-X-Portable/blob/master/webui/src/main/kotlin/com/dergoogler/mmrl/webui/model/Insets.kt

Co-Authored-By: Der_Googler
<54764558+dergoogler@users.noreply.github.com>
Signed-off-by: KOWX712 <leecc0503@gmail.com>

---------

Co-authored-by: KOWX712 <leecc0503@gmail.com>
Co-authored-by: Der_Googler <54764558+dergoogler@users.noreply.github.com>
Co-authored-by: Light_summer <93428659+lightsummer233@users.noreply.github.com>
2025-11-19 14:23:49 +08:00
ShirkNeko
429874b4d6 manager: fix webui package manager
Co-authored-by: KOWX712 <leecc0503@gmail.com>
Co-authored-by: YuKongA <70465933+YuKongA@users.noreply.github.com>
2025-11-19 13:13:11 +08:00
ShirkNeko
cd86589ad3 manager: Fixed an error caused by the line count identifier being omitted in the Umount Path Manager. 2025-11-18 13:49:21 +08:00