Xpatch is a collection of specialized utilities designed for modifying and resigning Android application packages to enable rootless hooking and plugin injection. It functions as an APK repackager that allows for the injection of loading logic and the application of new digital signatures to ensure modified binaries can be installed on devices.
The project features a rootless hooking tool that inserts plugin loaders into application binaries, enabling runtime modifications without requiring system-level root access. It includes a signature bypass tool to disable internal verification checks, which prevents applications from crashing after their original developer signatures are removed and replaced.
The toolkit covers several core capability areas, including manifest editing to change package identifiers and version codes, and module bundling to embed specific plugin files directly into the target package. It also supports the selection of different hooking engines and the management of module activation via external configuration files.