ROM cooking: smthing else than initflashfiles affects shortcuts - Upgrading, Modifying and Unlocking

Hi, everyone! I´m still working on a Wizard (don´t want to touch my Hermes, yet). I´m pretty advanced... but
I dump the [latest] original cingular WM5. I rebuilt it with office 2007 and realize that the original shortcuts are still there. Of course, they are both useless (as I have new names for the apps) and annoying (because I can´t remove them before compiling).
This is the whole point: Those shortcuts are not coming from neither an xml update for the XIP nor an initflashfiles.txt
HOW ON EARTH DO I REMOVE THEM. I can´t find what is creating and copying those shortcuts
Are they embedded in the OS.nb file? If so, how do I take that file apart?
Any help is very much appreciated!

..provxml, m8..

Nope, had checked already
*.mopvxml, etc had been checked.
But... what did you mean by m8?.
BTW: I will check inside os.nb now, but please give me fresh ideas

You may also want to check for a file called initflashfiles.dat. That contains a lot of shortcut information as well. Especially for apps that are default for that particular ROM. It should be found in the OEM\OEM_LANG_* folder in the kitchen. The (*) is the locale number. For example, a WWE ROM would have the folder as OEM_LANG_0409.

Yep, solved (initflashfiles.dat)
Hey, thanks! You´re FAST!
I was about to post it. But thanks, you could have saved me hours
Anyways. If anyone ever reads this thread, remember: scavenging os.nb(a) isn´t that great. An automated kitchen does it all (Hypercore in this case).
I also found somebody claiming that certain shortcut came from a dll. Just keep as a sidenote.
Cheers!

Related

How to cook?

Hi Chefs,
I want to cook a BigStorage/Light Edition of the new O2 Germany Rom. What should i do?
My my first thoughts: I extract the os.nb of the exe file, load it in the Rom Koch...OK, now, it's getting difficult...I want to remove for example Feedback, ringtones, example pics and vids, old office, games, windows live, homezone plugin etc. I don't know, which files i have to delete. Is there a list, which files belong to which programms?
Can i brick my phone, if i delete a wrong file?
Is it dangerous to flash my hermes with a selfcoocked rom (BADBLOCKS)?
Is that the right way to create a big storage rom?
What shouldnt i forget?
thnx
PS: pleas don't flame me...
Pello
Nobody can me help a little?
pello said:
Nobody can me help a little?
Click to expand...
Click to collapse
if you have HardSPL as the bootloader before you flash and are just flashing OS only upgrades you should be ok...
http://wiki.xda-developers.com/index.php?pagename=HTC_Hermes
jepp...ok, thats nice, so i can try without bricking my hermes.
can i just delete the files without changing user/default registry/flashinitfiles?
Is there a documentation for which files belong to which app, for example WindowsLive?
Windows live stuff is normally in directories called "WindowsLive*" inside the SYS folder.
Just play about, it's a fun way to learn and with HardSPL you shouldn't brick your device (for example I messed up a splash screen creation by not adding the padding required for the hermes. Looked horrible, didn't boot, but put it into three color bootloader screen and was able to flash a fixed version easily).
sorry I didn't reply in the other thread.
the software is somewhat modular - in that if you remove all of the Windows Live folders or Entertainment folders, you should remove all of that component.
Under /SYS/SQM is a .rgu file. The first entry is "Enabled"=dword:00000001. Change that to 00000000 to disable feedback.
Note that some kitchens uses an options.xml to allow BuildOS to determine what gets installed. The one for the files in /SYS uses a single one in /SYS.
I'd suggest grabbing a kitchen and following the directions. If you got HardSPL installed, and are careful, you should do well.
I "bricked" my phone twice in the first hour I started because I tried flashing a Wizard formated extended rom to the Hermes... gotta learn somehow
thnx mattk...
can i use the bepes rom kitchen or pandoras rom kitchen only with the included WM6Rom or can i swap the OEM,SYS Folders and the os.nb with the included?
What should i do with the XIP Folder?

[NEW] Kaiser HTC Home v.2.0.720719 BW and Color

OEM supplied by Schaps. This version already integrated in his last ROM.
Not like previous version, this version Profile Tab already work correctly. No need to do anything. I have use it for several days and I dont notice any notifications queue issue or wild vibrate at all.
But I do change the following:
-Installation directory change to \HTCHome instead of \Windows
-To get Brightness shortcut working, the same patch as previous version applied.
-The same patch applied to enable the Tab Setting through registry.
Other than that Nothing. Much better version than v1.5
Color version uploaded!!!!
If you are ROMcooker, download the htchome.dll for rom cooker .
Install sdkcert.cab if you have not done so.
There are about 100 pages of discussion about v1.5. Lets not repeat what have been discussed over there like: Clicking left most mail icon will take you to MMS, how to change music tab tolaunch HTC Audio Manager, and so on and so on. I dont plan to follow up closely on these thread as I think this version is very good already. Should there be any fix, change, etc please refer to the respective post.
Enjoy
Is this better than the one you had released with your kaiser skin?
Currently i am using that, is it worth me updating?
Thanks
Bennec, the one you are using is v1.5.xxxx. Very earlier and uncomplete version that has been tweaked to make it reliable enough to be used. This version is a new build with the profile tab working and additional features in the contact tab thatenable you to select what number ina contact for the speed dial. Definately worthed.
Can you post a version where the files do go in the windows directory? I want to cook this in, but not have duplicates.
TooSharp said:
Can you post a version where the files do go in the windows directory? I want to cook this in, but not have duplicates.
Click to expand...
Click to collapse
you can, just use windiff on the SYS and OEM folders of your kitchen, the dump folder is created by processing these 2 folders, so any file dups will be in there BEFORE you run buildos.exe.
add you package, then run windiff ont he SYS and OEM folders, it will find the file duplicates, and delete the ones that ARE NOT from your new package!!
bennec83 said:
you can, just use windiff on the SYS and OEM folders of your kitchen, the dump folder is created by processing these 2 folders, so any file dups will be in there BEFORE you run buildos.exe.
add you package, then run windiff ont he SYS and OEM folders, it will find the file duplicates, and delete the ones that ARE NOT from your new package!!
Click to expand...
Click to collapse
Maybe I should have been more clear.
When creating a rom, all files will be placed in the windows directory, if you need files in a different directory like the cab posted above you will have to use initflashfiles which just copy the files to a new folder, then you will have duplicates. I just don't want 2megs of photos in two spots.
Garphical Anomolies
@schen you need to swap some of the icons for my fixed ones!!
please Download this Original Icons Fix and add it to you package. 2 of the black and white icons (Music and People) dont react properly when you select them.
that link fixes them!! (it is not just yours, it is a common problem with all htc home plugins!!!)
TooSharp said:
Maybe I should have been more clear.
When creating a rom, all files will be placed in the windows directory, if you need files in a different directory like the cab posted above you will have to use initflashfiles which just copy the files to a new folder, then you will have duplicates. I just don't want 2megs of photos in two spots.
Click to expand...
Click to collapse
Your question makes no sense then!
When you COOK this in obviously you would remove the version you already have in the ROM therefore you would not have the duplicates.
Also if you just created an package out of the cab above you will get NO initflashfiles therefore the package will install to the windows directory!!!
bennec83 said:
Your question makes no sense then!
When you COOK this in obviously you would remove the version you already have in the ROM therefore you would not have the duplicates.
Click to expand...
Click to collapse
You still don't understand. My problem is NOT buildos failures. I don't want duplicates when the rom is complete. Any time you use a initflashfile you will have duplicates in the finished rom. That is what they are for. Again the problem is not with duplicates in the OEM and SYS. If you go back and check my posts you will see I helped you with this exact problem. I know how to create a rom!!!! What I don't know how to do is edit the dll file to redirect it to look in the windows directory for the png files. Hence why I'm posting.
bennec83 said:
Also if you just created an package out of the cab above you will get NO initflashfiles therefore the package will install to the windows directory!!!
Click to expand...
Click to collapse
Yes you do get a initflashfile that copies all the png files to HTCHome. See attached.
schen, installed & everything working fine, except for one, am unable to use the hardware navigational pad when accessing music tab, from there u can't proceed to go up, go to ff, rw or play button.
Touchscreen function (for all of the above ff, rw & play tabs) in music tab is working though.
thanks anyway.
TooSharp said:
You still don't understand. My problem is NOT buildos failures. I don't want duplicates when the rom is complete. Any time you use a initflashfile you will have duplicates in the finished rom. That is what they are for. Again the problem is not with duplicates in the OEM and SYS. If you go back and check my posts you will see I helped you with this exact problem. I know how to create a rom!!!! What I don't know how to do is edit the dll file to redirect it to look in the windows directory for the png files. Hence why I'm posting.
Yes you do get a initflashfile that copies all the png files to HTCHome. See attached.
Click to expand...
Click to collapse
Funny, i created the package and i didnt get that!!!
il have to look into the flashfile generator in using (im not using the core one that you are!!)
Thanks for the heads up and apologies for the confusion!!!
bennec83 said:
Funny, i created the package and i didnt get that!!!
il have to look into the flashfile generator in using (im not using the core one that you are!!)
Thanks for the heads up and apologies for the confusion!!!
Click to expand...
Click to collapse
No problem. Thanks for the help. Sometimes it's hard to convey what you are thinking in words, especially about something so confusing.
TooSharp said:
No problem. Thanks for the help. Sometimes it's hard to convey what you are thinking in words, especially about something so confusing.
Click to expand...
Click to collapse
Well then my answer to your question would be to remove the initflashfile, then everything would get installed to the windows directory and since you have no need for shortcuts, this would be fine!!!
been using this for a while and saw the new version a while ago. has option of more when u go to the 4 day detail in weather. fonts seem nicer and all. looks like a good upgrade to 1.5 Bennec83 irc bro
schen said:
OEM supplied by Schaps. This version already integrated in his last ROM.
Not like previous version, this version Profile Tab already work correctly. No need to do anything. I have use it for several days and I dont notice any notifications queue issue or wild vibrate at all.
But I do change the following:
-Installation directory change to \HTCHome instead of \Windows
-To get Brightness shortcut working, the same patch as previous version applied.
-The same patch applied to enable the Tab Setting through registry.
Other than that Nothing. Much better version than v1.5
I will create a separate Cab based on Schaps color version as well in a minute after a few try this cab with no problem.
Enjoy
Click to expand...
Click to collapse
Thank you for the new version, and tab setting is essential. Thanks again!
bennec83 said:
Well then my answer to your question would be to remove the initflashfile, then everything would get installed to the windows directory and since you have no need for shortcuts, this would be fine!!!
Click to expand...
Click to collapse
Just tried that. It doesn't work without the png files in the HTCHome directory. I guess we can't have everything.
The special dll for installing n Windows directory uploaded. Use that dll.
On the subject of weather plugin.
I am not sure why is there a need for a pre-configured xml file. Anyway, you need a gui to choose the city. Why not have a gui where you could enter the data which is stored on xml file. I suppose rather than sending an entire xml line when communicating with xml service, build an xml file base on the data entered via gui.
As I understand it, the DLL was just edited using a hex editor as \HTCHome and \Windows has the same number of characters, it sounds like it wasn't a decompile thing or something like that.
I'm not at home at the mo so I can't check but if you load the DLL up into a hex editor (winhex?) then replace all the \HTCHome text with \Windows, you should be good to go.
This is just my uderstanding though of what I've read in the previous....saga
Smiffy.
schen said:
The special dll for installing n Windows directory uploaded. Use that dll.
Click to expand...
Click to collapse
Thanks for the fix!!

Flashing a Kaiser Rom on to a Hermes

To the Rom chefs out there (btw you guys are the greatest), how difficult would it be to flash a kaiser rom on to a hermes? Would it be impossible or feasible? The reason I ask is that I am intrested in the software features of the kaiser but it will not be available in the states for a while (and my company may not upgrade for a while). I'm not sure how similar devices handle roms but if I could get a hermes with touchflo, built in improved home and com managers, and an app to recognize business cards... well that would rock. Just an idea I would appreciate any feedback.
Itz not difficult... only question is... does it work???
I would love to see that, but that is a hell of a question "Will it work?"!
Here is a short answer for you... HELL NO but if you like try it and then send me your bricked hermes!
Won't work out of the box, but you can extract whatever you want and cook it into your own ROM, using one of existing Hermes ROMs as a base.
Would it be possible to switch out the touch.dll file with the one from the kaiser to try to get touchflo working on the hermes (I'm comfertable setting up the business card recognizer through a cab)?
ok we need members that have created there own cooked roms to give us reallistic insight on how to pull this of?
Cooking a rom
leoiden said:
ok we need members that have created there own cooked roms to give us reallistic insight on how to pull this of?
Click to expand...
Click to collapse
i take no credit for this, i am a noob loke you all, i myself like the att base that i get from vp3G you exrtact the base using romdonalds, you can cook with it to, but i cant understand it, i need to take more time. however i take the base and use it with pandora's build os, i also put added stuff in the pandora with Bennec83's instructions.
any spelling mistakes you find, suck it. i have been up since 4am and i need to get up at 4 again
ROMDonalds Kitchen v1.0 - The Educational Kitchen
http://forum.xda-developers.com/showthread.php?t=319970&highlight=romdonalds
vp3G's WM6 v3.0 -- [The official "official" AT&T ROM]
http://forum.xda-developers.com/showthread.php?t=317952&highlight=vp3G
Pandora Kitchen - v6.0 Build it YOUR way [updated 08/13/07 @ 14:19]http://forum.xda-developers.com/showthread.php?t=316881&highlight=pandora
Bennec83's cab-oem
1: Download CAB Manager from Rapidshare or Megaupload
2: Unpack the CABManager.exe and run it
3: Drop your CAB into CAB manager
4: Extract all the files in the CAB, to do this click the icon 3left from the XML button (It has SEL in small letters at the top of the button) LEAVE THE CABManager.exe RUNNING AS YOU WILL NEED IT FOR STEP 10
5: Go into the folder that you extracted your CAB to, there will be an *.inf (* = Name of the CAB), delete it as it is not needed
6: There will also be another folder inside the directory where you extracted the CAB, this will probably be called "Windows" or "Program Files"
These files contain all the files that are supposed to be in each directory on your device. i.e. all files in "Program Files" will get installed to the "Program Files" on your device when you install the CAB.
Never-the-less, these directories are not needed as we want all the files in the same folder, so copy the contents of each folder, into the folder where you extracted the CAB, do this for all folders that were extracted from the CAB
7: Go Here To Generate A GUID. Set it to "Version 4:Random" and press "Get" (It should look something like this - 21f768ec-4901-11dc-8314-0800200c9a66 - I will Note it as <GUID> instead of loads of numbers for ease of typing)
8: Go into the folder you extracted your CAB to, with all the files out of their directories, create TWO new text files.
For the FIRST text file: name it with the GUID you just generated in step 7 and change the file extension from "<GUID>.txt" to "<GUID>.dsm", press yes to the "Change File Extension" Warning
For the SECOND text file: give it the SAME GUID as above, but change the extension from "<GUID>.txt" to "<GUID>.rgu", press yes to the "Change File Extension" Warning
9: OPEN the "<GUID>.rgu" and select "SAVE AS.." select "UNICODE" (Default is ANSI), then go to the "Save as Type" Menu and select "All Files" and select your "<GUID>.rgu" and select "Yes" to the "Are you Sure You Want To Replace" warning
10: Go back to CABManager.exe and select the "XML" button, and a new window will pop up. In the new window select the tab "Registry Keys"
This will show you all of the REG Keys related to that CAB (If there are any, sometimes the software doesn’t need any so there will be nothing here!!)
Assuming that there are REG Keys, copy them all into the "<GUID>.rgu" and save it, REMEMBER TO SAVE AS "UNICODE"
Next you MUST make sure that the following is in the "<GUID>.rgu"
A: TOP LINE MUST say "REGEDIT4" (no ""), followed by a blank line, eg to follow:
[HKEY_CURRENT_USER\Software\HTC\Customize]
"Ver" = "1.0"
this must change to:
REGEDIT4
[HKEY_CURRENT_USER\Software\HTC\Customize]
"Ver" = "1.0"
B: Go to the end of the "<GUID>.rgu" and ensure that after the last line of text there is another blank line
AFTER you have edited the "<GUID>.rgu" with the correct things, SAVE IT AS "UNICODE"
11: 1: Download this "option.xml" from Rapidshare or SendSpace
Open the "option.xml" and edit the bits that need editing.
you will see what I mean, as I have created the option.xml to be self explanatory!!!
I hope this helps, if you have any questions PM me
OEM folder of HTC rom here: form pof
Kaiser dump thread
http://rapidshare.com/files/42085076/KAISER_OEM.7z.html
P.S. i would live to see the apps ported but when i try to cook even known stuff i get errors and discuraged so i stop
i am on vp3G's Vir. 3.0 it is what i need until someone puts something i can use up.
thanks to the cooks, and things that make you say huummmm
In case somebody is searching the cab-manager now ;-)
http://forum.xda-developers.com/showthread.php?t=317358
Jesus, do none of you read anything any more? I don't like "n00b" bashing but when there's so many of you who have obviously read absolutely f*** all, then I'm thinking you're all fair game.
There are already LOTS of threads about ROMs with the Kaiser comm manager, dialler etc built in - there's been god knows how many attempts to get touchflo working, cooking in kaiser's touch.dll, hacking the old one, creating new ones, all about why you can't flash another device's ROM on to a hermes - mulitple threads about every damn thing you've been talking about, some of them not even that far away from the front page and none of you have taken the effort to have a look.
FFS, it's like painting a target on your back and going for a walk on a shooting range...
LOL......nicely said Smiffy
It's kinda like "the blind leading the deaf and stupid"....every time a new device hits the shelves, hoards of wombats want everything it has to offer on their old technology...arrgghhh!!!
Mark.
PS. Do you think I could flash the Kaiser ROM onto my Voyager....
Lordsmiff said:
FFS, it's like painting a target on your back and going for a walk on a shooting range...
Click to expand...
Click to collapse
best statement of the year award!
leoiden said:
ok we need members that have created there own cooked roms to give us reallistic insight on how to pull this of?
Click to expand...
Click to collapse
Here is some insite! IT cant be done! you can take certain apps and features from the kiaser rom which has been done many many times if you search for kiaser im sure you will find the home plug in the dail pad and the com manger and im sure some other things but here is a little hint you cant port the touchflow many have tried and come close but it just wont work yet! you can not flash another devices rom to the hermes sorry just wont work.
Lordsmiff said:
Jesus, do none of you read anything any more? I don't like "n00b" bashing but when there's so many of you who have obviously read absolutely f*** all, then I'm thinking you're all fair game.
There are already LOTS of threads about ROMs with the Kaiser comm manager, dialler etc built in - there's been god knows how many attempts to get touchflo working, cooking in kaiser's touch.dll, hacking the old one, creating new ones, all about why you can't flash another device's ROM on to a hermes - mulitple threads about every damn thing you've been talking about, some of them not even that far away from the front page and none of you have taken the effort to have a look.
FFS, it's like painting a target on your back and going for a walk on a shooting range...
Click to expand...
Click to collapse
But seriously, if I cant flash the Kaiser Rom to my Tytn, can I port it into i-phone. Then I won't have any communication devices to post stupid questions again
I hear what you are saying, I actually run a tweaked out Hermes with HTC home (latest version from shen) dialer (older version I don't like the 3g video dialer) and com manager (10 button kaiser) though I use the offical att rom as my base. I have read the threads EXTENSIVELY both here and on other sites 4windows mobile tri-syndicate etc.(Stuff by JJ, Custel, etc.) I've even played with the Touchflo Alpha cab. My question was if it would be possible to take the whole kaiser rom (as opposed to extracting portions of it and loading them into one of the hermes roms) and load it on to a hermes, mainly because the issue (from what I have read) with touchflo is the touch.dll file and how it functions (wizard, kaiser, and elf similar, heremes is different) and this dead ends most projects. I was thinking that perhaps flashing the whole ROM might get around this (basically try to run a kaiser on a hermes, I was hoping that the devices were similar enough it might work). I guess the answer is no. The other thought I had was that perhaps the new offical release might be easier to work with (and the business card app is pretty sweet). I am somewhat technical but not a developer (though I work for for a large development firm) perhaps I misunderstood how a rom works and flashing the entire thing will not be posible nor will it solve any of the issues the chefs have been running into. It was just an idea.
aaronsmckee said:
I hear what you are saying, I actually run a tweaked out Hermes with HTC home (latest version from shen) dialer (older version I don't like the 3g video dialer) and com manager (10 button kaiser) though I use the offical att rom as my base. I have read the threads EXTENSIVELY both here and on other sites 4windows mobile tri-syndicate etc.(Stuff by JJ, Custel, etc.) I've even played with the Touchflo Alpha cab. My question was if it would be possible to take the whole kaiser rom (as opposed to extracting portions of it and loading them into one of the hermes roms) and load it on to a hermes, mainly because the issue (from what I have read) with touchflo is the touch.dll file and how it functions (wizard, kaiser, and elf similar, heremes is different) and this dead ends most projects. I was thinking that perhaps flashing the whole ROM might get around this (basically try to run a kaiser on a hermes, I was hoping that the devices were similar enough it might work). I guess the answer is no. The other thought I had was that perhaps the new offical release might be easier to work with (and the business card app is pretty sweet). I am somewhat technical but not a developer (though I work for for a large development firm) perhaps I misunderstood how a rom works and flashing the entire thing will not be posible nor will it solve any of the issues the chefs have been running into. It was just an idea.
Click to expand...
Click to collapse
Touch.dll on a kaiser wun work on hermes... Datz the problem
If at first you don't succeed then make the target BIGGER!
What was that that LordSmiff said? It was sooo long, I couldn't read the whole thing.
Oh never mind. I forgot, I wouldn't bother reading your answer, either.
Can somebody pleeeeaaaasssseee make a video of alll this stuff on the forum. I can watch TV ok.
Anyway ... I just pre-ordered my Kaiser. Is there any way to flash my Hermes ROM onto it so I don't need to learn anything new?
Puuullllleeeeaaasssse help me!!!
Oh, and my keyboard makes a ? whenever I type a *. Haven't seen anything mentioned about this problem here.
-pvs
pvs said:
Oh, and my keyboard makes a ? whenever I type a *. Haven't seen anything mentioned about this problem here.
Click to expand...
Click to collapse
I had this problem. Use HTCustom and go all the way over to the "keyboard" tab and choose the correct one (I have AT&T/Cingular, so I chose that).
mcorrie1121 said:
I had this problem. Use HTCustom and go all the way over to the "keyboard" tab and choose the correct one (I have AT&T/Cingular, so I chose that).
Click to expand...
Click to collapse
Ummmm ... I was being a little sarcastic. Yes, I know ... it's just one of the questions that's been posted a few thousand times already ... probably will be again tomorrow.
Thanks for answering, though.
-pvs

1st time cook a little confused

Hi. I've read hundreds of posts and followed dozens of tutorials. I'm aiming to gain an understanding of what actually happens during the rom cooking process and I think I'm getting there. I've used loads of different toolkits and kitchens and most recently I've been using 'romdonalds' which has given me a better understanding.
However I'm a bit confused about the difference between the dump directory with loads of files and folders, and the OEM/SYS versions of these which I've seen when using packagetool and buildos. I know how to go from the 'flat' structure to the oem/sys structure, but I don't know how to go back again.
I'd also like is to know what really happens behind the scenes when you click the go button in buildos.exe.
TIA
Matt
I could really use a little help to understand what's going on here. If there's some clear explanation of what actually happens during cooking that I've missed, could someone point it out to me please? I've searched thoroughly, read extensively, and pulled my hair painfully... but I just don't get it. I've analysed batch files in just about every kitchen there is but I've reached a point where I need some help.
If there's some unwritten quid-pro-quo requirement that I've missed before I can ask a question then tell me that too - I'm no freeloader, I've just donated to Slither2006 for his cube, and when I've fully grokked the process I'll write up everything I've learned in a really clear guide, I promise.
I'm not an idiot either - I was a technical architect at a large UK ISP until recently, doing stuff like building a huge virtualised server farm with custom management tools and a homebrewed iSCSI /LVM2 snapshot system that blows away anything commercially available, and now I work for myself... I've used HTC devices since the Blue Angel, also an Exec and now a hermes... but I could really use a hand here.
Thanks!
I suspect you are quite a bit ahead of me here, but here goes.
The OEM/Sys folders are just part of the Dump folder, but extracted and turned into a more logically arranged order for manipulation.
When you run buildos it just takes these and a few other bits such as the XIP section and puts it back in a format for rebuilding.
Best I can do I am afraid.
Thanks for your reply crazyc. It's getting a little clearer now. Can anyone else shed any light? Ideally I'd like to know exactly what buildos does to turn the organised folders back into the dumped ones.
Piecing it all together:
A: I know how to get the dump folder from a source rom (nbhextract->nbsplit->imgfsfromnb->imgfstodump).
B: I know how to make changes to the dump directory manually (add/delete files; extract/convert .hv files to .rgu; edit .rgu files and reconvert to .hv; edit initflashfiles.dat to create shortcuts on first boot)
C: I know that instead of all that I could convert the dump directory to the organised oem/sys pair (pkgtool) and know that in theory I could manage that with BuildOS.exe to integrate oem packages with the option.xml file in them - but I don't understand what's happening here relative to (B) above
D: I can turn the dumped folder (but not the oem/sys folder) back into a flashable rom (imgfsfromdump->imgfstonb->nbhtool)
Can someone who really understands what's going on explain where I'm confused?
Thanks
Matt
Here is my take about cooking....
When the dumped OS has all the rgu files in tact then spliting the dump folder as OEM and SYS will work.
Where as some OS do not have rgu file in them (some cooks prefer to cook this way...all OEM OS have rgu files). In this case you would have to use only the dump folder and edit default and user.hv to add and delete stuff. You cannot use package tool for this method.
You sure can turn OEM and SYS back to ROM, just use the right kitchen (Pandora, Bepe Kitchen, etc)
Hope this helps.

The First Wm6.1 Kitchen for Excalibur

THIS IS MY WM6.1 ROM KITCHEN
≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈≈
{REMEMBER IM NOT RESPONSIBLE IF YOU BRAKE YOUR PHONE}
{REMEMBER IM NOT RESPONSIBLE IF YOU BRAKE YOUR PHONE}
{REMEMBER IM NOT RESPONSIBLE IF YOU BRAKE YOUR PHONE}
{STEP 1}
EXTRACT ExcaliburKitchen.ZIP TO C:\
{STEP 2}
DOWNLOAD MY ROM FROM HERE:- http://forum.xda-developers.com/showthread.php?t=387355
IF YOU DONT WHAT TO DOWNLOAD MY ROM THEN DOWNLOAD KAVANAS FROM HERE:- http://forum.xda-developers.com/showthread.php?t=374890
{STEP 3}
EXTRACT THE ROM FROM THE .ZIP OR .EXE
{STEP 4}
PUT RUU_signed.nbh IN TO C:\ExcaliburKitchen\SOURCE
{STEP 5}
NOW CLICK ON (1) DumpOS.bat
{STEP 6}
NOW GOTO WORK FOLDER AND YOU'LL SEE A FOLDER CALLED DUMP GO INTO IT
{STEP 7}
NOW IN THIS FOLDER YOU CAN ADD WHAT YOU WHAT AND YOU CAN TAKE THINGS OUT OF THE ROM
{STEP 8}
IN THE DUMP FOLDER YOU'LL FIND A FILE CALLED InitCmd.ccs IN THIS FILE IS WERE YOU PUT THE START MENU LINK AND THE REGISTRY SETTING FOR YOUR SOFTWARE
IF YOU OPEN IT WITH NOTEPAD IT WILL LOOK LIKE THIS FOR THE LINKS:-
------------------------------------------------------------------
LINK %M\Messaging.lnk,:MSINBOX,,:mailapp
LINK %M\Settings.lnk,:MSSettings,,:settings
LINK %M\Contacts.lnk,:MSCONTACTS,,:contactsapp
LINK %M\Calendar.lnk,:MSCALENDAR,,:calendarapp
LINK %M\Internet Explorer.lnk,:MSPIE,,eapp
LINK %M\Windows Media.lnk,wmplayer.exe,,:mediaplayerapp
LINK %M\Pictures & Videos.lnk,:MSPIMG,,imgapp
LINK %M\File Explorer.lnk,:MSFEXPLORE,,:fexplore
LINK %M\Speed Dial.lnk,:MSScut,,:scutapp
LINK %M\Call History.lnk,:MSClog,,:clogapp
LINK %M\Voice Notes.lnk,:MSTVNOTES,,:notesapp
LINK %M\Tasks.lnk,:MSTASKS,,:tasksapp
LINK %M\ActiveSync.lnk,:MSSYNCAPP,,:syncapp
LINK %M\Camera.lnk,Camera.exe,/i,:cameraapp
LINK %M\Video Recorder.lnk,Camera.exe,/v,:videoapp
LINK %M\Welcome Center.lnk,:MSWelcomeCenter,,:welcomecenterapp
LINK %M\Windows Live.lnk,WLMLauncher.exe,,:WLMLauncher
LINK %M\Messenger.lnk,WLMMessenger.exe,,:WLMMessenger
LINK %M\Text Notes.lnk,TextNotes.exe,,:textnotesapp
LINK %M\Java VM.lnk,jbed.exe
TO ADD YOUR LINK TO YOUR START MENU ADD YOUR LINK TO THE BOTTOM OF THE LINKS EG:-
LINK %M\Video Recorder.lnk,Camera.exe,/v,:videoapp
LINK %M\Welcome Center.lnk,:MSWelcomeCenter,,:welcomecenterapp
LINK %M\Windows Live.lnk,WLMLauncher.exe,,:WLMLauncher
LINK %M\Messenger.lnk,WLMMessenger.exe,,:WLMMessenger
LINK %M\Text Notes.lnk,TextNotes.exe,,:textnotesapp
LINK %M\Java VM.lnk,jbed.exe
LINK %M\XXXX XXX.lnk,XXXXXX.EXE
AND FOR THE REGISTRY IT WILL LOOK LIKE THIS:-
-----------------------------------------------
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Layouts\e0010409]
"Ime File"="et9ime.dll"
"Layout Text"="eT9 IME"
"Keyboard Layout"="00000409"
[HKEY_LOCAL_MACHINE\SOFTWARE\Tegic\eT9]
"AvailableLanguages"="0109,0105,0113,011B,011F,0108,0115,0116,0118,010E"
"DefaultLanguage"=dword:00000109
"InstallFolder"="\\Windows"
"ShowExactKeyStrokeThreshold"=dword:00000000
[HKEY_LOCAL_MACHINE\SOFTWARE\Tegic\eT9\IME]
TO ADD YOUR SOFTWARE REGISTRY ADD IT TO THE REGISTRY PART AT THE BOTTOM EG:-
[HKEY_LOCAL_MACHINE\Security\CHome\DefaultSettings\Settings\Launch]
"GUID"="{4B998C14-3801-4a8e-9B20-5DFE58B19C39}"
"PLUGINICONNAME"="CHomeGeneric_Settings_PluginIcon.png"
"PICTURES"="\\windows\\CHome_settings_launch.png"
"SK2URL"=":MSSettings;home_setup.cpl.xml"
"TITLETEXT"="Settings"
"TEXT1"="CHome Settings"
"TEXT2"=""
[HKEY_LOCAL_MACHINE\Security\CHome\DefaultSettings\Settings\XXXXX]
"GUID"="{4B998C14-3801-4a8e-9B20-5DFE58B19C39}"
"PLUGINICONNAME"="XXXXXXXXXXXXXXX"
"PICTURES"="\\windows\\XXXXXXXXXX"
"SK2URL"=":MSSettings;XXXXXXXXX"
"TITLETEXT"="XXXXXXXX"
"TEXT1"="XXXXXXXXXXX"
"TEXT2"="XXXXX"
THEN SAVE IT
{STEP 9}
CLICK ON BUILDOS.DAT WAIT TO ITS FINSHED THEN IT WILL OPEN htcrt WHICH CONVERTS THE NB TO NBH
1 CLICK BUILD
2 CLICK DEVICE
3 PICK Excalibur
4 CLICK OS THEN FIND 02_OS.nb IN C:\ExcaliburKitchen\Work AND CLICK ON IT
5 CLICK SPLASH FIND 00_MainSplash.nb IN C:\ExcaliburKitchen\Work AND CLICK ON IT
6 CLICK ON RADIO THEN FIND 01_GSM.nb C:\ExcaliburKitchen\Work AND CLICK ON IT
7 ENTER ANY VERSION NUMBER YOU LIKE THEN CLICK BUILD A WINDOW WILL OPEN GO TO C:\ExcaliburKitchen\FLASH ROM\ AND SAVE AS RUU_signed.nbh
THEN FLASH YOUR PHONE WITH YOUR NEW ROM
REMEMBER IM NOT RESPONSIBLE IF YOU BRAKE YOUR PHONE
By RickWyatt @ xda developers
heres the link :- http://rapidshare.com/files/119437757/ExcaliburKitchen.zip
What if there is no InitCmd.ccs file? Trying to use TMO WM6 ROM. This is the same problem I had trying to use the other kitchens (I thought it was me).
Boo Boo looks almost like a clean ROM:
Tried anyways only removing the handango in hand links (two files) from the rom and built RUU_signed.nbh with os only. Flashed fine with no issues, but most T-Mobile specific apps/settings did not load and do not show in the startmenu. TMO homescreens, ringtones, favorites, etc did not get placed/installed correctly. MyFaves (HTC App) seems to have installed correctly although it tries to load TMO homescreen which is now in the Windows directory, TMO Internet Settings loaded, but the startmenu is laid out differently. Most TMO Customizations just got installed in Windows directory where they will not install (homescreens, ringtones, etc. don't work under Windows directory). The files are there, but the phone runs as if they are missing (almost like running the Brightpoint ROM). The only TMO customizations Visible are the Startup and Shutdown screens, and winwap. Somehow the TMO customizations did not get loaded, but everything seems to work fine.
Recommend the following changes to make the kitchen more universal.
added command to DumpOS.bat
ren *os.nb os.nb
changed filename in BuildOS.bat to os.nb
Just an idea since not all ROM's have the same XX_os.nb filename.
ROM Cooking Hints?
Hi Ricky, and thanks a lot for such a good work, and sharing your knowledge !!!
A couple of questions around ROM cooking ...
- How does ROM size affect WM? I mean, adding files, apps, etc. to the rom makes WM having less memory to run programs or store files, or run slower, for example?
- I guess adding more and more files might create a ROM that does not fit in the Excalibur and might break it if flashed. How can we know when to stop adding stuff?
Thanks!!
EarthQ said:
Hi Ricky, and thanks a lot for such a good work, and sharing your knowledge !!!
A couple of questions around ROM cooking ...
- How does ROM size affect WM? I mean, adding files, apps, etc. to the rom makes WM having less memory to run programs or store files, or run slower, for example?
- I guess adding more and more files might create a ROM that does not fit in the Excalibur and might break it if flashed. How can we know when to stop adding stuff?
Thanks!!
Click to expand...
Click to collapse
if you add stuff to the rom it will slow down the rom but not to much & if you take things out of the rom it will get faster
and if you add to much software then the kitchen will crash
How do you remove programs? What all do you need to delete to safely remove it from your phone?
Did my first attempt at cooking. IT was successful, and I am using it know, but some changes, such as files I added to the InitCmd.tgz worked, and were extracted fine. Other tweaks, such as changing a CPanel's contents and adding media to the windows folder did not work, and came out as if I hadn't changed anything at all.
Do I need to make Cpanel changes in two places (Initcmd and somewhere else?) Is there another step to making files "stick"?
you also have to edit user.hv and default.hv
rickwyatt said:
you also have to edit user.hv and default.hv
Click to expand...
Click to collapse
Thank you!
rickwyatt said:
you also have to edit user.hv and default.hv
Click to expand...
Click to collapse
Ok, I don't get it. Rick, or anyone, can you explain the work flow a little more? I can't find a user.hv, or a default.hv in the dump contents, nor do I know what to do when I do find them. I see there is a assembler/disassembler toolset in the kitchen, but it fails to find any .hv's either. Is there anything missing in the steps above?
Profezza said:
Ok, I don't get it. Rick, or anyone, can you explain the work flow a little more? I can't find a user.hv, or a default.hv in the dump contents, nor do I know what to do when I do find them. I see there is a assembler/disassembler toolset in the kitchen, but it fails to find any .hv's either. Is there anything missing in the steps above?
Click to expand...
Click to collapse
you have to unhide system files what you have to do is move user.hv and default.hv to to edit user.hv&default.hv folder press disassemble.dat it the make to more files called HKCU.reg and HKLM.reg now download emediter freeware and save HKCU.reg and HKLM.reg UTF-16LE Now move HKCU.reg to notepad2.exe edit it then press save do the same for HKLM.reg then what you do is make a dump folder then press Reassemble.dat if there is no errors in the hv files then you will find user.hv and default.hv in the dump folder that you just made if the is an error it command prompt will tell you were the error is once dont move the hv files back to you dump folder
I think I got all that! Thanks a bunch.
Rickwyatt,
When I run Disassemble.bat it tells me it can't find the default.hv and user.hv file and then it tells me that there is no regedit4.txt file in the Resources directory.
I checked the locations of the files, and there isn't a regedit4.txt file but the default.hv and user.hv files are right where they are supposed to be. Any ideas?
[edit]
Nevermind... unchecked the "hidden" box on the two files... it still doesn't find the regedit4.txt that it's claiming is missing
Ok, so I successfully was able to use this to mod the 1.6 Rose ROM, but I noticed that the InitCmd.ccs looks far different. How do I edit the menu items in this ROM?
Specifically I am wanting to remove a bunch of stuff I don't use from the ROM:
- Orneta Calculator
- OMAP Clock
- Getting Started
- SMS Tool Pack
- Light Config
- Messenger
- Streaming Media
- Windows Live
- Resco Explorer
- CHome
Also if anyone can post the list of files that I would need to delete out of the exploded ROM for the above, that would be great... especially CHome.
I do want to give this ROM serious props. I love it! I just want to pare down the things I personally have no interest in using, but I don't want to delete the wrong files, and/or not remove the menu items in the ROM for them.
Rickwyatt,
The Disassemble.bat file keeps crashing. It tells me that regedit4.txt not found in the Resources directory. It creates a hkcu.txt and an hklm.txt file though.
open hkcu.txt hklm.txt then add REGEDIT4 to the top line then save rename hkcu.txt hklm.txt to hkcu.reg hklm.reg
New HTCRT.exe version 1.1.4
windows media player playing not smooth.
One bug in my own rom (base on your kitchen): Windows media player playing not smooth. How can i fix it, what reg can i edit?
travis.garrison said:
Ok, so I successfully was able to use this to mod the 1.6 Rose ROM, but I noticed that the InitCmd.ccs looks far different. How do I edit the menu items in this ROM?
Specifically I am wanting to remove a bunch of stuff I don't use from the ROM:
- Orneta Calculator
- OMAP Clock
- Getting Started
- SMS Tool Pack
- Light Config
- Messenger
- Streaming Media
- Windows Live
- Resco Explorer
- CHome
Also if anyone can post the list of files that I would need to delete out of the exploded ROM for the above, that would be great... especially CHome.
I do want to give this ROM serious props. I love it! I just want to pare down the things I personally have no interest in using, but I don't want to delete the wrong files, and/or not remove the menu items in the ROM for them.
Click to expand...
Click to collapse
Looking to dump a lot of the same things. If I remove them from the "dump" folder, is that the end of it or do registry settings need to be removed as well. First time doing something like this, thanks for the help and patience.
Instead of going through this tedious process.. why not start with a very light version of the ROM and just add what you need ?

Categories

Resources