This tool is used to extract dex files from oat file.
Since Android L, DEX files in an APK will be transformed into OAT file when installed. An OAT file is actually ELF file whose
type is shared object. This tool first parses the OAT file and then stores the DEX files that are inside of the OAT file.
python2.7
Tested on Ubuntu and Windows
Run the following command:
python main.py -f oat_file_path [-v {L,M,N}] [--fix-checksum]
Example:
python main.py -f extra/demo.oat -v L --fix-checksum
The extracted dex files will be saved to "out" folder which is located in current work directory.