anestisb / vdexExtractor

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

Cant extract from Android P vdex #11

Closed bursoft-git closed 6 years ago

bursoft-git commented 6 years ago
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

anestisb commented 6 years ago

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.

shenrh commented 6 years ago

Android P beta version is ready

anestisb commented 6 years ago

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

tiann commented 6 years ago

DP3 is out https://developer.android.com/preview/download

ale8530 commented 6 years ago

I think you're pressing the developer too much, be patient

miuirussia commented 6 years ago

@anestisb

anestisb commented 6 years ago

Google has not pushed the preview-3 sources in AOSP yet (https://android.googlesource.com/platform/manifest/+refs).

ghost commented 6 years ago

Google realase it today https://android.googlesource.com/platform/art/+/android-p-preview-3/runtime/vdex_file.h#96

Turkishcod commented 6 years ago

Χαίρετε Anestis Bechtsoudis 'anestisb' check gmail inbox @anestisb Ευχαριστώ

anestisb commented 6 years ago

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.

Turkishcod commented 6 years ago

Χαίρετε Anestis Bechtsoudis 'anestisb' check gmail inbox @anestisb Ευχαριστώ

ingbrzy commented 6 years ago

Any news with Pie taste..? :)

anestisb commented 6 years ago

Apologies was busy that past few months. Hopefully, will start working on it this weekend.

Turkishcod commented 6 years ago

@anestisb

reply my post

anestisb commented 6 years ago

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.

ingbrzy commented 6 years ago

OK no problem..

here is Pie ROM for tests.. thank you http://bigota.d.miui.com/8.8.10/miui_MIMIX2S_8.8.10_22c92b6efe_9.0.zip

ale8530 commented 6 years ago

Thank you for your support take the necessary time

anestisb commented 6 years ago

Android Pie support has been completed. Please raise a separate bug if you spot any issues with a specific Vdex file.