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.
Emil Kako · Apr 1, 2015 at 01:20 pm · 1 comment

What is the Best Third-Party Camera App for Android?

When it comes to Camera apps, there are dozens of great options to choose from. But which ones are best? Let us know your favorite third-party camera app for Android and what makes it stick out above the rest.

DISCUSS
Mario Tomás Serrafero · Apr 1, 2015 at 11:00 am · 6 comments

Google to Acquire XDA, Dev Rewards & Policy Changes

We are delighted to announce that starting on April 20th, a finalized deal with Google will make XDA Developers a software development division for the beloved search giant. This exciting transition will start as early as next week, where new XDA Talent Scouts from Google will browse our forums and reward the best contributors and offer them software development or design positions as well. A new set of XDA Forum Moderators from Google’s Legal Department will also make sure that...

XDA NEWS
Tomek Kondrat · Apr 1, 2015 at 10:11 am · 1 comment

Hi Locker to Help You With Lockscreen Headache

The lockscreen is a part of the OS that we see hundreds of times every day, whether we're using Android or iOS. The look of the lockscreen depends on the Android version, device manufacturer or ROM chef. In short, it differs for almost every user. Luckily enough, users can use third party alternatives that bring more features. One such application is Hi Locker, developed by XDA Senior Member thotran7989. Hi Locker can be found both on the Play store and...

XDA NEWS
Share This