tiann
8f910fbb75
ksud: fix build
2023-04-04 15:09:53 +08:00
tiann
693d827144
ksud: fix windows build again
2023-04-04 14:59:17 +08:00
tiann
effcaf0cde
ksud: Remove sufix of 'v' in version tag
...
close #331
2023-04-04 14:44:51 +08:00
tiann
5be8fe39d0
ksud: fix windows build
2023-04-04 14:33:25 +08:00
tiann
8d12f96d8b
ksud: fix compile err in x86_64
2023-04-04 14:12:37 +08:00
tiann
c1b30458d6
ksud: fmt
2023-04-04 13:55:36 +08:00
tiann
48e76f9096
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
セリカ・シルフィル
6fc8cc7e8e
ksud: modules_update will be mounted to /data/adb/modules_update ( #336 )
...
ee09b9f9f4
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
bdd5e31b6f
ksud: enter root shell when arg0 equals su
2023-04-03 20:28:13 +08:00
浅秋枫影
219970bba5
ksud: Fix installer.sh modules path ( #327 )
...
ee09b9f9f4
修改了模块路径,installer.sh 没有修改,导致管理器无法刷新模块(安装/更新/卸载)状态
2023-04-03 11:46:27 +08:00
tiann
726f44bc60
ksud: Don't umount stock bind mount, just bind it again after overlay.
2023-03-27 18:43:37 +08:00
tiann
c4c597da9e
website: Add docs for REPLACE variables
2023-03-27 17:27:53 +08:00
tiann
b1af4ada60
ksud: fix clippy
2023-03-27 15:44:18 +08:00
tiann
dcbbbab11e
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
ba4ffa7598
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
ee09b9f9f4
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
c34a5ae2a6
ksud: Disable modules when magisk installed
2023-03-01 11:41:53 +08:00
tiann
ffa5a93c75
ksud: fix mount and remount order
2023-02-26 11:44:08 +08:00
tiann
ffc06525fb
ksud: don't touch rootfs mount
2023-02-24 20:00:57 +08:00
tiann
f789bb8c53
ksud: make it buildable without git installed
2023-02-24 11:55:03 +08:00
tiann
745f109686
Revert "ksud: make it buildable without git installed"
...
This reverts commit 8ed3bd53ac739179eee483559d50d8ad20ddc6d9.
2023-02-24 11:53:04 +08:00
tiann
8ed3bd53ac
ksud: make it buildable without git installed
2023-02-24 11:41:39 +08:00
tiann
349fd09440
ksud: remove original file after copy
2023-02-22 00:08:18 +08:00
tiann
fafdacfc41
ksud: copy file when rename failed
2023-02-21 23:52:04 +08:00
tiann
c3ba483b81
ksud: fix clippy
2023-02-21 22:09:41 +08:00
tiann
e309a03515
ksud: Fix windows compile
2023-02-21 21:39:14 +08:00
tiann
82a304e054
ksud: fmt
2023-02-21 20:24:10 +08:00
tiann
b76d973f3a
ksud: restore stock mount after overlay mount. close #233
2023-02-21 20:22:00 +08:00
tiann
47bcccdce3
ksud: fmt
2023-02-21 13:10:32 +08:00
tiann
ba8ca1f9f2
ksud: fmt
2023-02-21 13:09:03 +08:00
tiann
4837f2101c
ksud: fix incorrect umask
2023-02-21 13:06:37 +08:00
tiann
37d2914611
ksud: Fix common script may not be executed
2023-02-21 12:54:05 +08:00
Ylarod
a5ee2ef93b
ksud: setns to init for module commands ( #262 )
2023-02-20 19:43:49 +08:00
tiann
a2906093ec
ksud: Fix denpendency
2023-02-20 10:07:30 +08:00
tiann
0c8b4a48de
ksud: ignore empty sepolicy rule
2023-02-14 18:10:39 +08:00
tiann
f50b4dfe34
ksud: fmt
2023-02-14 12:59:21 +08:00
tiann
9ce7351aaa
ksud: support check_sepolicy in scripts
2023-02-14 12:57:08 +08:00
tiann
b268971323
ksud: support module disable in safemode
2023-02-13 23:33:56 +08:00
tiann
42428345ff
ksud: check kernel safemode
2023-02-13 22:28:43 +08:00
tiann
4e35e4ae86
ksud: fix vendor only overlay not working
2023-02-12 18:29:27 +08:00
tiann
095acad8a6
ksud: Fix mount ext4 failed of sys-mount
2023-02-12 18:07:50 +08:00
skbeh
c187d1ad8a
ksud: remove tailing "/" from PATH
( #230 )
2023-02-12 18:07:07 +08:00
tiann
a1fb7c5fdf
ksud: don't hardcode system unzip becuase we use busybox now
2023-02-10 18:51:22 +08:00
tiann
626642af76
ksud: e2fsck before resize2fs
2023-02-09 13:53:07 +08:00
tiann
cc29ad151a
ksud: Add KSU_KERNEL_VER_CODE
2023-02-08 15:09:36 +08:00
tiann
a4a93d8945
ksud: clippy
2023-02-08 12:33:00 +08:00
tiann
3389cd0aea
ksud: Fix module operation order
2023-02-08 12:26:33 +08:00
tiann
d26956ff72
ksud: Fix confliction with stock system overlayfs
2023-02-08 12:14:31 +08:00
tiann
ad4d8e939e
ksud: clippy
2023-02-06 09:16:15 +08:00
tiann
aa7a00b299
ksud: don't mount module when in safe mode
2023-02-06 08:58:02 +08:00