Former Writer · Jul 31, 2012 at 11:00 am

ROMzilla Brings Batch ROM Decompiling and Recompiling to Linux

When it comes to compiling and decompiling ROMs, many chefs don’t have the biggest assortment of tools available. When devs need to grab some apk files and edit them, they have to extract the proper files and use a tool to decompile them. When this needs to be done over and over again, as in a properly supported ROM that isn’t built from source, the task can become quite tedious. That said, there is now a tool that’ll take apk files out of ROMs and decompile them all in one step.

Dubbed ROMzilla, it is comprised of two main scripts that will extract and decompile apk and jar files and then recompile them, inserting them back into the ROM when done. Developed by XDA Senior Member digitalhigh, the scripts are quite helpful for devs who maintain ROMs who only ever need to grab a few files at a time.

Users first edit two text files called apk.txt and jar.txt. These are then edited to include the path of any apk and jar files that they regularly work with. Afterward, users run ROMzilla, which extracts and decompiles all the files mentioned in the two text files. Once done, simply run the script to reverse the process, and the files will be made available to drop right back into the ROM. As digitalhigh explains:

Please keep in mind – this wasn’t necessarily written for final ROM production – although it could easily be used for such. This is more for those of you who are looking for a way to quickly recompile several files – repeatedly if needed without destroying the original ROM files or removing the source code. I will work to add more features as I have time. I will eventually be including an option to zipalign, rezip, and sign the final output, as well as to decompile and recompile boot images. I just haven’t gotten that far yet.

While useful now, the tool is slated to receive some pretty useful updates in the future as well.

For more information, full instructions on use, and more, check out the original thread.


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

Former Writer

Former Writer is an editor on XDA-Developers, the largest community for Android users.
Emil Kako · Mar 28, 2015 at 11:01 pm · 3 comments

Best Alarm App for Android?

There are tons of choices to choose from when looking for a great alarm app for Android. While the stock Clock app for AOSP does the job, it may lack some of the more advanced features from competitors. Let us know what your favorite alarm clock app is for Android and why.

DISCUSS
Chris Gilliam · Mar 28, 2015 at 12:45 pm · 1 comment

Pinsy Brings Social Sketching To Your Watch & Phone

Did you watch Apple's VP draw on his wrist during the Apple Watch announcement and wonder "why can't my Wear watch do that?" In typical XDA fashion, one enterprising forum member has brought similar functionality to Android Wear with a twist; it works on phones and watches alike, with other platforms on the way! The app is called Pinsy, and its release debut is a strong proof of concept with plenty of room to grow. You may remember the developer behind this project, XDA...

XDA NEWS
Mario Tomás Serrafero · Mar 27, 2015 at 04:13 pm · 2 comments

Should You Get Wear? Wearer’s Practical Observations

Wear is said to not offer enough for mass adoption, even though its been in the market for over 9 months. I personally have a Gear Live which I purchased 8 months ago, and my experience with it has had its ups and downs throughout my time with it. For the longest time, I was not able to recommend the platform to anyone. Since then, a lot of updates have hit Wear watches, some improving battery life, others changing the...

XDA NEWS
Share This