yashsingh1/xdaforums huggingface dataset:
[P3600 ROM Development] bennec83:
are you using vista or xp?

i have seen this error before, what ROM are you using? can u post the default.hv please?
[P3600 ROM Development] engelolli:
I use Win XP.

and i tried to make some changes on bepes german rom
[P3600 ROM Development] sammy_deluxe:
bepe´s rom is special so try first another Rom to learn cooking.
[P3600 ROM Development] engelolli:
Hm, in one way it is ok, but i can't found Mobile 6 in german for testing to cook :-(

And i don't want an english device :-)
[P3600 ROM Development] sammy_deluxe:
That is very mad so we have to begin cooking our own german rom to have a second german build.

And i want to thank for this brilliant Kitchen and tutorial.
[P3600 ROM Development] bennec83:
If you go to line 121 (from the error you get) there is 2 entrys that are on the same line, they look like this:

[HKEY_CLASSES_ROOT\.jar] "Content Type"="application/java-archive" @="jarfile"

[HKEY_CLASSES_ROOT\.jad] "Content Type"="text/vnd.sun.j2me.app-descriptor" @="jadfile"

They should look like this:

[HKEY_CLASSES_ROOT\.jar] "Content Type"="application/java-archive"

@="jarfile"

[HKEY_CLASSES_ROOT\.jad] "Content Type"="text/vnd.sun.j2me.app-descriptor"

@="jadfile"

Hope this helps.

NOTE YOU WILL HAVE ANOTHER ERROR HERE ;), just a heads up!! :-

[HKEY_CLASSES_ROOT\mp3dfile\Shellex\ContextMenuHandlers\{E88B4A18-6F77-4bb6-8E0D-DCD4B1F8F1DA}]

"DelayLoad"=dword:1 @="Als Klingelton verwenden"

This Should be:

[HKEY_CLASSES_ROOT\mp3dfile\Shellex\ContextMenuHandlers\{E88B4A18-6F77-4bb6-8E0D-DCD4B1F8F1DA}]

@="Als Klingelton verwenden"

"DelayLoad"=dword:1

the "@=..." part goes underneath [HKEY_.... and always on a separate line to "Delay... (or whatever is in the "...")
[P3600 ROM Development] bennec83:
You can cook whatever you want, as long as it is for "PERSONAL" use and you dont post your cooked version, unless you get permission from the original cook!!
[P3600 ROM Development] sammy_deluxe:
so bepe´s rom has a kind of protection. It is not possible to get OEM and SYS folder you only get a dump folder.

Can you tell me how to localize a rom?
[P3600 ROM Development] ervius:
in this kichen you don't have to work with oem a ìnd sys folders.
[P3600 ROM Development] engelolli:
@bennec: thanks for your support and this informations.

will test it tomorrow

@samy: there is no protection. with the cooking book here you can extraxt all infos and all files.

first you "unpack" the romfile from bepe.

and then extraxt it with the tool in this tread.

and edit the dump folder how you want (if it will work @bennec ;) )

i'm on my home pc, so i can't give detailed informations.

i'll do this tomorrow morning if you want?
[P3600 ROM Development] sammy_deluxe:
so when does it make sense to work with oem and sys and when not?

How to localize a rom? Is it so simple to overwrite the existing 0409 files with 0407 files and which files have to be modified?

that is no problem but you can´t make packages like oem and sys folder.
[P3600 ROM Development] bennec83:
everything in this kitchen works, i have successfilly created roms for Trinity & Hermes, the only reasons there have been errors on the thread are as a result of USER error :rolleyes:
[P3600 ROM Development] engelolli:
hm, i didn't change the rgu file, this is the original file of the compilation.

so there is no user error, and i have to fix the conversion-tool error :D
[P3600 ROM Development] engelolli:
It seem not to be the error you told.

i chnaged the whole file and bring line feeds in at every position you told me, without succeed.

always getting this error:

importing registry file ".\boot.rgu"...

InitRegistry FAILED in file ".\boot.rgu" within a few lines of line 1.

BuildBootHive: (RGUComp) !ERROR failed importing ".\boot.rgu"

wmain: (RGUComp) !ERROR failed building BOOT hive

Success

DEFAULT.HV succesfully created

Drücken Sie eine beliebige Taste . . .

so i tried to make a conversion with only a few lines in the boot.rgu for testing:

[HKEY_CLASSES_ROOT\COMImageLib.ScaleTransform.1]

@="ScaleTransform Class"

[HKEY_CLASSES_ROOT\COMImageLib.ScaleTransform.1\CLSID]

@="{88A427A9-D861-473D-BF8C-727518436761}"

[HKEY_CLASSES_ROOT\COMImageLib.ScaleTransform]

@="ScaleTransform Class"

[HKEY_CLASSES_ROOT\COMImageLib.ScaleTransform\CLSID]

@="{88A427A9-D861-473D-BF8C-727518436761}"

[HKEY_CLASSES_ROOT\COMImageLib.AutoCorrectTransform.1]

@="AutoCorrectTransform Class"

but allso with the same error.

any ideas?

Oliver
[P3600 ROM Development] bennec83:
ok Oliver, the clue is here:

" InitRegistry FAILED in file ".\boot.rgu" within a few lines of line 1."

this means that REGEDIT4 and blank line aint in place, I have taken this snippet of code u have posted, put it into an rgu, EDITED it CORRECTLY and converted it into a hv.

please see attachment.

Inside the attachment you will find:

1 x boot.rgu

1 x default.hv

If you look at the boot.RGU, you will find that it has the above code you posted and it has been CORRECTLY edited, also if you convert the default.hv in the attachment to and rgu you will also see that it contains exactly the same information as the rgu (and your above code!!!) just in a different order.

these are USER ERRORS!!! it seems like we are going round in circles, you are adament that it is my kitchen and i am telling you that it is you!!!

you need to understand that this kitchen has been tested so much, not only by me for vista compatability, but these tools i am using have been around for ages, they have been perfected, tested and perfected again.

EVERY COOK uses these tools in some form or another, they just dont have them arranged nicely like we do here, or they have a nice GUI, but it is still all the same tools!!!

with regards to this, if you didnt change the original boot.rgu at all then recompiling it WILL give errors, you need to edit EVERY rgu with specific things. i think you need to re-read the instructions!!!

If i can recompile a boot or user rgu back to a hv file, with no error, using the same thing as you (i only use my kitchen so i aint got other tricks u dnt know about!!) then there is something wrong somewhere in the rgu.

(when people ask questions in this thread, i fix the problems using this kitchen so we are all on the same playing field, otherwise this whole excercise would be pointless!!!)
[P3600 ROM Development] engelolli:
sorry, but what did i wrong, that you shout in this way to me?

i'm a newbe (what every person was in the first time) and asking (i think) normal questions, in a normal way.

it's nice to be importend, but it's more importend to be nice :D

so keep smiling, and don't beating me for my mistakes and my questions.

--------------------

now let's talk about my problem

--------------------

thank's for your help, now i understood what i have to do with this file to get my own small version.

i will aks no more quzestions, so you can go back to the ground and releaxe a little :D

thank's
[P3600 ROM Development] bennec83:
lol dude im not shouting, it is frustrating when i know exactly what you are doing wrong and i cant explain it to you in a way that understand.

to clarify:

1) boot.rgu needs REGEDIT4 and a blank line after it

2) boot.rgu needs blank line at the end

3) boot.rgu needs to be saved as unicode

feel free to ask questions, sometimes instead of blaming the kitchen it is better to stop was you are doing, have a coffee/tea/spliff (watever takes your fancy) and come back to it later!!!;)
[P3600 ROM Development] CWKJ:
Looks like now, the Trinity Community is spoiled with so many choices

See here,

http://xdaforums.com/showthread.php?t=320504

and

http://xdaforums.com/showthread.php?t=316940
[P3600 ROM Development] bennec83:
Edit: Deleted!!!
[P3600 ROM Development] racerx_:
would it be possible to zip these all together and put them on zshare or some other mirror? i can't finish getting the kitchen cause these three sites don't like my country.. keeps saying download limit reached.
[P3600 ROM Development] bennec83:
i can zip the lot together for you, if you tell me where you want it sent to, i dnt really care! if you like i will add the download site you can access to my download links so you can get all the updates.

Im not going to zip it together now and send it coz i was going to do an update and release it tommorrow, so if you send me the address of the site you want it sent over i will happily do that for you.
[P3600 ROM Development] Nelkz:
BOOT.RGU

Hello all...

ok..... im am trying again!! to create my own rom, based on official dopodwm6

when i put the default.hv through the default.hv-boot.rgu.bat

the text that comes out in the boot.rgu has so many @="what ever" in the wrong place..its a couple of hours work to tidy these up...is this right for it to be this messy even before you have added your apps of choice??

if so I dont think i have the patience to keep hitting return/copy/paste for all these entries... HELP!!!
[P3600 ROM Development] bennec83:
it is hit and miss in my experience!! i used one of sleuthes the other day and i didnt get one error!! i have used other that have taked ages to sort out!!

does anyone know if there is an app out there that can sort this out? i would like to include it in the next release of the kitchen!!
[P3600 ROM Development] Nelkz:
I have decided

That after another few hours of trying to build a rom using all the methods and instructions I cant be bothered...the information in this forum is hard to find and instructions are hard to understand...

Thanks for trying guys

I just dont have the patience and time to keep messing this up and starting from scratch..

I will just sit back and let the rest of the chefs do the cooking...
[P3600 ROM Development] bennec83:
post the files you cant sort and ill have a look. its not usually that hard.
[P3600 ROM Development] Nelkz:
thanks for the offer bennec83 but i have lost interest in cooking my own rom.....at least for today anyway....

thanks again

nelkz
[P3600 ROM Development] bennec83:
lol, but you will be interested again tommorrow, so send me the files then i can look in advance and help you faster!!
[P3600 ROM Development] Nelkz:
all I have used is the oem apps in the kitchen and dopodwm6 sea as base rom

as I have posted recently, all the text editing for the boot.rgu has killed of my interest...5th time i have tried this way...im going to be cheeky and try another kitchen 2moro just ! to see.....thanks for your offers of help though..
[P3600 ROM Development] tonio94:
Hi bennec,

Thank you so much for your great work.

Thanks to your very clear explanations, it's very easy to use but I probably missed a point :

The cooking process go very well, I upgrade my Trinity and everything works great but :

- When I launch one of my app, I got a warning message saying that the program is from an unknown publisher and asking me if I want to continue

- I cannot install any cab file

- I cannot copy a file from the PC to the PPC

- I cannot copy a file from the PPC to the PC

It looks like a security issue or something like that but I cannot find what I did wrong.

I use an Indigo Lite rom and I only add a few apps like wm5storage to the rom, I deleted nothing from it
[P3600 ROM Development] bennec83:
Im not sure about this one, the only thing i have had suggested to my is that you have done something wrong with the Root certificates.

How to fix reinstall them, how you do this i dont know. i will research it, i have never come accross this before!!
[P3600 ROM Development] tonio94:
In fact I have this issue with every roms I tested (2-3).

I made some tests with a kitchen for hermes and it worked well (no issue at all) with the same roms.

There's a size difference between the rom made this way (bigger) and the one made with your kitchen (smaller).

In the other kitchen, there's a step where I need to extract the XIP. It doesn't seems to be the case in your instructions. Why and could it come from this ?
[P3600 ROM Development] bennec83:
Basically this kitchen is not the 100% best way to cook, by no means is it incorrect and it does work 100% of the time (moreso than some of the GUI kitchens which can throw up errors on duplicate files, this method cant) , but it is the most effective way of teaching someone how to cook and what goes on through out the process.

Using this method you dump the OS.nb and DIRECTLY edit the dump of the OS, replacing fales as you need editing things where you want, then it is recompiled and ready to flash.

Using other methods (most are based on bepe kitchen) you need to prepair the OS so it is in a format compatible with the kitchen, so for this you need to have the OEM, SYS, XIP & OS.nb extracted from your ROM in order to cook it. These are called GUI Kitchens.

I think the size difference could be caused by the was the GUI kitchens has the packages ordered, it has a larger more ordered filing system so it could possible be due to this.

It most be noted that both cooking styled will give the same result, if they are used properly, GUI Kitchen is faster, but you learn nothing about what you are doing, which is the whole point of this kitchen.
[P3600 ROM Development] tonio94:
Understood for the XIP and the other stuff. I will try to do it again step by step (and wait for sb to get the same errors than me :D).

I understood the learning purpose of your kitchen and that's why I wan't to succeed in using it :-)

I must admit that even with errors, I know today much more about cooking than two days ago thanks to your kitchen and it's thanks to it that got the hermes cooking work on my trinity so thank you again for your work
[P3600 ROM Development] chuti98:
how can I change the language in ROM or put more rigion in the ROM
[P3600 ROM Development] bennec83:
No Problem, this kitchen is hard to work with but i have created the instructions in the best way i could think of teaching someone how to cook!!

any more questions please ask!
[P3600 ROM Development] bennec83:
What is rigion?

also to change the language you either need to translate the initflashfiles.dat and some of the mui files or get a rom that is already in the language you want decmpile it and put it into the kitchen, that wat the translation is already done!!

bennec83
[P3600 ROM Development] chuti98:
thai language all I want to is english interface but can read and write thai language, so how can i do including put some more switch on keyboard to use thai also.. where to start including take off or put more some program in the rom.. sorry if I need o know more because can't find and description for that and how to do in detail..thanks
[P3600 ROM Development] bennec83:
OK, for the keyboard in Thai you need to find a thai version of the msim.96.dll.0409.mui (or translate it). But i think this will only translate the soft keyboard.

Another option you have for your keyboard problem is to try Thai - G. This is a piece of software for Thai Keyboard and dictionary, Website Here also i have included one that SOMEONE else has posted as working Here (also attached to post), i have never used it as i cant spk thai (other thank what i learn from thai boxing!!)

Second, this is an educational kitchen, so doing the things you want to do with the language, beginners DO NOT usually want to do things like this(to my knowledge you are the first person who has asked for this, and it is a very odd request!!)

Lastly most of the manual is about how to add and remove programs from your ROM!! Which part are you having a problem with i cant give u a tutorial here from start to finish, thats why i wrote the manual so that when you got stuck on a section you could reference the section number so i now where your stuck.

WHats the section you are stuck with?

bennec83
[P3600 ROM Development] engelolli:
Some little question:

i want to add some string to the default.hv (boot.rgu) file

but how can i add some " to the registry?

for example the entry in the registry must be:

"\Programme\Total Commander\cecmd.exe" "%1"

hopefully you can help me.

Oliver
[P3600 ROM Development] bennec83:
I have no idea what you are getting at!!

Sorry, can you explain more?
[P3600 ROM Development] engelolli:
I want to make an Reg entry within " Symbol

like

"\Programme\Total Commander\cecmd.exe" "%1"

To add this in the boot.rgu i trieded this:

[HKEY_CLASSES_ROOT\ZIPArchive\Shell\Open\Command]

@="\"\Programme\Total Commander\cecmd.exe\" \"%1\""

But get some errors durng conversion from line 9:

REGEDIT4

[HKEY_CLASSES_ROOT\.ZIP]

@="ZIPArchive"

[HKEY_CLASSES_ROOT\ZIPArchive]

@="ZIP Archive"

[HKEY_CLASSES_ROOT\ZIPArchive\Shell\Open\Command]

@="\"\Programme\Total Commander\cecmd.exe\" \"%1\""

[HKEY_CLASSES_ROOT\ZIPArchive\DefaultIcon]

@="\Programme\Total Commander\cecmd.exe,-102"

[HKEY_CLASSES_ROOT\.TCFOLDER]

@="tcfolder"

[HKEY_CLASSES_ROOT\tcfolder]

@="Total Commander Folder"

[HKEY_CLASSES_ROOT\tcfolder\DefaultIcon]

@="\Programme\Total Commander\cecmd.exe,-105"

[HKEY_LOCAL_MACHINE\SOFTWARE\Apps\C. Ghisler & Co. Deutsch for Total Commander]

"InstallDir"="\Programme\Total Commander"

[HKEY_LOCAL_MACHINE\SOFTWARE\Apps\C. Ghisler & Co. Deutsch for Total Commander]

"Instl"=dword:1

[HKEY_LOCAL_MACHINE\SOFTWARE\Apps\C. Ghisler & Co. Deutsch for Total Commander]

"InstlDir"="\Programme\Total Commander"

[HKEY_LOCAL_MACHINE\SOFTWARE\Apps\C. Ghisler & Co. Total Commander]

"InstallDir"="\Programme\Total Commander"

[HKEY_LOCAL_MACHINE\SOFTWARE\Apps\C. Ghisler & Co. Total Commander]

"Instl"=dword:1

[HKEY_LOCAL_MACHINE\SOFTWARE\Apps\C. Ghisler & Co. Total Commander]

"InstlDir"="\Programme\Total Commander"
[P3600 ROM Development] bennec83:
Why What Is it for?

I dont know what you are trying to do but i know that is wrong!!

PLEASE NOTE THAT THE NUMBERS I HAVE ADDED AER NOT SUPPOSED TO BE IN THE REGISTRY, I HAVE JUST ADDED THEM SO IT IS EASIER FOR YOU TO SEE!!

You are told you have an error from line 9, if you look, the error is generated by that \"%1\"" you have added.

Firstly \"%1\"" i can tell you now that this is incorrect for anything!!! double quotes?

What exactly are you trying to achieve with this reg entry? (I still dont understand what you are trying to do, when i do i will probably be able to help you more!!)
[P3600 ROM Development] engelolli:
Hi,

ok once again .. i think this is an english problem and want to thank you for your help :D

1.

this is a tool like the file explorer, earlier known as the norton commander.

2.

i want to integrate this in my rom, that it will be installed after a reinstall of my trinity.

3.

a.

the origial entry in the registry is:

[HKCR\ZIPArchive\Shell\Open\Command]

Default="Programme\Total Commander\cecmd.exe" "%1"

and now i want to bring this in the default.hv file (boot.rgu)

that the system make this entry during installation of my device.

b.

if i nwo wite in boot.rgu:

[HKEY_CLASSES_ROOT\ZIPArchive\Shell\Open\Command]

@="Programme\Total Commander\cecmd.exe"

i have the following in the default entry:

Programme\Total Commander\cecmd.exe

c.

if i write this:

[HKEY_CLASSES_ROOT\ZIPArchive\Shell\Open\Command]

@="Programme\Total Commander\cecmd.exe %1"

i have this entry in my registry:

Programme\Total Commander\cecmd.exe %1

But i need:

"Programme\Total Commander\cecmd.exe" "%1"

in the registry.

how i have to write it in the boot.rgu that the system will insert the entry like my last?

thanks for your time to read this :)

Oliver

EDIT:

The double " is no Problem, cause it is in the boot.rgu and works on an other position:

[HKEY_CLASSES_ROOT\mp3dfile\Shell\DRMOpen\Command]

@="WMPlayer.exe \"%1\""

I think tehe Problem is here:

[HKEY_CLASSES_ROOT\ZIPArchive\Shell\Open\Command]

Is it, because this Folder not exsist in the registry and i want to add this?
[P3600 ROM Development] tonio94:
" as \ are special characters, I think you must put \ before them if you want them to appear as the character and not as its special usage

try :

[HKEY_CLASSES_ROOT\ZIPArchive\Shell\Open\Command]

@="\"Programme\\Total Commander\\cecmd.exe\" \"%1\""
[P3600 ROM Development] engelolli:
@tonio: that's it

the double backslashes will work

[HKEY_CLASSES_ROOT\ZIPArchive\Shell\Open\Command]

@="\"\\Programme\\Total Commander\\cecmd.exe\" \"%1\""

This works. *wallbash*

Thanks for your time and help in this forum :-)
[P3600 ROM Development] chuti98:
what about in region choosing if I wanna have thai in there how can i do? this is the point to have thai language thaks
[P3600 ROM Development] Zinchux:
This is great! I need to try making my own ROM, as none is to my liking :)

Thank You very much!
[P3600 ROM Development] andrew_green:
XIP

Sorry if this has been addressed already.

Right I'm getting to grips with this (trying to make it work for Artemis at the same time).

I have but one remaining issue - what do I need to do (if anything) about XIP? There's a routine in advanced tools for this, but no mention in "How to Cook" about whether or not it is used.

Any pointers gratefully received.

Thanks in advance.
[P3600 ROM Development] bennec83:
using this method you directly edit the dump folder so there is no need for OEM SYS and XIP folders

happy cooking
[P3600 ROM Development] andrew_green:
ROMDonalds Kitchen - XIP

Thank you, Sir...I'm off and running now!

(So why the football hatred?)
[P3600 ROM Development] andrew_green:
Registry Editing

Hello All,

What's the most effective way to tweak the registry when cooking a ROM? I don't mean adding packages, but simply editing the contents of the base hives, without having to edit the whole blooming thing.....

From what I can see, it could be either a standalone rgu file or an xml script - but I don't know what effect these have (if any) upon the boot sequence.

Could somebody please give me a few pointers?

Thanks in advance,

Andrew
[P3600 ROM Development] banzro:
IPL in dutty's nbh tool

Hello

What is IPL and where can I find IPL for Trinity?

Pleas some help/information about!

Roman
[P3600 ROM Development] armando975:
whit bepe's tools is more easy but i can't modify a rom like luigi.ing 3.37 ..... whit this yes ....soo if whit those tools we can modify all type of rom's i think is better no ? bye
[P3600 ROM Development] bennec83:
Just to clear somethign up, bepe's tools are the best/fastest way to create a ROM, but it is not garenteed to work (decompiling issues RUG issues etc).

Using this method you can edit anything you want including Black ROMS.

point 2, this method is also slower and requires more attention, but if it is done correctly it will give you smaller ROM sizes
[P3600 ROM Development] bennec83:
DIFFERENCE WITH BEPE TOOLS:

1: This is not an automatic kitchen

2: Requires User Input

3: Designed to help the user understand the processes

4: Can decompile ANY ROM

5: Can COOK ANY ROM

6: Doesnot use OEM, SYS, XIP folders

7: Manually edit the DUMP folder (No File dups through the "BuildOS.exe" used in so many of the kitchens)
[P3600 ROM Development] Guybrush:
your manual is helpful to understand how work these tools... how to dump a ROM, how to edit an .hv, how to extract files from a nbh and so on but this is not the best way to cook a rom, doing that you not respect real rom structure, the map files of dsm. It's a dirty way to cook a ROM, but I think for people want to learn is a good starting point but the best way to cook a ROM is using Bepe Kitchen. My suggest is first learn how these tools works than use Bepe kitchen to cook ROMs.

My 2 cent.
[P3600 ROM Development] bennec83:
Do you know something, that is the exact point of what i have done and you seem to be the only one who has caught onto what i was doing!!

But is has to be said this so called "Dirty" Method, you can cook anything!! with no limit!! (i agree it is not nicely structured, but when it is done correctly it is very effective)
[P3600 ROM Development] Guybrush:
It's dirty because you don't respect structure of the ROM signed in DSM files ;) that's why it's a DIRTY method... because It works but it's not correct, If you add a file that is not on DSM map, it will be out the real structure of the ROM, Bepe Kitchen do that for you. see you
[P3600 ROM Development] karmba_a:
While install any CAB file shows Letter Want to install the file or not.

How to Make prove CAB file without the emergence of this letter

How Disable security warning Masge