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
Kernel configs
CONFIG_KALLSYMS=y
CONFIG_KALLSYMS_ALL=y
DEBUG_KERNEL=y
CONFIG_KALLSYMS_ALL=n
(Next version of KernelPatch will support)
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)
ℹ️ Universal Kernel Compilation Guide for Unsupported Devices with APatch : Click here
- ❗ In this guide, you'll discover how to enable crucial features like Kallsyms and OverlayFS for any device. Additionally, it provides instructions on disabling Samsung securities to ensure APatch functions correctly.
- Telegram Channel: @APatchChannel
- Telegram Group: @APatchGroup
- 中文: @APatch_CN_Group
- FAQ (EN)
- 常见问题解答 (CN)
- 常見問題解答 (CN_TW)
- Preguntas frecuentes (ES)
- Foire aux questions (FR)
- Domande frequenti (IT)
- Perguntas frequentes (PT_BR)
- Часто задаваемые вопросы (RU)
- Sık sorulan sorular (TR)
- Tez-tez soruşulan suallar (AZ)
- 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) (http://www.gnu.org/copyleft/gpl.html).