[8125, K-JAM, P4300, MDA Vario ROM Development] faria:
DOWNLOAD ILUSTRATED TUTORIAL FROM ftp://xda:xda@ftp.xda-developers.com/Uploads/WIZARD/ROMS/Faria%20WM6%20ROM%20Kitchen.pdf

TUTORIAL IS ALSO INCLUDED IN THE ROM KITCHEN.

ftp://xda:xda@ftp.xda-developers.com/Wizard/Roms/faria-roms/2007-04-20_232918.jpg

DOWNLOAD ROM KITCHEN FROM HERE

You need netframework2 in your pc

The devwiz folder should be put in the root of the drive

Make sure explorer is set to view hidden and system files.

The rom is based in my realthing…..with the latest fixes and drivers.

How to create your rom;

In the devwiz folder there is CreateROM.bat this is the only app you will be using.

Launch CreateROM.bat this will bring up buildOS.exe .select the packages you want in you rom by ticking the boxes, or not, press the arrow to build you rom .WAIT till it says “done” at the bottom.

Close when finished.

Now the command promp window will do its thing,then it will launch nb2nbf_wizard.exe tick the OS box, now browse to the file; FLASH.nb0

put the correct addresses in the boxes ,press generate.

Close the app, now the upgrade utility will launch.

Flash you rom away!

To add the splash screen and htc logo included SEE THE tutorial.

How to create a rom package?

All the custom packages must go into the oem folder.

Create a new folder in the oem folder name it as your rom package, Open the folder and create a new text document call it “ package.rgu”

Note-.rgu files can be edited with notepad.

Save as Unicode, open the package.rgu file and add the following;

“REGEDIT4” ,make sure you leave a blank line after that entry. Now save it. Now you can add the reg keys required for you package if any. Also create a new file called initflashfiles.txt, save as Unicode, this is where you should put the shortcut entries and such if needed for the relevant package.

Use this format to add entries to initflashfiles.txt;

;==========================================================================

; START faria my app- MASD customization settings

;==========================================================================

Directory("\Windows\StartMenu\Programs"):-File("yourshorcut-name.lnk","\Windows\yourshorcut-name.lnk")

;==========================================================================

; END faria my app- MASD customization settings

;==========================================================================

Let say you package is total commander;

put all the files from total commander inside the package and add the required reg keys to the .rgu file and save it ,make sure there’s is always an empty line after the last reg key before saving.

Now we need to add the shortcut to programs, you can copy an existing shortcut from you device and put it inside the package, or make one.

To add the shortcut to programs we need to make an entry in the initflashes.

Create a new text file inside you package rename it to; initflashfiles.txt save it as Unicode.

Open the file and add the following entry.

How to make a shortcut?

Create a new text file, open and add the following; [#"\Windows\your-app-name.exe"]

Save the file with the name of the app like this; [your-app-name.lnk]

Shortcut done!

Save the file….that’s it you created your own package!

You can delete packages you don’t want from OEM only, the custom ones.do not delete x-faria settings package.

how to restore default extended rom?

replace the current entrys in the OEMOPERATORS package .rgu wit this ones;

then copy the contents of the OEMOPERATORS package to the extended rom minus the rgu and dsm files,edit the extended rom accordingly with the new requires settings.

the config text that goes now to the extended rom has to be modified as this;

SHOW:\Extended_ROM\WallPaper.bmp
LOCK:Enabled
CAB: \Extended_ROM\my-cab.cab
XML: \Extended_ROM\my-xml.xml
LOCK:Disabled
RST: Reset

How to change the page pool?

Coming……

i will update as a can.....allot more to come.

credit AND a huge THANKS to BEPE [THE MATSERMIND] MAIMAICH AND DR.P...AND ALL THE BETA TESTERS