Monday, September 14, 2009

Part 1: How To DUMP an Existing ROM


Here's the first installment of the series :) This flowchart above clearly shows the 1st Phase in ROM Development. The steps taken above takes an existing i780 ROM (this can be one of the custom ROMS created by other chefs, or can be one of the stock ROMs provided by Samsung). The basic idea is to start with a template ROM which is good/stable/well customized and then customize this with your changes.

The main steps, at a birds eye level, that you would do is -
1. Start with a good existing ROM as a template ROM to customize
2. "Dump" the ROM
3. Segregate the "dumped files" into OEM/SYS folders (more on this later!)
4. Customize different applications/media/registry entries within the OEM/SYS folders
5. Rebuild the BIN (ROM) file

The first step for dumping is explained in the flowchart above! The tools you'd need for this are -
1. BinToNB0.exe
2. NBSplit.exe
3. Split.exe
4. prepare_imgfs.exe
5. ImgfsToDump.exe

The flowchart is self explanatory, post any questions in the comments if something doesn't make sense ;)



2 comments:

  1. i have a i780, i tried to flash ... mirage got stuck at 13% and now the phone is bricked, he get stock at first logo, pls what to do ? i was thinking, is that a way to delete the incomplete rom and write something from the start ? OR ? pls help me

    ReplyDelete
  2. flowchart is really self explanatory.You listed the tools needed for dumping the ROM I thought that all 5 tools are for dumping but from flowchart it made me clear that NBSplit.exe is used for dumping and other tools are for different steps

    ReplyDelete