Android APK manipulation toolkit with Frida gadget injection support
Project description
APK-Patchx
A powerful command-line tool for Android APK manipulation, including Frida gadget injection, APK decoding/building, and package management.
Features
- APK Management: Pull, decode, build, and sign APK files
- Frida Integration: Inject Frida gadgets for runtime manipulation
- Split APK Support: Automatically merge split APKs into single files
- Package Renaming: Change APK package names
- Auto-bootstrap: Automatically downloads and manages required tools
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.3.tar.gz.
File metadata
- Download URL: apk_patchx-7.9.2025.3.tar.gz
- Upload date:
- Size: 16.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.32.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5a9e4b3e1b4b6866d631a7cef72167b3e8b0203adadd332f4d1e3bbc0d793146
|
|
| MD5 |
f56723ec96ca99dc5f80c9062f751fbf
|
|
| BLAKE2b-256 |
6097da330327a830fad07b7634a729343e387a8f18c4181702d712cd255f4288
|
File details
Details for the file apk_patchx-7.9.2025.3-py3-none-any.whl.
File metadata
- Download URL: apk_patchx-7.9.2025.3-py3-none-any.whl
- Upload date:
- Size: 24.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: python-requests/2.32.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1abd486c3eee6d91f1a75152641deb2b815e57e1ca6209590746d2e9b2ecee26
|
|
| MD5 |
9765446d948b6f2af1150e9571fa2058
|
|
| BLAKE2b-256 |
eb28dd25f23b51e704b71c1ed763299d8c7a7fa33420c68a240c13b6bca2702f
|