# ExtractDexFromOat **Repository Path**: mowwwcom/ExtractDexFromOat ## Basic Information - **Project Name**: ExtractDexFromOat - **Description**: No description available - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-04-20 - **Last Updated**: 2021-04-20 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # ExtractDexFromOat 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. ## Dependency python2.7
## Platform Tested on Ubuntu and Windows
## Usage Run the following command:
```Bash python main.py -f oat_file_path [-v {L,M,N}] [--fix-checksum] ``` * oat_file_path: The path of oat file. * L, M, N: L means AndroidL, M means AndroidM and N means AndroidN. Default is L. * --fix-checksum: Fix the checksum of output dex files if you use this parameter. Example:
```Bash 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. ## Note * Only tested for AndroidL, AndroidM and AndroidN(32bit and 64bit)