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-6-g6808317f_12021-release.apk
4.9 MB
Manager
#ci_1821
ksud: [mayfix] /debug_ramdisk not mounting

Ref: https://github.com/vbajs/KernelSU/commit/e568a472296ae0ce73b1465cb8aa3dc4dc44f44f

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

Commit
Workflow run
๐Ÿคจ1
RKSU Updates
KernelSU_v1.0.2-40-legacy-6-g6808317f_12021-release.apk
Maybe i should bring back get_tmp_path again
KernelSU_v1.0.2-40-legacy-7-ge6176833_12022-release.apk
4.9 MB
Manager
#ci_1822
ksud: use unimplemented instead of Ok

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

Commit
Workflow run
RKSU Updates
KernelSU_v1.0.2-40-legacy-6-g6808317f_12021-release.apk
Uhh, i realised this is only use fsopen api and default mount api if fsopen api not found..

Technically not fixing the /debug_ramdisk issue
Also, 5ec1cff magic mount path seems like still using /debug_ramdisk as tmpfs path. I need to make a change

(May not compatible with Android 9 and below)
๐Ÿ‘1
KernelSU_v1.0.2-40-legacy-8-ga3fecd34_12023-release.apk
4.9 MB
Manager
#ci_1823
ksud: Update some dependencies

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

Commit
Workflow run
๐Ÿ‘1
(Don't worry, i won't remove my https://github.com/rsuntk/KernelSU fork bruh)
๐Ÿฅฐ4๐Ÿ‘2
KernelSU_v1.0.2-40-legacy-13-g75a043cd_12028-release.apk
4.9 MB
Manager
#ci_1828
ksud: make tmpfs and magic mount optional

- Create /data/adb/ksu/{.notmpfs,.nomount} to disable them.

Thanks to 5ec1cff!

Commit
Workflow run
๐Ÿ‘2
KernelSU_v1.0.2-40-legacy-14-gb9b3fd24_12029-release.apk
4.9 MB
Manager
#ci_1829
kernel: Add MKSU support and simplify Makefile output

Thanks @5ec1cff.

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

Commit
Workflow run
โšก2
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