Skip to content

ponces/APatchLite

 
 

Repository files navigation

⚠️ 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

logo

APatch

Latest release 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

Support for Samsung devices with security protection: planned

Requirement

Kernel configs

  • CONFIG_KALLSYMS=y and CONFIG_KALLSYMS_ALL=y
  • CONFIG_KALLSYMS=y and CONFIG_KALLSYMS_ALL=n: Initial support

Security Alert

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.

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

Get Help

Usage

Installation guide (coming soon)


Updates

Discussions

More Information

Credits

License

APatch is licensed under the GNU General Public License v3 GPL-3.

About

The new APatch root solution made simple

Resources

License

Stars

Watchers

Forks

Languages

  • Kotlin 67.3%
  • Java 18.0%
  • Rust 9.6%
  • Shell 5.1%