RKSU Updates
2.58K 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-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
There's an optional backports for kernel under 4.14 (4.9 and maybe 4.4) and 5.4/4.x

- (4.9) kernel_read, kernel_write
- (5.4 and 4.x) strncpy_from_user_nofault

More details:
https://github.com/rsuntk/KernelSU/pull/4/commits/19e2b97d4db7469d3d2678818dbde5061b5b4d7f

Thanks @backslashxx for pr ๐Ÿซก
๐Ÿ”ฅ3โค1
KernelSU_v1.0.3-4-legacy-2-g141f010a_12049-release.apk
4.8 MB
Manager
#ci_1849
ksud: Bring back /sbin as TEMP_DIR_LEGACY

In this commit https://github.com/tiann/KernelSU/commit/fd09ccfc2906ad119f7158f9518810e06a73a919 TEMP_DIR_LEGACY was removed, so i restore it back.

We only use /debug_ramdisk and /sbin because of this https://github.com/tiann/KernelSU/commit/71cb86c2e9a9e1e9c323cf06dd287e8a69616904#commitcomment-143172576

Cherry-picks from:
- https://github.com/bmax121/APatch/blob/main/apd/src/utils.rs
- https://github.com/bmax121/APatch/blob/main/apd/src/m_mount.rs

Notice: You may will experiencing some issue with module, please backup your modules before update to this manager

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

Commit
Workflow run
KernelSU_v1.0.3-4-legacy-3-gde2f38c8_12050-release.apk
4.8 MB
Manager
#ci_1850
kernel: add try_umount /system_ext and fmt

Follow KernelSU upstreams.

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

Commit
Workflow run