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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

demodapk-1.1.17.tar.gz (534.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

demodapk-1.1.17-py3-none-any.whl (41.9 kB view details)

Uploaded Python 3

File details

Details for the file demodapk-1.1.17.tar.gz.

File metadata

  • Download URL: demodapk-1.1.17.tar.gz
  • Upload date:
  • Size: 534.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.32.5

File hashes

Hashes for demodapk-1.1.17.tar.gz
Algorithm Hash digest
SHA256 5cf4e9ad04f04d712f904bc923b59dd7ee9cde8fcb7b1bae8916dbb7b9df1c67
MD5 09cf26e51c523592a2aed346823dca7b
BLAKE2b-256 72da55b0637eecb513cb1214435735d3ccf3242f2003a6a6b3d14e4e6f01dc0b

See more details on using hashes here.

File details

Details for the file demodapk-1.1.17-py3-none-any.whl.

File metadata

  • Download URL: demodapk-1.1.17-py3-none-any.whl
  • Upload date:
  • Size: 41.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: python-requests/2.32.5

File hashes

Hashes for demodapk-1.1.17-py3-none-any.whl
Algorithm Hash digest
SHA256 946597f92fb03590e17fa3a77c7282b8dff98203cb60fcabfc3f6124fb22be3c
MD5 bc922b3fd5b46df4483876b279559d30
BLAKE2b-256 9baa2d13b7aa77ba2c197b5cc579d6cf9b8877241fa70d3566fd46f182a783fb

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

1.1.17 This release

2 files

1.1.16

2 files

1.1.15

2 files

1.1.14

2 files

1.1.13

2 files

1.1.12

2 files

1.1.11

2 files

1.1.10

2 files

1.1.9

2 files

1.1.8

2 files

1.1.7

2 files

1.1.6

2 files

1.1.5

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page