What is KernelSU?
KernelSU is a root solution for Android GKI devices, it works in kernel mode and grant root permission to userspace application directly in kernel space.
Warning
Please do some research if you have any concerns about features included in the products you find here before flashing it! YOU are choosing to make these modifications.
Kernel-Assisted SuperUser is an awful idea! If you're silly, and then very bad things will happen. This here probably is not for you! If you're reading this sentence, start backing away slowly! Out, damned spot!
Features
The main feature of KernelSU is it is Kernel-based. KernelSU works in kernel mode, so it can provide kernel interface we never had before. For example, we can add hardware breakpoint to any process in kernel mode; We can access physical memory of any process without anybody being aware of; We can intercept any syscall in kernel space; etc.
And also, KernelSU provides a module system via overlayfs, which allows you to load your custom plugin into system. It also provides a mechanism to modify files in /system partition.
Issues
Installation
Flash the zip via any custom recovery, wait until it finishes the flashing process and reboot to System.
Download the KernelSU manager app from github releases or github actions.
Sources
Custom Kernel Source - https://github.com/DevZillion/android_kernel_samsung_a31/tree/kernel_su
KernelSU Source - https://github.com/tiann/KernelSU
Last edited: