Commit Graph

274 Commits

Author SHA1 Message Date
セリカ・シルフィル
1276429d95 ksud: modules_update will be mounted to /data/adb/modules_update (#336)
d6d08530e4
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
1e44e4ce50 ksud: enter root shell when arg0 equals su 2023-04-03 20:28:13 +08:00
浅秋枫影
bea4e8d956 ksud: Fix installer.sh modules path (#327)
d6d08530e4
修改了模块路径,installer.sh 没有修改,导致管理器无法刷新模块(安装/更新/卸载)状态
2023-04-03 11:46:27 +08:00
tiann
f7783ce51f ksud: Don't umount stock bind mount, just bind it again after overlay. 2023-03-27 18:43:37 +08:00
tiann
b61d36e0cc website: Add docs for REPLACE variables 2023-03-27 17:27:53 +08:00
tiann
8dc33d035a ksud: fix clippy 2023-03-27 15:44:18 +08:00
tiann
1dcb136d0f ksud: Support remove files in customize.sh by REMOVE variables.
e.g:

REMOVE="
/system/app/YouTube
/system/app/Bloatware
"
2023-03-27 15:04:28 +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
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
tiann
36e40746e6 ksud: Disable modules when magisk installed 2023-03-01 11:41:53 +08:00
tiann
f64614b189 ksud: fix mount and remount order 2023-02-26 11:44:08 +08:00
tiann
8aec92cf38 ksud: don't touch rootfs mount 2023-02-24 20:00:57 +08:00
tiann
b34e2285be ksud: make it buildable without git installed 2023-02-24 11:55:03 +08:00
tiann
ab65cf27c2 Revert "ksud: make it buildable without git installed"
This reverts commit 677f8a9c44.
2023-02-24 11:53:04 +08:00
tiann
677f8a9c44 ksud: make it buildable without git installed 2023-02-24 11:41:39 +08:00
tiann
2bc1435f2a ksud: remove original file after copy 2023-02-22 00:08:18 +08:00
tiann
c3c4a25996 ksud: copy file when rename failed 2023-02-21 23:52:04 +08:00
tiann
6153e1999b ksud: fix clippy 2023-02-21 22:09:41 +08:00
tiann
b8b9f6ec75 ksud: Fix windows compile 2023-02-21 21:39:14 +08:00
tiann
28b677da23 ksud: fmt 2023-02-21 20:24:10 +08:00
tiann
1fd381af13 ksud: restore stock mount after overlay mount. close #233 2023-02-21 20:22:00 +08:00
tiann
d7b4b22fe7 ksud: fmt 2023-02-21 13:10:32 +08:00
tiann
cfc457fa10 ksud: fmt 2023-02-21 13:09:03 +08:00
tiann
4a66b0ce37 ksud: fix incorrect umask 2023-02-21 13:06:37 +08:00
tiann
3b9dbcdc5c ksud: Fix common script may not be executed 2023-02-21 12:54:05 +08:00
Ylarod
e942549dfc ksud: setns to init for module commands (#262) 2023-02-20 19:43:49 +08:00
tiann
afdb21755f ksud: Fix denpendency 2023-02-20 10:07:30 +08:00
tiann
ba001ac093 ksud: ignore empty sepolicy rule 2023-02-14 18:10:39 +08:00
tiann
1c3b3ec3d6 ksud: fmt 2023-02-14 12:59:21 +08:00
tiann
ab7d645d36 ksud: support check_sepolicy in scripts 2023-02-14 12:57:08 +08:00
tiann
3560b78c7c ksud: support module disable in safemode 2023-02-13 23:33:56 +08:00
tiann
06659dca43 ksud: check kernel safemode 2023-02-13 22:28:43 +08:00
tiann
30e7a71a9f ksud: fix vendor only overlay not working 2023-02-12 18:29:27 +08:00
tiann
06be27db98 ksud: Fix mount ext4 failed of sys-mount 2023-02-12 18:07:50 +08:00
skbeh
049fa85907 ksud: remove tailing "/" from PATH (#230) 2023-02-12 18:07:07 +08:00
tiann
f8dd5d684c ksud: don't hardcode system unzip becuase we use busybox now 2023-02-10 18:51:22 +08:00
tiann
db9f2b8990 ksud: e2fsck before resize2fs 2023-02-09 13:53:07 +08:00
tiann
b513707994 ksud: Add KSU_KERNEL_VER_CODE 2023-02-08 15:09:36 +08:00
tiann
cb26adb43a ksud: clippy 2023-02-08 12:33:00 +08:00
tiann
3f24bb9251 ksud: Fix module operation order 2023-02-08 12:26:33 +08:00
tiann
f2647c6469 ksud: Fix confliction with stock system overlayfs 2023-02-08 12:14:31 +08:00
tiann
cae5542cd3 ksud: clippy 2023-02-06 09:16:15 +08:00
tiann
465921260b ksud: don't mount module when in safe mode 2023-02-06 08:58:02 +08:00
tiann
c867067dd3 ksud: pass KSU_VER and KSU_VER_CODE to installer script 2023-02-06 08:53:18 +08:00
skbeh
df0ebb3012 ci: add CI for clippy, rustfmt and shell scripts (#193) 2023-02-04 13:52:20 +08:00
skbeh
b46a6a3684 ksud, kernel: update explanation and fix some issues (#194) 2023-02-04 13:16:51 +08:00
tiann
a8e85f65eb ksud: Fix incorrect dependency 2023-02-03 23:19:22 +08:00
tiann
866b0a7dc6 ksud: unify version 2023-02-03 21:02:11 +08:00
tiann
94462f8521 ksud: Fix macOS compile 2023-02-03 14:46:48 +08:00
tiann
ae866c8013 ksud: Fix script exec 2023-02-03 14:26:26 +08:00