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!
A lot of vehicles come with stereos featuring Bluetooth connectivity. This allows you to play music from your mobile device in your car. Recently, XDA TV Producer TK reviewed a Bluetooth adapter that plugged into your car's AUX input and connected to your phone with Bluetooth. However, that it not the only option if your car doesn't support Bluetooth. In this episode of XDA TV, Producer rirozizo reviews the Vinsic Doosl Fm Transmitter. This device connects to your headphone jack...
It is that time of the year again, and we are approaching the day where Android fans all over the world gather to watch the livestream of Google’s I/O conference. Among the expected announcements lay wearables, Android Auto, hints at VR and the Internet of Things and, of course, a new version of Android. An early glimpse of a supposed “Android M” was caught on the official website before being nuked out of existence, and thus the speculation began. ...
The LG G4 was announced on April 29th with its Snapdragon 808 SoC, a welcomed change from its higher-end cousin, the overheating 810. Packing 3GB of RAM, 32GB of storage, a 3000mAh battery, and an impressive 16MP camera, the G4 is widely considered to be one of the best flagships of 2015. After almost a month of release speculation, the major US carriers have finally released some information regarding the device's availability, and here's what we know so far: ...