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. View Former Writer's posts and articles here.
Mathew Brack · May 29, 2015 at 05:27 pm · 4 comments

Google No Longer Sending Calendar SMS Notifications

In a not entirely surprising move, Google announced that it's putting an end to SMS notifications for Google calendar as of June 27th. They stated earlier, "SMS notifications for Google Calendar launched before smartphones were available. Now in a world with smartphones and notifications, you can get richer, more reliable experience on your mobile device, even offline". Google Drive for Work, Google Apps for Work (paid edition), Education and Government customers will not be affected by these changes and can continue using...

XDA NEWS
Chris Gilliam · May 29, 2015 at 11:29 am · 4 comments

I/O Summary: Google Cardboard Virtual Reality

One year ago, Google introduced cardboard. Amazingly enough, that was all it took to fire up the Virtual Reality scene on Android, and what began as an open design concept exploded into thousands of apps and dozens of headsets from big and small vendors alike. Now, there are more than 1 million cardboard viewers/handsets - a Google-quoted number that might not even be accurate given the ease with which headsets can be rigged through off-the-shelf equipment. This year, cardboard returned...

XDA NEWS
Jimmy McGee · May 29, 2015 at 06:00 am · 4 comments

Android M Preview Images – XDA TV

Android M preview images are available. That and much more news is covered by Jordan when he reviews all the important stories from this week. Included in this week's news is the announcement of Google's Project Tango going on sale and be sure to check out the article talking about Google's Roboto font going open source. That's not all that's covered in today's video! Jordan talks about the other videos released this week on XDA TV. XDA TV Producer TK...

XDA NEWS
Share This