Commit Graph

159 Commits

Author SHA1 Message Date
Scirese
0b86cd69fc [skip ci] kernel: allow root processes to get version (#63) 2023-01-14 21:52:57 +08:00
Ylarod
5e77d1cd5b kernel: add CONFIG_KSU_DEBUG (#19)
* Kconfig: add KSU_DEBUG

* print alert on debug mode

* allow shell by default

* store signature to var on debug mode

* format

* export as module_param

* rename apk_sign to kernelsu
2023-01-14 21:45:34 +08:00
Ylarod
50f44fff9e kernel: export customized symbols (#58) 2023-01-14 10:43:16 +08:00
longhuan1999
21b0d6ceaf Update build-WSA-5.10.117-kernel.yml (#56) 2023-01-13 21:20:05 +08:00
Ylarod
6e483a025d ci: fix typo (#57) 2023-01-13 21:09:37 +08:00
Ylarod
a748bed807 ci: opt manager (#55)
* ci: opt manager

* lint: don't check release build
2023-01-13 21:06:55 +08:00
Ylarod
177d6dba15 kernel: add prefix for functions in sepolicy (#49)
* kernel: add prefix for functions in sepolicy

* ci: fix 5.15 compile error
2023-01-13 20:05:52 +08:00
Ylarod
dd905a1852 ci: speed up build-ksud again (#54) 2023-01-13 19:50:42 +08:00
Ylarod
5bad1d0b53 ci: speed up build-ksud (#53) 2023-01-13 18:47:31 +08:00
韵の祈
3577b91a3c manager: Optimize ModuleScreen UI (#51)
* manager: fix moduleList is empty cannot parse to jsonArray

* manager: Optimize ModuleScreen UI

* manager: Optimize switch position
2023-01-13 17:48:36 +08:00
huangsijun17
ece1cbe48e Update README_CN.md (#50)
修正标点核错别字。
2023-01-13 13:59:26 +08:00
longhuan1999
f75ca3a4f1 kernel: Change CI build for WSA-5.10.117 (#48) 2023-01-12 21:32:17 +08:00
秋秋
e173081cae kernel: We don't like dirty (#46) 2023-01-12 17:19:54 +08:00
セリカ・シルフィル
954e06bbcc Make setup script support non-GKI kernel (#47) 2023-01-12 17:09:55 +08:00
セリカ・シルフィル
bf87b134de Fix error for some non-GKI kernel source code (#45)
Idea from @Dreamail
2023-01-12 15:11:51 +08:00
Ylarod
acd6f44c7e ci: update message hint (#44) 2023-01-12 09:21:01 +08:00
Ylarod
e37d97c7c7 ci: push to telegram (#43)
* ci: push to telegram

* support topic

* check BOT_TOKEN in build-su

* update script
2023-01-11 22:47:31 +08:00
Ylarod
4f9feeff19 ci: fix su (#42) 2023-01-11 20:21:53 +08:00
longhuan1999
761f68b24f kernel: Add CI build for WSA-android12-5.10.117 (#41) 2023-01-11 14:32:51 +08:00
Scirese
d9f656031d Readme: Add disclaimer and Chinese README (#40) 2023-01-11 08:12:02 +08:00
Ylarod
848712e417 kernel: fix warning (#37) 2023-01-11 05:22:58 +08:00
weishu
0e0a812a9c kernel: backport to 4.19 (#36) 2023-01-10 23:20:32 +08:00
Ylarod
26f80b7107 kernel: improve include (#35) 2023-01-10 19:44:43 +08:00
weishu
a2ec618c49 kernel: fix typo for PT_PARAM_REG 2023-01-09 07:24:23 +07:00
weishu
43bea50605 kernel: fix syscall_work version 2023-01-07 20:11:33 +07:00
weishu
94d0d5ac6b kernel: syscall_work is introduced above 5.10 2023-01-07 20:07:16 +07:00
tiann
7c3a78b83f ksud: Only use resetprop, remove magisk binary 2023-01-07 19:40:15 +08:00
YuKongA
0c6de7a1ed kernel: CI build for 5.15.y (#30) 2023-01-07 16:39:19 +08:00
weishu
36aff66835 kernel: add PT_REGS_PARAM6 2023-01-06 21:51:09 +07:00
tiann
63ebec2f76 ci: we need full history to generate app version code 2023-01-06 16:43:07 +08:00
weishu
d9542d6a9c Fix ci for manager (#28) 2023-01-06 16:18:17 +08:00
tiann
09d9e4aa02 manager: Add versionCode to avoid downgrade 2023-01-06 14:16:57 +08:00
tiann
7140f04243 manager: Add git commit to version 2023-01-06 14:09:50 +08:00
tiann
76ff69dedb ksud: trim command output 2023-01-06 13:10:27 +08:00
tiann
1c4e51aec5 ksud: support post-fs-data.sh run as daemon.
1. We should make the `post-fs-data.sh` use itself a process group, otherwise it will receive signal from other process and make it exit accidentally.
2. And we should also switch child process' cgroup out of parent process, otherwise it would be kill by cgroup.
2023-01-06 12:59:21 +08:00
残页
7942f4c495 ksud: use the same variable type in scripts (#26)
When executing module install scripts, KSU is set to "true"; when executing module post-fs-data scripts, KSU is set to "1". This may cause confusions so use the same value instead.
2023-01-06 11:49:13 +08:00
tiann
bc9daf1583 ksud: block stderr of installer script 2023-01-05 18:47:05 +08:00
Huy Minh
89288a0c59 Kconfig : Make KSU depends on OVERLAY_FS (#25)
As KernelSU now support modules and mounting system as R/W using overlayfs, it's time to require overlayfs when trying to compile it.
2023-01-05 17:48:22 +08:00
tiann
ea3cfbd0ca ksud: fix selinux unlabeled of modules dir 2023-01-05 16:58:00 +08:00
tiann
06cc677278 manager: allow absent versionCode, version, author for module prop 2023-01-05 15:27:33 +08:00
tiann
edf7c9a8b7 manager: v0.3.2 2023-01-05 14:54:02 +08:00
tiann
977d247ee0 ksud: Don't load module in safe mode 2023-01-05 14:50:09 +08:00
tiann
3d9fc18149 ksud: Fix module may uninstall failed 2023-01-05 14:38:59 +08:00
tiann
f86c14b672 ksud: Add magisk binary as resetprop 2023-01-05 14:13:35 +08:00
tiann
e37d0148e1 ksud: Add support for post-fs-data and system.prop 2023-01-05 14:10:38 +08:00
tiann
800f66467c ksud: add is_safe_mode 2023-01-05 13:52:39 +08:00
tiann
df2a9a8a75 ksud: exec module post-fs-data.sh 2023-01-05 13:42:18 +08:00
tiann
9e1ee1c513 ksud: add context for module install failure. 2023-01-05 13:41:29 +08:00
tiann
ed2fb62034 manager: refresh ui when enable/disable/remove 2023-01-05 13:30:16 +08:00
tiann
cb227660c7 manager: v0.3.0 2023-01-05 11:30:08 +08:00