Skip to main content

DemodAPK

DemodAPK is a tool for modifying and editing an apk that has been decoded by APKEditor.

Features

  • Decode and build APKs with custom commands.
  • Rename packages and modify resources.
  • Update AndroidManifest metadata.
  • Manage settings via JSON config.
  • Configure Facebook App integration.
  • For educational and ethical learning purposes.

Requirements

  • Python v3.10.* or higher.
  • Java v8 or higher.
  • Necessary libraries specified in requirements.txt.

Install

pip install demodapk

Build from Source

Clone the repository and install manually:

git clone https://github.com/Veha0001/DemodAPK.git
cd DemodAPK
# Run git fetch and git pull for latest change.
pip install .

Usage

Run the script with the following command:

demodapk [Options] <apkdir_decoded/apk_file>

For more about options run the command with -h.

Example

config.json
{
  "DemodAPK": {
    "com.demodapk.lite": {
      "app_name": "DemodAPK"
      "apkeditor": {
          "jarpath": "~/.apkeditor/apkeditor.jar",
          "javaopts": "-Xmx8G",
          "output": "./build/DemodAPK"
          "clean": false,
          "dex": true
      },
      "commands": {
        "quietly": true,
        "begin": [
          {
            "run": "hexsaly -c beta.json open $BASE/root/lib/arm64-v8a/libil2cpp.so -i 0",
            "quiet": false
          },
          "rm -r $BASE/root/lib/armeabi-v7a",
          "./scripts/fixbluebutton.sh"
        ],
        "end": [
          {
              "run": "apksigner sign --key ./assets/keys/android.pk8 --cert ./assets/keys/android.x509.pem $BUILD",
              "title": "Signing Build"
          }
        ]
      },
      "level": 2,
      "package": "com.demodapk.hyper",
      "facebook": {
        "app_id": "2000000000001",
        "client_token": "example_client_token",
        "login_protocol_scheme": "fb2000000000001"
      },
      "manifest": {
        "remove_metadata": [
          "com.google.android.gms.games.APP_ID"
        ]
      }
    }
  }

Follow the prompts to select the APK file and modify its contents according to your preferences.

License

This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details.

Contributing

Contributions are welcome! Please open an issue or submit a pull request for any improvements or features.

Metadata

Release files for demodapk 1.1.18

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for demodapk 1.1.18
File Size Uploaded
demodapk-1.1.18.tar.gz 38.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for demodapk 1.1.18
File Interpreter ABI Platform
demodapk-1.1.18-py3-none-any.whl Python 3 none any Details

Total release size: 80.1 kB

Release files / demodapk-1.1.18.tar.gz

Download URL demodapk-1.1.18.tar.gz
Size 38.0 kB
Tags Source
SHA-256 checksum
How to use checksums
bc160eca86169b96b04ebb75d7661c1686e2ec7b1ee6b10e2f62609a559fe4b3
BLAKE2b-256 checksum
How to use checksums
edb06b2f201c3d5120c47a91f8814c3db45b4581bdbdfe67e13c16fe98f5244e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.34.2

Release files / demodapk-1.1.18-py3-none-any.whl

Download URL demodapk-1.1.18-py3-none-any.whl
Size 42.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
60ba142ec1427c04b8b06430817a2331e2fe3b8d25dd7e91e44cad476c8b0aba
BLAKE2b-256 checksum
How to use checksums
e870bfc11b57236162399abe30653d167a49d2179843ea50164a5ebab898438d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.34.2

Release history Release notifications | RSS feed

This release

1.1.18 This release

2 release files

1.1.15

2 release files

1.1.13

2 release files

1.1.12

2 release files

1.1.11

2 release files

1.1.10

2 release files

1.1.9

2 release files

1.1.8

2 release files

1.1.7

2 release files

1.1.6

2 release files

1.1.5

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page