New: XDA launches forum for app developers. Discuss coding, tools, marketing, and more.
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
bohdans
Old
(Last edited by bohdans; 9th February 2011 at 06:59 AM.)
#1  
Senior Member - OP
Thanks Meter 106
Posts: 157
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, 566 views)
File Type: 7z PackageROMv2.7z - [Click for QR Code] (569.5 KB, 532 views)
File Type: 7z PackageROMv3.7z - [Click for QR Code] (792.5 KB, 3416 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
Donate: https://www.paypal.com/cgi-bin/websc...=E3Y6FV78RXR2A
The Following 36 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 242
Posts: 1,574
Join Date: Aug 2010
Location: Hong Kong
Confirmed to be working on ZSJG4
 
ragin
Old
#4  
ragin's Avatar
Senior Member
Thanks Meter 145
Posts: 1,726
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 93
Posts: 172
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 106
Posts: 157
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
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: 70
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 93
Posts: 172
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 242
Posts: 1,574
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 145
Posts: 1,726
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


XDA PORTAL POSTS

Expand Your Choice of Icons with Icon Themer

Icons are some of the most commonly themed elements of the Android UI, and there is certainly no … more

MicrowaveTimePicker Brings 4.2 TimePicker to 2.1+ Devices

It’s frustrating to see slick new features that you can’t use when … more

What’s Possible with CASUAL & How to Make Your Own CASUAL – XDA Developer TV

XDA Elite Recognized Developer AdamOutler is known … more

Pearl Chen to Talk NFC Development at XDA:DevCon 2013

From HTML to LEDs or Android to Arduino, Hardware Hacking is a pastime of many people … more