Updated 14 December 2016
I accidentally erased my project from Eclipse, and all I have left is the APK file which I transferred to my phone. Is there a way to reverse the process of exporting an application to the .apk file, so I can get my project back?
This is not my story. But you will find similar question on many forums. So in this blog we gonna use some tools to get our file back and understand ethically what’s inside APK.
APK files are analogous to other software packages such as APPX in Microsoft Windows or Deb packages inDebian-based operating systems like Ubuntu. To make an APK file, a program for Android is first compiled, and then all of its parts are packaged into one file. An APK file contains all of that program’s code (such as .dex files), resources, assets, certificates, and manifest file.
Here are the steps that let you help in get back your files.
d2j-dex2jar classes.dex
(for mac terminal or Ubuntu write ./d2j-dex2jar.sh classes.dex
) and press enter. You now have the classes.dex.dex2jar file in the same folder.
apktool if framework-res.apk
apktool d myApp.apk
(where myApp.apk denotes the filename that you want to decode)Hopefully you had enjoyed doing the reverse engg. and solved your problem.
If you have more details or questions, you can reply to the received confirmation email.
Back to Home
Be the first to comment.