ksud Commands and Late Load in KernelSU

ksud is the userspace daemon in KernelSU. It manages the kernel module, handles install operations, and provides the command line interface for the operations the manager app performs with buttons. The manager and ksud work together: the app is the interface, ksud is the worker.
Late load is ksud's way of loading the kernel module with temporary root permissions. It suits scenarios where the standard install path does not fit, such as loading the module on a device where a temporary root already exists, without replacing the boot partition or triggering verified boot checks. The documentation describes LKM loading with temporary root as a special scenario, not the normal install. KernelSU APK
On this page
What ksud Handles
- Loading the kernel module into the running kernel.
- Install operations, including direct install and inactive slot install.
- Late loading the module where temporary root permissions exist.
- The communication channel between the manager app and the kernel module.
When to Use the Command Line
Use the manager app for normal installs, updates and module management. Use ksud from a shell for late load scenarios, for debugging an install that the app cannot complete, and for the advanced flows the documentation describes. Command line use assumes comfort with a shell and with fastboot rescue, since the same mistakes that break an app install break a shell install faster. the three parts
Frequently Asked Questions
What is ksud?
The userspace daemon in KernelSU that manages the kernel module, handles installs, and provides the command line interface.
What is late load?
Loading the KernelSU module with temporary root permissions, for scenarios where the standard install path does not fit.
Should beginners use ksud directly?
No. Normal installs, updates and module management belong in the manager app. The shell is for late load and debugging.