[Windows Mobile] hilaireg:
[TUT] Sous-Chef's Guide to Da_G's Simple Kitchen 5.3 ... continued

Location, Location, Location

There are many fine Kitchens out there to use; Visual Kitchens (Ervius), Automated Kitchens (Bepe), and Semi-Automated Kitchens (Raphael, Da_G). This guide uses Da_G's Simple Kitchen to assist you in learning the basics of operating a Kitchen; which ultimately, allows you to produce your own ROM.

References

Da_G....: http://xdaforums.com/showthread.php?t=471288

Raphael.: http://xdaforums.com/showthread.php?p=2453788

Bepe....: http://xdaforums.com/showthread.php?t=467488

Ervius..: http://xdaforums.com/showthread.php?t=469420

Preparing Your Facility

Before you can begin to cook your own ROM, you need to equip your facility with some Kitchen utensils. Your Kitchen is going to require a good Unicode & UTF-8 text editor; I personally use ConTEXT & Notepad. Another handy utensil to have is a comparison utility for date/file/binary comparisons; I use WinDiff & BeyondCompare. Some other utensils that you're going to require are: Microsoft ActiveSync, .NET Framework 2.x/3.x. You will also need an archive extraction utensil; I use IZArc, WinRAR, and WinZIP. You’ll also need a good Hexadecimal calculator; I use Windows Calculator (Scientific Mode).

It's also a good idea to ensure that your Kitchen remains "pest" free; common pest control services include AVG, McAfee, and Symantec anti-Virus. You'll need to add the CustomRUU Updater tool to your list of anti-virus exclusions as it will be detected as a "Generic Dropper (Trojan)".

References

CustomRUU for Raphael

http://xdaforums.com/showthread.php?t=410761

To assist you in your apprenticeship, I have included a link to the Generic Simple Kitchen that I used to prepare this guide - the kitchen also includes a .DOC and .PDF format of this guide. The procedures were tested against a GSM Raphael device. I can’t confirm that these procedures will work on CDMA device ROM’s. Additionally, other device ROM’s may not be compatible with this kitchen format. Make sure to review the _README.TXT before you begin.

Generic Simple Kitchen, 17 MB

You’re going to need a RUU_SIGNED.NBH file; I used the following HTC Official Generic ROM – you’ll need to extract the contents of the .EXE and .RAR/.ZIP using an archive utensil.

[ROM] [WWE] Raphael HTC 5.05.405.1 Radio Signed (52.58.25.3 0,1.11.25.01)

http://rapidshare.com/files/1939660...igned_Raphael_52.58.25.30_1.11.25.01_Ship.rar

http://www.megaupload.com/?d=0F50UM5K

For the purpose of this guide, I will assume that you have added the C:\XDA\ folder, sub-folder, and files to your anti-virus exclusion list – at the very least CustomRUU Updater.EXE – and that the contents of the Generic Simple Kitchen were extracted to the following folder.

C:\XDA\MY_KITCHEN

The guide is divided into the following sections:

Extracting the RUU_SIGNED.NBH Contents ... 3

Consolidating .RGU Files to BOOT.RGU ..... 4

Increasing the Data Cache ................ 5

Reducing the .PAYLOAD File ............... 6

Extracting the XIP.BIN Contents .......... 7

Unlocking the Paging Pool ................ 8

Disabling Certificate Checking ........... 9

Updating the XIP.BIN Contents ............ 10

Updating the .PAYLOAD file ............... 11

Changing the Unsigned CAB Policies ....... 12

Changing the Unsigned Themes Policies .... 13

Changing the Remote API (RAPI) Policies .. 14

Compiling the New RUU_SIGNED.NBH File .... 15

Flashing the RUU_SIGNED.NBH File ......... 16

Advanced Topic: XIP Porting .............. 17

Sous-Chef's TIPs ......................... 18

I will attempt to provide an overview, the list of tools required, and the process to follow in each section. As you become more comfortable (and familiar) with the activities, you will find that you can consolidate (or skip) certain outlined steps. Incidentally, you'll probably want to keep these web links open in case you need to lookup some of the terms or concepts in the guide.

Acronyms

http://wiki.xda-developers.com/index.php?pagename=Acronyms

Glossary

http://wiki.xda-developers.com/index.php?pagename=Glossary

Development Resources for Windows Mobile

http://xdaforums.com/showthread.php?t=445396