Unofficial Android 4.4 Lands on Three Mediatek Devices

For the last few years, devices with MTK systems-on-chip haven’t received much … more

MultiImagePicker Library for Multiple Image Selection

App developmentcan be done in more than a handful of ways. You can write every single … more

Shoot Troubles, Not Users w/ Alex Boag-Munroe – XDA:DevCon 2014

In presenting the various sessions from XDA:DevCon 2014, weve mainly … more

Oppo Releases ColorOS for the Find 5… Poorly

Almost every OEM has taken the liberty of creating its own incarnation of the Android OS. … more

Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

[SCRIPT] ROM Packager [UPDATE 7/2]

OP bohdans

6th February 2011, 11:54 AM   |  #1  
OP Senior Member
Thanks Meter: 114
 
158 posts
Join Date:Joined: Jun 2008
More
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, 861 views)
File Type: 7z PackageROMv2.7z - [Click for QR Code] (569.5 KB, 740 views)
File Type: 7z PackageROMv3.7z - [Click for QR Code] (792.5 KB, 4330 views)
Last edited by bohdans; 9th February 2011 at 07:59 AM.
The Following 44 Users Say Thank You to bohdans For This Useful Post: [ View ]
6th February 2011, 01:03 PM   |  #2  
RayearthX's Avatar
Junior Member
Flag Lodz
Thanks Meter: 3
 
27 posts
Join Date:Joined: Oct 2010
More
If this really works, then You bohdans are fu**ing AWESOME!
6th February 2011, 05:49 PM   |  #3  
snapper.fishes's Avatar
Senior Member
Flag Hong Kong
Thanks Meter: 282
 
1,611 posts
Join Date:Joined: Aug 2010
More
Confirmed to be working on ZSJG4
7th February 2011, 08:11 AM   |  #4  
ragin's Avatar
Senior Member
Flag Hubli
Thanks Meter: 153
 
1,724 posts
Join Date:Joined: Dec 2007
More
I use peazip for the same work, but an automated script is way better. Congrats.
7th February 2011, 10:17 AM   |  #5  
lownoise's Avatar
Senior Member
Thanks Meter: 94
 
174 posts
Join Date:Joined: Sep 2010
More
Question md5sum support
Quote:
Originally Posted by bohdans

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
7th February 2011, 11:23 AM   |  #6  
OP Senior Member
Thanks Meter: 114
 
158 posts
Join Date:Joined: Jun 2008
More
Quote:
Originally Posted by lownoise

Thanks for the script!
Could you also add md5sum support

Hi,
MD5 Support added
The Following 2 Users Say Thank You to bohdans For This Useful Post: [ View ]
7th February 2011, 12:39 PM   |  #7  
Member
Flag Pune
Thanks Meter: 3
 
73 posts
Join Date:Joined: Nov 2008
More
Usage Guide
Usage guide for noob please

Thanks,
7th February 2011, 12:59 PM   |  #8  
lownoise's Avatar
Senior Member
Thanks Meter: 94
 
174 posts
Join Date:Joined: Sep 2010
More
Lightbulb Last future request for now......
Quote:
Originally Posted by bohdans

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....
7th February 2011, 01:39 PM   |  #9  
snapper.fishes's Avatar
Senior Member
Flag Hong Kong
Thanks Meter: 282
 
1,611 posts
Join Date:Joined: Aug 2010
More
Quote:
Originally Posted by zion12

Usage guide for noob please

Thanks,

Instructions are pretty clear in the program itself.
8th February 2011, 06:19 PM   |  #10  
ragin's Avatar
Senior Member
Flag Hubli
Thanks Meter: 153
 
1,724 posts
Join Date:Joined: Dec 2007
More
Bump.............................................. ................. 10

Post Reply Subscribe to Thread
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes