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.
-
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
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:
-
Magisk: For magiskboot
-
KernelPatch: For kptools and kpimg