anestisb / vdexExtractor

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

Problem MiLauncherGlobal.vdex #42

Closed ale8530 closed 5 years ago

ale8530 commented 5 years ago

vdexExtractor update from last commit

File vdex

Error:

./vdexExtractor -i MiLauncherGlobal.vdex [INFO] Processing 1 file(s) from MiLauncherGlobal.vdex [FATAL] ((idx)) < ((dex_getMethodIdsSize(dexFileBuf))

ale8530 commented 5 years ago

Log with this command-->./vdexExtractor -i MiLauncherGlobal.vdex --deps

log.zip

anestisb commented 5 years ago

Holy crap 68 Dex files inside the container. Ok I'll investigate. Can you please also share the matching OAT file?

ale8530 commented 5 years ago

Complete file link

ale8530 commented 5 years ago

Thanks for investigate

ingbrzy commented 5 years ago

deodexed apk https://www.apkmirror.com/apk/xiaomi-inc/poco-launcher/poco-launcher-2-6-1-1-release/poco-launcher-2-6-1-1-android-apk-download/

anestisb commented 5 years ago

Should be fixed in https://github.com/anestisb/vdexExtractor/commit/33b185a4f1a39c37f94c0cc254b47448219c82dc. 019 backend is not affected since it was initially written to proper handle the methodIdx delta values in the iterators. Somehow I missed porting the improved iterator in the older backends.

Thanks for reporting.

ale8530 commented 5 years ago

i have tested last version work without problems! Great work anestibs