anestisb / vdexExtractor

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

Script request to use deodex command line #6

Closed ale8530 closed 6 years ago

ale8530 commented 6 years ago

Meanwhile, I thank the developer of this excellent tool that allows the deodex of Android or very quickly.

I wanted to ask if you could create a script to run the deodex from a specific folder, for example:

I have the folder "system" on my pc launch the command ./deodex.sh and he reads the directories and makes the deodex of that folder.

I know I'm asking a lot, but obviously the trouble will be compensated.

Thank you for your attention

anestisb commented 6 years ago

The tool currently supports only 1-level of recursion that is why you can't run against an entire android partition.

However you can copy all vdex files under one directory and run the tool against it.

$ mkdir vdex_files; find system_dir -name "*.vdex" | while read -r file; do cp "$file" vdex_files/; done
$ vdexExtractor -i vdex_files

I might consider adding more recursion levels in the tool, although it will have to wait since busy with other things.

ale8530 commented 6 years ago

very thanks, i try your solution, you have paypal for donation?

anestisb commented 6 years ago

Appreciate the gesture. No donation required though.

ale8530 commented 6 years ago

Very Thanks :)