[Bug Fix Guide] Partial Solutions for Issues with Older Kernels where KernelSU Doesn't Work and Module Functionality Fails #955
Coconutat
started this conversation in
Show and tell
Replies: 4 comments 17 replies
-
Need help to fix this issue |
Beta Was this translation helpful? Give feedback.
4 replies
-
For Kernel 3.18 follow this guide by @ananjaser1211 |
Beta Was this translation helpful? Give feedback.
2 replies
-
UMOUNT For Non GKI 4.4+ Kernels by @wxt1221 #1060 cherry-pick theses commits in ksu
on kernel side do the following changes in fs/namespace.c add path_umount implementation |
Beta Was this translation helpful? Give feedback.
10 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Partial Solutions for Issues with Older Kernels where KernelSU Doesn't Work and Module Functionality Fails
1. Preface:
This guide is dedicated to those who are still using older devices without custom ROMs.
The targeted kernel versions and Android versions (I don't have devices with even older versions, so compatibility is not guaranteed for versions other than those listed below):
Kernel versions: 4.4, 4.9.
Android versions: Android 8 (O), Android 9 (P).
Prerequisite Reading: Manually Integrate KernelSU
Note 1: If KPROBES is not functioning properly, you should abandon KPROBES instead of persistently trying to make it work. Code is static; humans are dynamic.
Note 2:
For manual integration, you should disable KPROBES, as it can lead to issues such as reboots and crashes. To disable it, find the following lines in your defconfig file:
Change them to:
2. Fixes for Some Bugs:
Bug 1: SU Works, but Modules Don't
Solution: Modify hook.c
The code is located in:
Patch for modification: security: selinux: allow init exec (kernelsu:ksud) under nosuid
Bug 2: KernelSU Works on Devices Below Android 10, but SU Authorization Doesn't Work Properly, and the Module Page Shows No Overlay_FS Support
This bug has been fixed in v0.6.9.
Obsolete Content:
Bug 3:UMOUNT For Non GKI 4.4+ Kernels
Thanks, by @wxt1221 #1060
cherry-pick theses commits in ksu
on kernel side do the following changes in fs/namespace.c
Bot-wxt1221/android_kernel_oneplus_sdm845@70ace81#diff-26b064824bfafef546f17235dc1f34dbea87ce6c27f9320b5d4427bfa4d2b0e9
Good Tips:
Other bugs are still being collected and investigated...
Beta Was this translation helpful? Give feedback.
All reactions