apk-patchx

apk-patchx

5 16 26
calendar_todayschedule1 min read

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

Looking for contributors and debugger

License

MIT License - see LICENSE file for details.

1 Comment

0 votes
🔥 Join developers growing publicly
Share your knowledge, build in public, and grow your developer presence with a global community.

More Posts

Your Backup Data Knows More Than You Think. HYCU aiR Is Finally Asking It the Right Questions.

Tom Smithverified - May 14

Defending Against AI Worms: Securing Multi-Agent Systems from Self-Replicating Prompts

alessandro_pignati - Apr 2

The Security Conversation Your Clients Aren't Having About Agentic AI

Tom Smithverified - Jun 29

Hardening the Agentic Loop: A Technical Guide to NVIDIA NemoClaw and OpenShell

alessandro_pignati - Mar 26

What Ad Networks Does CamScanner Use? I Decompiled the APK to Find Out

orange black - May 19
chevron_left
4.2k Points47 Badges
7Posts
15Comments
1Connections
Python, CLI, OSINT, Apk RE, Networking, Cybersecurity (Ethical), real-world problem solving and Breaking complex stuffs!

Related Jobs

View all jobs →

Commenters (This Week)

1 comment
1 comment

Contribute meaningful comments to climb the leaderboard and earn badges!