Skip to main content

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


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-7.9.2025.3.tar.gz (16.9 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-7.9.2025.3-py3-none-any.whl (24.1 kB view details)

Uploaded Python 3

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

Hashes for apk_patchx-7.9.2025.3.tar.gz
Algorithm Hash digest
SHA256 5a9e4b3e1b4b6866d631a7cef72167b3e8b0203adadd332f4d1e3bbc0d793146
MD5 f56723ec96ca99dc5f80c9062f751fbf
BLAKE2b-256 6097da330327a830fad07b7634a729343e387a8f18c4181702d712cd255f4288

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for apk_patchx-7.9.2025.3-py3-none-any.whl
Algorithm Hash digest
SHA256 1abd486c3eee6d91f1a75152641deb2b815e57e1ca6209590746d2e9b2ecee26
MD5 9765446d948b6f2af1150e9571fa2058
BLAKE2b-256 eb28dd25f23b51e704b71c1ed763299d8c7a7fa33420c68a240c13b6bca2702f

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