[Utility] Rom cooker... - Samsung i8910 Omnia HD User Forums 0){document.location.href='showthread.php?p='+cpostno;};} }">
 
i8910 HD Blog i8910 Omnia HD Firmware i8910 HD Themes Optimus 2X Forums Galaxy S Forums PSP Hacks PS3 Hacks

Go Back   Samsung i8910 Omnia HD User Forums > Samsung i8910 Omnia HD Discussion > Samsung i8910 Omnia HD Custom Roms / Cooked Roms

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 09-10-2009, 09:12 PM
Member
 
Join Date: Sep 2009
Posts: 47
Thanks: 1
Thanked 73 Times in 13 Posts
Codeneos is on a distinguished road
Cool [Utility] Rom cooker (latest version: 0.7.3.0)

Latest version: 0.7.5.0

Never flash UBOOT, NBL1 or NBL2. Untick the bootloader option in the symbian rom flasher. Flashing UBOOT can brick your phone!

Note: you need to extract all files from the CSC and CODE directories into one and the same folder do not leave any files out, the more the better. You might be asked if you want to merge directories (ROFS2, ROFS3 and ROFS4 for example are both in the CSC and CODE folder) always click yes as the CSC and CODE directories contain different files that do not conflict with each other.

Seeing all those people creating roms for use I decided to create a utility that enables thoso who are in the business of cooking roms to extract and repack roms the easy way.

The utility extracts all ROFS images using the latest symbian image dumper, rebuilds the CSC and CODE xml files which define the portioning of our dear I8910. And last but not least repacks the changed files into a brand new ROFS image.

The utility automatically adjusts partition size and MD5 hash. Note: at the current stage it is still a command line utility!

It can be used like:
Code:
SRomUtility 0.7.4 build 98 - Symbian ROFS and ROM unpacker/repacker.
Developed by Neos; this product contains Symbian SDK utilities.

Usage: RofsRomUtility [arguments]
Arguments:
        /unpack working_directory source
           working_directory: Unpacked files will be written to this location.
           source: Source directory from where the images are read.
        /unpackrom source destination
           source: Samsung Symbian ROM image.
           destination: Directory where the rom files will be extracted.
        /repack working_directory source destination (model) (provider) (version)
           working_directory: Modified firmware files.
           source: Source directory where the original images are stored.
           destination: Destination for the newly created firmware.
           model: Model of the device, example: I8910.
           provider: Provider ID code to be included in the firmware name.
           version: Version to be included in the firmware name, example: 2.
        /help OR /?
           Displays the current message.
To use it you will need a firmware image, let’s take II1 for example. You need join all the directories from both the CSC and CODE directory into one new directory called II1 (xml files are optional).

The to extract these files to a new working copy run from the command line: RofsRomUtility /unpack .\WC\ .\II1\. This will unpack all files from the II1 firmware and put the extract files into the directory WC (working copy). Then modify these files, add, remove or edit these files until you are satisfied. Now to repack these files into a new firmware run from the command line: RofsRomUtility /repack .\WC\ .\II1\ .\COOK_II1\.
The utility will recreate the XML files for both the CSC and CODE directories and repack the modified files into ROFS images.

To extract a single ROM file run from the command line: RofsRomUtility /unpackrom ubootldr.rom.img .\UBOOT\. This for example will extract the Uboot loader to a new directory called UBOOT. The same can be applied to the core rom image.

Requirements
* Any windows version that has the .net framework 2.0 or higher installed.
* A set of correct ROFS and ROM files (can be obtained from this forum).
* Last but not least, brains!

Download
Version 0.7.5.0: Mediafire
Version 0.7.4.0: Mediafire
Version 0.7.3.0: Mediafire
Version 0.7.0.0: Mediafire
Version 0.6.2.0: Mediafire
Version 0.6.1.0: Mediafire
Version 0.5.1.0: Mediafire
All versions: Mediafire

Plans
Adding support to repack the ROM files is on it's way. But be warned adding things other then ordinary files (device drivers, etc) requires some knowledge of the S60 operating system. Further more for most of the casual repackers I would not recommand editing the genrated OBY scripts used to generate the ROM image as it can seriously messup your phone.

Update 0.6.1.0 (13-09-2009)
* Extracts the rom images such as UBOOT and CORE.
* Can decode BPE (BytePairEncoding) compression.
* Can read on-demand-pages from roms.
* Fixed a small issue with calculating the MD5 for rom files.

Update 0.6.2.0 (13-09-2009)
* Added more checks when reconstructing the XML code files (fixes several issues when the original source was incomplete).

Update 0.7.0.0 (13-09-2009)
* Added support for unpacking ROFS images without external tools.
* Improved OBY file generation, ROFS now use the image size as specified in the original ROFS.

Update 0.7.3.0 (14-09-2009)
* Added configuration ini file.
* Added automatic updating of timestamp files and version files in the versions directory for each ROFS, this will automatically assign a version based on the config file or parameters passed to the utility.

Update 0.7.4.0 (16-09-2009)
* Fixed issues with unpacking custom firmwares without correct timestamp.

Update 0.7.5.0 (16-09-2009)
* No significant changes, only upgrade if you have a problem with version 0.7.4
* Should fix the bug where time settings affected succesfull repacking or ROFS files.

Last edited by Codeneos; 09-18-2009 at 11:11 PM. Reason: Added new version.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
The Following 29 Users Say Thank You to Codeneos For This Useful Post:
77pepe77 (03-10-2010), Andersson (09-22-2009), arcane613 (09-10-2009), aydink_1903 (09-14-2009), Briggs (09-11-2009), CrYsIs (01-22-2010), djsaad1 (09-10-2009), eboy (09-10-2009), efbill (09-13-2009), FARID (09-11-2009), galabuon (01-06-2010), gnusmas8910HD (09-10-2009), hiker (05-20-2010), hyperx (09-10-2009), Jabsu (09-13-2009), Jesus (09-11-2009), M AzeeM K (09-10-2009), Marshall.87 (08-13-2010), mohcivil (11-18-2009), momagic (09-10-2009), nghia_kn (06-13-2011), pallbearer (09-26-2009), PapaDocta (09-10-2009), Persian0123 (12-14-2010), Quist (09-10-2009), sinaxex (09-17-2009), Sk3wby (09-14-2009), surge (09-10-2009), SymbiX (09-11-2009)
Sponsored Links
Advertisement
 
  #2 (permalink)  
Old 09-10-2009, 09:25 PM
djsaad1's Avatar
LifeTime VIP - Former Mod
 
Join Date: Jun 2009
Posts: 1,313
Thanks: 112
Thanked 238 Times in 97 Posts
djsaad1 is on a distinguished road
Default

This is perfect! Thanks!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 09-10-2009, 09:31 PM
Senior Member
 
Join Date: Jul 2009
Posts: 253
Thanks: 25
Thanked 98 Times in 35 Posts
Quist is on a distinguished road
Default

Can't wait to try this out! Cheers!

This will only unpack and repack the rofsX.img files, right? Or will it do so with the rom image in Code as well?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
 
  #4 (permalink)  
Old 09-10-2009, 09:42 PM
Member
 
Join Date: Sep 2009
Posts: 47
Thanks: 1
Thanked 73 Times in 13 Posts
Codeneos is on a distinguished road
Default

The rom image is not a symbian complained rom image and I do not know how to repack it correctly. Though extracting it should be possible after some research on the file structure.

And for those intrested I just found out that the PE files (all DLL's and EXE's in the rom image) are also not standart Symbian PE files, I compared the java installations of both the XM5800 and I8910 and was unable to open the PE files with the symbian SDK kit whereas I was able to inspect the java installation of the XM5800.

My guess is that samsung has modified some part of the S60 operation system and SDK and hench therefor symbian utilities are partially useless. It would be nice if we could get our hands on those tools :P, this would enable us to rebuild the main system rom.

Last edited by Codeneos; 09-10-2009 at 09:47 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 09-10-2009, 09:53 PM
djsaad1's Avatar
LifeTime VIP - Former Mod
 
Join Date: Jun 2009
Posts: 1,313
Thanks: 112
Thanked 238 Times in 97 Posts
djsaad1 is on a distinguished road
Default

anyone else having trouble running the exe? even the /? or /help command won't work for me. It just returns to the command prompt
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old 09-10-2009, 10:27 PM
Senior Member
 
Join Date: Jun 2009
Location: Nijmegen
Posts: 926
Thanks: 106
Thanked 227 Times in 72 Posts
gnusmas8910HD is on a distinguished road
Default

Brilliant stuff indeed
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old 09-10-2009, 10:38 PM
Member
 
Join Date: Sep 2009
Posts: 47
Thanks: 1
Thanked 73 Times in 13 Posts
Codeneos is on a distinguished road
Default

Quote:
Originally Posted by djsaad1 View Post
anyone else having trouble running the exe? even the /? or /help command won't work for me. It just returns to the command prompt
Do you have .net framework 2.0?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8 (permalink)  
Old 09-10-2009, 10:41 PM
djsaad1's Avatar
LifeTime VIP - Former Mod
 
Join Date: Jun 2009
Posts: 1,313
Thanks: 112
Thanked 238 Times in 97 Posts
djsaad1 is on a distinguished road
Default

Yeah I do, not quite sure why it's not working here. Was waiting to see if anyone else had the issue before I started troubleshooting on my end.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9 (permalink)  
Old 09-10-2009, 10:49 PM
Member
 
Join Date: Sep 2009
Posts: 47
Thanks: 1
Thanked 73 Times in 13 Posts
Codeneos is on a distinguished road
Default

Hmm, I'll upload a virtuallized version of the tool, you can try that one. It is a bit bigger due to the fact that the .net framework is embedded in it, download VM from mediafire. If you still have problems I'll upload a special debug build which generates a log file.

Last edited by Codeneos; 09-10-2009 at 10:52 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10 (permalink)  
Old 09-10-2009, 10:57 PM
djsaad1's Avatar
LifeTime VIP - Former Mod
 
Join Date: Jun 2009
Posts: 1,313
Thanks: 112
Thanked 238 Times in 97 Posts
djsaad1 is on a distinguished road
Default

That didn't work either, still doing the same thing. But I am about to leave work and go home. I will try it there, this computer is having issues right now.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Advertisement
 
Reply

Tags
firmware, rofsromutility, symbian, utility

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




eXTReMe Tracker

 

PSP Custom Firmware | PSP Downloads | PSP Forums | PSP Emulator | PSP Hacks | Optimus 2X Forums | Samsung i8910 HD | Galaxy S Forum


All times are GMT +1. The time now is 12:40 AM.
Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
vBulletin Security provided by vBSecurity v2.2.2 (Pro) - vBulletin Mods & Addons Copyright © 2017 DragonByte Technologies Ltd.
Designed By: vBSkinworks