Please Log In or Register - it's FREE!

10 Pages V   1 2 3 > »   
Reply to this topicStart new topic
 Step by Step: Learn To Cook Custom ROM, guide to cooking your own ROM
Rating 5 V
PaSSoA
post Oct 24 2008, 07:06
Post #1


Enthusiast
Group Icon

Group: Posters
Posts: 280
Favorited Topics: 23
Joined: 21st September 2008
Member No.: 428,546

Device(s): Samsung Omnia SGH-i900



Alot of people have been asking for this and although there are many tutorials on how to cook your own ROM, this is specific to the i900 kitchen by the guys at PDAclan and mrtoto tools from PDAMobiz, so thanks for all the great tools. I will not be going through stuff like creating your packages and such as there are many tutorials on that. Only things releated to the i900 kitchen will be focused on.

As with real cooking, different people have different ways of doing things, so this is the way I prefer to do it.

Edit: Before starting, please make sure you have the latest framework installed, you can get it here, if not the tools will not function properly and errors will occur.

- First get either a .exe updater or PDA.bin (rename if you must) file and dump it in the root directory. Drag and drop either the .exe to extractrom_exe or PDA.bin to extractrom_bin



- If you used a .exe updater, the eboot, csc and phone .bin files will be extracted out, you need these files for later, when repacking the .exe installer.



- Once extracting is done, there will be OEM/SYS folders and a new XIP folder in ROM.



- You should see these folders in OEM (left) and SYS (right)



- These are the apps found in OEM/OEMApps. Open the .rgu which contains registry settings in Notepad. As an example, if you delete the file secst.dll in the OEMApps folder, then you must delete the entry in the .rgu too.



- Another example... After you delete an app and rgu entries, go to initflashfiles.dat in OEM/OEM_Lang_0409 and search for more references to the files.



- After removing files, you will need to add your own custom apps in the form of packages, if you do a search on them, there will many tutorials on that. I am not going into it as it is pretty standard stuff.



- Once you're happy with removing and adding your customisations, it is time to build your ROM. Go back to the root directory and drag OS.nb to BuildROM. Click the green play button and you're on your way.



- Once that's done, you will have a NewROM.bin file which you must rename to PDA.bin. Remember the csc, eboot and phone files earlier, it must all be in the same directory. (I prefer to create a new directory for this)



- Open your command prompt and start packing your new ROM. Once all files are packed, you will have your new updater which you run to update your device. As usual, make sure you have proper modem drivers installed.



You're Done!

That's pretty much it, the hard part would be during customisation where you have to make sure all references to the app you wish to remove are properly deleted. When there are duplicated files or registry entries, it will throw you an error during building, so watch out for that.

If you have any questions or suggestions, feel free to ask and I will try to answer them when I can.

Cheers!


This post has been edited by PaSSoA: Oct 24 2008, 18:22
Attached File(s)
Attached File  i900Romkitchen.rar ( 1.46MB ) Number of downloads: 6133
 


--------------------
Like the work I've done for you?

Then I would really appreciate it if you could help me out.

It will encourage me further and of course produce better work.




A dollar or any amount you could spare will be greatly appreciated.
Go to the top of the page
 
+Quote Post
JonPhone
post Oct 24 2008, 10:16
Post #2


Newbie
Group Icon

Group: Posters
Posts: 26
Joined: 9th September 2008
Member No.: 424,542

Device(s): i900 - Fr HH4 custom



Hi PaSSoA !

First, a BIG thanks for your works wink.gif

I've been looking to a lot of "HowTo"s from XDA and other forum since a week, and I spent a LOT of time every day... And I think its quite interesting, and definitly its not time lost smile.gif

I've got my i900 for 2 months, my first winmo phone, and I'd like to cook a slim french rom. But first of all, I'd like to just pack a rom AND repack a rom. Quite easy i thought... but not (for me huh.gif ...) !!! When I drag'n drop OS.nb to BuildROM.cmd, I've got an error :



(it said that the system can't execute the specified program)

OK OK, I know I'm a noob cooker, but I'm here for cooking, and Id love to biggrin.gif

please please, help me unsure.gif unsure.gif unsure.gif


This post has been edited by JonPhone: Oct 24 2008, 10:18
Go to the top of the page
 
+Quote Post
PaSSoA
post Oct 24 2008, 10:58
Post #3


Enthusiast
Group Icon

Group: Posters
Posts: 280
Favorited Topics: 23
Joined: 21st September 2008
Member No.: 428,546

Device(s): Samsung Omnia SGH-i900



What were your exact steps before this?
Go to the top of the page
 
+Quote Post
Reddeer2000
post Oct 24 2008, 13:13
Post #4


Newbie
Group Icon

Group: Posters
Posts: 37
Joined: 5th January 2003
Member No.: 1,611

Device(s): Omnia i900 +Touch Diamond



Hi PaSSoA,

I have one question. I didn't have an updater.exe or PDA.bin, I have only an img.file, what can I do with it ?

Best regards
Reddeer2000


--------------------
Reddeer2000

Go to the top of the page
 
+Quote Post
iTnkD4iAm
post Oct 24 2008, 14:46
Post #5


Regular
Group Icon

Group: Posters
Posts: 74
Joined: 8th September 2008
Member No.: 424,310



Nevermind. I think the answer I'm looking for lies in initflashfiles.dat

QUOTE
Hello (=

I was wondering if it's possible to define a directory structure for the programs to be added to the custom rom? Like if I were to install .NET 3.5 separately, some files can be installed in a pre-defined directory whereas the rest are installed in \windows dir? Or are we all cursed to dump all the files in \windows? ph34r.gif


This post has been edited by iTnkD4iAm: Oct 24 2008, 15:43


--------------------
Need some help? Meet your best friend in this forum. If your new friend can't answer, perhaps his other friend can ;)
Go to the top of the page
 
+Quote Post
ebliss
post Oct 24 2008, 15:05
Post #6


Newbie
Group Icon

Group: Posters
Posts: 28
Joined: 2nd June 2004
Member No.: 45,314



I have the same error as JonPhone. When I looked into BuildROM.cmd, there is a line, "IF not exist Temp\dump\default.hv"
I don't have "Temp\dump\default.hv", therefore, resulted in this error.

QUOTE(JonPhone @ Oct 24 2008, 10:16) *
But first of all, I'd like to just pack a rom AND repack a rom. When I drag'n drop OS.nb to BuildROM.cmd, I've got an error :



(it said that the system can't execute the specified program)



QUOTE(PaSSoA @ Oct 24 2008, 10:58) *
What were your exact steps before this?
Go to the top of the page
 
+Quote Post
mrbeanicb
post Oct 24 2008, 15:37
Post #7


Newbie
Group Icon

Group: Posters
Posts: 7
Joined: 12th August 2008
Member No.: 415,920



help me please!
After i dragged and dropped the .exe file to extractrom_exe there was an error:




and after finished, there's nothing in OEM folder
what happened to me???
Go to the top of the page
 
+Quote Post
PaSSoA
post Oct 24 2008, 16:03
Post #8


Enthusiast
Group Icon

Group: Posters
Posts: 280
Favorited Topics: 23
Joined: 21st September 2008
Member No.: 428,546

Device(s): Samsung Omnia SGH-i900



For the errors, it has probably something to do with the buildOS stage, especially if there was a problem creating the registry, then default.hv would not be created and building cannot continue, what are the exact steps / modifications done?

QUOTE(mrbeanicb @ Oct 24 2008, 23:37) *
help me please!
After i dragged and dropped the .exe file to extractrom_exe there was an error:


and after finished, there's nothing in OEM folder
what happened to me???


Please make sure you have the latest framework installed here


This post has been edited by PaSSoA: Oct 24 2008, 18:21
Go to the top of the page
 
+Quote Post
JonPhone
post Oct 24 2008, 17:25
Post #9


Newbie
Group Icon

Group: Posters
Posts: 26
Joined: 9th September 2008
Member No.: 424,542

Device(s): i900 - Fr HH4 custom



I've got this message just after I created OEM / SYS , etc... In fact just after extraction process ! so I didn't add or del or modify files huh.gif weird isn't it ?

I tried with differents roms (XHH2 and XHH4). I'll try with DTHJ5 or newer, but I won't be surprised if it'll fail again...

like ebliss, I dont have any "default.hv" file in Temp\Dump (and no directory as well tongue.gif )

which step did we miss ? unsure.gif


This post has been edited by JonPhone: Oct 24 2008, 17:29
Go to the top of the page
 
+Quote Post
JonPhone
post Oct 24 2008, 17:44
Post #10


Newbie
Group Icon

Group: Posters
Posts: 26
Joined: 9th September 2008
Member No.: 424,542

Device(s): i900 - Fr HH4 custom



Thank you PaSSoA cool.gif definitly you're the best wink.gif

replying to mrbeanicb solved my problem ! Yes, we have to install MS Visual C++ 2008 Redistributable to use RebuildROM.cmd, unless you've got my error wink.gif

@PaSSoA : maybe you'd just edit your 1st post and add this to the necessaries' tools ?
Go to the top of the page
 
+Quote Post
o0joe0o
post Oct 24 2008, 18:09
Post #11


Regular
Group Icon

Group: Posters
Posts: 104
Joined: 8th September 2008
Member No.: 424,394

Device(s): i900



pls help me how to do steps 5-6!i cant even see samsung today items huh.gif
Go to the top of the page
 
+Quote Post
PaSSoA
post Oct 24 2008, 18:22
Post #12


Enthusiast
Group Icon

Group: Posters
Posts: 280
Favorited Topics: 23
Joined: 21st September 2008
Member No.: 428,546

Device(s): Samsung Omnia SGH-i900



Thanks JonPhone, edited 1st post tongue.gif
Go to the top of the page
 
+Quote Post
PaSSoA
post Oct 24 2008, 18:25
Post #13


Enthusiast
Group Icon

Group: Posters
Posts: 280
Favorited Topics: 23
Joined: 21st September 2008
Member No.: 428,546

Device(s): Samsung Omnia SGH-i900



QUOTE(o0joe0o @ Oct 25 2008, 02:09) *
pls help me how to do steps 5-6!i cant even see samsung today items huh.gif


What were your previous steps? Have you downloaded the Visual C++ 2008 Redistributable Package? It is needed for the tools to work properly, please check 1st post for the link smile.gif


This post has been edited by PaSSoA: Oct 24 2008, 18:26
Go to the top of the page
 
+Quote Post
o0joe0o
post Oct 24 2008, 19:00
Post #14


Regular
Group Icon

Group: Posters
Posts: 104
Joined: 8th September 2008
Member No.: 424,394

Device(s): i900



ok thanks passoa...i'll give it a try.

how did you do this?already installed c++

"These are the apps found in OEM/OEMApps. Open the .rgu which contains registry settings in Notepad. As an example, if you delete the file secst.dll in the OEMApps folder, then you must delete the entry in the .rgu too. "


This post has been edited by o0joe0o: Oct 24 2008, 19:42
Go to the top of the page
 
+Quote Post
black-DraGon
post Oct 24 2008, 21:12
Post #15


Regular
Group Icon

Group: Posters
Posts: 73
Joined: 24th October 2008
Member No.: 441,286

Device(s): OMNIA



man... i´ve nothing in my oem dir... why? i just drag and drop the new i900_M2D01_PaS08.exe to ExtractROM_exe.cmd and all work well but the oem folder leaves just empty... and yes i installed the latest vc++ thing


--------------------
Go to the top of the page
 
+Quote Post
JonPhone
post Oct 25 2008, 00:12
Post #16


Newbie
Group Icon

Group: Posters
Posts: 26
Joined: 9th September 2008
Member No.: 424,542

Device(s): i900 - Fr HH4 custom



Ok... tonight, I really scared myself blink.gif

after verifying unpack and repack function, I tried to cook my own 1st rom (delete shozu and other "useless" stuff and replace .NET). And maybe I've been too speedy, too greedy and, obviously, too "nooby" laugh.gif

repack the new directories was done with no problem, but apparently I did something wrong because Ive got the "incorrect version software" message. after that, I tried to flash with the original ROM (official French H2, partially branded), and everything fine tongue.gif

so tomorrow, I will try to unpack -> repack -> flash , nothing more wink.gif
Go to the top of the page
 
+Quote Post
PaSSoA
post Oct 25 2008, 02:04
Post #17


Enthusiast
Group Icon

Group: Posters
Posts: 280
Favorited Topics: 23
Joined: 21st September 2008
Member No.: 428,546

Device(s): Samsung Omnia SGH-i900



QUOTE(black-DraGon @ Oct 25 2008, 05:12) *
man... i´ve nothing in my oem dir... why? i just drag and drop the new i900_M2D01_PaS08.exe to ExtractROM_exe.cmd and all work well but the oem folder leaves just empty... and yes i installed the latest vc++ thing


Sorry buddy, can't use my ROM, I removed all rgu files when building it. You have to use an official update smile.gif
Go to the top of the page
 
+Quote Post
Text
post Oct 25 2008, 07:37
Post #18


Regular
Group Icon

Group: Posters
Posts: 60
Joined: 24th August 2008
Member No.: 419,671

Device(s): Omnia



Yesterday i try to add flashlite 3.1 on my cooked rom,but when i flashed it Opera crashes when load site like youtube.
So,in the original rom i cancel flashlite.dll,flashsnddec.dll and si_impl.dll and relative registry keys...i forget nothing?
I use a cab found on xda-developers named my_flash3.1.cab to extract oem package,is the right file or there is another to use?

Regards.
Go to the top of the page
 
+Quote Post
ebliss
post Oct 25 2008, 09:30
Post #19


Newbie
Group Icon

Group: Posters
Posts: 28
Joined: 2nd June 2004
Member No.: 45,314



QUOTE(PaSSoA @ Oct 24 2008, 07:06) *
- Once you're happy with removing and adding your customisations, it is time to build your ROM. Go back to the root directory and drag OS.nb to BuildROM. Click the green play button and you're on your way.

- Once that's done, you will have a NewROM.bin file which you must rename to PDA.bin. Remember the csc, eboot and phone files earlier, it must all be in the same directory. (I prefer to create a new directory for this)


You might want to mention that the BuildOS window need to be closed before the main dos program continues to build the NewROM.bin. Or that's what I experience anyway.
Go to the top of the page
 
+Quote Post
ebliss
post Oct 25 2008, 09:36
Post #20


Newbie
Group Icon

Group: Posters
Posts: 28
Joined: 2nd June 2004
Member No.: 45,314



Is it possible to alter BuildRom.cmd's line "ren %~nx1%.NEW.EXA.bin NewROM.bin"
to "ren %~nx1%.NEW.EXA.bin PDA.bin"

And add "i900tool.exe -p test.exe" after "del *.new*" so that the exe is automatically built instead of having to open a dos box?
Go to the top of the page
 
+Quote Post

10 Pages V   1 2 3 > » 
Reply to this topicStart new topic

Collapse

Similar Topics

  Topic Replies Topic Starter Views Last Action
No new Topic has attachmentsOmnia 2 AMDZero 23569 Rom Base/Lite
Base Rom-5/13/2010 Lite Rom-5/13/2010
473 amdzero 24,303 Today, 00:11
Last post by: Mr.DunnDunn
No New Posts Topic has attachments[EN][ROM][30/08/2010] Sense 2.5.2018
JG5: 6.5 (21914) & 6.5.3 (23134) | 2016: WM EN 6.5.5
1,871 shadowangel 126,779 Yesterday, 21:32
Last post by: AndyCarroll
No new Topic has attachments[pt-BR] [ROM][26/08/10] Sense 2.5.2018
JG5: 6.5 (21914) & 6.5.3 (23133)
241 shadowangel 14,788 Yesterday, 23:33
Last post by: LFossatti
No new Topic has attachmentsNFX-JF5 Lite rom - 8MB pagepool with most Samsung apps intact
this is a WM6.5 rom
62 NewForce 7,031 Yesterday, 22:07
Last post by: moxadrian
No new Topic has attachmentsLite ROMs by Speedfrog | JG2 English | JH1 English | JG5 English | JF5 Norwegian
94 speedfrog 4,096 Yesterday, 20:41
Last post by: speedfrog
No new Topic has attachmentsROM i8000TITJH1(EN) from kingmobi.net
50 givesoft 6,091 Yesterday, 22:19
Last post by: rom_omnia2

2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 


RSS hit counter Lo-Fi Version Time is now: 3rd September 2010 - 00:22

Please visit our 'Plus Partners' - these companies support MoDaCo through 'MoDaCo Plus' - Click Here for more details!

ActiveKitten | Binaryfish | Conduits | DeveloperOne | eSoft Interactive | FTouchSL | Inesoft | LastPass

Lingvosoft | monocube | OmegaOne | Omnisoft | Opera Software | Resco | SBSH | Splashdata

Sprite Software | Syncdata | Teksoft | Titanium Backup | VITO | WalkingHotSpot | WebIS | z4soft

Would your company like to become a 'Plus Partner'? Click Here to contact us!