Conan Troutman · Apr 22, 2013 at 01:30 pm

Decompile and Recompile Classes.dex with Ease

It’s fair to say that unless you’ve spent some time digging around inside APK files and making some heavy duty modifications to apps or the Android OS itself, you probably haven’t come face-to-face with a .smali file in its natural environment. They are a common component in many of the most popular Android tweaks and hacks out there such as adding toggles, extending the power menu, and adding CRT screen off animation.

The files themselves can often be found nestled inside APKs and become available for modification once that particular file is decompiled with a utility such as APKTool. Unfortunately, these smali files sometimes have a tendency to squirrel themselves away inside the classes.dex of a JAR file and make themselves a little more awkward and time consuming to reach and manipulate. Following on from his recent guide to ADB commands, XDA Senior Member iamareebjamal has put together a one-click tool that will allow you to decompile the classes.dex from any APK or JAR file with ease.

Simply place the relevant file in the input folder, decompile, make any necessary changes to the newly available files, recompile, and check the output folder for your modified version. It’s as simple as that. Obviously there are a few prerequisites to this, namely some kind of personal computing device running Windows, Java (ideally in software and liquid form), the relevant files and tools (notepad++, an archive manager etc), and some idea of what you’d actually like to achieve as the end result. If you have all of those at your disposal, this could prove to be a great little time saver and well worth a visit to the original thread.


_________
Want something on the XDA Portal? Send us a tip!
Mario Tomás Serrafero · Feb 27, 2015 at 03:52 pm · 1 comment

PhotoMath: A Math Beginner’s Dream App

To me, applications like this one are really important for school students. I bought my first significant Android the same year I began my Physics degree at my university, and immediately I realised how tremendously helpful it was. From accurate graphing applications to TI emulators (don't judge me, the real thing costs crazy amounts here!), passing through giants like Wolfram and MATLAB Mobile, there were a lot of tools for one to excel with. In fact, I'd say that without Android I wouldn't have chosen...

XDA NEWS
Mario Tomás Serrafero · Feb 27, 2015 at 12:47 pm · 2 comments

Leaked Galaxy S6 Apps Hit the Forums

XDA Recognized Contributor Albe95 has shared with us what looks to be Galaxy S6 applications. The ones he's provided are the GearManager, the Optical Reader, GeoNews and Kids Mode. The applications are available for download through the links in the opening post, but keep in mind it is likely that they might not be compatible with your device. There's also new information about more applications and system interface features revealed in the same thread:     The alleged S6 statusbar and panel are ported to the...

XDA NEWS
Emil Kako · Feb 27, 2015 at 12:31 pm · 1 comment

Which App for iPhone Do You Wish Was on Android?

Only a few years ago, it was normal for a major app release to be available for iOS but come months later to Android. That seems to no longer be the case, as Android has advanced tremendously with Google putting a huge effort into its Play Store and ecosystem. However, while the majority of major app releases are now made available for both platforms at the same time, there are a few iOS exclusives that some of us wish were on our favorite mobile OS (Hyperlapse comes to mind). Let us know which apps for the iPhone you wish were on Android.

DISCUSS
Share This