Commit Graph

619 Commits

Author SHA1 Message Date
Amicia De Rune
83ff7aeaab manager: update id translation language (#243)
Signed-off-by: RooGhz720 <rooghz720@gmail.com>
2023-02-14 22:41:41 +08:00
weishu
611c8a4138 kernel: support add_type for 4.x kernel
Co-authored-by: Ookiineko <chiisaineko@protonmail.com>
2023-02-14 19:08:18 +07:00
weishu
c2ccc78c28 kernel: correctly handle add attr 2023-02-14 18:52:48 +07:00
tiann
ba001ac093 ksud: ignore empty sepolicy rule 2023-02-14 18:10:39 +08:00
weishu
dc8d7704c6 kernel: fix policydb length 2023-02-14 14:41:00 +07:00
Amicia De Rune
7151e05199 manager: Update ID language translation (#239)
Signed-off-by: RooGhz720 <rooghz720@gmail.com>

Signed-off-by: RooGhz720 <rooghz720@gmail.com>
2023-02-14 13:02:16 +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
31dc644eca manager: Add reboot shortcut for module screen 2023-02-14 12:01:05 +08:00
tiann
15363629dd manager: Add more info to bugreport 2023-02-14 11:44:57 +08:00
tiann
079d928177 manager: Add kernel version to bugreport 2023-02-14 11:40:24 +08:00
tiann
23bb85b404 manager: show manager version 2023-02-14 11:37:37 +08:00
tiann
787be37dc7 manager: show safemode in homescreen 2023-02-14 11:29:16 +08:00
tiann
63530e1dde manager: show module state in safemode 2023-02-13 23:33:56 +08:00
tiann
3560b78c7c ksud: support module disable in safemode 2023-02-13 23:33:56 +08:00
weishu
70829a428a kernel: count time of volumedown to enter safemode 2023-02-13 22:01:59 +07:00
tiann
c09a4d40db manager: ui state for safemode 2023-02-13 22:41:32 +08:00
tiann
06659dca43 ksud: check kernel safemode 2023-02-13 22:28:43 +08:00
weishu
20fcc971e1 kernel: press KEY_VOLUMEDOWN over 2 seconds will enter safemode and disable all modules
Co-authored-by: Ylarod <me@ylarod.cn>
2023-02-13 21:23:28 +07:00
weishu
6758951a41 kernel: fix sepolicy apply may not work #227
Co-authored-by: sekaiacg <sekaiacg@gmail.com>
2023-02-13 09:12:31 +07:00
tiann
dd9f5d0ab7 Revert "[add device]: GKI 1.0 (#236)"
This reverts commit 3f03634f31.
2023-02-13 09:38:03 +08:00
github-actions[bot]
3f03634f31 [add device]: GKI 1.0 (#236)
GKI 1.0 has been added to the website.
Related issue: https://github.com/tiann/KernelSU/issues/235

---------

Co-authored-by: GitHub Actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: weishu <twsxtd@gmail.com>
2023-02-12 18:44:31 +08:00
tiann
30e7a71a9f ksud: fix vendor only overlay not working 2023-02-12 18:29:27 +08:00
Aquarius223
95eee955cd kernel: Fix f422b167 lost parameters after ack-linux 4.14.y (>=163) (#234)
* [android-4.14-stable tree:
https://github.com/aosp-mirror/kernel_common/commit/5d0939e1]

Change-Id: Ice92dd83df4c4f1ae272156cb57f95998e45819f

Co-authored-by: stic-server-open <1138705738@qq.com>
2023-02-12 18:11:28 +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
weishu
f422b16750 kernel: reset avc cache for sepolicy
Co-authored-by: sekaiacg <sekaiacg@gmail.com>
2023-02-12 13:09:00 +07:00
weishu
850482d03b kernel: disable inofity for fd opened for manager 2023-02-12 12:15:58 +07:00
github-actions[bot]
7074a4231b [add device]: (#229)
has been added to the website.
Related issue: https://github.com/tiann/KernelSU/issues/228

Co-authored-by: GitHub Actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-02-11 19:55:23 +08:00
rxuglr
4dad337557 manager: Add Russian language (#225) 2023-02-11 15:26:55 +08:00
tiann
f8dd5d684c ksud: don't hardcode system unzip becuase we use busybox now 2023-02-10 18:51:22 +08:00
f19
b2b4ca9f78 fix KSU_GIT_VERSION is not defined while importing KSU by 'git submodule add' (#224)
.git is a text file while the module is imported by 'git submodule add'.
2023-02-10 16:34:47 +08:00
Re*Index. (ot_inc)
5786eb0ef1 Added Japanese language to KernelSU Manager (#223)
Japanese translation added.
2023-02-09 23:51:53 +08:00
tiann
c9dff16cdb website: Update installation 2023-02-09 14:04:41 +08:00
tiann
db9f2b8990 ksud: e2fsck before resize2fs 2023-02-09 13:53:07 +08:00
tiann
dfb702196c website: Update installation 2023-02-09 10:51:16 +08:00
tiann
e264c31d55 website: Update installation instruction 2023-02-09 09:28:16 +08:00
tiann
94e83b3bc7 ci: Fix release build 2023-02-08 23:58:47 +08:00
weishu
fcef6215c8 Add release ci (#218) 2023-02-08 22:31:43 +08:00
github-actions[bot]
661bf27433 [add device]: (#220)
has been added to the website.
Related issue: https://github.com/tiann/KernelSU/issues/219

Co-authored-by: GitHub Actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-02-08 22:18:05 +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
Aquarius223
f0c4ecb872 kernel: Correctly judge the version of selinux_state (#214)
* Merged related changes in android-common-kernel-4.14.163 [1] Handle
correct checks for older versions (below 4.14.163, 4.9, 4.4)
* fixes 632cf747, it is required in 4.14.163 kernel, it is not needed in
4.14.163 and later

[1]: https://github.com/MiCode/Xiaomi_Kernel_OpenSource/commits/1cfd8419

Change-Id: Iade104312d058a249667ca836259d5608418bb55

Co-authored-by: admin <paper@localhost>
2023-02-07 15:02:48 +08:00
初羽
632cf74767 kernel: selinux: Fix build error (#213)
* 47f4f9e although fixed some typo, but since there is no include avc.h,
this will cause the build to fail
* Error:


/mnt/HDD/fish/aospa/kernel/msm-4.9/drivers/staging/ksu/selinux/selinux.c:60:2:
error: use of undeclared identifier 'selinux_enforcing'
        selinux_enforcing = enforce;
        ^

/mnt/HDD/fish/aospa/kernel/msm-4.9/drivers/staging/ksu/selinux/selinux.c:81:9:
error: use of undeclared identifier 'selinux_enforcing'
        return selinux_enforcing;
               ^
2 errors generated.

Change-Id: I4cc8917b2b73ca467873222e02d498da8718988e
2023-02-07 09:50:55 +08:00
小さい猫
47f4f9ed08 kernel: selinux: fix more typos introduced in #166 (#212)
i didn't realize these typos in #181

Signed-off-by: Ookiineko <chiisaineko@protonmail.com>
2023-02-06 16:31:26 +08:00
weishu
91db0b3248 kernel: allow use without git submodule 2023-02-06 15:30:58 +07: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