NPatch patches a loader and the Vector core into the APK. Install the patched app and your modules just work.
Requires Android 9 or later
NPatch injects an Xposed loader into APK files without Root. The patched APK carries its own loader and native core, so nothing has to be extracted from the Manager APK.
Patches apps without embedding modules. Scope stays in the Manager database, so swapping modules needs no re-patching. If the Manager service is briefly unavailable, the loader can try its Provider and the last synced cache.
Extreme, Seccomp and Stealth bypass levels are exclusive to this mode.
The core submodule points to HSSkyBoy/Vector, the runtime that powers NPatch. The same Vector runtime loads all three kinds of modules below.
The CLI offers full control: signature bypass levels 0–5, --useMicroG for GMS redirection, --injectdex to put the loader dex into the original package, --provider for file picker injection (from MT Manager), --allowdown for version downgrade, and three keystore sources (-fpa / -npa / -k).
With NPatch Manager (package top.nkbe.npatch), patched apps talk to the Manager at runtime to get module lists and scopes. It feels like LSPosed, and you don't re-patch just to swap modules.
In Local mode, modern module UIs read and write the NPatch Remote Store through the standard IXposedService.
The recommended way is the NPatch Manager (Android GUI): patch apps entirely on-device, no command line needed. Download manager-v<verName>-<verCode>-release.apk from Releases and install it.
For batch patching or automation, use the cross-platform jar:
java -jar jar-v<verName>-<verCode>-release.jar --manager target.apkSee Usage for the full CLI reference.
Modifying and patching apps may cause crashes, boot failures, or data loss. Always back up important data before patching. Users assume all risks and consequences of running patched apps and modules on their devices.
Since signatures differ, you must uninstall the original app before installing the patched version. Make sure you've backed up your data first.