Skip to content

Latest commit

 

History

History
24 lines (19 loc) · 680 Bytes

README.md

File metadata and controls

24 lines (19 loc) · 680 Bytes

ExtractDexFromOat

Since Android L, dex in apk will be transformed to oat file when installed. Oat file is actually elf file whose
type is shared object. This tool first parses oat file and then stores the dex files in oat file.

##Dependency python2.7

##Platform Tested on unbuntu and windows

##Usage Run the following command:

python main.py -f <oat_file_path>

Example:

python main.py -f extra/demo.oat <br>

The extracted dex files will be saved to "out" folder which is located in current work directory.

##Note

  • This tool works for oat file which is produced by Android 5.1.1 (32bit) and didn't test other android versions.