⚠️ This is a fork of the original APatch project.
⚠️ This is a simplified version which uses an HARDCODED SUPERKEY for the kernel super calls. You may consider this as non-secure for your use cases so consider yourself warned!
⚠️ If you intend to use the official version, please go to the official APatch project page to download an official release package.
I made this fork with simplicity and an easy-to-use UI in mind for my daily usage of a simple SuperUser management app with OverlayFS support. These are the differences compared with the original version:
- Hardcoded superkey for simplicity
- Simplified patching UI
- No KPM management
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.
Installation guide (coming soon)
- 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.