/APatchTool

(Aka. APatchAutoPatchTool) A script for automating the installation of APatch.

Primary LanguageShellApache License 2.0Apache-2.0

socialify

APatchTool

What is this

A script automating the process of patching the kernel with KernelPatch, and supports the following features:

  • User-specified image path or get from current Android device.
  • User-specified KernelPatch version. Or default, latest release.
  • User-specified SuperKey. What is SuperKey?
  • Supports directly install.
  • Supports OTA updates.
  • Supports embedding KPMs.

Usage

Android

  • Open Termux

  • Prepare

cd ${HOME}
curl -LO https://raw.githubusercontent.com/AkinaAcct/APatchAutoPatchTool/main/AAP.sh
chmod +x AAP.sh
  • Run

Usage:

./AAP.sh -h

Linux

Note

This should work. If you encounter any problems, please submit an issue with logs provided by debug mode.

  • Just like in Termux:
cd ${HOME}
curl -LO https://raw.githubusercontent.com/AkinaAcct/APatchAutoPatchTool/main/AAP.sh
chmod +x AAP.sh
  • Run

Usage:

./AAP.sh -h

If you have issues or need feedback, please run AAP.sh in debug mode. To enable debug mode, run:

APTOOLDEBUG=1 ./AAP.sh [ARGS]

If you encounter any issues, please submit an issue on github.


Credits: