Windows Phone @ MoDaCo: Step by Step: Learn To Cook Custom ROM - Windows Phone @ MoDaCo

Jump to content

Galaxy Nexus Review
We put the Galaxy Nexus and Ice Cream Sandwich through their paces.

Google Music Launch
Google bring Music out of beta and launch their music store.

MoDaCo Plus / Ad Free
Hate ads? Want cool stuff? Sign up for a MoDaCo Plus / MoDaCo Ad Free account with Online Kitchen access!

Close
Open
Close
  • 10 Pages +
  • 1
  • 2
  • 3
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

Step by Step: Learn To Cook Custom ROM guide to cooking your own ROM
***** 1 Votes


#4 User is offline   Reddeer2000 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 37
  • Joined: 05-January 03
  • Devices:Omnia i900 +Touch Diamond

Posted 24 October 2008 - 01:13 PM

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
0

Sponsored Links


#5 User is offline   iTnkD4iAm 

  • Regular
  • PipPip
  • Group: Members
  • Posts: 74
  • Joined: 08-September 08

Posted 24 October 2008 - 02:46 PM

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? :lol:

This post has been edited by iTnkD4iAm: 24 October 2008 - 03:43 PM

Need some help? Meet your best friend in this forum. If your new friend can't answer, perhaps his other friend can ;)
0


#6 User is offline   ebliss 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 28
  • Joined: 02-June 04

Posted 24 October 2008 - 03:05 PM

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.

View PostJonPhone, on Oct 24 2008, 10:16, said:

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 :

Posted Image

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



View PostPaSSoA, on Oct 24 2008, 10:58, said:

What were your exact steps before this?

0


#7 User is offline   mrbeanicb 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 7
  • Joined: 12-August 08

Posted 24 October 2008 - 03:37 PM

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

Posted Image
Posted Image

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

0


#8 User is offline   PaSSoA 

  • Enthusiast
  • PipPipPip
  • Group: Members
  • Posts: 280
  • Joined: 21-September 08
  • Devices:Samsung Omnia SGH-i900

Posted 24 October 2008 - 04:03 PM

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?

View Postmrbeanicb, on Oct 24 2008, 23:37, said:

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: 24 October 2008 - 06:21 PM

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.


Posted Image

A dollar or any amount you could spare will be greatly appreciated.
0


#9 User is offline   JonPhone 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 26
  • Joined: 09-September 08
  • Devices:i900 - Fr HH4 custom

Posted 24 October 2008 - 05:25 PM

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 :D 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 ;) )

which step did we miss ? :lol:

This post has been edited by JonPhone: 24 October 2008 - 05:29 PM

0


#10 User is offline   JonPhone 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 26
  • Joined: 09-September 08
  • Devices:i900 - Fr HH4 custom

Posted 24 October 2008 - 05:44 PM

Thank you PaSSoA ;) definitly you're the best :lol:

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 :D

@PaSSoA : maybe you'd just edit your 1st post and add this to the necessaries' tools ?

0


#11 User is offline   o0joe0o 

  • Regular
  • PipPip
  • Group: Members
  • Posts: 102
  • Joined: 08-September 08
  • Devices:i900

Posted 24 October 2008 - 06:09 PM

pls help me how to do steps 5-6!i cant even see samsung today items :lol:

0


#12 User is offline   PaSSoA 

  • Enthusiast
  • PipPipPip
  • Group: Members
  • Posts: 280
  • Joined: 21-September 08
  • Devices:Samsung Omnia SGH-i900

Posted 24 October 2008 - 06:22 PM

Thanks JonPhone, edited 1st post :lol:

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.


Posted Image

A dollar or any amount you could spare will be greatly appreciated.
0


#13 User is offline   PaSSoA 

  • Enthusiast
  • PipPipPip
  • Group: Members
  • Posts: 280
  • Joined: 21-September 08
  • Devices:Samsung Omnia SGH-i900

Posted 24 October 2008 - 06:25 PM

View Posto0joe0o, on Oct 25 2008, 02:09, said:

pls help me how to do steps 5-6!i cant even see samsung today items :lol:


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 :D

This post has been edited by PaSSoA: 24 October 2008 - 06:26 PM

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.


Posted Image

A dollar or any amount you could spare will be greatly appreciated.
0


#14 User is offline   o0joe0o 

  • Regular
  • PipPip
  • Group: Members
  • Posts: 102
  • Joined: 08-September 08
  • Devices:i900

Posted 24 October 2008 - 07:00 PM

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: 24 October 2008 - 07:42 PM

0


#15 User is offline   black-DraGon 

  • Regular
  • PipPip
  • Group: Members
  • Posts: 73
  • Joined: 24-October 08
  • Devices:OMNIA

Posted 24 October 2008 - 09:12 PM

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

0


#16 User is offline   JonPhone 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 26
  • Joined: 09-September 08
  • Devices:i900 - Fr HH4 custom

Posted 25 October 2008 - 12:12 AM

Ok... tonight, I really scared myself :lol:

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" :D

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 :o

so tomorrow, I will try to unpack -> repack -> flash , nothing more ;)

0


#17 User is offline   PaSSoA 

  • Enthusiast
  • PipPipPip
  • Group: Members
  • Posts: 280
  • Joined: 21-September 08
  • Devices:Samsung Omnia SGH-i900

Posted 25 October 2008 - 02:04 AM

View Postblack-DraGon, on Oct 25 2008, 05:12, said:

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 :lol:

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.


Posted Image

A dollar or any amount you could spare will be greatly appreciated.
0


#18 User is offline   Text 

  • Regular
  • PipPip
  • Group: Members
  • Posts: 59
  • Joined: 24-August 08
  • Devices:Omnia

Posted 25 October 2008 - 07:37 AM

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.

0


#19 User is offline   ebliss 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 28
  • Joined: 02-June 04

Posted 25 October 2008 - 09:30 AM

View PostPaSSoA, on Oct 24 2008, 07:06, said:

- 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.

0


#20 User is offline   ebliss 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 28
  • Joined: 02-June 04

Posted 25 October 2008 - 09:36 AM

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?

0


#21 User is offline   jga13 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 6
  • Joined: 16-September 08
  • Gender:Male
  • Location:France(13)

Posted 25 October 2008 - 09:52 AM

Hello all!!

First of all excuse me for my poor english.

I'm french and i'm trying to cook my own ROM which based on H2 french ROM.

I've done all first things to do and now i'm lost.

Where can i find .RGU and packages with NETCF_3.5 flashlight 3.1 ....?

I don't understand what about Visual C++ 2008 ?

I'm a beginner but i'm quickly learner and if i really not understand at finish i will not do this anymore.

Thanks.

SAMSUNG PLAYER ADDICT 16 Go :
SFR Origine: XHHG4/AEHG4-BUHG3==>
DTHJ6/M2D02-XXHJ1==>XHHH6/XHHH4-XHH9
&
HX4700 WM6.1
0


#22 User is offline   PaSSoA 

  • Enthusiast
  • PipPipPip
  • Group: Members
  • Posts: 280
  • Joined: 21-September 08
  • Devices:Samsung Omnia SGH-i900

Posted 25 October 2008 - 10:04 AM

View PostText, on Oct 25 2008, 15:37, said:

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.


That sounds about right, but there are more files like axplayer, daplayer, saplayer and so on and the registry keys from them are quite a few lines. IF you have an OEM package of FL2.0, then you can compare the files and registry and do the necessary adjustments.

View Postebliss, on Oct 25 2008, 17:30, said:

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.


Sure I will edit it....

View Postebliss, on Oct 25 2008, 17:36, said:

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?


Yup, you can do that, I was just lazy to edit it and was in the habit of creating backup copies before rename and such :D

View Postjga13, on Oct 25 2008, 17:52, said:

Hello all!!

First of all excuse me for my poor english.

I'm french and i'm trying to cook my own ROM which based on H2 french ROM.

I've done all first things to do and now i'm lost.

Where can i find .RGU and packages with NETCF_3.5 flashlight 3.1 ....?

I don't understand what about Visual C++ 2008 ?

I'm a beginner but i'm quickly learner and if i really not understand at finish i will not do this anymore.

Thanks.


Firstly, read up on those subjects, once you are familar with them, then you can try cooking it with this kitchen and if you have any problems with it I'm here to help.

There are many tutorials out there but a good starting point is on the wiki at xda-dev

Have fun :lol:

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.


Posted Image

A dollar or any amount you could spare will be greatly appreciated.
0


#23 User is offline   Reddeer2000 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 37
  • Joined: 05-January 03
  • Devices:Omnia i900 +Touch Diamond

Posted 25 October 2008 - 12:31 PM

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
0


Sponsored Links

Share this topic:


  • 10 Pages +
  • 1
  • 2
  • 3
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users

MoDaCo is part of the MoDaCo.network, © Paul O'Brien 2002-2012. MoDaCo uses IntelliTxt technology. Privacy Policy / Contact Details.

Skin and Language

Sign in here


Sign in options
Log in with Facebook Log in with Twitter   Go to advanced login Register Now!