The patching of Android kernel and Android system.
- A new Kernel-based root solution for Android devices.
- APM: Magisk module like support.
- KPM: Kernel Patch Module support. (Allow you to inject any code into the kernel, Kernel function inline-hook and syscall-table-hook is available)
- APatch relies on KernelPatch.
- The source code for both APatch UI and APM has been copied and modified from KernelSU.
- ARM64 only
- Android Kernel Version 3.18 - 6.1
Support for Samsung devices with security protection: planned
Kernel configs
CONFIG_KALLSYMS=y
andCONFIG_KALLSYMS_ALL=y
CONFIG_KALLSYMS=y
andCONFIG_KALLSYMS_ALL=n
: Initial support
The SUPERKEY has higher privileges than root access.
Weak or compromised keys can result in unauthorized control of your device.
It is critical to use robust keys and safeguard them from exposure to maintain the security of your device.
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.
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.
- Telegram Channel: @APatchChannel
- Telegram Group: @APatchGroup(EN/CN)
- Telegram Group: 中文
- KernelPatch: The core.
- Magisk: magiskboot and magiskpolicy.
- KernelSU: App UI, and magisk module like support.
APatch is licensed under the GNU General Public License v3 GPL-3.