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 ?
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.
So, as we know that it is possible to get “. smali” files directly from the classes. dex file with the help of Baksmali.
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)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With