Commit Graph

529 Commits

Author SHA1 Message Date
Ylarod e27409a1fa ksud: exec uninstall.sh while uninstalling (#347) 2023-04-05 14:36:35 +08:00
Ylarod b5accdfc9d website: fix typo, add hidden-features (#349) 2023-04-05 14:36:22 +08:00
Ylarod 2d9c6c64be ksud: support .ksurc (#345) 2023-04-05 13:30:21 +08:00
Igor Sorocean 7b8ac9acad Fix ro translation (#344) 2023-04-05 12:16:02 +08:00
Ylarod 8c93e03504 ksud: add /data/adb/ksu/bin to PATH (#343) 2023-04-05 11:47:35 +08:00
tiann aba7e06e6d ci: Remove tags with same KMI 2023-04-04 19:09:04 +08:00
tiann 7597187eca ci: Add latest GKI tags 2023-04-04 19:07:31 +08:00
tiann 554a432c93 ci: trigger build su only if userspace/su changed 2023-04-04 19:01:50 +08:00
tiann 94139488d8 userspace: remove simple su 2023-04-04 17:24:35 +08:00
tiann b739155e06 ksud: fix unknown hang of root shell 2023-04-04 16:41:57 +08:00
tiann 08f029485b ksud: fix build 2023-04-04 15:09:53 +08:00
tiann b5f321d5a4 ksud: fix windows build again 2023-04-04 14:59:17 +08:00
tiann 5c5724f7c6 ksud: Remove sufix of 'v' in version tag
close #331
2023-04-04 14:44:51 +08:00
tiann 87863e3adf ksud: fix windows build 2023-04-04 14:33:25 +08:00
tiann 6f97cdd8db ksud: fix compile err in x86_64 2023-04-04 14:12:37 +08:00
tiann 1ef4c28a02 ksud: fmt 2023-04-04 13:55:36 +08:00
tiann e808bed680 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
セリカ・シルフィル 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 978839da6b kernel: use ksud as root shell instead of /system/bin/sh 2023-04-03 20:29:10 +08:00
tiann 1e44e4ce50 ksud: enter root shell when arg0 equals su 2023-04-03 20:28:13 +08:00
tiann 8cb4c0377b website: fix typo 2023-04-03 20:26:16 +08:00
tiann 4933b045e4 kernel: fix incorrect dput 2023-04-03 19:22:05 +08:00
tiann 44444b2a56 kernel: basicly umount overlayfs in kernel 2023-04-03 19:16:24 +08:00
Igor Sorocean cbe846c736 Add Romanian translation (#335) 2023-04-03 18:03:19 +08:00
浅秋枫影 bea4e8d956 ksud: Fix installer.sh modules path (#327)
https://github.com/tiann/KernelSU/commit/d6d08530e41d4d14acb617067c83cb76a0647ded
修改了模块路径,installer.sh 没有修改,导致管理器无法刷新模块(安装/更新/卸载)状态
2023-04-03 11:46:27 +08:00
MilkD 2c670fc48d Update repos.json (#329)
add a unofficial kernel
2023-03-30 00:35:25 +08:00
tiann a8bd9f198e kernel: Fix side channel attack 2023-03-28 12:07:18 +08:00
Abhiram d844ef4f79 ci: Bump rustfmt-check to latest (#326) 2023-03-28 00:25:55 +08:00
Amicia De Rune a71c9c454f website: update id translation (#325)
Signed-off-by: RooGhz720 <rooghz720@gmail.com>
2023-03-27 23:42:42 +08:00
Dhruv Gera d34f51528c selinux: Update 4.9 to the correct check (#324)
4.9's last release aka 4.9.337 still needs the same fallbacks as 4.9.212
and breaks otherwise, upgrade this to fix compilation

Tested and working on POCO F1, 4.9.337
2023-03-27 21:26:37 +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 c2be89b410 website: Fix sidebar of zh_CN 2023-03-27 17:01:01 +08:00
tiann 8dc33d035a ksud: fix clippy 2023-03-27 15:44:18 +08:00
tiann 4827d50e31 website: Add anchors for zh_CN 2023-03-27 15:35:57 +08:00
tiann c10147043a website: Add docs for REMOVE 2023-03-27 15:17:55 +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 35a8ae2c02 feat: Add documentation for rescuing from bootloop.
- Add new link to sidebar of zh_CN documentation page
- Add new link to sidebar navigation in English documentation page
- Add new guide for rescuing from bootloop
- Include methods for rescuing wrong module flashing
- Provide mechanisms for safe mode and AB updates for module recovery
2023-03-27 11:37:18 +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 99202748bb ci: Fix cross build error with Rust 1.68 2023-03-26 17:35:33 +08:00
Kung-chih b7d336e7fb Update zh-rHK and zh-rTW strings (#323) 2023-03-26 15:51:01 +08:00
tiann 4b9eadd21f Add docs for module 2023-03-26 15:43:34 +08:00
Shatyuka a79a8c2423 kernel: use git from PATH (#316)
One should have git in PATH in order to build Android kernel.
Also it's weird that git is used in `setup.sh` without absolute path.
2023-03-23 15:01:24 +08:00
Shatyuka e31c49bdb9 kernel: Makefile new line with posix compatible (#318)
https://github.com/tiann/KernelSU/commit/9a2915362a32ad3ebdf7572478e76afbc34ef15d#commitcomment-105526985
2023-03-23 10:41:12 +08:00
tiann 010dbed29a Revert "kernel: add new line in driver Makefile (#317)"
This reverts commit 9a2915362a.
2023-03-22 19:33:08 +08:00
Shatyuka 9a2915362a kernel: add new line in driver Makefile (#317)
some device tree has no new line in Makefile
2023-03-22 15:39:12 +08:00
Soo-Hwan Na a33e3cbf63 kernel: Add input hook to ksu_hooks.h (#315)
Then we don't have to do extern input_hook(...) ; input_hook(..) and
just include header file and use input_hook(...) only
Like
https://github.com/hac4us06/kernel_xiaomi_chime/commit/f39f4823a196c1cb66df10e96c93dfb97872a4c4
Not

https://github.com/hac4us06/kernel_xiaomi_chime/commit/0c491aca8a7c41c5d0b11616dccec6ab54e41082
2023-03-21 09:45:12 +08:00
github-actions[bot] 3354536dd8 [add device]: (#311)
has been added to the website.
Related issue: https://github.com/tiann/KernelSU/issues/310

Co-authored-by: GitHub Actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: weishu <twsxtd@gmail.com>
2023-03-20 10:23:16 +08:00
github-actions[bot] 9711fa1598 [add device]: (#309)
has been added to the website.
Related issue: https://github.com/tiann/KernelSU/issues/308

Co-authored-by: GitHub Actions <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: weishu <twsxtd@gmail.com>
2023-03-20 10:22:01 +08:00
github-actions[bot] 56bc537887 [add device]: Asus Zenfone Max Pro M1/M2 (#313)
Asus Zenfone Max Pro M1/M2 has been added to the website.
Related issue: https://github.com/tiann/KernelSU/issues/312

Co-authored-by: GitHub Actions <41898282+github-actions[bot]@users.noreply.github.com>
2023-03-20 10:19:47 +08:00