/APatch

The patching of Android kernel and Android system

Primary LanguageKotlinGNU General Public License v3.0GPL-3.0

logo

APatch

latest release badge weblate Channel GitHub License

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

Supported Versions

  • ARM64 only
  • Android Kernel Version 3.18 - 6.1

Requirement

Kernel configs

  • CONFIG_KALLSYMS=y
  • CONFIG_KALLSYMS_ALL=y
  • DEBUG_KERNEL=y
  • CONFIG_KALLSYMS_ALL=n (Next version of KernelPatch will support)

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

Translation status

Get Help

Usage

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.

Updates

Discussions

More Information

Credits

License

APatch is licensed under the GNU General Public License v3 (GPL-3) (http://www.gnu.org/copyleft/gpl.html).