enter image description here I recently came across this tool and was amazed by its size and how it can build release-apk, without even bothering about Android development environment set up on the machine, neither Cordova nor Android Studio is required.

A bit of research showed me that the what this tool is doing is simple (most related material I found was of 2008-2014).

Being new in reverse engineering, I wonder if there is a way I can understand its workaround and build a similar tool to automate my Cordova projects.

  • 1
    Never use those type of tools. They tends to inject malware in produced binary blob.
    – Biswapriyo
    Sep 9, 2019 at 8:15
  • 1
    Hi and welcome to RE.SE. This is a fairly broad question. What have you tried so far? The idea doesn't exactly seem too far-fetched that one could come up with a tool like that. APK files are ZIP archives, certain metadata governs stuff like class names (including the directory structure inside the ZIP) and it shouldn't be too hard to replace metadata as well as data (i.e. "data-driven") used by the included app. And the app probably makes use of of something like WebView, so not "much meat" either. But as @Biswapriyo pointed out, you shouldn't use someone else's, unless it's FLOSS ...
    – 0xC0000022L
    Sep 11, 2019 at 22:10

1 Answer 1


Depending on what the tool is written in. If you can it with binary analyser like ProtectionId or Pied it should tell you what compile was used to build the binary. If it is build using the .NET library then you can use a decompiler like dnSpy or Reflector to view the source code. Java is also reflectable so a tool like JD/JD-GUI would be able to help recover the source code. If it is a native binary (C/C++) it becomes a little trickier, you will need to use something like hexrays or ghidra to decompile binary and give a C like pseudo code which can be used to rewrite an application. Hopefully this helps

Not the answer you're looking for? Browse other questions tagged or ask your own question.