Will Verduzco · Jun 16, 2013 at 01:00 am

Guide to Decompiling and Recompiling with APKTool

A few days ago, we covered a tool aimed at making it easier to use Baksmali/Smali, a disassembler/assembler for the Dex files used by the Dalvik Virtual Machine in Android. Another incredibly useful tool to have in your modification arsenal is APKTool, which was originally developed by XDA Recognized Developer Brut.all and is continued to this day by XDA Senior Member iBotPeaches.

While APKTool is incredibly powerful, it can also be intimidating to new themers and modders. Thanks to a guide created by XDA Recognized Contributor and Themer PulseDroid, though, this should no longer present much of an issue.

The introductory-level guide covers what files you need, your development environment, and how to actually use the tool to decompile and recompile. This is accomplished in four easy steps: installing framework, decompiling (and applying your modifications), recompiling, and inserting the new contents into the old APK to retain the old signature.

The guide steps are accompanied by copious screenshots and plenty of explanation. All in all, this incredibly easy-to-follow guide will get you on your way, regardless of how little experience you may have at the start.

If you’re just getting started, head over to the original thread to check out the guide. And while you’re at it, head over to the APKTool thread to learn about the tool itself.


_________
Want something on the XDA Portal? Send us a tip!

Will Verduzco

willverduzco is an editor on XDA-Developers, the largest community for Android users. Will Verduzco is the Portal Administrator for the XDA-Developers Portal. He has been addicted to mobile technology since the HTC Wizard. But starting with the Nexus One, his gadget love affair shifted to Google's little green robot. He is also a Johns Hopkins University graduate in neuroscience and is now currently studying to become a physician. View willverduzco's posts and articles here.
Mathew Brack · Apr 1, 2015 at 05:51 pm · 4 comments

April Fools Round Up: The Year of Nostalgia

April Fools Day is once again upon us and as usual, tech companies everywhere have not failed to keep us entertained. With a trove of fantastic faux product launches and even some real product launches that were taken as April Fools jokes, people have been busy releasing their hilarious ideas. With many of these jokes being nostalgic and some even being functional it's easy to appreciate the spirit behind them. Samsung Galaxy Blade Edge In a reference to the Galaxy...

XDA NEWS
Tomek Kondrat · Apr 1, 2015 at 05:43 pm · 2 comments

Android 5.1 OTA for Nexus Round-Up

The beginning of April is dominated by April Fools. There are jokes and pranks everywhere, which are meant to fool people. This news is no joke though, as Google has pushed the shiny red button to send out over-the-air updates to supported devices. Well, sort of, as only a few of available Nexus devices got updates to Android 5.1. Here's a list of OTAs that can be downloaded and flashed by stock recoveries. You can find guides on how to revert...

XDA NEWS
Chris Gilliam · Apr 1, 2015 at 04:29 pm · 4 comments

Google’s Prank Roundup for April Fools 2015 [Updated]

Once again, we have arrived on the most magical of holidays - the annual unveiling of HalfLife 3, and day on which co-workers believe it is appropriate to duct tape air horns behind doors. I speak, of course, about April Fools Day. As has become their custom, Google launched lighthearted "pranks" for each of their various services (with other tech sites and vendors following suit), and we have done our best to round up the humorous products and tweaks surfacing thus far....

XDA NEWS
Share This