Skip to content

XAPK Creation Tool V2: A Python tool for creating XAPK packages

License

Notifications You must be signed in to change notification settings

knightfall-cs/xapk-tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

To use the tool, follow these steps:

  1. Clone or download this repository.

  2. Open a terminal in the repository directory.

  3. 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.png and manifest.json files 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>.obb as described in the Android documentation.

  • If you encounter a module error related to importing APK from androguard.core.bytecodes.apk, modify the import statement,

From:

from androguard.core.bytecodes.apk import APK

To:

from androguard.core.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

About

XAPK Creation Tool V2: A Python tool for creating XAPK packages

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages