APKTOOL for Reverse Engineering Android Apk File

Image

Apktool is a tool for reverse engineering 3rd party, closed, binary Android apps. It can decode resources to nearly original form and rebuild them after making some modifications; it makes possible to debug smali code step by step. Also it makes working with app easier because of project-like files structure and automation of some repetitive tasks like building apk, etc.

We use apktool for decoding resources to nearly original form and rebuilding them.

Demo

Lock image

How to Install The Tool:

Installation of apktool is a straightforward process. The tool can be installed by cloning the Github repository

 If you are using debian You can also install using “apt install apktool”

apktool Usage Example

Use debug mode (d) to decode the given apk file (/r>oot/Desktop/test.apk):

apktool d /root/Desktop/test.apk”

Use rebuild mode (b) to rebuild the given folder(apk)

(/root/Deskptop/test)

“ apktool b /root/Desktop/test”

The output can be exported to a specific folder using (-o).