$ ./kptools-android --help
Kernel Image Patch Tools. version: d05
Usage: ./kptools-android COMMAND [Options...]
COMMAND:
-h, --help Print this message.
-v, --version Print version number. Print kpimg version if -k specified.
-p, --patch Patch or Update patch of kernel image(-i) with specified kpimg(-k).
-u, --unpatch Unpatch patched kernel image(-i).
-d, --dump Dump kallsyms infomations of kernel image(-i).
-f, --flag Dump ikconfig infomations of kernel image(-i).
-l, --list Print all patch informations of kernel image if (-i) specified.
Print extra item informations if (-M) specified.
Print KPatch-Next image informations if (-k) specified.
Options:
-i, --image PATH Kernel image path.
-k, --kpimg PATH KPatch-Next image path.
-o, --out PATH Patched image path.
-a --addition KEY=VALUE Add additional information.
-K, --kpatch PATH Embed kpatch executable binary into patches.
-M, --embed-extra-path PATH Embed new extra item.
-E, --embeded-extra-name NAME Preserve and modifiy embedded extra item.
-T, --extra-type TYPE Set type of previous extra item.
-N, --extra-name NAME Set name of previous extra item.
-V, --extra-event EVENT Set trigger event of previous extra item.
-A, --extra-args ARGS Set arguments of previous extra item.
-D, --extra-detach Detach previous extra item from patches.
~ $