Android APK manipulation toolkit with Frida gadget injection support
Project description
APK-Patchx
⚠️ It's in development mode now, use it carefully, suggest fixes and PR. ⚠️
⚡ apk-patchx
A modern Python-powered toolkit for reverse engineering, patching, and rebuilding Android APKs.
Seamlessly integrates with apktool, smali/dex patching, Frida gadget injection, ADB utilities, and signing workflows.
🔥 What is apk-patchx?
apk-patchx is a command-line tool that makes APK manipulation fast, modular, and developer-friendly.
Whether you’re a security researcher, reverse engineer, or power user — it gives you a one-stop solution for:
- 📦 Pulling & merging split APKs directly from connected Android devices
- 🔍 Decoding & rebuilding APKs with apktool
- 🧩 Injecting Frida gadgets into any architecture (
arm,arm64,x86,x86_64) - 📝 Patching smali/dex code with your own hooks
- 🔑 Auto-signing APKs for immediate deployment
- 🎛️ Custom decode/build options for advanced workflows
Installation
pip install apk-patchx
Usage
Pull APK from device
apk-patchx pull com.example.app
Decode APK
apk-patchx decode app.apk
Build APK from source
apk-patchx build app_src/
Patch APK with Frida gadget
apk-patchx patch app.apk --arch arm64
Rename APK package
apk-patchx rename app.apk com.newpackage.name
Sign APK
apk-patchx sign app.apk
Architecture Support
- ARM (
arm) - ARM64 (
arm64) - x86 (
x86) - x86_64 (
x86_64)
Requirements
- Python 3.8+
- Java Runtime Environment (JRE 8+)
- ADB (for device operations)
Tool Management
APK-Patchx automatically downloads and manages required tools in ~/.apk-patchx/tools/:
- apktool
- Android SDK build-tools
- Platform tools (adb)
- dexpatch
- Frida gadgets
License
MIT License - see LICENSE file for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file apk_patchx-7.9.2025.8.tar.gz.
File metadata
- Download URL: apk_patchx-7.9.2025.8.tar.gz
- Upload date:
- Size: 18.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.32.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2333b7c86fe5e22aba74e208ceb5faf429c6e7a463551ac7afd68806a726ada2
|
|
| MD5 |
651d23ee847f64b3379a83baa588013c
|
|
| BLAKE2b-256 |
1953144e2a6bc330c9ec5b973e42884909f2e0012e8bb928766e16e0254b6d74
|
File details
Details for the file apk_patchx-7.9.2025.8-py3-none-any.whl.
File metadata
- Download URL: apk_patchx-7.9.2025.8-py3-none-any.whl
- Upload date:
- Size: 25.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.32.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1ffec526f9b8daa98c86cc2b09b03897f13f0d4c5baed8e0da7ae998a6405a7d
|
|
| MD5 |
3843c6062b4235f4aa112003ffabe261
|
|
| BLAKE2b-256 |
04bb2e0aa41b05fdad55f20b47c584e126c390923a3f7078fa4f7cf9bf216ad9
|