yashsingh1/xdaforums huggingface dataset:
[Wing, P4350 ROM development] toadlife:
Each folder under the OEM folder represents a single program, or collection of settings. As for where to get packages, I would do a search here on the xda forums. I have a massive collection of OEM packages that I downloaded a long time ago, but I don't remember where I got it. Another great source of packages is ppckitchen.org. Their kitchen program, "BuildOS". While it doesn't support the Wing, it's updater can automatically download a massive rar file full of OEM packages.

Once you have the OEM packages, it just a matter of copying the packages into your OEM folder, and cooking away.

Here is the rundown of what a typical OEM package directory contains. This following is a directory listing of the package for the SPB touch calculator which is included in my ROM, Ava:

6871c025-a99a-4a25-a746-31398d3d6499.dsm - not sure what this is. In official ROMs, they have a purpose, but in OEM packages they are usually blank.

[*]6871c025-a99a-4a25-a746-31398d3d6499.rgu - Registry settings for the program

[*]calculator.exe - program component

[*]Calculator.lnk - program component

[*]calculator_eng.txt - program component

[*]initflashfiles.txt - file that directs the OS where to put soem of the files in the package. By default all files go into the windows directory. If some files need to go elsewhere (like shortcuts), this file tells the OS where to put them.

[*]option.xml - This file contains information about the package. The program "BuildOS" reads this file.

[*]SpbCalc_L.gif - program component

[*]SpbCalc_P.gif - program component

Also, under the SYS folder (which is the operating system) each folder represent a component of the operating system. You can remove quite a few of the components under SYS to save space.

For example, you can remove these from the SYS directory safely:

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

AUTOUPDATE (never used)

Enterprise (Business type stuff?)

Entertainment (the games)

INTERNETSHARING

SampleMusic

WelcomeCenter

There are several other components that you can remove, but that's a rather advanced topic that I am not an expert in.
[Wing, P4350 ROM development] toadlife:
Here you go....

Here is the OEM folder for Ava.26. If you use this OEM with my kitchen, the resulting ROM will be like the Ava ROM. Keep in mind that the Ava ROM had a slightly different SYS folder, so it won't be identical. Since I don't have a Wing any more, I can't even guarantee that it will build!

To build with this OEM, you will need to remove NetCF 3.5 from the OEM folder (or uncheck it when BUILDOS comes up), as it conflicts with the NETCF in the SYS directory of the kitchen.
[Wing, P4350 ROM development] ace10134:
BTW, Cooking and flashing the default setup in the kitchen, the ROM does NOT boot up! I thought I was crazy trying to get this thing to work, trying to create a 6.5 ROM, but after all, the base of the kitchen was broken!

Am I assuming correctly? Has anyone got this to build the default ROM???
[Wing, P4350 ROM development] toadlife:
If that's the case, I should just remove the Kitchen. What happens when the phone boots? Do you get a white screen or just the boot logo?
[Wing, P4350 ROM development] ace10134:
Just the T-Mobile boot logo. Doesn't get anywhere after 20 minutes, so I'm sure it doesn't boot.

You should probably wait for someone else to confirm it, but I tried it with the base settings and with modifying the files myself, ALL attempts failed :(

I'm working on making my own kitchen, I guess. I'm getting into the cooking stuff now.

Anyone else not able to make a working ROM out of this???
[Wing, P4350 ROM development] toadlife:
I just built the LZX and XPR version of the default ROM using the kitchen and uploaded them to my site:

http://toadlife.net/stuff/forum_stuff/XDA/ROMs/Wing/WingDev.01.LZX.7z

http://toadlife.net/stuff/forum_stuff/XDA/ROMs/Wing/WingDev.01.XPR.7z

Try flashing those. If they don't work I'll know for sure if the kitchen is FUBAR.
[Wing, P4350 ROM development] ace10134:
Ok, lol. I'll download and flash. I'm working on creating my own kitchen, fun, fun.

Flashing it....IT WORKED. HUH. Idk why I couldn't get it to work. Did anyone else get it working, other than the author?
[Wing, P4350 ROM development] ace10134:
Flashed it, and your version worked. Can anyone else create a ROM from the kitchen and get it to work??
[Wing, P4350 ROM development] toadlife:
That's somewhat of a relief. :p

It could still be an issue with Windows 7.

I just installed Windows 7 RC x64 on my desktop. I am going to run my kitchen on it and see what happens.
[Wing, P4350 ROM development] ace10134:
K. I'm using 32-bit. Remember to disable the UAC too.
[Wing, P4350 ROM development] toadlife:
okay, I downloaded my kitchen onto my W7 desktop.

I ran into the error you got with the ROM Build tool. I was able to get around it without disbaling UAC though. I browsed to the BUILD folder, right-clicked on the htcrt.exe file and set it the "Run this program as an administrator" flag in the compatibility tab.

Right-clicking on the StartKithen.bat file and selection run as administrator fails because it changes your path to c:\windows\system32, which screws everything up.

If you start CMD.exe as an administrator and then cd to the kitchen's root directory, the kitchen will run properly.

Here is WingDev.01.XPR built on my Windows 7 machine....

http://toadlife.net/stuff/forum_stuff/XDA/ROMs/Wing/WingDev.01.XPR-builtwithwindows7.7z
[Wing, P4350 ROM development] ace10134:
The kitchen would always run fine. I never did the Admin things. I'll try out the ROM you cooked soon.

Downloading your Win7 Cooked ROM...

Flashing..........Booting.......

Worked. Guess I'm just retarted :( I'll try out the Admin settings after re-downloading the kitchen.
[Wing, P4350 ROM development] ivanmmj:
I was the one officially in charge of porting that kitchen to the Wing... but I had lost my files in a computer issue I had and never bothered going back and re-porting it...

Anyhoo, this is pretty dead on.
[Wing, P4350 ROM development] ace10134:
So yea, I updated my post above. Your cooked ROM worked. And I concluded that I'm just retarted. I'm gonna try out the Admin tweaks. But...

------ROM Info------

Free RAM - 24.21 MB

Free ROM - 36.13 MB​

I'll be posting again saying if I get it working myself.
[Wing, P4350 ROM development] ace10134:
Admin tweaks aren't necessary.

I had the Kitchen folder on my Desktop, not in the C:\ root. I thought "preferably" meant that I had the option of where to place it! Working now though. Thanks!!!
[Wing, P4350 ROM development] toadlife:
LOL!

When I cooked the ROM in W7, I actually ran it from my desktop to make sure it would run okay there.

But whatever. I'm glad you got it to work!

:)
[Wing, P4350 ROM development] holylove02:
Wow, a real HTC Harald, aka Tmobile WING KITCHEN!!!! Finally!!!! I've been waiting for this, for about a year!

First off, I'd like to say thank you for your hard work on this. It sucks that you did all this work only to loose the thing it was made for. Good luck on Aug 12th. (AKA WING II Rhodium Launches) anyway, I'm not much of a writer, honestly more of a mooch of this site and others, but I did want to say, I FOR ONE DID GET EVERYTHING WORKING WITH THIS KITCHEN!

DO NOT SCRAP! I'm running windows xp pro. on a rock of a pc. Lately, I've been testing my (and my phone's) limits lately. I've done the once hard, now common things like page pool changes, (mine's at 2mb) and ROM changes. I've got an older rom running touch flo 2d and loving it, with about 30 programs with 10mb storage, and 14mb program.

I"m tired of having to add programs to the storage of the phone every time I have to do a hard reset. I've got all the cab files of the programs that I want to add to the rom itself, but don't know how to add them. I've followed to instructions exactly, and am there in the folder to add/remove programs, but, do I just copy/paste the folders of the programs that are stored on my sd card, or .... what?

Someone, anyone. please help! I'm so close to finally making my phone truely mine. Thanks in advance.

btw, if you need to know the programs, I can give a list, or whatever other info needed.
[Wing, P4350 ROM development] ace10134:
Umm, there's been T-Mobile Wing kitchens for ages. This is basically one of those ancient kitchens, just with a few modifications.

Ivan is building a real powerful kitchen for our phone right now, the SuperJustKitchen, which is a visual kitchen. Now that's a real kitchen.

And about how to flash in the .CAB files... I'm asking the same question below...
[Wing, P4350 ROM development] ace10134:
ToadLife.

How do you cook in the .CAB files??

Prefix - I've searched through just about every instructions set that there is, for like every single phone. I've searched/cooked/flashed my life out, couldn't get this to work, ever.

What I've Done - I have your base kitchen, the way it comes. I have the PointUI.cab file. I used Package Creator v2.7 to create the folder that is necessary to place in the \OEM folder. So, this is the folder that I have, the PointUI folder (attached). I've tried placing that folder in the \OEM folder, but had no luck getting the ROM to boot.

What to do Now?!?! - Are there any other files that I have to modify for this to work?? Should the folder be named differently?? Help me, and then I'll help that other guy. Thanks, ToadLife.
[Wing, P4350 ROM development] toadlife:
The package creator has a habit of creating packages that don't work without modification because of the difference between cab installers and OEM packages. With cab installers, programs' files usually go somewhere under the program files directory, whereas in a ROM, every file, including the files OEM packages go into the Windows directory. Also, cab installers sometimes contain custom dlls which perform actions (like registry changes) that the package creator cannot recreate.

Your best bet is to take a registry dump of your phone, install the cab file and get the program working, then take another registry dump and compare the two dumps using a program like WinMerge. From that you might be able to see what the package creator is missing.
[Wing, P4350 ROM development] ace10134:
So, I got it working, as you can see above. The method that you suggested, ToadLife, sounds complicated! But if I ever have any problems, I'll have to do it your way, I guess. But for now it's working! But...

How can you control which programs get started when you boot up the phone? I'd like PointUI to be loaded automatically when you boot the phone, you know? Just direct me to the file name of the file that I need to edit, that should be all I need to get going. Thanks again!
[Wing, P4350 ROM development] toadlife:
Wow. Thanks for the compliment. You do realize that Ivan's and my kitchens are both based on other peoples kitchens, right?

Mine is based on Ivans kitchen which was based on bepe's old kitchen.

Ivan's new kitchen is based on Ervius' visual kitchen, which is still based on bepe's tools.

I just took Ivan's kitchen and fixed the things which were broken.

The biggest contribution from my kitchen is the work I did stripping down the T-Mobile's stock OEM. T-Mobile crammed a ton a crap into their OEM and I put in a ton of hours meticulously stripping their junk out.

That OEM can be taken and used in Ivan's new kitchen.
[Wing, P4350 ROM development] toadlife:
It's most likely in the registry.
[Wing, P4350 ROM development] ace10134:
You're welcome. I was just trying to make that guy realize how stupid his comment seemed. But see, this is how cooking works, one chef creates a base kitchen (Bepe), and then another chef modifies it more, then Ivan comes along and makes it better with more modifications, and then you come along to polish it up! We're all just helping each other, in a way. You've helped me, and I'll probably help the next person. But you did some good work with the OEM folder, I guess. All of that work usually goes unnoticed, so thanks!

And I'm looking through the registry and all. Where exactly is the registry in the kitchen? The boot.rgu file?
[Wing, P4350 ROM development] ace10134:
I discovered how to make a program that I cooked in automatically boot.

Already got what I wanted to do below, solved! You can see the next post on how I did it.

Now, I wanna figure out how to create a .CAB file that simply places a shortcut for a program into a folder. Do you know how to do that, ToadLife??

I have an ultimate goal, as to why I want to create that. Since when PointUI automatically boots up, when you first flash the ROM, PointUI interferes with the screen calibration, which makes the phone basically unusable. If I create a .CAB file that does what I said in paragraph 2, then I can make that CAB file install in the ExtROM while the ROM is setting up on the device after flashing. Therefore, the screen will already be calibrated, but then on the next boot-up, the shortcut to run PointUI will be in the start up folder, which will make PointUI run on all future boot-ups. So is there any other way I could achieve that? Making a program auto-start up after the initial screen calibration is done? I don't want to install PointUI using ExtROM, because ExtROM doesn't give the benefits that cooked-in programs do, right?

Thanks for the help. If you can just tell me how to create a CAB file that places a shortcut, that'd be awesome. I've been searching through threads for hours now, and had no luck :( Thanks!!
[Wing, P4350 ROM development] toadlife:
You don't need a cab for that. You can do that via a .xml file in the extrom. Look at the provxml files that are already included in the OEM/SYS dirs and you will see that some of them perform file operations. An example would be the "mxipupdate_office_100.provxml" file in the Office folder. That file moves shortcuts around.

Create an xml file that moves the shortcut using the office one I mentioned about as a guide.

Open up the extrom image with the TFAT_Image_Editor

Add the xml file you created to the ExtRom image and save the extrom image

Cook your ROM with the new extrom image

As long as you wrote the xml file with the correct syntax, the short cut should be copied during the customization part.
[Wing, P4350 ROM development] ace10134:
Or see my post above. I like just using the Config.txt file and using the CPY1: command, it's quicker, I believe. The guide is just beastly because I made it for super dummies, and I couldn't find a single guide on how to create a shortcut, either.
[Wing, P4350 ROM development] toadlife:
That CPY method is probably easier than the xml method I mentioned, but you don't need Wimimage, which is not free. You can use that tfat image editor I mentioned to edit your extrom.
[Wing, P4350 ROM development] ace10134:
Ok. Well u've got a 30-day trial, which is good, cuz it only counts on the days that you use it. But yea, I might modify it for using the TFAT Image Editor.
[Wing, P4350 ROM development] holylove02:
First off, I realize that I don't know everthing there is to know about flashing roms, building them, etc, but apparently you do. May we all bow down to your grace and knowledge. I'm not trying to say anything more, than thanks. you got someting to say, PM me.
[Wing, P4350 ROM development] ace10134:
umm???

Well let's all bow down to Ivan, if anything. He's the real god of the Wings right now.
[Wing, P4350 ROM development] holylove02:
To ace 10134 thank you for your help on getting the zip file and intructions needed to get things goin. I hope this attempt of gratitude isn't to juvenile or petty for others. This, is why I don't comment. But thank you all.
[Wing, P4350 ROM development] ace10134:
Ok, yea, I see what you're saying now.

So yea, I did create all of those nice instructions guides there, but it was Ivan, ToadLife, and others that taught me the process. So, the chain of thanks goes on forever. I just put it together in a nice looking guide. Similar to what ToadLife did with the kitchen. We both owe lots of credit to the people that came before us.

So, thanks to every single chef that ever lived!
[Wing, P4350 ROM development] Iriemon:
edit: wrong thread
[Wing, P4350 ROM development] Humblehippie:
Kitchen Side-by-Side problem

I just tested the kitchen to see if I could build my custom ROM. I follwed all the instructions posted @ the beginning of this thread. I run startkitchen.bat & after BuildOS completes, I close the window. That's as far as it will go, I then end up with the the following:

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

Preparing files...

Please wait...

ROM\cecompr.dll.LZX\imageinfo.bin

ROM\cecompr.dll.LZX\S000

ROM\cecompr.dll.LZX\S001

ROM\cecompr.dll.LZX\S002

ROM\cecompr.dll.LZX\S003

ROM\cecompr.dll.LZX\S004

6 File(s) copied

1 file(s) copied.

Done!

Creating 'dump' folder...

Done!

BUILDXIP 0.54 Copyright (c) 2007-2008 bepe 30 Jan 2008

Slot 0 Boundary: 0x01f90000

Slot 1 Boundary: 0x03dee000

RAMStart: 0x8c3a5000

RAMFree: 0x8c3d6000 - 0x8fc00000 L0382a000

KernelFlags: 0x00000002

FSRamPercent: 0x00000004

Done!

The application has failed to start because its side-by-side configuration is in

correct. Please see the application event log for more detail.

The system cannot find the batch label specified - error

Would you like to Flash your ROM now?

[y/n]:

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

Of course I choose no. Has anyone else encountered this error? I am running 32bit Vista. UAC has been turned off since I got my laptop.
[Wing, P4350 ROM development] ace10134:
Well, you edited some things yourself in the kitchen, and you messing around in it messed something up.

Start over from the basic kitchen, and then follow my guide on how to modify some things: http://xdaforums.com/showthread.php?t=541504

I've got lots of things covered in very great detail. If you need more help, just ask! (Ask on this forum, not on my guide forum, since I might need more posts) Thanks!
[Wing, P4350 ROM development] ivanmmj:
Sounds like you might be missing the c++ redistributables or the .NET frameworks.
[Wing, P4350 ROM development] Humblehippie:
Wrong

I touched nothing! I may be a junior member, but far from noob!:cool: I followed the instructions {to the letter} with a freshly unzipped kitchen {Properly placed on root drive}.

:confused:Why would you automatically assume that it would be my screw up?:confused: As a senior member you need to show a lil' more respect to people with real questions & set an example for others to follow. I've read many a post where you are too quick to criticize someone without knowing anything. To top it off you didn't even post an answer. If you don't know what a possible solution is, then keep your fingers off the keyboard & let Toad, Ivan, or someone that has a real solution answer!

Now, before you set your keyboard ablaze, SIT BACK, TAKE A BREATHE & take this as constructive criticism. You are a great end-user & have created some excellent guides that are very comprehensive, & well written. For that, I praise & thank you. But, on the other hand, it seems that many of your posts are more critical then helpful. This site was designed to be a community helping each other.

Remember what mommy said: "If you can't say anything nice...":o
[Wing, P4350 ROM development] Humblehippie:
No change

Thanx much for the tip. I checked the system, & .net 3.5 is up, running, & updated. I had to reinstall VC++R {forgot that when I went from Home to Ultimate}. I retried everything after installing the redistributables, & still no change, I get the same error. I might try switching to my tower & trying it there instead of my craptop.
[Wing, P4350 ROM development] ivanmmj:
Which VC++ R did you install? 2005 or 2008? I forget which one is needed so you might as well install both. Also, 3.5 includes 2.0 but not 1.1. That one has to be installed seperately. Also, if you're in vista or windows 7, try setting all the EXE's to run as administrator.
[Wing, P4350 ROM development] ace10134:
Well see, it should be working.

You have it in the root of your hard drive (C:\)?

(And it works fine on my laptop that's under powered, so it's not that).

You disabled UAC (I'm quite sure you've done these things, but it's good to double check).

Try running the kitchen files as an administrator. I didn't have to do that on Win7, but Toad Life did say that you might have to do that.

(And I only assumed that you changed some files yourself, because you said you tried to cook "my Custom ROM").
[Wing, P4350 ROM development] Humblehippie:
Found solution!

I went to the tools folder in the command interface & tried out each of the programs. I came across only one that gave me a side-by-side error; G'Reloc! Inside the tools folder {Hollyskitchen\working_folder\tools} there is a file name g'reloc.exe & another named g'reloc.exe.old. I renamed the standard .exe to g'reloc-bak.exe, then deleted .old off the other G'Reloc file {making it the true G'Reloc}. Ran the kitchen & everything worked as it should. Now let's see if all the reading pays off & I can actually cook something up. I hope to be posting my own ROMs soon. After I test them out on my own Wing first.

So, Ace, next time I post a problem in here, you can scold me all you want, because it will be my #%@& up. LOL :p
[Wing, P4350 ROM development] ace10134:
Well I'm glad you got it working!

If you wanna build a 6.5 ROM, you can find the SYS and XIP folders from my numb3rs ROM. It's build 23016. You should be able to just copy the SYS and XIP folders into your kitchen, and it all should work! No need to "port" it, since I already did that.

If you need some help with cooking in things, I'm glad to help. If there's something that's not in the guide yet, or something's wrong, tell me, and I'll add it or correct it. I still need to add things to that guide. But ask about anything, and I'll hopefully know how to help you.

PS: Cooking is all trial-and-error, as you found out. you'll get errors from the kitchen for duplicate files, etc. Use your Windows Search to find duplicate files and remove them. Keep a Changes Log so that if something does go wrong, you can quickly identify what it was. And when you remove things from your SYS and XIP, use the Backup folders in Holly's Kitchen. Those tips should help you get going like a pro! But seriously, feel free to ask.
[Wing, P4350 ROM development] toadlife:
Glad you figured it out, but keep in mind that using that old version of Greloc will cause you problems (it will crash) if you try to build a wm 6.5 ROM. That's why I replaced it with the new one.

I think maybe the new greloc might require an older version of the .net framework. On my computer, I had every version of the .Net framework installed.
[Wing, P4350 ROM development] ace10134:
Toad, I thought you couldn't build a WM6.5 ROM?? I remember you saying that you too failed at it?

But, more importantly, Ivan was wondering how you got MMS to work instantly. Ivan's ROM's require Network Wizard, for some reason.
[Wing, P4350 ROM development] ivanmmj:
His network settings are set to Tmobile's network. My settings are set to nothing for the MMS. I expect people to run the network wizard themselves because I get a lot of users that are not in Tmobile.