xapk-tool
xapk-tool copied to clipboard
XAPK Creation Tool V2: A Python tool for creating XAPK packages
XAPK Creation Tool V2
This XAPK Creation Tool is designed to generate XAPK files from a directory containing an APK file and OBB files. It also generates the icon.png and manifest.json files from the APK file.
Table of Contents
- Usage
- Features
- Installation
- Notes
- Authors
- License
- Acknowledgments
Usage
To use the tool, follow these steps:
-
Clone or download this repository.
-
Open a terminal in the repository directory.
-
Run the following command:
python3 xapktool.py <apk_obb_directory>Replace
<apk_obb_directory>with the path to the directory containing the APK and OBB files.Example:
python3 xapktool.py D:\Programs\xapktool\xapk
Features
-
Generates XAPK file from APK and OBB files.
-
Automatically creates
icon.pngandmanifest.jsonfiles from the APK. -
Supports multiple OBB files.
Installation
Before using the XAPK creation tool, ensure you have Python 3 installed on your system.
To install any necessary dependencies, run the following command in your terminal:
python -m pip install -r requirements.txt
OR (only in linux):
sudo apt install adroguard
This installs all necessary dependencies with androguard.
Notes
-
The tool expects a directory with a single APK file and one or more OBB files.
-
It's recommended to follow the Android expansion file naming convention for OBB files:
[main|patch].<expansion-version>.<package-name>.obbas described in the Android documentation. -
If you encounter a module error related to importing
APKfromandroguard.core.apk, modify the import statement,
From:
from androguard.core.apk import APK
To:
from androguard.core.bytecodes.apk import APK
Authors
-
XAPK Creation Tool V2: KNIGHTFALL
-
Androguard + tools: Anthony Desnos (desnos at t0t0.fr)
-
DAD (DAD is A Decompiler): Geoffroy Gueguen (geoffroy dot gueguen at gmail dot com)
License
This XAPK Creation Tool V2 is licensed under the MIT License. See the LICENSE file for details.
Acknowledgments
The development of XAPK Creation Tool V2 was influenced by BryghtShadow's xapktool, which provided the groundwork for this project.
Author: KNIGHTFALL