Skip to content

rsuntk/KernelSU

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

KernelSU

logo

A Kernel-based root solution for Android devices.

Note

Official KernelSU support for Non-GKI kernels has been ended.

This is unofficial forks, all rights reserved to @tiann

Latest release Weblate Channel License: GPL v2 GitHub License

How to add

curl -LSs "https://raw.githubusercontent.com/rsuntk/KernelSU/main/kernel/setup.sh" | bash -s main

Hook method

  1. KPROBES hook
  2. Manual hook (For GKI: Use #ifdef CONFIG_KSU_MANUAL_HOOK instead of #ifdef CONFIG_KSU for guard certain kernelsu hook)

Features

  1. Kernel-based su and root access management.
  2. Module system based on 5ec1cff's Magic Mount API on KernelSU
  3. App Profile: Lock up the root power in a cage.

Compatibility State

KernelSU officially supports Android GKI 2.0 devices (kernel 5.10+). Older kernels (4.14+) are also compatible, but the kernel will have to be built manually.

With this, WSA, ChromeOS, and container-based Android are all supported.

Currently, only arm64-v8a are supported.

Usage

Translation

To help translate KernelSU or improve existing translations, please use Weblate. PR of Manager's translation is no longer accepted, because it will conflict with Weblate.

Discussion

Security

For information on reporting security vulnerabilities in KernelSU, see SECURITY.md.

License

Credits

About

KernelSU with MagicMount, support GKI and Non-GKI. Updates: https://t.me/rsukrnlsu

Topics

Resources

License

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Kotlin 43.5%
  • C 22.8%
  • Rust 19.2%
  • Java 6.4%
  • TypeScript 2.7%
  • Shell 2.2%
  • Other 3.2%