Skip to content

luyanci/KernelSU

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

logo

KernelSU (Rissu's fork)

A Kernel-based root solution for Android devices.

Note

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

This is unofficial KernelSU fork, all changes are not guaranteed stable!

All rights reserved to @tiann, the author of KernelSU.

Latest release Latest LKM release Channel License: GPL v2 GitHub License

How to add

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

Suspicious FS (SusFS) Add-On

Warning

This branch is not always updated.

Hook method

  1. Syscall hook:
    • Used for Loadable Kernel Module (LKM)
    • Default hook method on GKI kernels.
    • Need # CONFIG_KSU_MANUAL_HOOK is not set & CONFIG_KPROBES=y, CONFIG_KRETPROBES=y, CONFIG_HAVE_SYSCALL_TRACEPOINTS=y
  2. Manual hook:

Features

  1. Kernel-based su and root access management.
  2. Module system based on Metamodule
  3. App Profile: Lock up the root power in a cage.

Compatibility State

  • Kernel compatibility:
    • Android GKI 2.0 (5.10+): aarch64, armv8l, x86_64
    • Android GKI 1.0 (5.4): aarch64, armv8l, armv7l
    • Non-GKI (4.4-4.19): aarch64, armv8l, armv7l
  • Application compaibility:
    • arm64-v8a, armeabi-v7a, x86_64

Usage

Discussion

Security

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

License

Credits

About

[FORCE PUSH WARNING]A little bit changes of RKSU. Chat&Update Group: https://t.me/ycrksu (READ THE BIO FIRST)

Resources

License

Security policy

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Kotlin 51.4%
  • C 21.0%
  • Rust 18.5%
  • Java 4.1%
  • C++ 2.3%
  • Shell 1.7%
  • Other 1.0%