yashsingh1/xdaforums huggingface dataset:
[8525, TyTN, MDA Vario II, JasJam ROM Development] licht77:
Hi anichillus!

I got one question... when trying to rebuild Schaps excellent ROM (3.30c) for testing and going step by step after your tutorial - i get an error when running buildOS:

Error last status: "Creating registry..." and a popup telling me that the system cant find a file.

I am very sure that i followed your instructions step by step and tried several times... - any idea how to solve that registry creation problem?
[8525, TyTN, MDA Vario II, JasJam ROM Development] shafez:
I have been working hard on creating packages to be used with Core Kitchen or Pandora Kitchen.

I was not successful so far, Always get an error creating hv.

Could someone please inspect this package i made for Adobe Flash Player Lite and point to me where is my mistake.

Thanks and regards
[8525, TyTN, MDA Vario II, JasJam ROM Development] sambartle:
I'll have to check in windows to be sure (im using a linux pc at the minute) but the file looks ok to me.. is it saved in unicode?

edit: See my post 3 or 4 down for a better explanation of this

Oh and one other thing.. you need to manually change %InstallDir% to where the files will be copie..d as only the cab setup program can make sense of that.. If you arent moving the files with initflashfiles then it will just be \windows in place of %InstallDir%

I'll have a proper check when im back at home on a pc with the kitchen.
[8525, TyTN, MDA Vario II, JasJam ROM Development] sambartle:
Ive been away from home since last week so didnt get a chance to do it.. Im looking now and will probably upload something tomorrow... for now ive thought of another way to do it that works but is a bit messy..

Create a ROM as described in the doc but dont flash it.. instead put that new RUU_Signed.nbh into the kitchen again.. and dump it.. after dumping it quit with option 3.. dont move os.nb or start the package tool..

Then use the options to convert .hv to .rgu in the extract folder of the kitchen, edit the files (following the rules of course) and reconvert them again (the files will be in th eproper locations so you can just use option 1 each time in the conversion batch files)

After doing that use option 5. BuildROM in the extract folder.. it skips a load of steps and recreates a ROM from the dump directly.. (you dont get to do packages etc..that why you should do that first as usual)

That ROM will have the hv files edited properly :)

I've tested this and it works perfectly.. just a bit of a hassle as it means running the rom through twice..
[8525, TyTN, MDA Vario II, JasJam ROM Development] crazyC:
Cheers

Will try and head back to the kitchen soon.
[8525, TyTN, MDA Vario II, JasJam ROM Development] princeasi:
The "Hv error" is in your rgu file! this is what you do: install task manager on your ppc or any other reg edit program, and rip the reg keys from your ppc, dont copy and paste from cab analizer, because for some reason cab analizer restructures the reg key data that will not work in an rgu file, if you need more info on this, find my post somewhere in this thread where i describe this method in more detail.
[8525, TyTN, MDA Vario II, JasJam ROM Development] sambartle:
This is how to do what you wanted in that RGU:

REGEDIT4
[HKEY_CLASSES_ROOT\ShockwaveFlash.ShockwaveFlash\shell\open\command]
@="\"\\Windows\\saplaywm.exe\" \"%1\""

[HKEY_CURRENT_USER\Software\Adobe\FlashLite\URL]
"Path"="http://www.adobe.com"

[HKEY_CLASSES_ROOT\ShockwaveFlash.ShockwaveFlash\DefaultIcon]
@="\\windows\\saplaywm.exe,125"

[HKEY_CLASSES_ROOT\.swf]
@="ShockwaveFlash.ShockwaveFlash"
"ContentType"="application/x-shockwave-flash"

Make sure theres a Return after that last line to leave a blank line under it, and save as UNICODE.

You need to use @= for the default keys not ""

You need to escape (with a \ ) any " charactors - its messy i know but it will work.

eg..

@="\"\\Windows\\saplaywm.exe\" \"%1\""

Is saying: ""="\Windows\saplaywm" %1 which is what you were trying to acheive..

you also have to double backslash all folder seperators like this: windows\\saplaywm

the code above compiles to hv fine :)
[8525, TyTN, MDA Vario II, JasJam ROM Development] sambartle:
Ok as promised heres v3 of the guide.. not as many improvements as id have liked due to real life time constraints.. (its a minor update but worth it all the while i think)

v4 will be a big improvement hopefully, just may take a while to get done.. then again if some time opens up it could be faster. :)

hopefully this will help someone..

princeasi I hope you dont mind but I linked to your post in this thread in the doc showing an easy way to make rgu's (i gave you full credit :) )
[8525, TyTN, MDA Vario II, JasJam ROM Development] anichillus:
Hi guys...

I hope the kitchen will be ready in next few days. I am not at home and sorry if i don't answer all your questions now...cos i can't

It took longer than i expected...it's not finished yet and the part where people create they're own settings for specifficaly device aren't that easy :(

I was hopeing that i won't have to implement each device but looks like it's not as easy as i would of wanted it.

That's not a Hermes problem but still i will release it as a full kitchen for use with all HTC devices...but that will come with time ... for now only Hermes, Wiza and Artemis :(

I did this on my hollyday so please don't hate me because i couldn't finish it in time... :o

Cheers, sambartle will let you know with changes and how's the kitchen working as soon as i can say it's finished and upload it
[8525, TyTN, MDA Vario II, JasJam ROM Development] princeasi:
No prob, whatever i can do to help the community. I thank you for your efforts!
[8525, TyTN, MDA Vario II, JasJam ROM Development] princeasi:
Im very much looking forward to ur new kitchen, u did well with the 1st one!
[8525, TyTN, MDA Vario II, JasJam ROM Development] anichillus:
HyperCore

The new Core "Kitchen" is under testing. I am waiting for reports and then you shall have it.

Get ready for "HyperCore" :P
[8525, TyTN, MDA Vario II, JasJam ROM Development] princeasi:
Hey anichillus, I get this error"java.lang.NoClassDefFoundError" when trying to use the initflasfiles gen, can you lend any insight on this???
[8525, TyTN, MDA Vario II, JasJam ROM Development] licht77:
Still the same problem with Schaps new ROM... - is there a new version of your kitchen avaliable i could try?
[8525, TyTN, MDA Vario II, JasJam ROM Development] anichillus:
HyperCore Kitchen

HyperCore​

It will install :

Core folder on the system drive. Some tools and settings required.

HyperCore folder on the Desktop. There is your kitchen. You can move it wherever you want. Check the HyperCore\Panel.

How To :

- First of all edit the file named "Device.txt" located on the "Core\ACK\" folder located on systemdrive (mostly drive C:\)

EDIT: if you have a

HTC Wizard : " set device=Wizard "

HTC Hermes : " set device=hermes "

HTC Artemis : " set device=Artemis "

Save it and then you're good to go.

It's much similar to the old Core kitchen...so those of you who used it ...will feel comfortable with it. Regenerated batch scripts, better, and i hope bug free.

Feel free to report.

Download : HERE

What file ?
[8525, TyTN, MDA Vario II, JasJam ROM Development] its right:
can we use this for many of devices?? just rename the device.txt file with the name of device (and ofcourse changing the kitchen folders sys, oem, ..) ??

because the older one we have to remove all the kitchen which is in C:\Core , then install it again for the other device, which take a lot of time.

i like your very simple kitchen bro ;)
[8525, TyTN, MDA Vario II, JasJam ROM Development] anichillus:
Yes, just change the Device.txt accordingly to your device.

Like i said...this version only works for hermes, Wizard and Artemis.

I will try and make settings for Prophet and Herald by later today or tomorrow.

Cheers !
[8525, TyTN, MDA Vario II, JasJam ROM Development] its right:
thanks bro :D
[8525, TyTN, MDA Vario II, JasJam ROM Development] anichillus:
no reviews yet ? :(
[8525, TyTN, MDA Vario II, JasJam ROM Development] MarsRover:
thanx,downloading..... just kidding :)

it's working, the only problem I had was I changed device to "Hermes" and not "hermes" so nbsplit didn't work.

great job
[8525, TyTN, MDA Vario II, JasJam ROM Development] anichillus:
Yes :o i forgot to add that detail .

Hermes is only one which doesn't work with first letter capital. But I will fix that.
[8525, TyTN, MDA Vario II, JasJam ROM Development] MarsRover:
I have a couple of general questions

1) Do we need rgu files in ROM? I deleted all of them after BuildOS and it runs fine. IMHO the only reason to leave them there is for dumping OS.nb again, which I don't need.

2) I need to cook some really-read-only file into the rom, e.g. the file file that can not be modified/deleted by any means. Is it a good idea to put it in the XIP section? is it safe?
[8525, TyTN, MDA Vario II, JasJam ROM Development] chunkymonkey:
1) once buildos is done you shouldn't need them, though you will want them in if you ever want to pick the ROM back apart again.

2) the files you put in the ROM will be readonly anyway, though any created on bootup like extra start menu shortcuts won't be.

How to make any files created by initflash files be read-only or hidden I'd also like to know as I like to put some read-only and hidden shortcuts in start menu for things like psShutXp (I have a 'Shut Down' shortcut like desktop windows in the start menu so I keep the 'Shutdown' and 'Display Switch' shortcuts it creates in Programs every time invisible and read-only. I have to do that manually every HR though.
[8525, TyTN, MDA Vario II, JasJam ROM Development] MarsRover:
My file resides in Windows directory so it's not the case. True, it cannot be deleted, but it can be modified, even if RO SYS and HIDDEN attributes are set. The modified file is created in storage memory and has the same name, and the original ROM file is "hidden" (and if you look at its attributes in total commander, it's no longer "ROM file"). Some kind of "copy-on-write" mechanism. When you "delete" the modified file it just reverts to the original ROM file.

Is the same true for XIP section of ROM? I guess I'll have to check and find out :cool:
[8525, TyTN, MDA Vario II, JasJam ROM Development] hma4:
Where should I start ? What should i read ?

Hello Anichillus,

I never cooked a rom before , but I'm tired of waiting for a perfect rom. so I want to cook my own rom for my PROPHET. first of all is it a right place to start cooking ? I mean using your kitchen. or do i have to read wiki or another threat to grasp the basics of cookings :) also can you make the settings for prophet ? :)

Thank you :D
[8525, TyTN, MDA Vario II, JasJam ROM Development] anichillus:
Yes, i just talked with nandlal_mk and it will be possible. Settings are quite similar to the Wizard.

Tomorrow i will release the full HyperCore kitchen. For now...i got to go to sleep :o
[8525, TyTN, MDA Vario II, JasJam ROM Development] anichillus:
HyperCore

PUBLIC BETA​

It will install :

Core folder on the system drive. Some tools and settings required.

HyperCore folder on the Desktop. There is your kitchen. You can move it wherever you want.

The place where you actually use it is HyperCore\Panel.

How To :

- First of all edit the file named "Device.txt" located on the "Core\ACK\" folder located on systemdrive (mostly drive C:\)

Edit as following.

If you have a :

Save it and then you're good to go.

It's much similar to the old Core kitchen...so those of you who used it ...will feel comfortable with it. Regenerated batch scripts, better, and i hope bug free.

Since this is still a public BETA, I await your problems/ideas/concepts.

If you spot a bug, i suggest to send me a PM as well as a post on the thread.

Download :

RapidShare
[8525, TyTN, MDA Vario II, JasJam ROM Development] anichillus:
No reviews ? :(

It's mentioned to have a little bug with Windows Vista.

In the batch files , instead :

"cd ../../" there is "cd /../../" :o

If you have vista, please edit the batch files. I will fix this in my next version.
[8525, TyTN, MDA Vario II, JasJam ROM Development] crazyC:
Been away, and have lots to do in the real world now as well. Did have a quick play and got a little confused by the seemingly slightly tweaked new layout / folder setup.

Will come back to it but need a bit of time. Also, any news re Sambartle V4.0?
[8525, TyTN, MDA Vario II, JasJam ROM Development] austinsnyc:
Any word on the Vista fix? Looks very good just like to have it perfect out of the box
[8525, TyTN, MDA Vario II, JasJam ROM Development] :
why topic is unstickied?
[8525, TyTN, MDA Vario II, JasJam ROM Development] :
Device: Prophet

sorry everybody...nuub question here...

i read that the first step is DumpROM..and the DumpROM wants an nk.nbf..

say if i want to use the PV_4.0.0.0.6_Touch for base rom:

I've downloaded the ROM and I've extracted the rar file but i couldn't find nk.nbf in the folder?

the folder contains:

ExtRom (folder)

CeCompr_NT.dll

CeCopy.exe

CeReg400.dll

Cert_SPCS.cab

CeRun.exe

ClAttrib.exe

EnableRapi.cab

ExtUnlock.exe

ItsUtils.dll

OS.nb

PDel.exe

PdocRead.exe

PdocWrite.exe

PPut.exe

RoAttrib.exe

Sleep4.exe

Upgrade_ROM.bat

what should i do to get the nk.nbf? should i do a ROM Dump from my device using TeraTermPro?

if so, once the ROM is in my SD card, what should i do next?

Thanks everybody!
[8525, TyTN, MDA Vario II, JasJam ROM Development] etreby71:
Ok so I tried this Kitchen to dump the latest Schapes 3.6a full ROM for my softbank.

The dump was fine.

I think the problem starts when I go into the PKG tools. Choosing build packages created 2 folders OEM and SYS.

The problem is that the OEM folder only contains the following 3 folders

1 - LangDB

2 - OEM DPI 96

3 - OEM CERTIFICATE

The SYS folder however contains the rest of the files.

I dont believe this is normal since such programs like windows live messenger should be in OEM not in sys.

Am I doing something wrong here?
[8525, TyTN, MDA Vario II, JasJam ROM Development] etreby71:
Bump.

Anyone care to reply to my previous post about the schaps rom and the oem/sys folders.!!!1
[8525, TyTN, MDA Vario II, JasJam ROM Development] anichillus:
That's the way the Chef wanted it. Maybe some people are getting tired to see they're rom stolen, renamed and posted...so...it figures.

Make sure that you have the .rgu files. If you don't have those...you won't be able to cook it in the normal way.

About Vista fix...sorry...no can't do.

I have very important exam in a week...so **** i have to learn :mad:

It's easy man...Go to SytemDrive (C: ) \Core\Batch ...open every .bat file with notepad and search for "cd /" ...where you see that...delete the slash

Not rocket science ;)
[8525, TyTN, MDA Vario II, JasJam ROM Development] pvs:
Hi anichillus,

First, again, I'd like to thank you for all your work putting this together. I tried it tonight, and I'm sorry to say it's not working for me...

As instructed, I placed an RUU_signed.nhb file into the directory at C:\Core\HyperCore\Extract\Source. Then went to look for the Dump Rom Icon. But it seems I do not have a DumpRom icon in the EXTRACT panel (or anywhere that I could find), so I simply used the DUMP_ROM.bat file.

After pressing ENTER to clean the extract folder, it simply tells me that I don't have the RUU_signed.nbh file in Core\Extract\Source. I have also tried placing the nbh file into C:\Documents and Settings\pvs\Desktop\HyperCore\Extract\Source, which I navigate to by clicking the Extract Icon, and then the Source folder ... still no go.

I have tried this both before and after editing the BATch files to remove the preceeding "\", (I'm on WinXP Pro, BTW) but I get similar results either way. I tried reinstalling, to no avail. I've also tried "Hermes" AND "hermes" as the device name in DEVICE.TXT ... no diff :(

Seems to be a problem (maybe ... I haven't examined the BATches), where the folders for EXTRACT are actually in C:\Core\

HyperCore\

Extract\Source, and the program, after cleaning junk, is looking at C:\Core\Extract\Source (No "Hypercore" branch).

Oh well, it's after midnight here, and it's been a long week, so I'm gonna pack it in for the night. But I hope you can find a solution for me at some point. Maybe if I have time tomorrow, I'll try to look at the batch file and figure it out.

Best regards,

-pvs

[EDIT] Never mind, I found that Dump Rom Icon, and it is working fine. It's a bit hard to find ... but I got it. Thanks again, sir.[/EDIT]
[8525, TyTN, MDA Vario II, JasJam ROM Development] Spiderm@n_:
Ok, I've got a problem, and I don't know where the problem is. The DumpRom batch file can't find RUU_Signed.nbh. No matter where I put it. I don't know if the problem's in Vista (I kind of doubt that), or somwhere else. Any suggestions.

P.S. It's not the "device.txt".

//Edit

Ok, I new I had to read all posts before posting. Problem solved.

The attachment contains the edited Batch files, you can call it a Vista Patch if you want, but I just did what the creator said. Also it can save you some time, you can use to cook. :):):)
[8525, TyTN, MDA Vario II, JasJam ROM Development] rmsa786:
Reason why the initflashfile generator doesn't work is coz the generator.bat file points to the wrong place for the cab analiser.exe. I corrected this but now the cab analiser doesn't close. I close it manually and I still get a blank initflashfile.txt with default text (blank).
[8525, TyTN, MDA Vario II, JasJam ROM Development] Spiderm@n_:
I've made this correction too, it's already included in the .ZIP file I've posted :).

Ok, Any ideas how to remove thing from the official ROM, because there are many tings that I don't want, but when I loook in the folders I don't see any software, exept the one I need, like Camera soft etc.
[8525, TyTN, MDA Vario II, JasJam ROM Development] Spiderm@n_:
Yep, read the CookBook.

Ok, I've got a problem :(. See screenshot for details :).
[8525, TyTN, MDA Vario II, JasJam ROM Development] princeasi:
thanks for the info but actually i found out that that error came from me not having a java manager installed on my pc, but yes i did also notice that the cab analizer wouldnt open up, but i would just open it manually and everything went fine after that, but to fix your problem, dont close any windows until after the process in finished, and the initflashfile should generate. Also I think i found a bug with this kitchen. Its seems after creating the new .nbh file, I would go and try to flash it, and the kitchen would end up flashing an previously created .nbh file instead of the newly created one! Thats usually results with me having to create the .nbh file twice before flashing the correct one! So i developed a work around, which i would have to make sure i delet the old os.nb file before building the os, and after saving the nbh file to the desktop, I would cut and paste that file into a differnet RUwrapper!
[8525, TyTN, MDA Vario II, JasJam ROM Development] rmsa786:
^ hmmm but if I dont close the window it just stays there.. :confused:
[8525, TyTN, MDA Vario II, JasJam ROM Development] pvs:
Confirmed here, princeasi. I saw the same thing. Deleting old os.nb's seems to help. I run the included hermes RUU manually after nbhtool, seems to help, too.

-pvs
[8525, TyTN, MDA Vario II, JasJam ROM Development] Spiderm@n_:
Damn, no one want so help me :(:(:(.
[8525, TyTN, MDA Vario II, JasJam ROM Development] anichillus:
You should check on lower bar of PKG Tool. It says there the error.

I guess you have an invalid .rgu file .

You can also check the log.txt located in HyperCore\Build\temp that's created after you run the PKG Tool.

Regarding the error with flashing the old RUU_Signed.nbh .. you sure ? It's made that manner as it deletes the Old_RUU_Singned.nbh , renames the .nbh there into OLD_RUU_Signed.nbh and after that it moves there the RUU_Signed.nbh that should be on the desktop . Please re-check :confused:
[8525, TyTN, MDA Vario II, JasJam ROM Development] princeasi:
lol what i mean is, dont dont worry about closing the windows, just continue with the steps, and close all windows after the steps are completed!
[8525, TyTN, MDA Vario II, JasJam ROM Development] princeasi:
Yes i did notice that it renames to "Old" but for some reason its still ends up flashing the previously created nbh. Honestly, I dont think its flashing The "Old" nbh file, I think the error is coming from the "os.nb" part. I Think if you dont manually delete the "os.nb" file, then the file is not being updated correctly, but ill try to do further testing and report!
[8525, TyTN, MDA Vario II, JasJam ROM Development] pvs:
Again, this is what I'm seeing, too, anichillus. A new OS.nb is definitely created and dropped into the RUU Folder ... but the changes I make to the ROM are not flashed the first time. I repeated this process four or five times while I was playing with HyperCore last weekend. Until princeasi spoke up, I just thought it was something I was doing wrong. But what he's writing is exactly what was happening to me.

As for testing further ... I'm sorry, but I don't get to play like this very often (much to my chagrin). So with the phone newly loaded with the 40 or so apps I use daily, and fully configured, I really can't start flashing again to test further right now.

FWIW, I hope this helps,

-pvs
[8525, TyTN, MDA Vario II, JasJam ROM Development] Spiderm@n_:
There 3 missing .dsm files, the same are missing in the Schap's ROM too, that's the original ROM. I'll put the log here later then :).
[8525, TyTN, MDA Vario II, JasJam ROM Development] anichillus:
uups...i did a mistake...not PKG Tool, but BuildOS :o
[8525, TyTN, MDA Vario II, JasJam ROM Development] Spiderm@n_:
Ok, I'll see, but if I'm not wrong, there were no usefull info (atleast for me) :).

//Edit

Ok, no info except this message.

But I found where the problem is, but I can't find what the problem is. Here are two .RGU files:

REGEDIT4
[HKEY_LOCAL_MACHINE\Comm\Afd]
"DgramBuffer"=dword:0000000A

[HKEY_CLASSES_ROOT\.rm]
""="RealPlayer.RM.6"
"Content Type"="application/vnd.rn-realmedia"

[HKEY_CLASSES_ROOT\RealPlayer.RM.6\DefaultIcon]
""="\\Program Files\\RealNetworks\\realplayer.exe,0"

[HKEY_CLASSES_ROOT\RealPlayer.RM.6\shell\open\command]
""="\\Program Files\\RealNetworks\\realplayer.exe" "%1"

[HKEY_CLASSES_ROOT\RealPlayer.RM.6]
"EditFlags"=dword:00010000
""="RealPlayer Media Files"

[HKEY_CLASSES_ROOT\.ram]
""="RealPlayer.RAM.6"
"Content Type"="audio/x-pn-realaudio"

[HKEY_CLASSES_ROOT\RealPlayer.RAM.6\DefaultIcon]
""="\\Program Files\\RealNetworks\\realplayer.exe,0"

[HKEY_CLASSES_ROOT\RealPlayer.RAM.6\shell\open\command]
""="\\Program Files\\RealNetworks\\realplayer.exe" "%1"

[HKEY_CLASSES_ROOT\RealPlayer.RAM.6]
"EditFlags"=dword:00010000
""="RealPlayer Media Files"

[HKEY_CLASSES_ROOT\.ra]
""="RealPlayer.RA.6"
"Content Type"="audio/vnd.rn-realaudio"

[HKEY_CLASSES_ROOT\RealPlayer.RA.6\DefaultIcon]
""="\\Program Files\\RealNetworks\\realplayer.exe,0"

[HKEY_CLASSES_ROOT\RealPlayer.RA.6\shell\open\command]
""="\\Program Files\\RealNetworks\\realplayer.exe" "%1"

[HKEY_CLASSES_ROOT\RealPlayer.RA.6]
"EditFlags"=dword:00010000
""="RealPlayer Media Files"

[HKEY_CLASSES_ROOT\.rmj]
""="RealPlayer.RMJ.6"
"Content Type"="application/vnd.rn-realsystem-rmj"

[HKEY_CLASSES_ROOT\RealPlayer.RMJ.6\DefaultIcon]
""="\\Program Files\\RealNetworks\\realplayer.exe,0"

[HKEY_CLASSES_ROOT\RealPlayer.RMJ.6\shell\open\command]
""="\\Program Files\\RealNetworks\\realplayer.exe" "%1"

[HKEY_CLASSES_ROOT\RealPlayer.RMJ.6]
"EditFlags"=dword:00010000
""="RealPlayer Media Files"

[HKEY_CLASSES_ROOT\rtsp]
""="URL:rtsp Protocol"
"URL Protocol"=""

[HKEY_CLASSES_ROOT\rtsp\DefaultIcon]
""="\\Program Files\\RealNetworks\\realplayer.exe,0"

[HKEY_CLASSES_ROOT\rtsp\shell\open\command]
""="\\Program Files\\RealNetworks\\realplayer.exe" "%1"

Sorry, the secound one is too long, I'll attach it to the message.

It's RealOnePlayer and Microsoft Voice Command 1.6, when one of them is in the OEM folder, I receave the message, can you fine what the problem is, because I can't :(. Thanks.
[8525, TyTN, MDA Vario II, JasJam ROM Development] anichillus:
Multiple errors. Give me the cabs and I will make the .rgu for you.