The patching of Android kernel and Android system
  • Kotlin 64%
  • Rust 13.3%
  • C++ 8.1%
  • Java 6.2%
  • Shell 5.9%
  • Other 2.5%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Admirepowered b858bd32d9 kp: bump to 0.13.1
kp: bump to 0.13.1 init package when startup
load package_config by kernel
apd: rm unused sepolicy check
2026-03-30 21:25:44 +08:00
.github issue template: Include KernelPatch reporting guidelines in bug template 2026-02-28 11:25:08 +08:00
apd kp: bump to 0.13.1 2026-03-30 21:25:44 +08:00
app apd: Built in implementation of magiskpolicy 2026-03-24 16:12:46 +08:00
docs Bulgarian Faq (I wrote it in the middle of class) 2025-05-27 08:49:05 +03:00
fastlane/metadata/android/en-US [skip ci] Add fastlane metadata (#521) 2024-06-22 17:31:12 +08:00
gradle build(deps): bump the maven-dependencies group across 1 directory with 7 updates (#1388) 2026-02-07 02:49:23 +08:00
scripts manager: Refine build gradle dsl 2024-08-04 14:42:27 +08:00
.gitattributes Add .gitattributes 2024-01-04 22:24:10 +00:00
.gitignore apd: Built in implementation of magiskpolicy 2026-03-24 16:12:46 +08:00
build.gradle.kts kp: bump to 0.13.1 2026-03-30 21:25:44 +08:00
gradle.properties manager: Upgrade deps 2026-01-25 11:47:05 +08:00
gradlew Upgrade dependences and prebuilts 2025-11-06 19:18:37 +08:00
gradlew.bat Upgrade dependences and prebuilts 2025-11-06 19:18:37 +08:00
LICENSE Create LICENSE 2023-08-22 16:00:55 +08:00
README.md drop magiskboot 2026-02-05 00:11:07 +08:00
settings.gradle.kts manager: Use Crossfade in BottomBar, remove Timber 2025-10-15 23:45:41 +08:00

logo

APatch

Latest Release Nightly Release Weblate Channel GitHub License

The patching of Android kernel and Android system.

  • A new kernel-based root solution for Android devices.
  • APM: Support for modules similar to Magisk.
  • KPM: Support for modules that allow you to inject any code into the kernel (Provides kernel function inline-hook and syscall-table-hook).
  • APatch relies on KernelPatch.
  • The APatch UI and the APModule source code have been derived and modified from KernelSU.

Get it on F-Droid

Or download the latest APK from the Releases Section.

Supported Versions

  • Only supports the ARM64 architecture.
  • Only supports Android kernel versions 3.18 - 6.12

Support for Samsung devices with security protection: Planned

Requirement

Kernel configs:

  • CONFIG_KALLSYMS=y and CONFIG_KALLSYMS_ALL=y

  • CONFIG_KALLSYMS=y and CONFIG_KALLSYMS_ALL=n: Initial support

Security Alert

The SuperKey has higher privileges than root access.
Weak or compromised keys can lead to unauthorized control of your device.
It is critical to use robust keys and safeguard them from exposure to maintain the security of your device.

Translation

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

Translation Status

Get Help

Usage

For usage, please refer to our official documentation.
It's worth noting that the documentation is currently not quite complete, and the content may change at any time.
Furthermore, we need more volunteers to contribute to the documentation in other languages.

Updates

Discussions

More Information

Credits

License

APatch is licensed under the GNU General Public License v3 GPL-3.