Thursday, March 20, 2014

jadx - Dex to Java decompiler

there's a new decompiler on the block. it targets dex directly, rather than java class bytecode, so it doesn't rely on dex2jar. i'm pleased by it's performance so far, and it's worth checking out: https://github.com/skylot/jadx
  • it's mostly a cli, with a simple, "experimental" gui.
  • it takes dex or jar files as input
  • it can make a control flow graph.
  • output is configurable -- you can chose to have "simple" branching, where it wont try to be smart about how it decompiles conditionals and loops. this can actually be much easier to read than jd-gui's pervasive "while(true) //a bunch of stuff" constructs.

screenshot
GitHub page curiously lacking in GUI money-shot

54 comments :

  1. @Lohan This is what I am trying to obtain, but only in python. Have reached processing code for loops, now working on try catch blocks.
    -- Hex

    ReplyDelete
    Replies
    1. cool. look forward to seeing it. :D

      Delete
  2. I use JEB decompiler and seems good also. Androidchef is nice too.

    ReplyDelete
  3. Your information about android application is really interesting. Also I want to know the latest android developments in recent years. Can you update it in your website?

    ReplyDelete
    Replies
    1. I update at the intersection of a) found something interesting and b) have time. :D

      Delete
  4. This comment has been removed by the author.

    ReplyDelete
  5. Hi, i have been reading your blog for few months.. Thanx a lot man. very informative. I started on learning reversing process few months back. Today i came across a apk which was designed using Mono for android. I cant find any codes in it except activities. i dono where to start learning .. Can u help ??

    ReplyDelete
    Replies
    1. Roll up sleeves and get to deadlisting, bro. Drink whey protein shakes and it'll increase your reversing gains.

      Delete
  6. This comment has been removed by a blog administrator.

    ReplyDelete
    Replies
    1. pls don't be pasting apk links. i like not getting banned.

      Delete
  7. @Lohan, do you have any experience in "cracking" apps on an Android ? I use my Android tablet as a desktop computer, it would be great if you can share some info for RE on android itself. I have a few experience in Windows RE using ollydbg.

    ReplyDelete
    Replies
    1. (better late than never, amirite?)
      I'll start a blog to share RE info on android. I'll call it.. "android cracking". Sounds pretty good, right?

      Delete
  8. I wrote a tutorial about Mono, take a look in the latest posts. And if you don't understand something leave a comment under that post.

    Nihilus

    ReplyDelete
  9. tell me what command I have to run on command prompt to decompile only classes.dex using this method

    [quote] d2j-dex2jar.bat classes.dex [/quote]
    this is what I use with dex2 jar

    ReplyDelete
    Replies
    1. Is your question how to use dex2jar? Are you using linux, windows, mac, beos? This question is not properly formatted and I don't know how to help you.

      Delete
  10. hello, is there something that is easy like APKTool, but that does not have problems recompiling?

    ReplyDelete
    Replies
    1. If you're having trouble recompiling with apktool, and you don't need to modify resources, try smali/baksmali. Otherwise, apktool is really the only option for modifying resources. If you're having trouble with their tool, you should post a bug on their project page.

      Delete
  11. The Information which you provided is very much useful for JAVA Training Learners Thank You for Sharing Valuable Information.i like this blog and this is very informative.


    JAVA Training Institutes in Chennai

    ReplyDelete
  12. Thanks for sharing such informative article on Java technology. It is most preferred technology among developers to create stunning mobile application fast and easy. It also created massive career opportunity for aspiring professionals. JAVA Training

    ReplyDelete
  13. Hi! jadx Java decompiler is also available online: http://www.javadecompilers.com/apk

    ReplyDelete
  14. Understanding the latest concepts is possible only through contents like this. Thanks for sharing this page in here. It will be useful for my future projects as well. Keep blogging articles like this.


    Hadoop Training Chennai | Best hadoop training institute in chennai | Manual testing training in Chennai

    ReplyDelete
  15. This comment has been removed by a blog administrator.

    ReplyDelete
  16. I want to thank you for your effort but I have a question ,I can't get any answer for it: How can I get all APIS calls function from jadx or any thing else ?
    Please answer me with details because I'm tired from searching

    ReplyDelete
    Replies
    1. read the source code or documentation. i don't know jadx very well. when you find the answer, share your research. :D

      Delete
  17. tell me what command I have to run on command prompt to decompile only classes.dex using this method.
    websphere training in chennai

    ReplyDelete
  18. Wonderful blog.. Thanks for sharing informative blog.. its very useful to me..

    iOS Training in Chennai

    ReplyDelete
  19. I just see the post i am so happy to the communication science post of information's.So I have really enjoyed and reading your blogs for these posts.Any way I’ll be replay for your great thinks and I hope you post again soon...
    Software Testing Training in Chennai

    ReplyDelete
  20. I have been surfing the internet for the past two hours looking for this information that will help in my Research Project Analysis and this website has provided the information I was looking for and I am very grateful to the writer who researched, compiled, and posted the data on this site. I am looking forward to reading more programming updates from this site.

    ReplyDelete
  21. Marvelous blog article.I Learning about that something new technologies information learn this sites.I stumble upon we've to post daily basis.I read this article it's going now very interesting from other authors and practice something from their websites.
    java training in chennai
    android training institute in chennai

    ReplyDelete
  22. This is excellent information. It is amazing and wonderful to visit your site.Thanks for sharng this information,this is useful to me...
    Android training in chennai

    ReplyDelete


  23. This is excellent information. It is amazing and wonderful to visit your site.Thanks for sharng this information,this is useful to me...
    Ios training in chennai

    ReplyDelete
  24. Being new to the blogging world I feel like there is still so much to learn. Your tips helped to clarify a few things for me as well as giving..
    PHP training in chennai

    ReplyDelete
  25. You have provided an nice article, Thank you very much for this one. And i hope this will be useful for many people.. and i am waiting for your next post keep on updating these kinds of knowledgeable things...
    Fitness SMS
    Salon SMS
    Investor Relation SMS

    ReplyDelete
  26. This is excellent information. It is amazing and wonderful to visit your site.Thanks for sharing this information,this is useful to me...
    Android Training in Chennai
    Ios Training in Chennai

    ReplyDelete
  27. This article is very much helpful and i hope this will be an useful information for the needed one. Keep on updating these kinds of informative things...

    Android App Development Company

    ReplyDelete
  28. great and nice blog thanks sharing..I just want to say that all the information you have given here is awesome...Thank you very much for this one.
    web design Company
    web development Company
    web design Company in chennai
    web development Company in chennai
    web design Company in India
    web development Company in India

    ReplyDelete
  29. it is really amazing...thanks for sharing....provide more useful information...
    Mobile app development company

    ReplyDelete
  30. Nice it seems to be good post... It will get readers engagement on the article since readers engagement plays an vital role in every blog.i am expecting more updated posts from your hands.
    iOS App Development Company

    ReplyDelete
  31. This article is very much helpful and i hope this will be an useful information for the needed one. Keep on updating these kinds of informative things...
    Fitness SMS
    Salon SMS
    Investor Relation SMS

    ReplyDelete
  32. Excellent article.. After reading this article i got something new information from this artilce.. thanks a lot for sharing.

    hadoop training | big data training

    ReplyDelete
  33. Pretty! It's very helpful information.We should share this content is very quick and quality.I learn many new information for this blog post.Python Online Training
    Learn Python Online

    ReplyDelete
  34. Gain more knowledge about jadx - Dex to Java decompiler.It's very useful for my project. I was searching for this article.
    IT Training Center in Chennai

    ReplyDelete

Do NOT post about or link to specific apps!