Alternative to dex2jar and jd-GUI?

android developer picture android developer · Aug 22, 2012 · Viewed 17.2k times · Source

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 ?

Answer

Silverstorm picture Silverstorm · Dec 13, 2013

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)