Will Verduzco · Jun 13, 2013 at 04:00 am

Simplify Your Modifications with Backsmali/Smali Manager

Nearly everyone who peruses these forums has heard of XDA Recognized Developer JesusFreke‘s tool Smali/Baksmali. For the few who are still in the dark, the tool functions as an assembler and disassembler for the Dex files used by the Dalvik virtual machine on Android. Essentially, with this tool, one can disassemble code, modify it, and reassemble it upon completion. And for the extra curious out there, the names are derived from their Icelandic equivalents—fitting, given that Dalvik comes from the language as well.

While quite a few people are well versed with using Smali/Baksmali, others may find it more approachable with a menu-driven interface. Thankfully, this is where XDA Recognized Themer majdinj comes in. His tool allows users to use the original tool in a more streamlined / newbie-friendly way. And as one would hope for, setting up and using Majdinj’s tool for use is quite easy. The instructions, as stated by the developer:

Run Backsmali_tool.bat file, this will create all needed folders in the first run..
1. Put android apk or jar file in “put-file-here” folder. If Current-file status is set to None, then either you need to set a file in option #3 or you forget putting valid file in “put-file-here” folder.
2. When Current-file status is set to your file, you can disassemble its classes.dex by option #1.
3. Classout folder with name of file project will be created in “project” folder; make your changes there.
4. If finished your changes, assemble classout folder by option #2.
5. If everything is OK, a new file will be created in “finish” folder with tag (Modded_) in its name, just rename it to its original name and push it to your device; don’t forget to fix permissions as well.

To get started, you should head over to the original thread. Those who wish to learn more about the original tool by JesusFreke should visit his Google Code page.


_________
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.
Mario Tomás Serrafero · Jul 29, 2015 at 12:10 pm · 1 comment

OnePlus 2 vs Moto X Style: Which is The Better Flagship?

Two big industry names have announced their newest flagship phones within the past few days. Both have also promised great performance for a cheap price, and now that we know the specifications and details about both the Moto X Style and the OnePlus 2, we can begin planning our next purchase and debating which one is better. So, judging from everything we know, which phone is more impressive?

DISCUSS
Mathew Brack · Jul 29, 2015 at 10:35 am · 2 comments

Making Your Own Xposed Modules Is Easier Than You Think

Close to the heart of XDA is the Xposed Framework by Rovo89. Most of us will have used it but you may feel that the module repository is missing something. We have the solution with several guides aimed at getting you started to build your own modules, something that may be daunting but can open an entire new field of development with a little time and effort.     Where better to start than at the beginning? Rovo89 has created a straight forward tutorial for getting started with development for Xposed....

XDA NEWS
Jimmy McGee · Jul 29, 2015 at 06:00 am · 2 comments

ZenFone 2 Lolliflash and ZenPower Giveaway!

We recently did an in-depth review of the Asus Zenfone 2 but one of the things people may not be aware of is that ASUS has actually created a line of accessories to compliment the ZenFone, or any other Android device. The Lolliflash is a Lollipop-shaped external flash and the ZenPower is a thin 10,000mAh external battery. In today's video, Jordan shows off the Lolliflash and the ZenPower Accessories. Additionally, ASUS and XDA have teamed up to give away 5...

XDA NEWS