# 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
```bash
pip install apk_patchx
```
## Usage
### Pull APK from device
```bash
apk_patchx pull com.example.app
```
### Decode APK
```bash
apk_patchx decode app.apk
```
### Build APK from source
```bash
apk_patchx build app_src/
```
### Patch APK with Frida gadget
```bash
apk_patchx patch app.apk --arch arm64
```
### Rename APK package
```bash
apk_patchx rename app.apk com.newpackage.name
```
### Sign APK
```bash
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.
Raw data
{
"_id": null,
"home_page": null,
"name": "apk_patchx",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": null,
"keywords": "android, apk, reverse-engineering, frida, patching",
"author": "APKPatcher Contributors",
"author_email": null,
"download_url": "https://files.pythonhosted.org/packages/6e/ba/439f2d1a1619889fff039d3add95a9f927cb7be713142cb0ce11541a12b8/apk_patchx-7.9.2025.4.tar.gz",
"platform": null,
"description": "# APK-Patchx\n\nA powerful command-line tool for Android APK manipulation, including Frida gadget injection, APK decoding/building, and package management.\n\n## Features\n\n- **APK Management**: Pull, decode, build, and sign APK files\n- **Frida Integration**: Inject Frida gadgets for runtime manipulation\n- **Split APK Support**: Automatically merge split APKs into single files\n- **Package Renaming**: Change APK package names\n- **Auto-bootstrap**: Automatically downloads and manages required tools\n\n## Installation\n\n```bash\npip install apk_patchx\n```\n\n## Usage\n\n### Pull APK from device\n```bash\napk_patchx pull com.example.app\n```\n\n### Decode APK\n```bash\napk_patchx decode app.apk\n```\n\n### Build APK from source\n```bash\napk_patchx build app_src/\n```\n\n### Patch APK with Frida gadget\n```bash\napk_patchx patch app.apk --arch arm64\n```\n\n### Rename APK package\n```bash\napk_patchx rename app.apk com.newpackage.name\n```\n\n### Sign APK\n```bash\napk_patchx sign app.apk\n```\n\n## Architecture Support\n\n- ARM (`arm`)\n- ARM64 (`arm64`) \n- x86 (`x86`)\n- x86_64 (`x86_64`)\n\n## Requirements\n\n- Python 3.8+\n- Java Runtime Environment (JRE 8+)\n- ADB (for device operations)\n\n## Tool Management\n\nAPK-Patchx automatically downloads and manages required tools in `~/.apk_patchx/tools/`:\n\n- apktool\n- Android SDK build-tools\n- Platform tools (adb)\n- dexpatch\n- Frida gadgets\n\n## License\n\nMIT License - see LICENSE file for details.\n",
"bugtrack_url": null,
"license": null,
"summary": "Android APK manipulation toolkit with Frida gadget injection support",
"version": "7.9.2025.4",
"project_urls": {
"Homepage": "https://github.com/kaifcodec/apk-patchx",
"Issues": "https://github.com/kaifcodec/apk-patchx/issues",
"Repository": "https://github.com/kaifcodec/apk-patchx.git"
},
"split_keywords": [
"android",
" apk",
" reverse-engineering",
" frida",
" patching"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "786d7c1c6a43d6eadb36c90aceff715623a35b121e87f3d6a0ac27be84850df4",
"md5": "7f34a2803de1519e26e82384208463d5",
"sha256": "f461638e5ab315c7b3ce8e7c3d393d928fd2a9f2fcd94f44eaa96ed4d3a03673"
},
"downloads": -1,
"filename": "apk_patchx-7.9.2025.4-py3-none-any.whl",
"has_sig": false,
"md5_digest": "7f34a2803de1519e26e82384208463d5",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 24112,
"upload_time": "2025-09-07T10:59:09",
"upload_time_iso_8601": "2025-09-07T10:59:09.204169Z",
"url": "https://files.pythonhosted.org/packages/78/6d/7c1c6a43d6eadb36c90aceff715623a35b121e87f3d6a0ac27be84850df4/apk_patchx-7.9.2025.4-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "6eba439f2d1a1619889fff039d3add95a9f927cb7be713142cb0ce11541a12b8",
"md5": "cc7f23e8cb6a1069f9ba46d99581b9b2",
"sha256": "b93715cec410ddc5932bcf428f56fe6e331548efae53f0719fea9d7e694385d1"
},
"downloads": -1,
"filename": "apk_patchx-7.9.2025.4.tar.gz",
"has_sig": false,
"md5_digest": "cc7f23e8cb6a1069f9ba46d99581b9b2",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 16878,
"upload_time": "2025-09-07T10:59:11",
"upload_time_iso_8601": "2025-09-07T10:59:11.733469Z",
"url": "https://files.pythonhosted.org/packages/6e/ba/439f2d1a1619889fff039d3add95a9f927cb7be713142cb0ce11541a12b8/apk_patchx-7.9.2025.4.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-09-07 10:59:11",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "kaifcodec",
"github_project": "apk-patchx",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "apk_patchx"
}