vdexExtractor: Cant extract from Android P vdex
C:\BatchApkTool\_system\framework\arm>vdexExtractor.exe -i boot.vdex -v 4
[INFO] Processing 1 file(s) from boot.vdex
[DEBUG] [7492] 2018/04/11 15:46:46 (vdexExtractor.c:212 main) Processing 'boot.vdex'
[DEBUG] [7492] 2018/04/11 15:46:46 (vdexExtractor.c:231 main) Invalid Vdex header - skipping 'boot.vdex'
[INFO] 0 out of 0 Vdex files have been processed
[INFO] 0 Dex files have been extracted in total
[INFO] Extracted Dex files are available in '.'
This file from official Android P Developer Preview firmware boot.vdex.zip
About this issue
- Original URL
- State: closed
- Created 6 years ago
- Comments: 18 (7 by maintainers)
Ok it seems it has been locked to version 019, so I’ll start working the Android-P support.
Btw it seems that Google has released with Android-P the oatdump patches I’ve submitted a few months back. Therefore, you can always use the ART oatdump utility (
--export-dex-to
flag) to decompile the optimized bytecode.I need to first resolve the newly introduced Compact DEX issue (https://twitter.com/anestisb/status/1028568907542671360), so Android P support might take some time since many things are broken.
Android Pie support has been completed. Please raise a separate bug if you spot any issues with a specific Vdex file.
I think I’ll wait for preview-3 to be released first. They already bumped VDEX version from 018 to 019:
https://android.googlesource.com/platform/art/+/android-p-preview-2/runtime/vdex_file.h#96
I think you’re pressing the developer too much, be patient
Apologies was busy that past few months. Hopefully, will start working on it this weekend.
Google realase it today https://android.googlesource.com/platform/art/+/android-p-preview-3/runtime/vdex_file.h#96
Google has not pushed the preview-3 sources in AOSP yet (https://android.googlesource.com/platform/manifest/+refs).
Thanks for mentioning. Yes, Android P appears to be planned to ship with version 018 of the Vdex file format.
I’ll wait for the second preview release (I’m guessing it will be announced around June) to ensure that this is the locked version from libart to ship with Android P and then I’ll add support.