Enhancer : A powerful tool to change API level, inject assets, dex, manifest, resources & native (.so) libraries and sign the APK

:flashlight: Enhancer

A powerful tool to inject assets, dex, manifest, resources & native (.so) libraries and sign the apk.


image

:feather: Features

  • Change targetSdkVersion
  • Inject assets files
  • Inject native (.so) libraries
  • Inject dex files
  • Inject extra resources
  • Inject manifest.xml file.
  • Sign the apk using your keystore file

Installation

Note: Before installing Enhancer, make sure that you’ve JDK 8 or above installed.

Windows

In PowerShell, run:

iwr https://raw.githubusercontent.com/jewelshkjony/Enhancer/2.0.0/install.ps1 -useb | iex

Linux and macOS

  1. In the terminal, run:

    curl https://raw.githubusercontent.com/jewelshkjony/Enhancer/2.0.0/install.sh -fsSL | sh
    
  2. To run Enhancer write chmod +x Enhancer.sh on terminal.

Quick start

Now, that you’ve installed Enhancer, let’s try this tool.

  1. Open the terminal and write Enhancer.
    This will show you some prompts.

    • Enter apk path: Set the path of the apk or drag the apk file here.
    • Enter keystore path: Set the keystore path or drag the keystore file here. Enhancer tool will use this keystore file to sign your apk.
    • Want to change SDK version? Y/N: Write Y if you want to change targetSdkVersion. If you’ve entered Y then it’ll ask for enter compileSdkVersion & compileSdkVersionCodeName.
    • Want to inject assets? Y/N : If you want to inject assets file so write Y now it’ll ask for the directory path of asstes files.
    • Want to inject native libraries? Y/N : If you want to inject (.so) native libraries so write Y now it’ll ask for the directory path of native libraries.
    • Want to inject dex files? Y/N : If you want to inject .dex files so write Y now it’ll ask for the path of dex file. If you want to inject multiple files, separate the paths with commas.
    • Want to inject extra resources? Y/N : If you want to inject any additional resources so write Y now it’ll ask for resources directory path. It’ll follow the name of directory to inject. If you want to inject multiple directory, separate the directory paths with commas.
    • Want to inject manifest.xml? Y/N : If you want to inject AndroidManifest.xml write Y and set the path of Manifest.xml.
  2. If you only want to sign the apk and don’t want to inject anything so write N on every prompts. So the tool will skip the injecting process. When you’re only signing the apk so the output apk will override the origianl apk. And if you’re injecting assets or native (.so) libraries so the tool will provide a new apk (originalApk-enhanced.apk).

  3. That’s it, now you can install the generated apk.

:receipt: GitHub Repository

Stay updated with this repository for updates.


:moneybag: Support Me

If you like my work you can support me here. Your support will motivate me to do better.



5 Likes

Outstanding job man :clap:

1 Like

I am getting this error after parsing the apk

Exception in thread "Thread-0" java.lang.NoClassDefFoundError: brut/apktool/Main
        at Compiler.decompile(Unknown Source)
        at Enhancer.backgroundTask(Unknown Source)
        at Enhancer.access$000(Unknown Source)
        at Enhancer$1.run(Unknown Source)
        at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: java.lang.ClassNotFoundException: brut.apktool.Main
        at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581)
        at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
        at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:521)
        ... 5 more

Install the tool again.

Ok, let me try again


can someone help me with this one?

1 Like

@JEWEL please see this and help him

I guess you should rename the file, remove the blank spaces and parenthesis, maybe that could help you out…

Horizon

1 Like

It’s all good and it works. thank you enhancer. thank you, Admins. I hope to publish my game soon

3 Likes

Can I also use this to inject the dependencies?

I guess yes, but wait for Jewel to reply…

Now you can only inject assets and native (.so) libraries. I’ll release a new update soon which can inject any resources included dependencies.

3 Likes

V2.0.0 is now released.

:feather: Features


  • Change target API level.
  • Inject assets files.
  • Inject native (.so) libraries.
  • Inject dex files.
  • Inject extra resources.
  • Inject manifest.xml file.
  • Sign the apk using your keystore file.

Everyone please test it and share feedback.

2 Likes

Can we update dependancies here ?

2 Likes

You can inject dependencies as dex or as extra resources.

1 Like

cam you please show guides how to inject dependencies

1 Like