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 ๐ซก
- (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
RKSU Updates
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โฆ
Its an "Optional backports", so its not necessary. I am writing this again, so people not confused.
๐2
KernelSU_v1.0.3-4-legacy-2-g141f010a_12049-release.apk
4.8 MB
Manager
#ci_1849
Commit
Workflow run
#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
Commit
Workflow run
#ci_1850
kernel: add try_umount /system_ext and fmt
Follow KernelSU upstreams.
Signed-off-by: rsuntk <rissu.ntk@gmail.com>
Commit
Workflow run
KernelSU_v1.0.3-4-legacy-4-gdfdc8bed_12051-release.apk
4.8 MB
Manager
#ci_1851
Commit
Workflow run
#ci_1851
kernel: Always return 1 if CONFIG_KSU_CMDLINE disabled
Avoid potentially undeclared function
Signed-off-by: rsuntk <rissu.ntk@gmail.com>
Commit
Workflow run
Susfs branch has been added, but i am not sure its gonna work on older kernel or not, since i am using 4.19 susfs branch
https://github.com/rsuntk/KernelSU/tree/susfs-v1.5.4/
https://github.com/rsuntk/KernelSU/tree/susfs-v1.5.4/
GitHub
GitHub - rsuntk/KernelSU at susfs-v1.5.4
KernelSU with MagicMount, support GKI and Non-GKI. Updates: https://t.me/rsukrnlsu - GitHub - rsuntk/KernelSU at susfs-v1.5.4
I will provide LKM for this forks if possible (only Android GKI 2.0, no AVD or WSA)
๐5
Done, using 5.15 KernelSU patch, so sus_su available
https://github.com/rsuntk/KernelSU/tree/susfs-v1.5.5/
https://github.com/rsuntk/KernelSU/tree/susfs-v1.5.5/
๐5
RKSU Updates
Done, using 5.15 KernelSU patch, so sus_su available https://github.com/rsuntk/KernelSU/tree/susfs-v1.5.5/
For gki kernels, we have CONFIG_KSU_MANUAL_HOOK here, which is behave like sus_su, so sus_su feature on GKI is optional here. But if you wanna use sus_su its okay also.
KernelSU_v1.0.3-4-legacy-8-g07ddab8e_12055-release.apk
4.7 MB
Manager
#ci_1855
Commit
Workflow run
#ci_1855
ksud: update dependencies
Signed-off-by: rsuntk <rissu.ntk@gmail.com>
Commit
Workflow run
๐ฅฐ2
KernelSU_v1.0.3-4-legacy-9-g86d56574_12056-release.apk
4.7 MB
Manager
#ci_1856
Commit
Workflow run
#ci_1856
manager: Create a new root shell for action.sh to avoid blocking the global root shell.
Commit
Workflow run
๐2๐ฅฐ1
KernelSU_v1.0.3-4-legacy-10-g5797ba9b_12057-release.apk
4.7 MB
Manager
#ci_1857
Commit
Workflow run
#ci_1857
kernel: Do not compile if UH, KDP and RKP enabled
UH, a kernel hypervisor driver that prevent any root permission.
If KernelSU driver was compiled with UH active, phone will freeze.
Need an accurate way to detect Samsung kernel, but currently we
depends on "drivers/samsung".
The reason why we don't put this on Kconfig is due to compatibility issue
with other OEMs.
Signed-off-by: rsuntk <rissu.ntk@gmail.com>
Commit
Workflow run
๐ฅฐ3
KernelSU_v1.0.3-4-legacy-11-ge0223daa_12058-release.apk
4.7 MB
Manager
#ci_1858
Commit
Workflow run
#ci_1858
ksud: magic_mount: Fix stat
Follow https://github.com/5ec1cff/KernelSU/commit/10ec4e9c0b94b3380938b695cff0d9e8790c5715 upstream
Signed-off-by: rsuntk <rissu.ntk@gmail.com>
Commit
Workflow run
๐ฅฐ6
KernelSU_v1.0.3-4-legacy-13-gaf04d53f_12060-release.apk
4.7 MB
Manager
#ci_1860
Commit
Workflow run
#ci_1860
kernel: throne_tracker: clear apk_path_hash_list every fucking time
re-initialize / empty this for fresh processing
Commit
Workflow run
๐1
KernelSU_v1.0.3-4-legacy-14-gb734732e_12061-release.apk
4.7 MB
Manager
#ci_1861
Commit
Workflow run
#ci_1861
kernel: refine some and relabel them correctly
1. We checks for CONFIG_KDP_CRED inside kernel/cred.c
2. If we got CONFIG_KDP_CRED, grep command will return 0
3. Then we do another checks inside kernel_compat.c
4. If UH, RKP and KDP are enabled, stop the compilation immedietly.
- We should not checks is it a samsung kernel or no, just
checks the UH drivers, since KDP and RKP is depends on it.
- Give an advise to kernel dev to remove all UH drivers (not hooks).
Signed-off-by: rsuntk <rissu.ntk@gmail.com>
Commit
Workflow run
KernelSU_v1.0.3-4-legacy-15-gc3ebf95b_12062-release.apk
4.7 MB
Manager
#ci_1862
Commit
Workflow run
#ci_1862
kernel: refine get_ksu_state()
Using int for get_ksu_state is not effective.
Instead we should use boolean value instead because its more easy
and simple things up.
get_ksu_state() will return true if enable_kernelsu greater or equal than 1.
and return false if enable_kernelsu less than 1.
previously:
if (get_ksu_state() < 1)
now:
if (!get_ksu_state())
Signed-off-by: rsuntk <rissu.ntk@gmail.com>
Commit
Workflow run
๐3