backslashxx 15371bb1d6 kernel: add non-kprobe support for sucompat disable/enable
I have no idea if this is needed or any useful for manual fs hooks users.
Upstream, this is likely to, well, simply disable hooking of those functions,
to remove and mitigate timing issues as some detection methods can actually
differentiate these.

This is done like how vfs_read_hook, input_hook and execve_hook is disabled.
While this is not exactly the same thing, this *CAN* achieve the same results.
The complete disabling of all KernelSU hooks.

While this is probably not so useful for us, honestly, I have no idea for shit
what I am doing, but lets still port it for the sake of feature parity.

cherry pick from:
	kernel: backport support for sucompat disable/enable
	https://github.com/backslashxx/KernelSU/commit/20ffabb

Signed-off-by: backslashxx <118538522+backslashxx@users.noreply.github.com>
2025-02-23 22:11:50 +06:00
2025-02-13 05:54:36 +06:00
2024-12-25 04:45:46 +06:00
2024-03-08 10:31:41 +08:00
2024-02-29 20:35:03 +08:00
2022-12-09 22:03:55 +08:00
2023-10-09 22:53:21 +08:00

English | 简体中文 | 繁體中文 | Türkçe | Português (Brasil) | 한국어 | Français | Bahasa Indonesia | Русский | ภาษาไทย | Tiếng Việt

KernelSU Next

logo

A kernel-based root solution for Android devices.

Latest Release Nightly Release License: GPL v2 GitHub License

Features

  1. Kernel-based su and root access management.
  2. Module system based on dynamic mount system Magic Mount / OverlayFS.
  3. App Profile: Lock up the root power in a cage.

Compatibility state

KernelSU Next officially supports most Android kernels starting from 4.4 up to 6.6.

  • GKI 2.0 (5.10+) kernels can run pre-built images and LKM/KMI.
  • GKI 1.0 (4.19 - 5.4) kernels need to rebuilt with KernelSU driver.
  • EOL (<4.14) kernels also need to be rebuilt with KernelSU driver (3.18+ is experimental and may need some function backports).

Currently, only the arm64-v8a architecture is supported.

Usage

Security

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

License

Donations

  • 0x12b5224b7aca0121c2f003240a901e1d064371c1 [ USDT BEP20 ]

  • TYUVMWGTcnR5svnDoX85DWHyqUAeyQcdjh [ USDT TRC20 ]

  • 0x12b5224b7aca0121c2f003240a901e1d064371c1 [ USDT ERC20 ]

  • 0x12b5224b7aca0121c2f003240a901e1d064371c1 [ ETH ERC20 ]

  • Ld238uYBuRQdZB5YwdbkuU6ektBAAUByoL [ LTC ]

  • 19QgifcjMjSr1wB2DJcea5cxitvWVcXMT6 [ BTC ]

Credits

Description
An advanced Kernel based root solution for Android
Readme GPL-3.0 22 MiB
v1.0.8 Latest
2025-06-16 00:00:17 +00:00
Languages
Kotlin 44%
Rust 29.4%
C 16.5%
Java 4.4%
Shell 2.9%
Other 2.7%