[TOOL][LINUX]ROMzilla - Batch ROM Decompile/Deodex/Build .apk and .jars! (8/1/12)
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.
./ROMzilla.sh -d ROMNAME.zip
./ROMzilla.sh -d ROMFOLDERNAME
./ROMzilla.sh -b ROMFOLDERNAME
-Compile files in -b