Forked from ryanamaral/Compile, decompile and sign APK using apktool utility.
Created
January 7, 2023 22:48
-
-
Save trinib/b0ca3c9b9f66d2639c1c70e039b7a06b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Download latest apktool version. | |
2. Download the batch file and aapt.exe. | |
3. Create a folder anywhere in the PC and put all the apktool.jar, aapt.exe and the batch script in that folder. | |
4. Open command prompt. | |
5. Navigate to the folder where you placed apktool.jar, batch script and the aapt.exe. | |
6. Now, you need to install the file using the " IF " command. | |
7. Type the following command. | |
apktool if name-of-the-app.apk | |
8. For decompiling use the command "d". The "d" stands for decompile. | |
apktool d name-of-the-app.apk | |
9. After the app is correctly decompiled, a new folder will be created in the same folder where you placed your app. This contains all the xml's and smali files which can be edited for different mode's. | |
10. To recompile the app use the following command " B ". The "b" simply means recompile. | |
apktool b name-of-the-app-folder | |
11. The final modded app will be in the "dist" folder located inside the original app folder created by apktool. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment