Jump to content


Photo

[TOOL] O2UTIL / Useful ROM utility for I8000

- - - - -

  • Please log in to reply
59 replies to this topic

#1
rodrigofd

rodrigofd

    Diehard

  • Members
  • PipPipPipPip
  • 408 posts
  • Location:Buenos Aires, Argentina
  • Devices:Omnia 2 I8000; HTC Fuze
Here i share with you one of my power utilities for messing with Omnia 2 I8000 ROMs....

It supports I8000, I8000L and B7610 (Omnia Pro), confirmed by different users.


This is a command line utility, it serves for various purposes. Here i detail some of the functions and syntax to use it (from command line):
Parameters enclosed in brackets [ ] are optional.


1) Turn a binary dump (the 'pda_dump.bin' that generates Sorg' utility), into a flashable NB0 ROM.

For cookers, it also serves to pack a 'pda.os.nb' file (the one you cooked with osnbtool.exe, etc), into a flashable NB0 ROM.

-nb0pack <rom_name> <os.nb_filename,pda_dump.bin etc> [ <nb0_destination_file ]

The tool deals with checksum, file size adjustment, and creates the proper header, labeling your rom <rom_name>.


2) Extract PDA.OS.NB and LANGPACK from MST ROM

-mst_to_osnb <mst_file> [<pda.os.nb_filename>] [<lang.os.nb_filename>]

This useful option, inspects a MST ROM, like the official ones we get, and extracts the PDA.OS.NB part, into specified filename <pda.os.nb_filename>.

IF THE MST ROM HAD LANGUAGE PACK, it also writes such langpack into <lang.os.nb_filename>

3) Extract a flashable NB0 ROM from a MST ROM

-mst_to_nb0 <mst_file> [<nb0_filename>] [<rom_name>]

Inspects a MST ROM, like the official ones we get, and creates a copy of such rom, but in NB0 FORMAT , into the specified file <nb0_filename>. You can specify ROM name with <rom_name>, or else first part of MST file will be used.

4) Split NB0 ROM

-nb0split <filename>

Splits a NB0 rom into its sections and headers, on the same directory as the NB0 file. E.G., PDA.OS.NB, PDA.OS.NB.PRE, LANG.OS.NB, etc...
Similar to OSNBTOOL with -sp, only that OSNBTOOL doesn't deals with language pack.

5) Build NB0 ROM

-nb0build <nb0_filename> <headerfile1> <sectionfile1> [<headerfile2> <sectionfile2...]

Rebuilds a NB0 flashable ROM, into file <nb0_filename>, by constructing individual parts, specified in parameters. It should be header, section, header, section, etc... The best is to use this command in conjunction with -nb0split above.
Normally you would only deal with one section (headerfile1 sectionfile1) as we don't currently cook langpacks.

6) Other commands, too lazy to write specs ;) ... -expand, -checksum, -patch32, -mngefix, -reloc_fixbin... i'll explain in other time ;)

PD: If the only parameter specified is a 'pda_dump.bin' file, it automatically gets converted to a NB0 ROM.. E.G. if you drop the .bin file into my EXE, it gets done ;)



Attached Files


Edited by rodrigofd, 22 December 2009 - 09:08 PM.

  • 1
Cooking ROMs for I8000 & I8000L

Want to support my work?? :)

Posted Image / EUR: Posted Image

#2
Lancez

Lancez

    Hardcore

  • Moderator Team
  • PipPipPipPipPipPip
  • 3,093 posts
  • Gender:Male
  • Location:Los Angeles, California, U.S.A
  • Interests:My Devices:
    Galaxy Nexus
    Samsung I9100
    Samsung S8600 Bada
    Samsung I8000
    Samsung I900
    Sony Ericsson X10a
i dont know how to cook, yet ;) . but thank u RFD ;) . oh, and im the first again.

  • 0

#3
monyozt

monyozt

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,136 posts
  • Gender:Male
  • Devices:sprint 3VO 3D, iphone 4,9780

i know Pako will release new executor soon, but the more variety the better ;)

Anyway, here you go, just drop your 'pda_dump.bin' you got with sorg tool, and you get a flashable rom (pda_dump.bin.nb0) .. Voilá.


cheers


thanks bro.. how about your WM 6.5.3 rom? any news when it will be release? please dont buy hd2 as you said on other thread ;)

Edited by monyozt, 21 December 2009 - 06:20 PM.

  • 0

current device :
__________________
Phone: HTC HD2 | Rom WM: Energy Series 21680 |Oct 07 |Rom Android : mdeejay Froyo Sense v. 2.4.2 | Mdeejay eVo Sense v. 1.6 Revolution|Radio : 2_14_50_04

Phone:Blackberry onyx | OS : hybrid OS by Willyboy™ v7.3

#4
Pako777

Pako777

    Enthusiast

  • Members
  • PipPipPip
  • 236 posts
  • Devices:i900 - the best :)
Rodrigo, please say - what for this procedure is necessary? ;) .. create dump DSK1 in executor is enable.. but converted DSK to nb0 ;) What for? ;)

  • 0

#5
rodrigofd

rodrigofd

    Diehard

  • Members
  • PipPipPipPip
  • 408 posts
  • Location:Buenos Aires, Argentina
  • Devices:Omnia 2 I8000; HTC Fuze

Rodrigo, please say - what for this procedure is necessary? ;) .. create dump DSK1 in executor is enable.. but converted DSK to nb0 ;) What for? ;)



because numerous people here asked how to turn a binary dump into a flashable rom , for backup purposes

  • 0
Cooking ROMs for I8000 & I8000L

Want to support my work?? :)

Posted Image / EUR: Posted Image

#6
gmarcoux

gmarcoux

    Newbie

  • Members
  • Pip
  • 18 posts
  • Devices:htc pure

i know Pako will release new executor soon, but the more variety the better :)

Anyway, here you go, this is one of the utils i wrote for the I8000, just drop over this exe, your 'pda_dump.bin' you got with sorg tool, and you get a flashable rom (pda_dump.bin.nb0) .. Voilá.
cheers

EDIT: you can also drop the PDA.OS.NB.NEW you pack with OSNBTOOL, and you get a nb0 file.

if you want to be more specific:

o2util.exe -nb0pack <rom_title> <pda.os.nb file> <destination_nb0_file>


You are THE MAN!!!!!

  • 0

#7
kydkylin

kydkylin

    Diehard

  • Members
  • PipPipPipPip
  • 443 posts
  • Devices:i8000
wow,it's so wonderful~Thanks a lot!

  • 0










#8
zm.

zm.

    Regular

  • Members
  • PipPip
  • 98 posts
@RFD,

with this utility, I supposed it means that the checksum and header are applied with it?

  • 0

#9
rodrigofd

rodrigofd

    Diehard

  • Members
  • PipPipPipPip
  • 408 posts
  • Location:Buenos Aires, Argentina
  • Devices:Omnia 2 I8000; HTC Fuze

@RFD,

with this utility, I supposed it means that the checksum and header are applied with it?



Yes of course, that is part of its purpose.

  • 0
Cooking ROMs for I8000 & I8000L

Want to support my work?? :)

Posted Image / EUR: Posted Image

#10
sc1998

sc1998

    Newbie

  • Members
  • Pip
  • 20 posts
  • Devices:mpx200
Thanks for good tool!
Is it can use for restore dump rom after backup dump rom? Sorry for my english.
Thanak you again.

  • 0

#11
kibiwi

kibiwi

    Enthusiast

  • Members
  • PipPipPip
  • 188 posts

because numerous people here asked how to turn a binary dump into a flashable rom , for backup purposes


Just what I'm looking for thanks. I will try it on a bin file of the B7610. Just tried the manual wes's workaround but it didn't work on B7610 bin files. Have you got any hints why it doesn't work?

Edited by kibiwi, 22 December 2009 - 03:30 PM.

  • 0

#12
rodrigofd

rodrigofd

    Diehard

  • Members
  • PipPipPipPip
  • 408 posts
  • Location:Buenos Aires, Argentina
  • Devices:Omnia 2 I8000; HTC Fuze

Just what I'm looking for thanks. I will try it on a bin file of the B7610. Just tried the manual wes's workaround but it didn't work on B7610 bin files. Have you got any hints why it doesn't work?



Strange... BUT, i remember reading wes guide, he didn't mentioned about making os.nb size divisible by 0x1F800, why don't you try out my tool and report back ? :)

  • 0
Cooking ROMs for I8000 & I8000L

Want to support my work?? :)

Posted Image / EUR: Posted Image

#13
kibiwi

kibiwi

    Enthusiast

  • Members
  • PipPipPip
  • 188 posts

Strange... BUT, i remember reading wes guide, he didn't mentioned about making os.nb size divisible by 0x1F800, why don't you try out my tool and report back ? ;)

when sorg posted his utility wes explained how to convert the bin file into a nb0 file with winhex, I followed his guide but without luck. Anyway I will try your tool and report if it works fine even with B7610 bin files :)

  • 0

#14
Mr Man2003

Mr Man2003

    Newbie

  • Members
  • Pip
  • 31 posts
Thanks a lot rodrigofd.. It's working like charm :)

  • 0

#15
rodrigofd

rodrigofd

    Diehard

  • Members
  • PipPipPipPip
  • 408 posts
  • Location:Buenos Aires, Argentina
  • Devices:Omnia 2 I8000; HTC Fuze
Read first post .. there was an update :)

  • 0
Cooking ROMs for I8000 & I8000L

Want to support my work?? :)

Posted Image / EUR: Posted Image

#16
amwafa

amwafa

    Newbie

  • Members
  • Pip
  • 8 posts
I tried to run the program, but after clicking on the 02util.exe, a DOS window opened and quickly closed. How do I use it?

  • 0

#17
kibiwi

kibiwi

    Enthusiast

  • Members
  • PipPipPip
  • 188 posts
Rodrigo I have tested your tool with B7610 bin files and I can confirm that it works like a charm. Thanks for this really useful tool keep up the good work!you can edit the first post... :)

  • 0

#18
amwafa

amwafa

    Newbie

  • Members
  • Pip
  • 8 posts
It works perfectly, and it edited out the portion of the MST file that would have been on the internal "My" storage, which is great since that was blocking me from the ROM update (seeing as my internal storage went missing). I'm now running WM 6.5 as hoped, thank you!

  • 0

#19
zm.

zm.

    Regular

  • Members
  • PipPip
  • 98 posts

Yes of course, that is part of its purpose.

cool! thank you RFD! :) that was one of the part I don't understand what to do during my test on trying to cook a ROM.

  • 0

#20
monyozt

monyozt

    Hardcore

  • Members
  • PipPipPipPipPipPip
  • 1,136 posts
  • Gender:Male
  • Devices:sprint 3VO 3D, iphone 4,9780

I tried to run the program, but after clicking on the 02util.exe, a DOS window opened and quickly closed. How do I use it?


yes same here... any clue how to use??

  • 0

current device :
__________________
Phone: HTC HD2 | Rom WM: Energy Series 21680 |Oct 07 |Rom Android : mdeejay Froyo Sense v. 2.4.2 | Mdeejay eVo Sense v. 1.6 Revolution|Radio : 2_14_50_04

Phone:Blackberry onyx | OS : hybrid OS by Willyboy™ v7.3




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users