How To Modify .apk Files
The extension Google uses for Android applications (APK) may seem a bit complicated at first, but it really isn’t. In fact, an .apk is nothing else than a .zip file disguised as an .apk. That’s dumbing it down, but you get it. Essentially, if one wanted to see what’s inside an app, they would just change the extension of applicationname.apk to applicationname.zip, unzip it. And there you have it: The contents of the .apk! We aren’t done yet, read more after the break.
Here is where it gets tricky. Inside the folder where you unzipped the contents of the application, you’ll find a file named classes.dex. That’s the most important file of the whole application, containing all the java files, but it’s encrypted! No worries, that can easily be solved. You’ll need two things:
- Dex2Jar from http://code.google.com/p/dex2jar/
- A regular Java decompiler, such as JD from http://java.decompiler.free.fr
Copy classes.dex to the folder where you unzipped Dex2Jar, and run from the commandline: “dex2jar.bat classes.dex”
This will produce a file, strangely named something like: “classes.dex.dex2jar.jar” If you have WinRAR installed, you can just unpack the files. If you don’t, install it.
Now go ahead and adjust it to your liking!
[Thanks Web Age for the Dex2Jar hint]
You might also like
LG seems to be really excited about the LG G4, considering all the teases that has been released by LG. Continuing this trend, LG is going to give their new flagship
Remember a few weeks back when Marvel was giving away more than 700 first-issue digital comic books? Remember how it clogged up the servers and pretty much amounted to a
Are you excited about the emerging 3D trend in smart phones? Maybe you can’t stand the feature and don’t want it near your Android. Sound off with our latest poll.