HTC’s New Ad Campaign And What It Really Means

HTC has just released three new blind test adverts comparing app loading … more

XDA Picks: Best Apps of the Week (June 27 – July 4)

Apps are at the front and center of any smartphone experience, and with over a … more

HTC One M9 Developer Edition Android 5.1 OTA

The Developer Edition of the HTC One M9 is receiving an over-the-air update to Android 5.1. … more

Index Project For XDA Device Subforums

Another ambitious project from the collaborative efforts of Recognized Contributors and Forum … more

[TOOL][LINUX]ROMzilla - Batch ROM Decompile/Deodex/Build .apk and .jars! (8/1/12)

3,322 posts
Thanks Meter: 10,183
By digitalhigh, Recognized Developer on 22nd July 2012, 06:32 AM
Post Reply Subscribe to Thread Email Thread
Here is ROMzilla Version 0.2.

First and foremost, I have fixed the issue with it not rebuilding files properly. Everything should go exactly where it's supposed to now.

The other modifications are numerous and subtle.

It will now deodex any odexed .zip you throw at it.

Included checking in numerous places for nonexistent files, folders, etc.

Merged routines for .jars and .apks.

You're now presented with one of three extraction options. Full, Custom, or Boot. Full will scan for all files in /app and /framework folders, and gut them into their respective folders in /edits.

Custom will extract anything you list in /scripts/custommod.txt. Be sure to include the full path from /system/. Ex: /system/app/FooApp.apk

Boot won't do anything for now. The line is commented out. I have the extraction down, but rebuilding needs some love yet.

For compiling, if existing /modded folder exists from previous compile, you will be prompted to backup. Files will be overwritten otherwise.

You will then be asked if you want to compile Full, Custom, or Boot.

Full will rebuild all folders found inside edits/system/framework and edits/system/app.

Custom will rebuild all folders specified in /scripts/custommod.txt.

Boot won't do squat right now.


Added checking for existing /edits and/or /modded folders. Presents option to back up and then remove folders for clean extractions/rebuilds.

Added checking for existing working dir - skips .zip extraction if working dir found.

Created /in folder as location to look for .zip files to extract.

Renamed primary output folder to /extracted.

That's it for now.


./ -d

-Decompile ROM


-Compile files in -b
Last edited by digitalhigh; 2nd August 2012 at 05:11 AM.
The Following 35 Users Say Thank You to digitalhigh For This Useful Post: [ View ]
22nd July 2012, 06:32 AM |#2  
digitalhigh's Avatar
OP Recognized Developer
Flag Milwaukee, WI
Thanks Meter: 10,183
Donate to Me
The Following 4 Users Say Thank You to digitalhigh For This Useful Post: [ View ]
22nd July 2012, 07:52 AM |#3  
-Grift-'s Avatar
Recognized Contributor
Flag Singapore
Thanks Meter: 1,989
Thanks and rated! Very interesting!
22nd July 2012, 09:56 PM |#4  
Senior Member
Flag Daytona Beach, Florida
Thanks Meter: 48

Sent from my PG86100 using Tapatalk 2
27th July 2012, 05:57 PM |#5  
Thanks Meter: 13
Interesting and suscribed, need a powerful automated script for ics/jb, thanks man.
28th July 2012, 02:51 AM |#6  
Thanks Meter: 13
Tested, works good, except for building and add folder res, resources.asrc into final apk, the script inject the entire folder into apk (/home/blabla/edits/rom/xxx.apk/res)
31st July 2012, 02:21 PM |#7  
vimi93's Avatar
Senior Member
Thanks Meter: 71
i have a small question
can i use this tool to cook rom of my huawei ideos x6?
what changes do i need to do?
31st July 2012, 07:25 PM |#8  
Un.Knowen's Avatar
Senior Member
Flag Damascus
Thanks Meter: 109
Angry Credits
Thanks Man
I'm just Learning to be a Developer
This will Help a Lot
All Credits in future will go to you
31st July 2012, 09:55 PM |#9  
XGr7078's Avatar
Senior Member
Flag Durgapur
Thanks Meter: 40
Thumbs up Nice Work!!!!!!!
I am not from a linux background so I would like ask some to make it for the Windows. I'll be waiting.

31st July 2012, 11:50 PM |#10  
digitalhigh's Avatar
OP Recognized Developer
Flag Milwaukee, WI
Thanks Meter: 10,183
Donate to Me
Hey guys, sorry, yes, I realized yesterday that the rebuild function was inserting full folders into the target files. I'm working on updating my device's root OTA file today, but when I get a chance, I will update the script. If someone else would like to do so in the meantime, you're more than welcome to.
The Following User Says Thank You to digitalhigh For This Useful Post: [ View ]
Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes