[TUT] OEM Building
HOW To Make an OEM
Here is the tutorial for building an OEM, so, of course it can be used for any device,.
nb: try it at your own risk,.
OEM folder used as the place for any application that would be a default ROM application.
Here is step by step,.
1. Download & Install
Hypercore Kitchen
2. Open Hypercore and go to panel/extra/CAB Analiser,.
3. Open or Drag and drop the .cab files that you would make it an OEM,.
4. Choose "XML" display then extract all cab files to a new folder,.
5. Go to "Registry tab", then copy all the registry setting from there, and paste to a new blank document
6. The registry setting is absolutely unusable, to make it usable, it must be edited like this,.
(Before edited)
REGEDIT4
[HKEY_LOCAL_MACHINE\Drivers\USB\FunctionDrivers\WM5 torage_Class]
"ActivateFlags" = dword : 00000000
"DeviceName" = ""
"NLEDWrite" = dword : 0000FFFF
"NLEDRead" = dword : 0000FFFF
"idVendor" = dword : 0000045E ---------------------------------------> There is a space between "=" and "dword", its Wrong,.
"ReadOnly" = dword : 00000000
"Dll" = %CE1%\WM5torage\WM5torage.dll --------------------------> It have only one slices, its wrong,.
"Product" = "Windows Mobile Device"
(After edited)
REGEDIT4 -------------------------------------------------------------------> There must be REGEDIT4 at the TOP
[HKEY_LOCAL_MACHINE\Drivers\USB\FunctionDrivers\WM5 torage_Class]
"ActivateFlags"=dword:00000000
"DeviceName"=""
"NLEDWrite"=dword:0000FFFF
"NLEDRead"=dword:0000FFFF
"idVendor"=dword:0000045E ------------------------------------------> Take a look at this, there should be no spacing inside the registry,.
"ReadOnly"=dword:00000000
"Dll"=%CE1%\\WM5torage\\WM5torage.dll -------------------------> If the keys are pointing to somewhere else, it must be two slice like this,.
"Product"="Windows Mobile Device"
--------------------------------------------------------------------------------> Leave one line empty at the BOTTOM,.
7. Generate GUID Name, (The generaor could be downloaded
HERE)
8. Okay, save it in UNICODE encoding, using (Generated GUID Name).rgu
9. Make another blank document, and rename it with, (Generated GUID Name).dsm
(The generated GUID name between .rgu and .dsm must be the same)
10. Make a "initflashfiles.txt",. -------> (I give the tutorial below,.)
HOW To Make a initflashfiles.txt
initflashfiles.txt used to copy a file from specified location, to another specified location,.
Here is the step by step,.
1. Just make a new blank document
2. Save that document as initflashfiles.txt
What should you write inside initflashfiles.txt?? you should write this (below),.
The formula is:
Directory("
DESTINATION FOLDER"):-File("
DESIRED FILENAME","
FILE SOURCE")
So, it will be like this,.
-------> Means that you want to copy the file named WM5torage.lnk in \Windows folder, to \Windows\Start Menu\Programs\System folder,.
There you go, you have one working initflashfiles.txt now,.
--- Finally, make it in one folder, and give it a name, ex: OEM_WM5torage ---
NB:
That you have to remember when you build an OEM:
a. There must be REGEDIT4 at the TOP
b. Leave one line empty at the BOTTOM
c. Dont use Wordwrap view
d. Save with (GUIDname).rgu and use UNICODE encoding
GOOD LUCK,.
Happy ROM Cooking to all of you,.
- Kumara -