anestisb / vdexExtractor

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

Problems converting Cdex to dex #79

Open HittyGubby opened 1 year ago

HittyGubby commented 1 year ago

Environment: Linux Kali x86 64bit ,compiled with gcc Files: Link here Description: I tried to run /tools/deodex/run.sh

./run.sh -i NfcNci_45.vdex
[INFO]: Processing 1 input Vdex files
./run.sh: line 250: 43954 Illegal instruction     $cdexConvBin -w "$outDeodexBase" "${cdexFiles[@]}" &> "$convLog"
[ERR ]: CompactDex conversation failed for 'NfcNci_45.vdex'

And no dex files were generated It did generate the cdex file at /tools/deodex/vdexExtrator_decompiled/NfcNci_45/decompiled/NfcNci45_classes.cdex So I used the cdex-converter here /tools/deodex/hostTools/Linux/api-API_29/bin/compact_dex_converter It's normal when executing it without any arguments (./compact_dex_converter) ,but when i tried to convert the cdex file:

./compact_dex_converter NfcNci_45_classes.cdex
zsh: illegal hardware instruction  ./compact_dex_converter NfcNci_45_classes.cdex

And I tried several different compact_dex_converter downloaded from github,results are the same Why showing that error?How to solve? Thanks!