CLI tool for patching and modifying Android APK files
npm install @paulcoding810/apk-patcher
A command-line tool that minimize APKLab for patching and modifying Android APK files with MITM capabilities.
``bash`
npm install -g @paulcoding810/apk-patcher
`bash`
apk-patcher --help
Running apk-patcher will:
1. Decode the APK
2. Initialize a git repository
3. Apply MITM patches
4. Open the project in your configured editor
5. Start a build-test loop where you can:
- Build and install the modified APK (y)n
- Save changes and generate patch file ()q
- Quit without saving ()
- 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