apk-patchx

apk-patchx

●7 ●16 ●27
calendar_today • schedule1 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

Your SOC's AI Analyst Reads Whatever the Attacker Typed

alessandro_pignati - Oct 26

Cyera: Non-Human Identities Grew 480% in Six Months. Most Companies Have No Idea What They're Doing.

Tom Smithverified - Aug 3

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

alessandro_pignati - Apr 2

The invitation is an APK

DunimeTech - Oct 30
chevron_left
4.2k Points • 50 Badges
7Posts
15Comments
9Connections
Python, CLI, OSINT, Apk RE, Networking, Cybersecurity (Ethical), real-world problem solving and Breaking complex stuffs!

Related Jobs

View all jobs →

Commenters (This Week)

6 comments
2 comments
1 comment

Contribute meaningful comments to climb the leaderboard and earn badges!