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.2.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.2-py3-none-any.whl (24.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: apk_patchx-7.9.2025.2.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.2.tar.gz
Algorithm Hash digest
SHA256 d826abf54cea1a95f31037f990a5c8822ff016e66d3ee9e4b982fe4edbc1843a
MD5 2ab0517ad19ca9340c8fb97265a69743
BLAKE2b-256 e1b0e777f52aa3c43986c37af8b8d533542ff2c602fd1ef13fd9f747d39e3c65

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for apk_patchx-7.9.2025.2-py3-none-any.whl
Algorithm Hash digest
SHA256 616f1d6248f795e0627178b52cea77c4888c116d86744b336d57d01879cbd48d
MD5 df5c86c5245bba0a87d8a3c9cb19e035
BLAKE2b-256 05bed65eb5e8c7fc1749849c42e2a0b3bc9e8e77f28df63d64f96a1949b0b3eb

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