Commit Graph

30 Commits

Author SHA1 Message Date
Rifat Azad f8d970ddde ksud: upstreamed magic_mount from 5ec1cff/KernelSU @ 5ec1cff/KernelSU@92d793d 2025-01-03 08:27:52 +06:00
Rifat Azad 98bc9efaa4 Revert "Drop some legacy codes (#1981)"
This reverts commit b82eaff26e.
2024-12-24 23:12:35 +06:00
Rifat Azad a0540aa8ec ksud: dropped magic_mount for stability so welcome back OverlayFS
manager: brought back shrink images in settings
2024-12-24 04:21:38 +06:00
New Author Name 059c6a2d57 ksud: implement magic_mount 2024-12-13 06:19:55 +06:00
铃柒柒 a051154c06 manager: Add action.sh for user to manually trigger modules' functionality from manager (#2156)
Commits:
- manager: Add `action.sh` for user to manually trigger modules'
functionality from manager
- manager: Optimize ModuleItem
- manager: uninstall button: TextButton -> FilledTonalButton
- Optimize `run_action` function

Commit Author & Thank:
- @lightsummer233
- @lingqiqi5211
- [APatch](https://github.com/bmax121/APatch)

Demo Show:

![image](https://github.com/user-attachments/assets/a5778a86-fa60-485f-ac49-2b581711f60e)

---------

Co-authored-by: Light summer <93428659+lightsummer233@users.noreply.github.com>
2024-10-27 10:07:13 +01:00
LoveSy b82eaff26e Drop some legacy codes (#1981) 2024-08-15 17:04:02 +08:00
weishu 406f629035 Revert "su: allocate new pty (#1693)"
This reverts commit e4109455b9.
2024-05-08 21:18:55 +08:00
5ec1cff e4109455b9 su: allocate new pty (#1693) 2024-05-07 19:02:59 +08:00
fsxitutu 618a97df1b Add magiskboot to kernelsu working directory (#1684)
Add the magiskboot binary to the /data/adb/ksu/bin directory so that
scripts/programs can call magiskboot to patch the boot/init_boot image.

---------

Co-authored-by: weishu <twsxtd@gmail.com>
2024-05-01 09:48:59 +08:00
weishu b41d95c0b2 ksud: Fix backup not working 2024-04-23 23:24:45 +08:00
weishu a7f65e5617 ksud: move backup directory to /data/adb/ksu 2024-04-23 16:38:54 +08:00
5ec1cff 2c2c1b2b45 ksud: backup stock image and use it when restore (#1619) 2024-04-14 00:45:06 +08:00
weishu 102bde759c ksud: Add support for module webui 2024-02-20 16:39:05 +08:00
weishu 1a3fe6ab05 ksud: allow to set upperdir and workdir for overlayfs 2024-02-01 18:02:10 +08:00
Nullptr 8ad962be7f Fix temp dir on Android 10 or below (#1250)
Co-authored-by: Ylarod <me@ylarod.cn>
2024-01-05 14:41:33 +08:00
Nullptr c07b7d38a0 Mount temp dir at /debug_ramdisk (#1226) 2023-12-23 21:05:26 +08:00
weishu 0974d88528 ksud: support root profile's sepolicy 2023-07-01 16:34:43 +08:00
weishu 7ab0583a0d ksud: respect the skip_mount flag of module 2023-06-22 17:00:02 +08:00
tiann 415c799040 ksud: catch bootlog when post-fs-data 2023-04-15 17:45:20 +08:00
5ec1cff 049736d6cb ksud: refactor module mount (#384) 2023-04-14 22:30:34 +08:00
tiann 719b90f8da ksud: use move mount instead of remount for stock mounts
Because some stock mounts are difficult to remount it back, so we bind mount it to somewhere else before overlayfs mount. And then use move mount to mount it back.
2023-04-11 20:32:08 +08:00
Ylarod 2d9c6c64be ksud: support .ksurc (#345) 2023-04-05 13:30:21 +08:00
Ylarod 8c93e03504 ksud: add /data/adb/ksu/bin to PATH (#343) 2023-04-05 11:47:35 +08:00
セリカ・シルフィル 1276429d95 ksud: modules_update will be mounted to /data/adb/modules_update (#336)
https://github.com/tiann/KernelSU/commit/d6d08530e41d4d14acb617067c83cb76a0647ded
and https://github.com/tiann/KernelSU/pull/327 have moved
`/data/adb/ksu/modules` to `/data/adb/modules`,but `modules_update` has
not to do it.Many modules hard-coded this directory.
2023-04-03 22:32:13 +08:00
tiann d6d08530e4 ksud: Breaking change: modules are mounted to /data/adb/modules and will disable itself when magisk installed. 2023-03-01 11:49:54 +08:00
skbeh df0ebb3012 ci: add CI for clippy, rustfmt and shell scripts (#193) 2023-02-04 13:52:20 +08:00
tiann 866b0a7dc6 ksud: unify version 2023-02-03 21:02:11 +08:00
skbeh d163200127 kernel, ksud: collect binaries into /data/adb/ksu (#161) 2023-02-01 17:58:58 +08:00
Ylarod 443c5867cd kernel: precise trigger timing of post-fs-data (#118)
* kernel: add report_event cmd

* ksud: report event

* kernel: trigger on_post_fs_data

* ksud: comment unused code

* [skip ci] run clang-format

Signed-off-by: Ylarod <me@ylarod.cn>

* ci: use custom key to sign official bootimgs

* format ksud

* reject non root

* remove

Signed-off-by: Ylarod <me@ylarod.cn>
2023-01-26 11:29:02 +08:00
tiann fad6ff3dce ksud: Add userspace cli to load module 2023-01-04 14:42:47 +08:00