Skip to content

Patching, hooking, and rooting the Android kernel using only a stripped Linux kernel image.

License

Notifications You must be signed in to change notification settings

shuixi2013/AndroidKernelPatch

 
 

Repository files navigation

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).

About

Patching, hooking, and rooting the Android kernel using only a stripped Linux kernel image.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Kotlin 62.2%
  • Rust 21.7%
  • Java 10.6%
  • Shell 5.4%
  • AIDL 0.1%