[GUIDE] How to Cook [WING]
How to Cook a ROM
Table of Contents
Intro (in this post)
How to Cook your First ROM (T-Mobile Wing)
How to customize your cooked ROM
How to Cook a .CAB file into your ROM
How to Cook a .CAB file into your ExtROM (So that it can be uninstalled by user later)
How to Cook a Theme into your ROM
How to Create a Shortcut/How to make a program automatically boot after setup
How to Port Individual SYS Folders (They're half of what defines WinMo 6.1 from 6.5, and on)
How to Port a ROM (So that you can have the latest and greatest version of Windows Mobile)
Porting from the Same Resolution
Porting from a Different ResolutionMy OEM Collection
My SYS Collections
My XIP Collections
Intro
Cooking. Cooking? Huh? Well, get your aprons out, because this might get messy! What you're going to be cooking up isn't going to be nearly as tasty as Pizza Hut's Oven Baked Tuscani Pastas (my fav), but it will be fun to use! You are going to be "cooking" something that is called a "ROM". That is basically like an Operating System for your phone. A ROM includes these things...
The mobile Operating System: Windows Mobile. What a chef (that's you) can do is create a ROM with the latest version of Windows Mobile (right now, 6.5). Versions are sub-catagorized by "builds". The latest build of Windows Mobile 6.5 (as of 8/10/09) is build 23024. So, as a chef, you can port and cook in this to your ROM. More on that later.
The Programs: YOU get to decide what comes in your ROM. When you cook a program (CAB) into a ROM, then the program cannot be removed, but it will perform a little better, since it was cooked in. So, consider those two factors if you are cooking a ROM for a group of people, not just yourself.
The Registry/Settings/Etc: You can setup your phone so that many things are pre-configured for you! Need Exchange setup right after flashing, done! Choose what Today Screen items you want, done! YOU get to set it up how you like.
First you have to start off with a kitchen. For T-Mobile Wing/Herald users, there are some options. There is Holly's Kitchen, SuperJustKitchen, and StrippedKitchen. Holly's Kitchen is a kitchen based off of Ivan's old kitchen, which is based off of Bepe's old old kitchen. It is the "classic", non-visual style of kitchens. SuperJustKitchen is a new, "visual" kitchen, meaning that it has a GUI (a more friendly interface). SuperJustKitchen should be easier to use, but it isn't covered in this guide yet. Then there is StrippedKitchen, which is built off of Holly's Kitchen! It will give you the most amount of free RAM from Windows Mobile 6.5 without even doing anything, and the guides for cooking with Holly's Kitchen will follow for StrippedKitchen. So, take your pick, and cook! If you want to build a ROM with Holly's Kitchen, just follow the post below. If you want to use StrippedKitchen, go HERE. If you want to use SuperJustKitchen, go HERE.
To do advanced cooking, you must enable the viewing of hidden files!!!
Open a file explorer from any location (Like, go to the Start Menu -> Documents).
For Windows XP, you can probably just click on the Tools menu. For Vista and Windows 7, you have to press Alt to get to the menu first.
Go to Tools -> Folder options.... In the new Folder Options windows, go to the View tab.
Select Show hidden files, folders, and drives. Uncheck Hide extensions for known file types and uncheck Hide protected operating system files (Recommended).
Now click Apply and then OK.
How to Cook your First ROM using Holly's Kitchen (for the T-Mobile Wing)
Holly's Kitchen is based off of Ivan's kitchen, which is based off another kitchen. The Build of the default ROM that it will make is 21051, the latest WM6.1 ROM. But you don't need to know all of that. All you have to do is use it! Let's get started...
Download the kitchen HERE
{
"lightbox_close": "Close",
"lightbox_next": "Next",
"lightbox_previous": "Previous",
"lightbox_error": "The requested content cannot be loaded. Please try again later.",
"lightbox_start_slideshow": "Start slideshow",
"lightbox_stop_slideshow": "Stop slideshow",
"lightbox_full_screen": "Full screen",
"lightbox_thumbnails": "Thumbnails",
"lightbox_download": "Download",
"lightbox_share": "Share",
"lightbox_zoom": "Zoom",
"lightbox_new_window": "New window",
"lightbox_toggle_sidebar": "Toggle sidebar"
}
Use 7zip or another program to extract the kitchen folder. Once you get it extracted, you should have a folder called HollysKitchen.
Place that folder in the root of your hard drive (should be the C:\ drive). Make sure that you don't have HollysKitchen within another folder. Your file root should now be "C:\HollysKitchen", and then the next file path should be "C:\HollysKitchen\Working_Folder".
If you are running Vista or Windows 7, then you must disable the UAC. Go to your Start menu, type in "UAC", and then press enter. In Windows 7, you have a sliding bar to the left of that window. Slide that all the way to the bottom, so that it's set to "Never notify". In Vista, you should be able to just click Disable. This step is necessary for the kitchen to work.
Now let's just build the basic ROM that's included in this kitchen. You can make modifications later.
Go to the root of your kitchen ("C:\HollysKitchen") and start the StartKitchen.bat file. This will open a white command prompt.
You now have the option of building a ROM or configuring the kitchen. Right now let's just build the ROM. Press 2 and then Enter.
The white screen should proccess some commands briefly, and then a new window will open. This is the BuildOS window, where you can select what OEM packages you want to cook into (install) on your ROM.
The default kitchen has a Comm Manager, Dummy SQM (required for some programs), Essential Tweaks (registry edits), and the HTC Task Manager (for the Today Screen). Those are all located in your kitchen's OEM folder (C:\HollysKitchen\Working_Folder\OEM). For now, we don't have to be concerned with that.
So, you should still be on that BuildOS window. Leave everything checked, and then click the green "Go" arrow on the top left. You will see a progress bar appear on the bottom right corner. Let it work. Then the progress bar will start over when it is creating the Registry. Still let it go. Once you see the progress bar disappear, and you see DONE on the bottom left corner, close out of the BuildOS window.
You should be back in the white command prompt for a second, and then a new black command prompt will pop up. Let it run, and then it will automatically close itself. You will then be back in the white command prompt window. It will continue proccessing commands. Just let it work.
Finally, it will say, "Launching Pagepool Changer...", when a new window will pop up, the Multiplatform PagePool Changer.
Click on the Select button within the PagePool Changer window.
Navigate to your kitchen's folder (C:\HollysKitchen\) and then go into the Working_Folder. Then open the BUILD folder (C:\HollysKitchen\Working_Folder\BUILD). You should find a file called "os.nb". Double click it to open it.
Now you are back in the PagePool Changer window. Time to pick your PagePool. PagePool is the memory (RAM) allocated to running Windows Mobile. You should pick 6 MB for the T-Mobile Wing (you can pick something else, but this is the best). Your settings in the window should look like this...
Once you have the PagePool setting selected, click the Change to button. Then click the Close button.
Now a new window should have appeared, the htc rom tool 1.1.4 window. Your settings should already be enabled for your phone. In the Device drop down menu, you can pick another device, but I'm not sure if it'd work, never tried it. T-Mobile Wing users: leave the settings as-is. If you want, you can change the Version text box with the name of your ROM, which will be seen when flashing (not necessary). And if the settings page isn't already filled in, then that means that you didn't disable UAC in Vista or Win7.
So, you didn't have to change anything in that window. Just click the Build! button. Now a file explorer window opens. Navigate to your kitchen's folder (C:\HollysKitchen\), open the Working_Folder folder, and then open the BUILD folder (C:\HollysKitchen\Working_Folder\BUILD). In the File name text box, pick a name for your ROM, such as "First ROM", and then click Save.
[*]A Process log window will appear. Let it work. Once it's done, it will say "DONE: All seems to be ok!", and the OK button will become active. Then it will have a 5-second countdown until it automatically closes. You can click OK yourself if you don't want to wait.
[*]Now you have built your ROM, and you are back in the htc rom tool 1.1.4 window. Just close out of the window. Now you are back in the white command prompt window.
[*]It will tell you "That's it. We're done." and then it asks you, "Would you like to Flash your ROM now?" If you are HardSPLed already and you want to flash, then respond with "y" and enter. Then connect your phone to your computer through USB. Make sure that ActiveSync is connected. (If you aren't HardSPLed, then respond with "n", then navigate to the C:\HollysKitchen\Working_Folder\Flash folder, where you will find your .NBH file, flash that as normal.)
[*]Now you are in the flashing window. Check the first box there, click Next, then check the steps list on the next page, check the box, click Next. It will load for a few seconds, and then pop up with another window. Click Update, and then click Next. It should start flashing!
[*]Once completed, your phone will re-boot, and then it will boot up into the new ROM you created! Success!
So, you just created the default ROM from Holly's Kitchen. Now that you learned how to cook a ROM, you want to make it yours! You'll find more guides below, on how to customize your ROM.
How to Cook a .CAB file into your ROM
Here's how to take a .CAB file, convert it to the OEM format, and then cook your new ROM with it.
Download Package Creator v 2.7.zip
Extract it to a location of your choice
Open the extracted folder, Package Creator v2.7
You should see this in the folder...
You can go ahead and remove the Pointui Home v 1.51a.CAB file. It is not necessary. But it is also not necessary to remove that file, since you can have mulitple .CAB files in that folder. Do what you want with it.
Take the .CAB file that you want to be cooked in your ROM, copy it, and paste it into the Package Creator v2.7 folder.
Now your Package Creator v 2.7 folder should be similar to the screenshot shown in step 4, but you should have the .CAB file that you just pasted into it there.
In the same folder (Package Creator v2.7), run the Package Creator v2.7.exe file.
You should see this screen...
Click the Open Cab file button. A new window will then pop up. Navigate to the location of your Package Creator v2.7 folder (if it's not already there), and then double click your desired .CAB file.
Wait for one second, and then a window will pop up, saying Done. Click OK.
Now go back to your Package Creator v2.7 folder, and observe that a new folder was created there. Whatever the name of it is, it is now your .OEM app folder.
You now need to remove the spaces from that folder's name. Click on the folder once (so that it's highlighted), and then click on it a second time (so that you can re-name it). You can change the name of the folder to whatever you like, but make sure that there are NO spaces left in the folder's name!!
Open your kitchen folder up.
Navigate to your OEM folder within your kitchen.
Take the folder that you created and re-named (in steps 12 and 13) and drag it into your OEM folder. Just place it in the root of your OEM folder.
Cook your ROM like normal now. Your new .CAB program will be automatically installed! If you have more questions, just ask, and I'll clarify it more.
How to Cook a .CAB file into your ExtROM (So that it can be uninstalled by user later)
The ExtROM is what you see running after you flash your ROM. That initial setup "customization" screen that you see after booting your ROM for the first time is the ExtROM. One thing you can do with it is install a .CAB file that can later be uninstalled by the user. I'll show you how...
Get the .CAB file that you want to have installed by the ExtROM. Have it in a handy folder.
Now... Download WinImage, Dutty's, and HTC Tools.zip
Unzip it to the location of your choice. Open the WinImage, Dutty's, & HTC Tools folder. You should find three files in there, winimage, duttys tool nbhtool, and Htc Rom Tool, as you can see below...
Run winimage from within that folder. Click OK to the Trial Registration screen (you have a 30 day trial, and the days only count when you use the program).
Now you should see this screen...
On that screen, go to File -> Open, and then navigate to your kitchen's folders. Now navigate to your kitchen's Build folder. Locate a file that has "ExtROM" in it's filename and make sure that the extention is a .NB file. (For users of Holly's Kitchen, the file is called WingDev_ExtROM.nb) Double click on the file, and then you should see something like this...
Double click on the __TFAT_HIDDEN_ROOT_DIR__ folder. Now you should see something like this...
Go back to the folder that you have your .CAB file in, and then drag and drop it into the window from the previous step. It will ask you, "Do you want to inject 1 files occupying XXX bytes?". Click Yes.
Now you should have your .CAB file in your ExtROM. All you have to do is write the command that executes it...
In the same window, (WinImage), drag and drop the Config.txt file from that window to your Desktop (or any other location of your choice)
Now open your Config.txt file from your Desktop (or wherever you placed it). You should see something similar to this in the notepad window...
Code:
LOCK:Enabled
XML: \Extended_ROM\WingDev_Config.xml
LOCK:Disabled
RST: Reset
Add an empty line just before the LOCK: command. Then in that line, write in "CAB:", like shown below...
Code:
LOCK:Enabled
XML: \Extended_ROM\WingDev_Config.xml
CAB:
LOCK:Disabled
RST: Reset
After writing that, make a space, and then copy/paste this line in..."\Extended_ROM\". It should look like this now...
Code:
LOCK:Enabled
XML: \Extended_ROM\WingDev_Config.xml
CAB: \Extended_ROM\
LOCK:Disabled
RST: Reset
Now, write in the exact name of your .CAB file, including the ".cab" extension. It should look like that below, but with your CAB's name in place of mine.
Code:
LOCK:Enabled
XML: \Extended_ROM\WingDev_Config.xml
CAB: \Extended_ROM\Google Maps v 3.2.cab
LOCK:Disabled
RST: Reset
Save and close that notepad (Config.txt) window. You are now done editing it!
Return to the WinImage program (you should have left it running this whole time).
In WinImage, select your Config.txt file, and press Del on your keyboard.
Now in a File Explorer, navigate to your Config.txt file that you just edited (I told you to place it on your Desktop). Drag and drop that Config.txt file into the WinImage program. It will ask you, "Do you want to inject 1 files occupying xxxxx bytes?" Click Yes.
In WinImage, right click the Config.txt file that you just placed there. Click File properties. Then check the Read-only box and click OK.
Go to File -> Save. Once it saves, (it saves quickly, so you probably don't even notice it saving), close the WinImage window.
Now cook your ROM like usual. Once you flash your ROM, "customization" will run after booting it, and your program will be installed. And if users of your ROM decide that they don't want that program installed, they can easily uninstall it like normal! That is useful for programs like Google Maps, since they are updated frequently. If you have any more questions, or need more clarification, just ask!
How to Cook a Theme into your ROM
Start with your .tsk file (That's the theme file). Rename it so that it has no spaces.
Open up your kitchen's folder. Locate the SYS folder. Then locate this folder, "Base_Lang_0409_DPI_96_RESH_240_RESV_320". That is where all the theme files are stored.
You should already have some themes in that folder. Take your .tsk theme file (from step 1) and place it in the folder from step 2. Remember, you can't have spaces in the name of the .tsk file.
Now... Download WinImage, Dutty's, and HTC Tools.zip
Unzip it to the location of your choice. Open the WinImage, Dutty's, & HTC Tools folder. You should find three files in there, winimage, duttys tool nbhtool, and Htc Rom Tool, as you can see below...
Run winimage from within that folder. Click OK to the Trial Registration screen (you have a 30 day trial, and the days only count when you use the program).
Now you should see this screen...
On that screen, go to File -> Open, and then navigate to your kitchen's folders. Now navigate to your kitchen's Build folder. Locate a file that has "ExtROM" in it's filename and make sure that the extention is a .NB file. (For users of Holly's Kitchen, the file is called WingDev_ExtROM.nb) Double click on the file, and then you should see something like this... (You will probably need to select All Files from the Files of type drop down menu)
Double click on the __TFAT_HIDDEN_ROOT_DIR__ folder. Now you should see something like this...
Drag and drop the Config.txt file from that window to your Desktop (or any other location of your choice)
Now open your Config.txt file from your Desktop (or wherever you placed it). You should see something similar to this in the notepad window...
Code:
LOCK:Enabled
XML: \Extended_ROM\WingDev_Config.xml
LOCK:Disabled
RST: Reset
Just before the "LOCKisabled" line, create a new line, and write in, "EXEC: \Windows\cusTSK.exe", like below...
Code:
LOCK:Enabled
XML: \Extended_ROM\WingDev_Config.xml
EXEC: \Windows\cusTSK.exe
LOCK:Disabled
Then, press space and write in "\Windows\". Now, write in the name of your theme's file, and remember to include the .tsk extention. It should look like this, with "PointUI_Theme" being replaced by your theme's file name...
Code:
LOCK:Enabled
XML: \Extended_ROM\WingDev_Config.xml
EXEC: \Windows\cusTSK.exe \Windows\PointUI_Theme.tsk
LOCK:Disabled
Save and close that notepad (Config.txt) window. You are now done editing it!
Return to the WinImage program (you should have left it running this whole time).
In WinImage, select your Config.txt file, and press Del on your keyboard.
Now in a File Explorer, navigate to your Config.txt file that you just edited (I told you to place it on your Desktop). Drag and drop that Config.txt file into the WinImage program. It will ask you, "Do you want to inject 1 files occupying xxxxx bytes?" Click Yes.
In WinImage, right click the Config.txt file that you just placed there. Click File properties. Then check the Read-only box and click OK.
Go to File -> Save. Once it saves, (it saves quickly, so you probably don't even notice it saving), close the WinImage window.
Now cook your ROM like usual. The theme will be applied just after the ROM flashes, while the Setup is running! If you have any more questions, or need more clarification, just ask!
How to Create a Shortcut using the Extended ROM
It's fairly simple...and useful, if you want to make a program automatically boot up after your ROM customizes the phone.
Download WinImage, Dutty's, and HTC Tools.zip
Unzip it to the location of your choice. Open the WinImage, Dutty's, & HTC Tools folder. You should find three files in there, winimage, duttys tool nbhtool, and Htc Rom Tool, as you can see below...
Run winimage from within that folder. Click OK to the Trial Registration screen (you have a 30 day trial, and the days only count when you use the program).
Now you should see this screen...
On that screen, go to File -> Open, and then navigate to your kitchen's folders. Now navigate to your kitchen's Build folder. Locate a file that has "ExtROM" in it's filename and make sure that the extention is a .NB file. (For users of Holly's Kitchen, the file is called WingDev_ExtROM.nb) Double click on the file, and then you should see something like this...
Double click on the __TFAT_HIDDEN_ROOT_DIR__ folder. Now you should see something like this...
Drag and drop the Config.txt file from that window to your Desktop (or any other location of your choice)
Now open your Config.txt file from your Desktop (or wherever you placed it). You should see something similar to this in the notepad window...
Code:
LOCK:Enabled
XML: \Extended_ROM\WingDev_Config.xml
LOCK:Disabled
RST: Reset
Now, to create the shortcut, first you must have a pre-existing shortcut .lnk file. If you're trying to automatically start a program upon boot that you cooked in, then you will most likely find the location of the .lnk file by navigating to the OEM\ folder within your kitchen. Find your program's folder, open it, and then open the initflashfiles.txt file within there. Try to find a string of code that looks similar to this...
Code:
Directory("\Windows"):-Directory("Start Menu")
Directory("[B]\Windows\Start Menu[/B]"):-File("[B]Pointui Home.lnk[/B]","\Windows\Pointui Home.lnk")
Once you find a code that looks similar to that, write down the final directory (for me, it would be \Windows\Start Menu) for later use in step 13. Also write down the link's file name (Pointui Home.lnk) for step 14, too.
Go back to the other notepad window (Config.txt). Remember that the notepad window should have something like this in it still...
Code:
LOCK:Enabled
XML: \Extended_ROM\WingDev_Config.xml
LOCK:Disabled
RST: Reset
Just before the LOCKisabled line, create an empty line, as such...
Code:
LOCK:Enabled
XML: \Extended_ROM\WingDev_Config.xml
LOCK:Disabled
RST: Reset
Now fill that line in with CPY1:
Code:
LOCK:Enabled
XML: \Extended_ROM\WingDev_Config.xml
CPY1:
LOCK:Disabled
RST: Reset
Remember back in step 9 where you wrote down a folder path? Well put that folder path right after the CPY1: command, as such...
Code:
LOCK:Enabled
XML: \Extended_ROM\WingDev_Config.xml
CPY1:\Windows\Start Menu
LOCK:Disabled
RST: Reset
From step 9, you also wrote down the file name of the shortcut (the second thing you wrote down). First place a "\" after step 13, and then copy/paste in your file name, like so...
Code:
LOCK:Enabled
XML: \Extended_ROM\WingDev_Config.xml
CPY1:\Windows\Start Menu\Pointui Home.lnk
LOCK:Disabled
RST: Reset
Then press enter after that line to create another empty line, and fill that one in with CPY2:
Code:
LOCK:Enabled
XML: \Extended_ROM\WingDev_Config.xml
CPY1:\Windows\Start Menu\Pointui Home.lnk
CPY2:
LOCK:Disabled
RST: Reset
Now you can decide where you want to place the shortcut. CPY1: was used to find the inital location of the file (you can move any file you'd like), and CPY2: is used to place the file where you'd like. If you want your program to automatically boot, then you would add \Windows\StartUp after the CPY2: prompt, like below...
Code:
LOCK:Enabled
XML: \Extended_ROM\WingDev_Config.xml
CPY1:\Windows\Start Menu\Pointui Home.lnk
CPY2:\Windows\StartUp
LOCK:Disabled
RST: Reset
Now, in the line right above where you are currently at in the Notepad window, on CPY1: line, copy the last part of that line (for me, I would copy \Pointui Home.lnk) Then paste that on the end of the CPY2: line. Your code should look like this...
Code:
LOCK:Enabled
XML: \Extended_ROM\WingDev_Config.xml
CPY1:\Windows\Start Menu\Pointui Home.lnk
CPY2:\Windows\StartUp\Pointui Home.lnk
LOCK:Disabled
RST: Reset
Save and close that notepad (Config.txt) window. You are now done editing it!
Return to the WinImage program (you should have left it running this whole time).
In WinImage, select your Config.txt file, and press Del on your keyboard.
Now in a File Explorer, navigate to your Config.txt file that you just edited (I told you to place it on your Desktop). Drag and drop that Config.txt file into the WinImage program. It will ask you, "Do you want to inject 1 files occupying xxxxx bytes?" Click Yes.
In WinImage, right click the Config.txt file that you just placed there. Click File properties. Then check the Read-only box and click OK.
Go to File -> Save. Once it saves, (it saves quickly, so you probably don't even notice it saving), close the WinImage window.
Now cook your ROM like usual. The shortcut will be automatically placed! If you have any more questions, or need more clarification, just ask!
How to Port Individual SYS Folders
How to Port Individual SYS Folders (They're half of what defines WinMo 6.1 from 6.5, and on)
SYS folders contain lots of important things. They hold most of the files that define the different versions of Windows Mobile (6.0, 6.1, 6.5). You'll find your browser files, media files, NetCF files, and more. You can take almost any folder from another ROM's SYS and port it into your ROM. For example, I will be porting the Notification Manager from a Rhodium ROM to my ROM.
Download your SYS folder that you want. I'll be using this one, HERE. That is an Audio Booster program from a Raphel ROM. Extract the folder if you haven't yet.
Once you've extracted that, you should have two folders like below. You might only have one folder, or three, or four folders, depending what component you're porting.
Now go to your kitchen's SYS folder (for users of Holly's Kitchen, that would be found in \Working_Folder\SYS). Notice the similarities of the folder in the previous step and your current SYS folder.
If you got your individual SYS folder from a ROM that has the same resolution as yours, then you can skip to step 8. If not, then you have to continue below, with manually changing the pictures.
Since your individual SYS folder is from a ROM with a different resolution, we have to change the image files within it, or else your program won't display properly.
Look inside your individual SYS folder, and find where the images are. You should find them in the folder without the "Lang_0409" name on it. But look through any folders there, just to be sure. So, you identified your image files...
Now what you'll have to do is find another SYS folder that is from a ROM with the same resolution. For example, with the Audio Booster one, lets say that I already have Audio Booster in my current kitchen's SYS folder, and that I just want to port a newer version of the Audio Booster.
Have both your individual SYS folder open, and your kitchen's SYS folder open. From your individual SYS folder, select all of the image files, and delete them. Then, from your kitchen's SYS folder, select all of it's corresponding image files, and paste them into the individual SYS folder. (the "kitchen's SYS folder" can also be another SYS folder taken from a ROM with the same resolution).
Now that you have your individual SYS folder with the correct resolution images, you can go to the root of your kitchen's SYS folder and delete the old folders from there (if your kitchen didn't have those folders yet, then ignore that step). I am deleting both the "AudioBooster_2_0_18192227_0" and the "AudioBooster_2_0_18192227_0_Lang_0409" from my kitchen's original SYS folder, since I have both of those folders in my new individual SYS folder.
From your new individual SYS folder, copy and paste those folders into your kitchen's SYS folder.
So, basically, you just replaced your old kitchen's SYS folder (for that individual app) with the new one! Quite simple. And if you had different resolutions, then you just kept the image files. Simple enough? If you need more help, just ask.
Again, taken.
Still taken--
How to Port a ROM (to get a newer build for Windows Mobile) (Same Resolution)
If you want to get the latest and greatest Windows Mobile version, then follow these steps! They should work for WM6.5, WM6.1, etc. Should work for other phones, too. This guide covers how to port a ROM that has the same resoution as your phone.
Starting Points:
Here are the most probable setups that you have...
If you have an official .NBH ROM (custom ROM might work) that is a newer version, then go to Option I
If you have the kitchen of your ROM that you want ported, then you can locate the SYS and XIP folders inside it, and go to Option II
If you only have the SYS and XIP folders, then go to Option II.
Option I
You are on Option I because you now have a .NBH ROM file. Now, you need to download NBH Tool v 1.1, and extract it to your Desktop (or elsewhere).
Run the nbhtool.exe that you just extracted. You will see dutty's nbh tool window pop up. Make sure that you are on the NBH to NB tab at the top. Then click Decompile NBH file.
You should see a file explorer now. Navigate to the location of your NBH ROM file (that you said you already had), and double click it to open it.
Now a new file explorer window pops up. Navigate to a location of your choice, where you would like to place the extracted NBH. I would create a folder on your desktop called EXTRACTED, and then select that as the location to dump the extracted files. Once you selected your folder, click OK.
Let it work.
Once it finishes, it will say, "Done! Wrote ...." Click OK.
You can now close out of dutty's nbh tool.
Navigate to the folder that you picked in step 5. I told you to extract it to your Desktop in a folder called EXTRACTED. In that folder, you will hopefully find a file called, "Windows.nb", among others. Delete any other files in that folder, except the Windows.nb file.
Now, you need to download Bepe's TOOLSET, HERE. Extract that to somewhere, like your Desktop.
Open the TOOLSET folder from your Desktop (or elsewhere). You should find three files/folders there: dump xip, imgfs tools, and packagebuilder.exe.
Open the imgfs tools folder. Then open up the folder from step 8 (I told you to call it EXTRACTED, and place it on Desktop). Set the two folders up side-by-side.
In your imgfs tools folder, you should have these files/folders: bin, Dump_200.bat, and Dump_800.bat. We will be using the Dump_800.bat file. Now switch to that EXTRACTED folder, and drag and drop the "Windows.nb" file from the EXTRACTED folder onto the Dump_800.bat file. Yes, you place it right on the file.
A command prompt (black window) will pop up. Let it work. Yes, it seems like it's not doing anything at the beginning. Just let it work! Wow, it does take a while for it to complete. But let it go! Finally! The commands stop moving, and at the bottom, it says, "Press any key to continue . . ." Press Enter.
The command prompt closes. Now, notice that in your EXTRACTED folder, there is a second file, called "Windows.nb.payload".
Return to the TOOLSET folder, go to the root of it, and then open the dump xip folder. There are two files/folders in this folder: bin and dumpxip.bat. We will be using dumpxip.bat.
From your EXTRACTED folder, drag and drop the "Windows.nb.payload" file onto the dumpxip.bat file, just like last time.
Another command prompt opens. This one goes faster. Once finished, it says, "Press any key to continue . . .". Press Enter.
Back in your EXTRACTED folder, you should find two new folders: IMGFS and XIP. Open your XIP folder.
You should have a folder that looks like an XIP folder. But first, we have to do the following steps.
Have your TOOLSET folder next to your new XIP folder from the last step. Make sure that you are in the root of your TOOLSET folder, and in the root of your XIP folder (EXTRACTED\XIP). Scroll down to the bottom of the XIP folder. Notice the .DSM files. They are the important ones. You will drag each .DSM file onto the packagebuilder.exe file from the TOOLSET folder. Drag them one-by-one, and wait till it appears that it's finished until doing the next. Once finished, your XIP folder should consist of folders only.
Your folders in the XIP will be: LangDB, MSXIPKernel, MSXIPKernelLTK, OEMXIPKernel, and WinCENLS_WWE.
Go to your kitchen's XIP folder (for user's of Holly's Kitchen, that would be found in C:\HollysKitchen\Working_Folder\ROM\XIP). Repeat the same proccess on the .DSM files, from two steps above, but with your kitchen's old XIP folder. You will then end up with the same folders in both your kitchen's old XIP, and your EXTRACTED\XIP. In your kitchen's old XIP, remove all of the folders, except the OEMXIPKernel folder. Then, go to your new EXTRACTED\XIP folder, and select all of the folders, except the OEMXIPKernel folder. Copy and paste those into your kitchen's old XIP folder.
Now, you have to remove all of the folders, so that you just have files in your kitchen's XIP folder. Go into your LangDB folder (in your kitchen's XIP), select all the files/folders, and cut them (Ctrl-X). Then go back to your kitchen's XIP root folder, and paste the files there (Ctrl-V). Do the same procedure with the MSXIPKernel, MSXIPKernelLTK, OEMXIPKernel, and WinCENLS_WWE folders. You are now done with your XIP!
Go back to your EXTRACTED folder, and then open the IMGFS folder. You should hopefully have a folder called SYS there, if it ported properly. Go to your kitchen's folders (for Holly's Kitchen, C:\HollysKitchen\Working_Folder\), and delete your SYS folder. Then copy and paste your SYS folder from EXTRACTED\IMGFS to your kitchen's folder, where your old SYS folder used to be.
Cook your ROM like normal, and you'll be running a new version of Windows Mobile!!
Option II
So, you are here because you either have a newer kitchen's files that you want ported, or you have just the SYS and XIP folders of the new ROM you want ported.
First, you need to download Bepe's TOOLSET, HERE. Extract that to somewhere, like your Desktop.
Open the TOOLSET folder from your Desktop (or elsewhere). You should find three files/folders there: dump xip, imgfs tools, and packagebuilder.exe.
Open your new XIP folder (from the kitchen or just from the folder) and keep that window open next to the TOOLSET folder.
Scroll down to the bottom of the XIP folder. Notice the .DSM files. They are the important ones. You will drag each .DSM file onto the packagebuilder.exe file from the TOOLSET folder. Yes, drag and drop the .DSM files onto the packagebuilder.exe file. Drag them one-by-one, and wait till it appears that it's finished until doing the next. Once finished, your XIP folder should consist of folders only.
Your folders in the XIP will be: LangDB, MSXIPKernel, MSXIPKernelLTK, OEMXIPKernel, and WinCENLS_WWE.
Go to your old kitchen's XIP folder (for user's of Holly's Kitchen, that would be found in C:\HollysKitchen\Working_Folder\ROM\XIP). Repeat the same proccess on the .DSM files, from two steps above, but with your kitchen's old XIP folder. You will then end up with the same folders in both your kitchen's old XIP, and your new XIP folder. In your kitchen's old XIP, remove all of the folders, except the OEMXIPKernel folder. Then, go to your new XIP folder, and select all of the folders, except the OEMXIPKernel folder. Copy and paste those into your kitchen's old XIP folder.
Now, you have to remove all of the folders, so that you just have files in your kitchen's XIP folder. Go into your LangDB folder (in your kitchen's XIP), select all the files/folders, and cut them (Ctrl-X). Then go back to your kitchen's XIP root folder, and paste the files there (Ctrl-V). Do the same procedure with the MSXIPKernel, MSXIPKernelLTK, OEMXIPKernel, and WinCENLS_WWE folders. You are now done with your XIP!
Now go to your kitchen's old SYS folder. Select all of the files/folders within it, except the .VM folder, and then delete them.
Go to your new SYS folder and select all of the files except the .VM folder. Copy them (Ctrl-C), and then paste them into your kitchen's old SYS folder (Ctrl-V).
Now you should be done porting the ROM! Go ahead and cook your ROM, and hope it works!
Dam, that was a big guide. And it's not finished!! I'll finish the other part later..give me time!!
How to Port a ROM (to get a newer build for Windows Mobile) (Different Resolution)
If you want to get the latest and greatest Windows Mobile version, then follow these steps! They should work for WM6.5, WM6.1, etc. Should work for other phones, too. This guide covers how to port a ROM that has adifferent resoution than your phone.
Starting Points:
Here are the most probable setups that you have...
If you have an official .NBH ROM (custom ROM might work) that is a newer version, then go to Option I
If you have the kitchen of your ROM that you want ported, then you can locate the SYS and XIP folders inside it, and go to Option II
If you only have the SYS and XIP folders, then go to Option II.
Option I
You are on Option I because you now have a .NBH ROM file. Now, you need to download NBH Tool v 1.1, and extract it to your Desktop (or elsewhere).
Run the nbhtool.exe that you just extracted. You will see dutty's nbh tool window pop up. Make sure that you are on the NBH to NB tab at the top. Then click Decompile NBH file.
You should see a file explorer now. Navigate to the location of your NBH ROM file (that you said you already had), and double click it to open it.
Now a new file explorer window pops up. Navigate to a location of your choice, where you would like to place the extracted NBH. I would create a folder on your desktop called EXTRACTED, and then select that as the location to dump the extracted files. Once you selected your folder, click OK.
Let it work.
Once it finishes, it will say, "Done! Wrote ...." Click OK.
You can now close out of dutty's nbh tool.
Navigate to the folder that you picked in step 5. I told you to extract it to your Desktop in a folder called EXTRACTED. In that folder, you will hopefully find a file called, "Windows.nb", among others. Delete any other files in that folder, except the Windows.nb file.
Now, you need to download Bepe's TOOLSET, HERE. Extract that to somewhere, like your Desktop.
Open the TOOLSET folder from your Desktop (or elsewhere). You should find three files/folders there: dump xip, imgfs tools, and packagebuilder.exe.
Open the imgfs tools folder. Then open up the folder from step 8 (I told you to call it EXTRACTED, and place it on Desktop). Set the two folders up side-by-side.
In your imgfs tools folder, you should have these files/folders: bin, Dump_200.bat, and Dump_800.bat. We will be using the Dump_800.bat file. Now switch to that EXTRACTED folder, and drag and drop the "Windows.nb" file from the EXTRACTED folder onto the Dump_800.bat file. Yes, you place it right on the file.
A command prompt (black window) will pop up. Let it work. Yes, it seems like it's not doing anything at the beginning. Just let it work! Wow, it does take a while for it to complete. But let it go! Finally! The commands stop moving, and at the bottom, it says, "Press any key to continue . . ." Press Enter.
The command prompt closes. Now, notice that in your EXTRACTED folder, there is a second file, called "Windows.nb.payload".
Return to the TOOLSET folder, go to the root of it, and then open the dump xip folder. There are two files/folders in this folder: bin and dumpxip.bat. We will be using dumpxip.bat.
From your EXTRACTED folder, drag and drop the "Windows.nb.payload" file onto the dumpxip.bat file, just like last time.
Another command prompt opens. This one goes faster. Once finished, it says, "Press any key to continue . . .". Press Enter.
Back in your EXTRACTED folder, you should find two new folders: IMGFS and XIP. Open your XIP folder.
You should have a folder that looks like an XIP folder. But first, we have to do the following steps.
Have your TOOLSET folder next to your new XIP folder from the last step. Make sure that you are in the root of your TOOLSET folder, and in the root of your XIP folder (EXTRACTED\XIP). Scroll down to the bottom of the XIP folder. Notice the .DSM files. They are the important ones. You will drag each .DSM file onto the packagebuilder.exe file from the TOOLSET folder. Drag them one-by-one, and wait till it appears that it's finished until doing the next. Once finished, your XIP folder should consist of folders only.
Your folders in the XIP will be: LangDB, MSXIPKernel, MSXIPKernelLTK, OEMXIPKernel, and WinCENLS_WWE.
Go to your kitchen's XIP folder (for user's of Holly's Kitchen, that would be found in C:\HollysKitchen\Working_Folder\ROM\XIP). Repeat the same proccess on the .DSM files, from two steps above, but with your kitchen's old XIP folder. You will then end up with the same folders in both your kitchen's old XIP, and your EXTRACTED\XIP. In your kitchen's old XIP, remove all of the folders, except the OEMXIPKernel folder. Then, go to your new EXTRACTED\XIP folder, and select all of the folders, except the OEMXIPKernel folder. Copy and paste those into your kitchen's old XIP folder.
Now, you have to remove all of the folders, so that you just have files in your kitchen's XIP folder. Go into your LangDB folder (in your kitchen's XIP), select all the files/folders, and cut them (Ctrl-X). Then go back to your kitchen's XIP root folder, and paste the files there (Ctrl-V). Do the same procedure with the MSXIPKernel, MSXIPKernelLTK, OEMXIPKernel, and WinCENLS_WWE folders. You are now done with your XIP!
Go back to your EXTRACTED folder, and then open the IMGFS folder. You should hopefully have a folder called SYS there, if it ported properly.
Now, that SYS folder is in a different resolution than your current phone is. You have two options: If you are porting a build that is fairly similar to your last ROM's build, then you can use your SYS's old resolution folders. The other option is, if you are porting a very different build (like from 6.1 to 6.5), then you need native resolution folders. You have to search and find them yourself. Once you have them, follow below.
Go into your kitchen's SYS folder (or your downloaded resolution folder, if you chose option 2 from the previous step). Resolution folders have the following tags on the names "..._DPI_96" or "..._DPI_96_RESH_240_RESV_320".
If you are choosing option 1 (keeping your old resolution folders), then, in your old SYS folder, delete EVERY folder, EXCEPT the resolution folders (previous step) and the .VM folder. If you chose option 2, then delete the entire contents of your kitchen's old SYS folder, except the .VM folder, and then paste your resolution folders that you downloaded into your kitchen's SYS folder.
Now, no matter which option you chose, you should have a SYS folder in your kitchen that only contains a .VM folder and resolution folders.
Return to that old EXTRACTED folder from a while ago. Open the IMGFS folder within it. Find the SYS folders there, and then select all of the folders except the resolution folders and the .VM folder. Copy the selected folders, and then paste them into your old kitchen's SYS folder.
You've just ported your SYS folder! Hopefully, all goes well. Cook and flash your ROM like normal.
CONTINUED FROM ABOVE
Option II
So, you are here because you either have a newer kitchen's files that you want ported, or you have just the SYS and XIP folders of the new ROM you want ported.
First, you need to download Bepe's TOOLSET, HERE. Extract that to somewhere, like your Desktop.
Open the TOOLSET folder from your Desktop (or elsewhere). You should find three files/folders there: dump xip, imgfs tools, and packagebuilder.exe.
Open your new XIP folder (from the kitchen or just from the folder) and keep that window open next to the TOOLSET folder.
Scroll down to the bottom of the XIP folder. Notice the .DSM files. They are the important ones. You will drag each .DSM file onto the packagebuilder.exe file from the TOOLSET folder. Yes, drag and drop the .DSM files onto the packagebuilder.exe file. Drag them one-by-one, and wait till it appears that it's finished until doing the next. Once finished, your XIP folder should consist of folders only.
Your folders in the XIP will be: LangDB, MSXIPKernel, MSXIPKernelLTK, OEMXIPKernel, and WinCENLS_WWE.
Go to your old kitchen's XIP folder (for user's of Holly's Kitchen, that would be found in C:\HollysKitchen\Working_Folder\ROM\XIP). Repeat the same proccess on the .DSM files, from two steps above, but with your kitchen's old XIP folder. You will then end up with the same folders in both your kitchen's old XIP, and your new XIP folder. In your kitchen's old XIP, remove all of the folders, except the OEMXIPKernel folder. Then, go to your new XIP folder, and select all of the folders, except the OEMXIPKernel folder. Copy and paste those into your kitchen's old XIP folder.
Now, you have to remove all of the folders, so that you just have files in your kitchen's XIP folder. Go into your LangDB folder (in your kitchen's XIP), select all the files/folders, and cut them (Ctrl-X). Then go back to your kitchen's XIP root folder, and paste the files there (Ctrl-V). Do the same procedure with the MSXIPKernel, MSXIPKernelLTK, OEMXIPKernel, and WinCENLS_WWE folders. You are now done with your XIP!
Now, that new SYS folder that you have is in a different resolution than your current phone is. You have two options: If you are porting a build that is fairly similar to your last ROM's build, then you can use your SYS's old resolution folders. The other option is, if you are porting a very different build (like from 6.1 to 6.5), then you need native resolution folders. You have to search and find them yourself. Once you have them, follow below.
Go into your kitchen's SYS folder (or your downloaded resolution folder, if you chose option 2 from the previous step). Resolution folders have the following tags on the names "..._DPI_96" or "..._DPI_96_RESH_240_RESV_320".
If you are choosing option 1 (keeping your old resolution folders), then, in your old SYS folder, delete EVERY folder, EXCEPT the resolution folders (previous step) and the .VM folder. If you chose option 2, then delete the entire contents of your kitchen's old SYS folder, except the .VM folder, and then paste your resolution folders that you downloaded into your kitchen's SYS folder.
Now, no matter which option you chose, you should have a SYS folder in your kitchen that only contains a .VM folder and resolution folders.
Return to your new SYS folder (the different resolution one). Select all of the folders except the resolution folders and the .VM folder. Copy the selected folders, and then paste them into your old kitchen's SYS folder.
You've just ported your SYS folder! Hopefully, all goes well. Cook and flash your ROM like normal.
Almost done with these taken posts
.........-------
If my ROM's work, then I guess pig's can fly.
My OEM Collection
Comm Manager (6 Button)(Blue)
File Explorer Extention
HTC Task Manager (For Today Screen)
Java and Opera Mini (Thanks to Ivan for it)
Palringo (Best IM Software)
PIMBackup
PointUI Home v 1.51a
My SYS Collections
These are already ported over to the T-Mobile Wing. If you want to use these in your kitchen for the Wing/Herald, then you just replace your old XIP with this one. No porting necessary. If you want this for another phone, then you have to port it using my instructions.
PointROM: Windows Mobile 6.1 Build 21051.
DOWNLOAD
numb3rs: Windows Mobile 6.5 Build 23016.
DOWNLOAD
My XIP Collections
These are already ported over to the T-Mobile Wing. If you want to use these in your kitchen for the Wing/Herald, then you just replace your old XIP with this one. No porting necessary. If you want this for another phone, then you have to port it using my instructions.
PointROM: Windows Mobile 6.1 Build 21051.
DOWNLOAD
numb3rs: Windows Mobile 6.5 Build 23016.
DOWNLOAD