snapz54, on Mar 1 2010, 08:56, said:
... I don't know how and probably could not even attempt to cook a rom.
You know to cook a rom is pretty easy. Sure there is a learning curve but overall making a custom one that you like is nothing. Here is a run down of what can be done and may help anyone in the future...
Go get the kitchen from Wozzer in radioheads thread. (you have to look several pages in)
expand the zip file into a folder
You have 4 basic folders ROM, SYS, OEM, Tools
-The ROM is where the kernel is and handles the background of the OS
-The SYS is where the heart of the OS lies. This is where Office, titanium, background images, marketplace, etc. reside
-OEM is the software for your specific phone. There are multiple folders in there such as OEMdrivers for you phone. This is where most customization can be made. This is where you install apps or remove VZN, Samsung crapware.
-Tools is how the cooking and extraction can be done. Don't even go into this folder unless you know what you are doing. Porting SYS and XIP can be done with these tools
Outside of that there are a few files on the root extracted zip folder you created.
BuildROM.cmd is how you make a rom. So basically if you extracted the zip and ran BuildROM.cmd, and clicked on the play button, then close when it says done, you just made a ROM. Mostly stock as this is barely touched by wozzer.
So after that you could go into the OEM\OEMApps folder and start deleting things you don't want like some of the mp3, png, bmp files. Anything that says VZN is fair game for termination as well.
After that you could add stuff to your rom by makeing a folder in OEM. For instance you can go find a "package" for a rom and put the folder there or use "package-creator-v2.7.exe" on a cab file to make a package. If you make a package, you may have to play with the registry settings. Those are usually located in the folder you create with a .rgu extention.
.rgu files are just text files that will hold the registry settings. I use notepad++ to edit them directly.
After all you modifications you can then run BuildRom.cmd and press play. As long as there are no errors (i.e. it says done at the bottom) you close it and let it run the tools in the background. When the CMD prompt window closes you have a flashable rom.
Flashing a rom is discussed elsewhere but you just need "OCTANS_Downloader_v2.11.exe" and the installed drivers (easier for xp or vista than win7).
After you load up octans click the PDA button find/select your flash file. Then I click the check boxes marked "skip over waiting for booting completely" and "start downloading immediately"
click detect
After this turn off your phone and plug it into a USB port. Make sure the phone is identified by windows properly (ie there isn't a yellow or red icon in devicemanager for your phone) and then it will do it's thing.
If you can flash your phone even if your ROM locks up your phone you can always rebuild your rom or go to someone else's rom and flash theirs.
I hope this helps you or anyone else looking to make a custom rom. It sounds like a lot but if you have an hour of time, you can make your first cooked rom easily.