A command-line tool that minimize APKLab for patching and modifying Android APK files with MITM capabilities.
npm install -g @paulcoding810/apk-patcherapk-patcher --helpRunning apk-patcher <path-to-apk> will:
- Decode the APK
- Initialize a git repository
- Apply MITM patches
- Open the project in your configured editor
- Start a build-test loop where you can:
- Build and install the modified APK (
y) - Save changes and generate patch file (
n) - Quit without saving (
q)
- Build and install the modified APK (
- APK decompilation & recompilation
- Automatic MITM patching
- Git integration for tracking changes
- Automatic APK signing
- Direct installation to connected Android device
- Patch file generation
- Build & test loop for rapid development
When working with an APK, the tool creates:
patches/
└── [package-name]/
└── [version].patch
- Requires an Android device connected via ADB for testing
- Automatically handles APK signing
- Generates patch files for version control
- Supports multiple device handling
- Maintains git history of modifications