5,595,428 Members 47,859 Now Online
XDA Developers Android and Mobile Development Forum

[SCRIPT] ROM Packager [UPDATE 7/2]

Tip us?
 
bohdans
Old
(Last edited by bohdans; 9th February 2011 at 06:59 AM.)
#1  
Senior Member - OP
Thanks Meter 112
Posts: 158
Join Date: Jun 2008
Default [SCRIPT] ROM Packager [UPDATE 7/2]

Hi All,
I thought I might share this little script I have made.

Very Simply it is a Batch file that Will UnTar / Tar Oidin compatible files to flash. It also selects the relevant files for each type (Phone/PDA/CSC/Full).
Now also will create .md5 files for flashing and can compress to 7 zip!.
It will automatically use the files needed to make a CSC, Phone, PDA or Full type flash file and can auto split a Single Flash package into 3 separate ones!

It is very basic but very handy for creating a ROM package for a certain Country/CSC or with a certain Modem.

Also Splits a single ROM into a PDA/Phone/CSC.

UPDATE:
7/2 - v2 - Added MD5 support to script. Use v2.
9/2 - v3 - Lots of code cleanup, should be easier to use. Also added 7-zip support!
* Note directory layout has now changed, less confusing now I hope
Attached Files
File Type: 7z PackageROMv1.7z - [Click for QR Code] (549.7 KB, 685 views)
File Type: 7z PackageROMv2.7z - [Click for QR Code] (569.5 KB, 629 views)
File Type: 7z PackageROMv3.7z - [Click for QR Code] (792.5 KB, 3911 views)
If I have helped you please click on the "Thanks" Button.

Sign up for 2Gb at Dropbox and help me get 250mb free: http://db.tt/2VNb34k
Sign up for 20Gb of FREE storage at Copy.com
Donate: https://www.paypal.com/cgi-bin/websc...=E3Y6FV78RXR2A
The Following 42 Users Say Thank You to bohdans For This Useful Post: [ Click to Expand ]
 
RayearthX
Old
#2  
RayearthX's Avatar
Junior Member
Thanks Meter 3
Posts: 27
Join Date: Oct 2010
Location: Lodz
If this really works, then You bohdans are fu**ing AWESOME!
 
snapper.fishes
Old
#3  
snapper.fishes's Avatar
Senior Member
Thanks Meter 278
Posts: 1,600
Join Date: Aug 2010
Location: Hong Kong
Confirmed to be working on ZSJG4
 
ragin
Old
#4  
ragin's Avatar
Senior Member
Thanks Meter 150
Posts: 1,724
Join Date: Dec 2007
Location: Hubli
I use peazip for the same work, but an automated script is way better. Congrats.
if you like what I say, there is always a THANKS button below.

Super Sexy
GALAXY Note
 
lownoise
Old
#5  
lownoise's Avatar
Senior Member
Thanks Meter 94
Posts: 174
Join Date: Sep 2010
Question md5sum support

Quote:
Originally Posted by bohdans View Post
Hi All,
I thought I might share this little script I have made.

Very Simply it is a Batch file that Will UnTar / Tar Oidin compatible files to flash. It also selects the relevant files for each type (Phone/PDA/CSC/Full).

It is very basic but very handy for creating a ROM package for certain country or with a Certain Modem.

Also Splits a single ROM into a PDA/Phone/CSC.

Thanks for the script!
Could you also add md5sum support
 
bohdans
Old
#6  
Senior Member - OP
Thanks Meter 112
Posts: 158
Join Date: Jun 2008
Quote:
Originally Posted by lownoise View Post
Thanks for the script!
Could you also add md5sum support
Hi,
MD5 Support added
If I have helped you please click on the "Thanks" Button.

Sign up for 2Gb at Dropbox and help me get 250mb free: http://db.tt/2VNb34k
Sign up for 20Gb of FREE storage at Copy.com
Donate: https://www.paypal.com/cgi-bin/websc...=E3Y6FV78RXR2A
The Following 2 Users Say Thank You to bohdans For This Useful Post: [ Click to Expand ]
 
zion12
Old
#7  
Member
Thanks Meter 3
Posts: 73
Join Date: Nov 2008
Location: Pune
Default Usage Guide

Usage guide for noob please

Thanks,
 
lownoise
Old
#8  
lownoise's Avatar
Senior Member
Thanks Meter 94
Posts: 174
Join Date: Sep 2010
Lightbulb Last future request for now......

Quote:
Originally Posted by bohdans View Post
Hi,
MD5 Support added

Works great
Last future request for now: after the md5 files are created 7zip the files to make them in size smaller for the upload....
 
snapper.fishes
Old
#9  
snapper.fishes's Avatar
Senior Member
Thanks Meter 278
Posts: 1,600
Join Date: Aug 2010
Location: Hong Kong
Quote:
Originally Posted by zion12 View Post
Usage guide for noob please

Thanks,
Instructions are pretty clear in the program itself.
 
ragin
Old
#10  
ragin's Avatar
Senior Member
Thanks Meter 150
Posts: 1,724
Join Date: Dec 2007
Location: Hubli
Bump.............................................. ................. 10
if you like what I say, there is always a THANKS button below.

Super Sexy
GALAXY Note

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


XDA PORTAL POSTS

Add Swipe Utilities to Your App with SimpleFingerGestures Library

Gestures have become an increasingly important element in smartphone UI … more

Android App Review: Lock it Down with Lockdown Pro – XDA Developer TV

Our smartphones are our lives. They store our contacts, emails, … more

Get the AOSP Lock Screen on Your ICS-Powered Samsung Device

Android is the only popular mobile operating system that allows users, … more

Motorola Droid RAZR HD and M to Receive KitKat in a “Few More Weeks”

Verizon and Motorola shocked us all back in November when … more