yashsingh1/xdaforums huggingface dataset:
[8525, TyTN, MDA Vario II, JasJam ROM Development] jokinawa:
Ok,

1. I dump the ROM

2. I edit initflashfiles.dat (Unicode, removed first 2 bytes)

3. Convert hv, edit, convert hv

4. Run PKGtool

5. Dump XIP

6. Put my Package in OEM dir of Core/Kitchen

7. Build ROM

8. Files are there but seems like the initflashfiles.dat did not create directories or move the files. They are still all in the /Windows.

Where did I screw it up at.

Also when I used buildos I got error that it was looking for dsm file wheich was in the package folder. I removed the dsm file and it auto-created one for me with GUID. Then re ran buildos and it was perfect.

Thank You,

Love the Kitchen, sorry for the headache.
[8525, TyTN, MDA Vario II, JasJam ROM Development] jokinawa:
I finally figure it out and got the program in there but my Start menu shortcut is a folder.

The cab file contains this under shortcuts:

Skype.lnk, 0, "SkypeLauncher.exe", %CE11% ; (\Windows\Programs)

The string %CE11% is \Windows\Programs

I put this in initflashfiles.dat and it made a folder.

Directory("\Windows\Start Menu\Programs"):-File("Skype.lnk","\Windows\SkypeLauncher.exe")

That is correct right? Hopefully.
[8525, TyTN, MDA Vario II, JasJam ROM Development] mablan:
Tanks...already done and working very fine...!! :)

The modified ROM with office 2007 from the 3des ROM and the fix for onenote posted here in the forum has been working for the last days on my TyTN without problem... and while this ROM is modified from the same source I took the last ROM I have installed, I could restore everything from a previous backup...

Regards
[8525, TyTN, MDA Vario II, JasJam ROM Development] avengerpenguin:
Just want to say thanks for the advice and this wonderful tool, just in the process of flashing my first one. will let you know how it goes!!!
[8525, TyTN, MDA Vario II, JasJam ROM Development] avengerpenguin:
Well that was quick to report back, wont boot past 2nd splash screen. any ideas whats wrong
[8525, TyTN, MDA Vario II, JasJam ROM Development] michaeljames_a:
Extracting .exe files..

Sir how could I extract the .nbh file from .exe files such as faria's and JJ's roms.. tried posting this in the forum but no one gave a good answer that works.. As of this time, my only problem with the kitchen is that of inserting or deleting programs from cooked roms.. otherwise, it works well!!

P.S. what's your schedule of opening your pc as I can't get the right time to log-in to see the online tutorial.. thanks!
[8525, TyTN, MDA Vario II, JasJam ROM Development] anichillus:
Use WinRar ..or similar program. The .exe's are archives so unpack them.

My server is offline because i have problems with my PC....It won't be up and running too soon.
[8525, TyTN, MDA Vario II, JasJam ROM Development] michaeljames_a:
Thanks Sir Anichillus!
[8525, TyTN, MDA Vario II, JasJam ROM Development] vbguru613:
I tried to build a rom with the new Black Shadow but no matter what i get

"The system cannot find the file specified"

Thats it no details....
[8525, TyTN, MDA Vario II, JasJam ROM Development] jcespi2005:
I have dumped Shadow ROM, but all .RGU files are missing...seems JJ puts all registry entries in default.hv and user.hv instead of using RGU files. Perhaps the error is related to this.

Regards.
[8525, TyTN, MDA Vario II, JasJam ROM Development] vbguru613:
Anyway around it?
[8525, TyTN, MDA Vario II, JasJam ROM Development] Lordsmiff:
I've just done a straight dump and rebuild of the fixed shadow ROM and it worked a treat. Only one file had to be moved after the dump - fexplore.exe...try dumping it again :)
[8525, TyTN, MDA Vario II, JasJam ROM Development] vbguru613:
What folder did you move the fexplrore to?
[8525, TyTN, MDA Vario II, JasJam ROM Development] Lordsmiff:
It was SYS\BaseApps - I got that from the output of PKGTool...

Smiffy.
[8525, TyTN, MDA Vario II, JasJam ROM Development] magic_no1:
Very compelet totorial.

Thanks man~
[8525, TyTN, MDA Vario II, JasJam ROM Development] vbguru613:
I get an error creating the registry
[8525, TyTN, MDA Vario II, JasJam ROM Development] vp3G:
There's a reason some cooks choose to remove the rgu's, and I'll hazard a guess it's not done to conserve space... ;)
[8525, TyTN, MDA Vario II, JasJam ROM Development] vbguru613:
I was able to create the rom and registry But I have not been able to install the rom without the Phone freezing on the splash screen. (Only way to fix is to install from the minSD Card).
[8525, TyTN, MDA Vario II, JasJam ROM Development] Lurch3559:
Anchilles

I haven't been able to get into your website and there was a lot of useful information on that page. I am guessing that it is down since it got hacked.

Is it possible to that info onto word document or notepad file and zip up to download?

Tool is working great, I have getting lots of info from the Wizard Kitchen site, lots of extra info over there, thoughs guys are really into cooking.
[8525, TyTN, MDA Vario II, JasJam ROM Development] vbguru613:
Hey lurch where did you get the 17745 core OS to cook with (5.2.1238)?
[8525, TyTN, MDA Vario II, JasJam ROM Development] jokinawa:
I finally got my cooking going.

I integrated HTC Home and CommManager into Schap's most recent. Along with the New HTC default black theme. Works great.

I followed faria's tutorial from the Wizard forum:

Thank You to everybody that helped.
[8525, TyTN, MDA Vario II, JasJam ROM Development] Lurch3559:
There is no mention of creating a DSM? or if you have to edit the initflashfiles.dat, did you have to edit the User.hv or the default.hv?

Not sure but intyerested in doing this.
[8525, TyTN, MDA Vario II, JasJam ROM Development] Lurch3559:
This is from Schap's ROM that he just put out.
[8525, TyTN, MDA Vario II, JasJam ROM Development] anichillus:
Hi guys !

Yes, my website is still down...mabe the day after tomorrow i will get something fixed.

* To create a .dsm just create a New Text Document.txt rename it to UUID.dsm where the UUID you get from http://www.famkruithof.net/uuid/uuidgen (select random from the drop down menu and the UUID is that long string. You have to name the .rgu with the same UUID ) THERE CAN BE ONLY 1 .dsm in a package or it will give you errors in BuildOS

* You can exclude the whole "How to edit the initflashfiles.txt " because it's right there in the Extra folder an automation of that.

* The user.hv and default.hv are the actual registry when the PDA is on. You can think of them as basic models. When you enter data in an .rgu , that data will be added automatically in the registry...so no need for manual editing of the .hv files except you want to see how deep the rabbit hole is :) As a tip, to edit the .hv files you have to convert them first into .rgu...and you can find that program in the Extract panel.

* Keep in mind that if you are editing the ORIGINAL initflashfiles.dat (with notepad) after you finish editing it you have to open it with WinHEX or similar hex editor (it should be in extra folder) and remove 1st 2 bytes FF FE and click save.
[8525, TyTN, MDA Vario II, JasJam ROM Development] Lurch3559:
Thanks for the clarification, now what about cab files that are just made with xml filesor have xml plus additional files that go with the cab. I have 5 or 6 that I use that I made for settings like email, wifi etc and I also have some program cabs that are made in this way.
[8525, TyTN, MDA Vario II, JasJam ROM Development] jokinawa:
Nope not HV editing.

Here I made the packages.

Just put them in the OEM folder inside Core/Kitchen

Then from Core/Kitchen search for CommManager* and delete the ones that are in the Core\Kitchen\SYS\Base_Lang_0409 I believe.

There is only one folder they are in unless you already RAN BuildOS then they are in the tmp/dump folder also. Dont worry about those as BuildOS will remove them prior to compiling again.

Mine Has been working great.

If anybody else has and other packages to add that would be great.

Would be nice to Archive Packages that you just put into the OEM folder.

jokinawa
[8525, TyTN, MDA Vario II, JasJam ROM Development] anichillus:
You either copy what's inside the XML into an .provxml you find there in the rom, or it should also work to just copy the XML into an new package and leave it that...or rename it to *.provxml. I didn't tried that but should work.

BTW, there are plenty of packages in the Packages folder...you just need to check them out...especially the initflashfiles.txt to see if any errors there because i have not tested them and i got them from the wizard forum.
[8525, TyTN, MDA Vario II, JasJam ROM Development] Lurch3559:
Thanks for that, I check in the Packages folder, just a desktop.ini folder in there, is there suppose to be more?
[8525, TyTN, MDA Vario II, JasJam ROM Development] jokinawa:
/Core/PACKS is where he meant.

I have been using some of these in OEMAddonsForKitchenV2

PHMRegedit

Total Commander 2

Those to work. And in OEM folder:

WiFiFoFum

works.
[8525, TyTN, MDA Vario II, JasJam ROM Development] Lurch3559:
Found them, thanks.
[8525, TyTN, MDA Vario II, JasJam ROM Development] Lurch3559:
So if I copy xml into a new package do I still have to make a

1.rgu

2.dsm

3.initflashfile

for that package, if I do, do I still leave the contents of the xml intact or do I edit out what I put in the rgu or do I just leave the rgu and dsm blank

Thanks in advance
[8525, TyTN, MDA Vario II, JasJam ROM Development] jokinawa:
Your not required to have a rgu. If you do not make a dsm then the buildos will do that for you and assign it a guid. So you should be fine with just the xml.

if you get an error with buildos look in the /Core/Kitchen/temp folder for the logfile and it will tell you where it had issues. I have been adding packages / build / then flash. I have flashed a good 20 times today working out the bugs.
[8525, TyTN, MDA Vario II, JasJam ROM Development] Lurch3559:
Thanks this is going to make life easier.

When putting the packages into the OEM folder, do they have to have a specific name like OEMemail2, or can I just call them email2, do I have to group all of the packages together in one folder or can they be separate.
[8525, TyTN, MDA Vario II, JasJam ROM Development] jokinawa:
I have mine named how I want and they work. I would make it sort of specific. So you dont get confused.
[8525, TyTN, MDA Vario II, JasJam ROM Development] Lurch3559:
You have been a great help, time to start playing.
[8525, TyTN, MDA Vario II, JasJam ROM Development] pdajas:
hey guys,

ive been fooling around with this since it came out now, however i cant seem to get the rom to work! everything goes fine throughout the extraction and building process however when i flash it, it just freezes on boot screen. im not sure if im putting programs into the right folders (however the building process doesnt error) or if when i run duttys tool im entering in the wrong info.

Thanks in advance

P_D_A_J_A_S

Imate Jasjam (HERMES100)

Radio: 1.20.31.10

Rom: Black IV Shadow

Olipro 2.10

CID patch (not superCID)
[8525, TyTN, MDA Vario II, JasJam ROM Development] vbguru613:
Take a look at the missing folder
[8525, TyTN, MDA Vario II, JasJam ROM Development] pdajas:
all that was in there was gs finder(im trying to make my own version using shadow) and i added that? do i change the super CID to CID in duttys before creating the rom or dont worry?
[8525, TyTN, MDA Vario II, JasJam ROM Development] neomuzic:
cool

finally got around to trying this out, its pretty cool

New version out soon? I guess I need to read out to slap in my own cabs etc hehe

either way thank you for the program
[8525, TyTN, MDA Vario II, JasJam ROM Development] princeasi:
Ok heres the deal. I need help with creating packages for my rom. Ive been doing research on rgu's, dsm's, and initflashfiles files. I've read and grasp'd faria's tutorial on how to create rgu's and dsm's but where ive ran into the roadblock with this, is what info do i put inside of the dsm file, and how to dump a cab's reg file, so that i can copy it properly into the rgu file. I used core's CAB Analiser to dump files, and i did notice the reg key tab, but i couldnt decypher which information i would input to the rgu file. Also, looking at initflashfiles, if my understanding is correct, does the initflashfiles direct what files are placed into what folder during the building of the os.nb? Just to give you a glimpse of what ive tried to do, here is what ive input into the initflashfile of morphgear 2.4.0.9.([1]create "Morphgear Folder" within the "Program Files folder" [2]Next, send a .lnk into the Game folder [3]Send all other files to "Morphgear folder" inside "Program Files folder".:

;======================================================

; Morphgear START

;------------------------------------------------------

Directory("\Program Files"):-Directory("MorphGear")

Directory("\Windows\Start Menu\Programs\Games"):-File("MorphGear.lnk","\Program Files\Morphgear\MorphGear.lnk")

Directory("\Program Files\Morphgear"):-File("atl80.dll","\Program Files\Morphgear\atl80.dll")

Directory("\Program Files\Morphgear"):-File("Destiny.dll","\Program Files\Morphgear\Destiny.dll")

Directory("\Program Files\Morphgear"):-File("gsgetfile.dll","\Program Files\Morphgear\gsgetfile.dll")

Directory("\Program Files\Morphgear"):-File("Morph.dll","\Program Files\Morphgear\Morph.dll")

Directory("\Program Files\Morphgear"):-File("MorphEngine.dll","\Program Files\Morphgear\MorphEngine.dll")

Directory("\Program Files\Morphgear"):-File("MorphGear.exe","\Program Files\Morphgear\MorphGear.exe")

Directory("\Program Files\Morphgear"):-File("MorphGearLogo.bmp","\Program Files\Morphgear\MorphGearLogo.bmp")

Directory("\Program Files\Morphgear"):-File("msvcr80.dll","\Program Files\Morphgear\msvcr80.dll")

;------------------------------------------------------

; Morphgear END

;======================================================

any help appreciated, Thx!
[8525, TyTN, MDA Vario II, JasJam ROM Development] anichillus:
There is a inintflashfiles.txt generator in the Core Kitchen.

Use that for creating the initflashfiles.txt. Regarding the regs, just open the cab with the Cab Analiser, select the XML tab and you'll recognize in one of the tabs there the registry settings. Select them and copy them into a new created txt file. Save as "your UUID".rgu and save as Unicode. Leave blank last line and write "REGEDIT4" in the first line if not already there.

To create a dsm check this thread of my good friend nandlal_mk http://xdaforums.com/showthread.php?t=312985

Or if you don't want to be that complicated, just create an empty txt document, and rename it to "your UUID".dsm

You should know already where to get an UUID.

Good luck
[8525, TyTN, MDA Vario II, JasJam ROM Development] princeasi:
ok, im having a little trouble using the initflashfile generator. These are steps that im doing:

1) open InitFlashFiles Generator from extra folder

2) dos prompt pops up and says place cab and press any key to continue

3) I press enter and cab folder pops up

4) I place my cab into the cab folder and press enter

5) dos prompt says "starting cab analiser extract files and exit(same folder) press any key to continue"

6) I press enter, cab analiser window opens with cab info displayed

7) I extract cab files into the "cab folder" and noticed that my cab name has been chaged to appx.cab along with a program folder, windows folder, .inf file, and a SETUPDLL.dll

8) I exit cab analiser, and noticed that the appx.cab, .inf file, and a SETUPDLL.dll files disappeared, only program folder, windows folder remains inside the "cab Folder"

Ok where's the initflashfile.txt???
[8525, TyTN, MDA Vario II, JasJam ROM Development] neomuzic:
cab

is that the exact step or almost to put cabs on your own rom?
[8525, TyTN, MDA Vario II, JasJam ROM Development] pronor:
I´m downloading your tool now and I´m looking forward on testing it. Thanks for your work.

pronor
[8525, TyTN, MDA Vario II, JasJam ROM Development] anichillus:
It should open an explorer window ...hmm...don't know ..i forgot. I don't have my kitchens anymore...i have to download them. I lost all cos my harddrive broke.

But it should be either in there or just click up ...
[8525, TyTN, MDA Vario II, JasJam ROM Development] princeasi:
hmm...nothing at all...tell me something.. I see a initflashfiles.dat file along with the initflashfilesgenerator.exe and a .bat file inside the "initflashfiles Folder". Do you use that file as a template for the generator? Should I make that file extension into .txt before using?
[8525, TyTN, MDA Vario II, JasJam ROM Development] anichillus:
No, that is a template, but it's empty.

This means that your cab may only have an .xml inside and nothing else.

Try with different cab and follow instructions carefully.
[8525, TyTN, MDA Vario II, JasJam ROM Development] licht77:
hmmm... is it possible that your page is down?
[8525, TyTN, MDA Vario II, JasJam ROM Development] anichillus:
Yup, i wrote that alot of times...I had my website on my PC and since my PC has crashed...
[8525, TyTN, MDA Vario II, JasJam ROM Development] licht77:
hmm.... may i help u with some webspace?
[8525, TyTN, MDA Vario II, JasJam ROM Development] vbguru613:
Props to the CORE Kitchen again!!!
[8525, TyTN, MDA Vario II, JasJam ROM Development] Father L:
First of all many thanks for this, I sucessfully extracted and rebuilt a rom with it.

Reading through this thread for the noobies, I have to say what would be fantastic if somebody could take the time and show on a step by step guide on how to include an application in the build.

For instance, one I always load is WIFIFOFUM (http://www.aspecto-software.com/rw/applications/wififofum/cab/index.html).

If some good soul could demonstrate on how to make a package and have it cooked with the rom, that would be brilliant.

Please do not include the package on the post as that would defeat the purpose, but it wouldbe great for a guide.

This app also asks for Net 2 to be installed, it's not needed for WM6 as it works fine.

Cheers.
[8525, TyTN, MDA Vario II, JasJam ROM Development] licht77:
Yes - i can agree on this :)
[8525, TyTN, MDA Vario II, JasJam ROM Development] princeasi:
ok guys after many trial and errors and late nights, I just figured out how to create a proper initflashfile, and enter the correct info into an rgu file so that you can cook packages or customized packages within your Rom. I tried using cores initflashfile generator but for some reason it just doesnt work for me so i had to manually create the files. For some reason, Copying and pasting the registry from core kitchen cab analiser never worked for me either, but CORES kitchen was still an essential piece to making packages. Later on this eveing i will try to post more info on creating package, aiight peace!
[8525, TyTN, MDA Vario II, JasJam ROM Development] anichillus:
I must have missed to say that ..you should delete the little squares that initflashfiles generator is creating in the initflashfiles.txt. That works for me. I didn't made the base program for initflashfiles generator...i just modified it a bit also making it easier to use.
[8525, TyTN, MDA Vario II, JasJam ROM Development] princeasi:
I never got far to the generator creating anything, after i would extract the cab and close analizer, a couple of files from the cab would get deleted and the dos prompt would close!
[8525, TyTN, MDA Vario II, JasJam ROM Development] cuttriss:
I am also using the Majik build and got hte same missing files information, however when I searched for the files they were indeed in the correct locations so I just proceeded. Everything appeared to work correctly but I have yet to flash that rom (little nervous to do so, lol).
[8525, TyTN, MDA Vario II, JasJam ROM Development] twist:
Thanks for the reply, if your using 2.10 it shouldnt be too scary! I am going to go ahead now and see what happens myself!
[8525, TyTN, MDA Vario II, JasJam ROM Development] twist:
Now that I got past that (I hope) I will have to go back and read this thread all over again, so I can figure out how to do all my custimizations!
[8525, TyTN, MDA Vario II, JasJam ROM Development] twist:
Will these packages work with this kitchen ?

http://xdaforums.com/showthread.php?t=311144&highlight=core+pro+kitchen+pack

Also wondering how I add teh packages to my buildos routine ? When I run BuildOS I dont get a list of programs and I added one of hte dirs to the package directory inside the kitchen directory but I couldnt tell if it added it or not.
[8525, TyTN, MDA Vario II, JasJam ROM Development] princeasi:
Ok for those that wanna know, here's my way of creating a package with CORE's Cab Analizer=CA, you will need to have a registry editor installed like task manager(preferably) or phmregedit. I will use the Bandswitch.cab to explain, but this same format was applied to many packages that i have successfully created:

1) install Bandswitch onto your ppc

2) open up CA from core's and drag the cab into the window

3) extract files into a folder(dont close CA)

4) now go back to CA and click on the registry Keys tab, and notice what the registry inputs are.

5) goto you ppc registry editor and extract and save all reg keys that shows in CA onto your storage card or phone, becuz later you will need to copy those onto your desktop to use as the input to the .rgu file.(example: CA shows HKCR\ZIP.....so you would export the same reg key on your ppc and save it to memory, and continue till youve export'd all nessesary reg keys!

6) Copy all export'd reg keys onto your desktop, and create a new text document called "package.txt"

7) With each export'd reg key on your desktop, change from ".reg" to ".txt"(ex: HKCR.reg to HKCR.txt)

8) open up the created "package.txt" and the 1st line type "REGEDIT4" (without qoutes) press enter, copy & paste all reg keys within the export'd registry to the "package.txt" file. If done correctly, it should look something like this:

REGEDIT

[HKEY_LOCAL_MACHINE\Software\Daniel Herrero\BandSwitch]

"seconds_idle"=dword:000103e7

"current_version"="1.2.3"

"conn_options"=""

"activate_ril"=dword:00000000

"activate_idle"=dword:00000000

"awake_device"=dword:00000000

"monitor_connections"=dword:00000000

"tray_icon"=dword:00000001

"pin2"=hex:00

"pin"=hex:00

"switch_back"=dword:00000001

9) After entering the last reg key, make sure you press enter twice, and save as UNICODE, not ANSI!

10) rename "package.txt" to "package.rgu" and place in folder of extracted cab files

11) Next you will need to create an "initflashfile.txt" file and shortcuts(if needed), and place them into the folder. Info on how to create initflashfiles can easily be found if you do a search for Faria WM6 ROM Kitchen.

12) After all said and done, you now have a package. You would place the package into the OEM folder and build OS. If there are any error reg key input'd into the rgu file, build os will definitely let you know(at least from my experiences)

Its worked for me, hopefully it works for you! Peace
[8525, TyTN, MDA Vario II, JasJam ROM Development] anichillus:
This is one way to do it. It's pretty difficult though. I use the "XML" tab in CA and you can find there the reg settings also. The only difference is that some cabs have a different way of installing and you won't see the real folder that they will install but "InstallFolder" . With these ones you will have to be intuitive and think of a folder name and location where you want to install them. Then change the location (in initflashfiles.txt and in package.rgu) accordingly.

There are also some very very useful programs in "Extra" folder... You can use them to create an "image" (backup) of the current registry of the PDA and install a program, create another image and then use the other program to see the differences. This would be another way of doing it. It's the only way for some programs that have a more complex installation method and it's impossible to see all registry entries.

Cheers people, welcome to the cooking world.
[8525, TyTN, MDA Vario II, JasJam ROM Development] twist:
Do either of you guys know if all those prebuild packages from the link I posted above will work with this hermes kitchen ? and I am glad to know all I have to do is put the package DIR inside the OEM dir and buildos!!

I am excited to get my rom all customized the way I want it!