Feb
20
2010

How to Port a ROM of Same Resolution on Windows Phone OS

by Mr. Makk

If you want to get the latest and greatest Windows Mobile version, then follow these steps! They should work for WM6.5.x, WM6.5, etc. Should work for other phones, too. This guide covers how to port a ROM that has the same resolution as your phone. This is an article posted by Ace10134 @ XDA Developers. To Understand more about the Basics, you can read out following Articles:

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

  1. 1 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).
  2. 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.

  3. 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.

  4. 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.

  5. Let it work.

  6. Once it finishes, it will say, "Done! Wrote …." Click OK.

  7. You can now close out of dutty’s nbh tool.

  8. 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.

  9. Now, you need to download Bepe’s TOOLSET, HERE. Extract that to somewhere, like your Desktop.

  10. Open the TOOLSET folder from your Desktop (or elsewhere). You should find three files/folders there: dump xip, imgfs tools, and packagebuilder.exe.

  11. 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.

  12. 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.

  13. 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.

  14. The command prompt closes. Now, notice that in your EXTRACTED folder, there is a second file, called "Windows.nb.payload".

  15. 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.

  16. From your EXTRACTED folder, drag and drop the "Windows.nb.payload" file onto the dumpxip.bat file, just like last time.

  17. Another command prompt opens. This one goes faster. Once finished, it says, "Press any key to continue . . .". Press Enter.

  18. Back in your EXTRACTED folder, you should find two new folders: IMGFS and XIP. Open your XIP folder.

  19. You should have a folder that looks like an XIP folder. But first, we have to do the following steps.

  20. 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.

  21. Your folders in the XIP will be: LangDB, MSXIPKernel, MSXIPKernelLTK, OEMXIPKernel, and WinCENLS_WWE.

  22. 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.

  23. 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!

  24. 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.

  25. Cook your ROM like normal, and you’ll be running a new version of Windows Mobile!!


Option II

  1. 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.
  2. First, you need to download Bepe’s TOOLSET, HERE. Extract that to somewhere, like your Desktop.
  3. Open the TOOLSET folder from your Desktop (or elsewhere). You should find three files/folders there: dump xip, imgfs tools, and packagebuilder.exe.
  4. Open your new XIP folder (from the kitchen or just from the folder) and keep that window open next to the TOOLSET folder.
  5. 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.
  6. Your folders in the XIP will be: LangDB, MSXIPKernel, MSXIPKernelLTK, OEMXIPKernel, and WinCENLS_WWE.
  7. 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.
  8. 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!
  9. 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.
  10. 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).
  11. Now you should be done porting the ROM! Go ahead and cook your ROM, and hope it works!

The original Post is HERE

Previous post:

Next post:


Copyright ©2009, TechParaiso.com, Technology Paradise. Based on Thesis Theme. Designed by TechParaiso.
Articles here should not be reproduced anywhere else without Permission.