Skip to main content

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 Banner - Android APK Manipulation Toolkit

⚡ 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

apk-patchx Terminal Example

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

apk_patchx-17.11.2025.0.tar.gz (18.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

apk_patchx-17.11.2025.0-py3-none-any.whl (25.3 kB view details)

Uploaded Python 3

File details

Details for the file apk_patchx-17.11.2025.0.tar.gz.

File metadata

  • Download URL: apk_patchx-17.11.2025.0.tar.gz
  • Upload date:
  • Size: 18.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.31.0

File hashes

Hashes for apk_patchx-17.11.2025.0.tar.gz
Algorithm Hash digest
SHA256 400285da61c7aa1929e5da87381670cfdb0a67d7f9a73d0c97f187ce060749ae
MD5 cfe2a1fe4c6f7b64a7344720164cb8ed
BLAKE2b-256 c7d6eb1f578e5d638f3a84cbf1dbbf1f3a0c6019128439551c1c5b2c4da98553

See more details on using hashes here.

File details

Details for the file apk_patchx-17.11.2025.0-py3-none-any.whl.

File metadata

File hashes

Hashes for apk_patchx-17.11.2025.0-py3-none-any.whl
Algorithm Hash digest
SHA256 befd30d78d25d1db1c604de4d919956f12939e09b215a204db3880387d07fae7
MD5 e1c8c1de8eeb32f04b2578ca7038eeef
BLAKE2b-256 7a4934e2e851e9762949e839705212659fbfbe6a1835d3023981facfa9ceb967

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page