Recaf icon indicating copy to clipboard operation
Recaf copied to clipboard

3X: Android decompilation support [WIP]

Open Col-E opened this issue 3 years ago • 1 comments

What's new

  • Decompilation support for dex classes

Considerations

There is a lot of refactoring of the UI classes inside this. So far, the implementation idea is to map DexLib --> JadX so we can use JadX to decompile dex classes. JadX is mostly designed with Android Dalvik in mind, so the mapping process is simpler than a complete mapping from Dalvik to Java. However, if we are putting in the effort for this mapping I have some questions:

  • Should we put in an extra mile to do a complete DexLib -> Java so any decompiler can be used?

    • What are our options for this that already exist?
      • Dex2Jar - designed as a CLI tool, the code behind it is messy
      • Dalvikgate - abandoned
    • Would it be too complex to make our own mapper?

Col-E avatar Apr 23 '22 18:04 Col-E

Dex2Jar is abandoned as well but ThexXTURBOXx has an active Repo. https://github.com/ThexXTURBOXx/dex2jar Maybe you could open an Issue and ask for his help.

metzger100 avatar Jul 13 '22 16:07 metzger100

Closing, an alternative approach using https://github.com/Col-E/dex-translator is in place on a separate branch

Col-E avatar Jun 20 '23 17:06 Col-E