Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Alternative to dex2jar and jd-GUI? [closed]

it seems that either dex2jar and/or jd-GUI gives bad de-obfuscation even for the simplest code of if-else condition (they show a while(true) loop which has a return; on its first line .

are there any other freeware apps that do the same work of de-obfuscation? maybe something that can also use the mapping file of proguard ?

like image 380
android developer Avatar asked Aug 21 '12 22:08

android developer


People also ask

What is JD GUI tool?

JD-GUI is a standalone graphical utility that displays Java source codes of “. class” files. You can browse the reconstructed source code with the JD-GUI for instant access to methods and fields.

Which tools used to get Smali files directly from the classes DEX file or vice versa?

So, as we know that it is possible to get “. smali” files directly from the classes. dex file with the help of Baksmali.


1 Answers

Actually the best alternative that I have tested is JEB Decompiler that works directly on Dalvik bytecode to generate the sources without conversion in Java bytecode(that is the main source of errors in decompilation procedure), but unfortunately is a commercial software a bit expensive for an individual.

Alternatively try Kivlad , but note that requires Ruby runtime 1.x to run, and is still an alpha release in development

Virtuous Ten Studio (VTS) is another nice tool that uses APKtool as engine, the quality of java src result is inferior to JEB and comparable to dex2jar + java decompiler, but the environment is very comfortable. (Has a donate license but works for free)

like image 77
Silverstorm Avatar answered Sep 28 '22 16:09

Silverstorm