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

Uploaded Python 3

File details

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

File metadata

  • Download URL: apk_patchx-7.9.2025.4.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.4.tar.gz
Algorithm Hash digest
SHA256 b93715cec410ddc5932bcf428f56fe6e331548efae53f0719fea9d7e694385d1
MD5 cc7f23e8cb6a1069f9ba46d99581b9b2
BLAKE2b-256 6eba439f2d1a1619889fff039d3add95a9f927cb7be713142cb0ce11541a12b8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for apk_patchx-7.9.2025.4-py3-none-any.whl
Algorithm Hash digest
SHA256 f461638e5ab315c7b3ce8e7c3d393d928fd2a9f2fcd94f44eaa96ed4d3a03673
MD5 7f34a2803de1519e26e82384208463d5
BLAKE2b-256 786d7c1c6a43d6eadb36c90aceff715623a35b121e87f3d6a0ac27be84850df4

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