[Wing, P4350 ROM development] ace10134:
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.