RKSU Updates
2.57K subscribers
100 photos
702 files
819 links
Streamlined with upstream, but with Non-GKI support.

Supported Kernel: 4.4 ~ 6.18+

Update channel for rsuntk's KernelSU fork.
Managed by: @RissuDesu @lptxda_bot
Download Telegram
KernelSU_v1.0.2-40-legacy-17-g1bd9ea03_12032-release.apk
4.9 MB
Manager
#ci_1832
kernel: remove unused Makefile in selinux folder

Signed-off-by: rsuntk <rissu.ntk@gmail.com>

Commit
Workflow run
KernelSU_v1.0.2-45-legacy_12033-release.apk
4.9 MB
Manager
#ci_1833
feat: KernelSU v1.0.2-45-legacy (#3)

* kernel: put get_cred_rcu() function inside core_hook.c so backporting is not neccessary

Just make things simple.

Signed-off-by: rsuntk <rissu.ntk@gmail.com>

* kernel: refine path_umount detection

Keep the kernel driver clean.

Signed-off-by: rsuntk <rissu.ntk@gmail.com>

* kernel: Refine kernelsu cmdline

Signed-off-by: rsuntk <rissu.ntk@gmail.com>

* kernel: throne_tracker: Only print if its valid kernelsu manager

This can cause debugging process harder.

Signed-off-by: rsuntk <rissu.ntk@gmail.com>

* kernel: throne_tracker: Ensure to log this on debug

Signed-off-by: rsuntk <rissu.ntk@gmail.com>

---------

Signed-off-by: rsuntk <rissu.ntk@gmail.com>

Commit
Workflow run
โšก1
KernelSU_v1.0.2-46-legacy_12034-release.apk
4.9 MB
Manager
#ci_1834
kernel: Fix atomic_long_t detection

Thanks to @ShevT for reporting this issue
https://github.com/rsuntk/KernelSU/pull/3#issuecomment-2599576575

I forgot that 'atomic_long_inc_not_zero' does not exist on cred.h, thus grep command always return '1' instead of '0'

Hopefully this will fix that issue.

Reference:
https://github.com/gregkh/linux/commit/123e44b9a49a42ff5313ec65256f1540d7c52fa0

Commit
Workflow run
๐Ÿ”ฅ4๐Ÿ‘1
KernelSU_v1.0.2-46-legacy-1-g4ae7f25e_12035-release.apk
4.9 MB
Manager
#ci_1835
kernel: Do not depend on OVERLAY_FS

We are using 5ec1cff's Magic Mount now!

Overlayfs have some compatibility issue in a few device, so using this feature "maybe" unnecessary.

And i'll try to improve Magic Mount API.

Commit
Workflow run
๐Ÿ”ฅ2
KernelSU_v1.0.2-46-legacy-2-g179d1328_12036-release.apk
4.9 MB
Manager
#ci_1836
kernel: Allow KPROBES hooks optional on GKI

Some apps will detect that KernelSU uses kprobes and think that the device
environment is abnormal. Therefore, to avoid being detected, it is best to
follow the official documentation of KernelSU to manually hook, just like
doing it on a traditional kernel.

This commit allows us to manually hook while keeping CONFIG_KPROBES enabled.

Notes:
The kernel having kprobes support does not mean that the environment is
abnormal, because GKI has kprobes support by default, and disabling kprobes
support will make it impossible to start the device.

Co-authored-by: Pzqqt <821026875@qq.com>
Signed-off-by: rsuntk <rissu.ntk@gmail.com>

Commit
Workflow run
๐Ÿ”ฅ2
KernelSU_v1.0.2-46-legacy-5-g3c3920e2_12039-release.apk
4.9 MB
Manager
#ci_1839
ksud: Address warning: elided lifetime has a name

warning: elided lifetime has a name
--> src/sepolicy.rs:170:41
|
169 | impl<'a> SeObjectParser<'a> for NormalPerm<'a> {
| -- lifetime 'a declared here
170 | fn parse(input: &'a str) -> IResult<&str, Self> {
| ^ this elided lifetime gets resolved as 'a
|
= note: #[warn(elided_named_lifetimes)] on by default

warning: ksud (bin "ksud") generated 1 warning
Finished release profile [optimized] target(s) in 46.61s

Signed-off-by: rsuntk <rissu.ntk@gmail.com>

Commit
Workflow run
๐Ÿ‘1
KernelSU_v1.0.2-46-legacy-6-g5df886a6_12040-release.apk
4.9 MB
Manager
#ci_1840
kernel: bring back get_ksu_state()

Signed-off-by: rsuntk <rissu.ntk@gmail.com>

Commit
Workflow run
๐Ÿ”ฅ1
KernelSU_v1.0.2-46-legacy-7-g9a4e15ee_12041-release.apk
4.9 MB
Manager
#ci_1841
Don't unshare after entering global namespace (#2373)

Global namespace is usually used to publicly apply mounts so calling
unshare after entering root namespace is not desired bahavior. This also
keeps -M option same as Magisk.

Commit
Workflow run
๐Ÿ‘2
Alr, bringing back old temp dir to my ksu fork.

(Tbh i am not that good at rust, but i'll try my best)
KernelSU_v1.0.2-46-legacy-9-ged99d7f5_12043-release.apk
4.9 MB
Manager
#ci_1843
ksud: Fix warning unused import (#2382)

Commit
Workflow run
๐Ÿ‘2
KernelSU_v1.0.3-2-legacy-1-g52b23543_12045-release.apk
4.8 MB
Manager
#ci_1845
ksud: Update busybox

Signed-off-by: rsuntk <rissu.ntk@gmail.com>

Commit
Workflow run
๐Ÿ‘1
KernelSU_v1.0.3-2-legacy-2-g4ab234e9_12046-release.apk
4.8 MB
Manager
#ci_1846
kernel: throne_tracker: Fix missing quotes

How i can forgot these?

Commit
Workflow run
๐Ÿ‘2
Thanks @real5ec1cff for saving KernelSU ๐Ÿซก
Forwarded from GitHub
๐Ÿ”จ 1 new commit to KernelSU:main:

b579333: kernel: clear securebits

fix adb shell cannot escape to root after https://github.com/tiann/KernelSU/pull/2381 by 5ec1cff
GitHub
fix adb shell cannot escape to root after https://github.com/tiann/KernelSU/pull/2381 by 5ec1cff
For people who got this issue, recompile your kernel with new Ksu driver.
KernelSU_v1.0.3-4-legacy_12047-release.apk
4.8 MB
Manager
#ci_1847
kernel: clear securebits

fix adb shell cannot escape to root after https://github.com/tiann/KernelSU/pull/2381

Commit
Workflow run
๐Ÿ‘3