anestisb / vdexExtractor

Tool to decompile & extract Android Dex bytecode from Vdex files
Apache License 2.0
1.02k stars 218 forks source link

Vdex file very small and not including cdex #69

Open tomtran142 opened 3 years ago

tomtran142 commented 3 years ago

Thanks for developer, who made the great tools for research about vdex file android

I'm using this tool for Android Pie system vdex019 , for /System/App and System/Framworks all was fine , but for Applications in Priv-App folder , vdex file come different , look like its very small and not including Cdex or dex file

https://drive.google.com/file/d/1V6gyfUAVCfm53EpGiGN0Dky5Wk5WOvOA/view?usp=sharing

Here is link example file . Anyone can take a look and teach me how to deodex this file ?

Thanks again !

IgorEisberg commented 3 years ago

You don't. If the vdex file of a system app doesn't contain any dex/cdex files, that means the app already has its classes*.dex files included in the APK. Which is exactly the case in your sample file: Launcher-release-signed.apk already contains classes.dex and classes2.dex, so no deodexing is needed, and the oat directory can be simply removed.