Skip to content

Decompiler

Abraham Riedel-Mishaan edited this page Aug 3, 2018 · 1 revision

This script uses apktool (be sure to set up previously with apktool_setup.py) to decompile apks that have been downloaded. Most of the specific documentation is in the file, but the idea is some analyses are done on the decompiled version of the apps. Some we may want to decompile on the fly and as needed (because of space concerns), but many can be pre-decompiled and kept (mainly the most popular/important apps). It decompiles, then removes all files except for .smali and .xml (can be changed through the method in the decompiler file), and zips the remains to save space.

Currently, the decompiler calls to database_helper to determine whether or not to decompile an app (it refuses if it is not a top app). There is no command line way to decompile all apps currently, but if you wish to download all non-downloaded apps and decompile the top ones you call:

python main.py dd
Clone this wiki locally