8000 GitHub - luyanci/KernelSU: [FORCE PUSH WARNING]A little bit changes of RKSU. Chat&Update Group: https://t.me/ycrksu (READ THE BIO FIRST)
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

luyanci/KernelSU

 
 

Repository files navigation

logo

KernelSU

A Kernel-based root solution for Android devices.

Now this fork was based on this commit

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/luyanci/KernelSU/main/kernel/setup.sh" | bash -s main

if you want to add SUSFS support,just use this command below:

# v1.5.7
curl -LSs "https://raw.githubusercontent.com/luyanci/KernelSU/main/kernel/setup.sh" | bash -s susfs-v1.5.7

# v1.5.5
curl -LSs "https://raw.githubusercontent.com/luyanci/KernelSU/main/kernel/setup.sh" | bash -s susfs-v1.5.5

Hook method

  1. KPROBES hook:
    • Also used for Loadable Kernel Module (LKM)
    • Default hook method on GKI kernels.
    • Need CONFIG_KSU_MANUAL_HOOK=n
    • Require CONFIG_KPROBES
  2. Manual 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.
  4. Bringing back non-GKI/GKI 1.0 support
  5. Added bare armeabi-v7a/arm32 support.

Compatibility State

KernelSU (before v1.0.0) officially supports Android GKI 2.0 devices (kernel 5.10+).

Older kernels (4.4+) are also compatible, but the kernel will have to be built manually.

With more backports, KernelSU can supports 3.x kernel (3.4-3.18).

Currently, only arm64-v8a and armeabi-v7a (bare) are supported.

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 44.1%
  • C 22.8%
  • Rust 18.8%
  • Java 6.2%
  • TypeScript 2.6%
  • Shell 2.1%
  • Other 3.4%
0