[Kitchen] Motorola Q9h

Search This thread

csganja

Member
May 3, 2010
15
4
Roumania
So, after a long time spent on XDA, i want to release a 'kitchen' for motorola q9h.

Motoq Kitchen V1.0:
- Extract *.sbf
- Extract CG33.smg to dump
- Decrypt/Encrypt default.hv and user.hv (Registry files)
- Decrypt/Encrypt initflashfiles.dat
- Compress dump to CG33.smg
- Remake *.sbf

Motoq Kitchen V1.1:
- Added recmod
- Added reversmode

Little Guide:
First thing you should do is to copy your rom ro kitchen\rom\old.sbf
Now extract CD33.smg, open EZX-Codec -> Open -> Extract
Decrypt registry files and initflashfiles.dat
Rom files are located in dump folder
Edit them as you wish
Encrypt registry files and initflashfiles.dat
HEXeditor will open and you must delete first 2 bytes (FF FE)
Now compress files, opern EZX-Codec -> Open -> Compress

Recmod folders from dump folder, will result a dll in recmod folder, edit as you wish and then reversmode.


That's all, you are ready to flash kitchen\rom\new.sbf to your phone using RSDlite...

By the way, i do not take credits for anything except cook.exe :)
 
Last edited:

csganja

Member
May 3, 2010
15
4
Roumania
Good, let's say now you want to cook some apps\games\themes in your rom.

Creating package:
- You'll have to download Ervius package creator from bottom.
- Put you *.cab file anywhere (but remember where, lol).
- Extract "package creator" and open "packages creator 5.4.exe"
- Press "open cab file" and point to your *.cab.
- A new window have opened, press "extract cab files with original names in folder", let's extract that in c:/xxxxx, will be deleted after all of this automatically, and close that window.
- Check "default box" and then "done".
- And now "complete the package".

Package is now in the same folder with *.cab

Lets see what we have:
- initflashfiles.txt
- 55635237-d4a2-4d31-a99c-3296c26e3da2.rgu
- 55635237-d4a2-4d31-a99c-3296c26e3da2.dsm
- option.xml
- *.cab files

Import for cooking:
- You must copy initflashfiles.txt content into initflashfiles.dat, that's how you will tell to wm where to copy that files.
- 55635237-d4a2-4d31-a99c-3296c26e3da2.rgu is a registry file, import that in default.hv (HKCR, HKLM keys) or in user.hv (HKCU)
- We don't need the *.dsm file and option.xml
- Now simply copy content of the package (except dsm rgu and xml from above) to dump folder.

That's all...
 
Last edited:
  • Like
Reactions: yoohath

csganja

Member
May 3, 2010
15
4
Roumania
And 2 themes.

WP7 Orange:
attachment.php

View attachment 763947

WP7 Blue:
attachment.php

View attachment 763949
 

Attachments

  • sshot000.png
    sshot000.png
    39.7 KB · Views: 360
  • sshot002.png
    sshot002.png
    12.7 KB · Views: 350
Last edited:
  • Like
Reactions: yoohath

yoohath

Member
May 3, 2009
12
0
Have to dig mine to work again. Thank you. BTW, I am newbie. Can you guide me ? :D

---------- Post added at 11:28 AM ---------- Previous post was at 10:43 AM ----------

Need help..
I follow your step here
First thing you should do is to copy your rom ro kitchen\rom\old.sbf
Now extract CD33.smg, open EZX-Codec -> Open -> Extract
(Mine I only found CG33. Are you typo? then I got error
11:19:25 Recognizing file...
11:19:25 File looks like SBF firmware
11:19:25 14 codegroups in SBF. Reading...
11:19:26 Completed
11:19:26 Opening SBF file...
11:19:26 Extracting RDL3 (1/14)...
11:19:26 Extracting CG29 (2/14)...
11:19:26 Searching for CramFS header...
11:19:26 ERROR: CramFS header not found
11:19:26 Extracting CG30 (3/14)...
11:19:26 Searching for CramFS header...
11:19:26 ERROR: CramFS header not found
11:19:26 Extracting CG31 (4/14)...
11:19:26 Searching for CramFS header...
11:19:26 ERROR: CramFS header not found
11:19:26 Extracting CG32 (5/14)...
11:19:26 Searching for CramFS header...
11:19:26 ERROR: CramFS header not found
11:19:26 Extracting CG33 (6/14)...
11:19:26 Searching for CramFS header...
11:19:27 ERROR: CramFS header not found
11:19:27 Extracting CG34 (7/14)...
11:19:27 Searching for CramFS header...
11:19:27 ERROR: CramFS header not found
11:19:27 Extracting RDL1 (8/14)...
11:19:27 Extracting CG0 (9/14)...
11:19:27 Searching for CramFS header...
11:19:27 ERROR: CramFS header not found
11:19:27 Extracting CG1 (10/14)...
11:19:27 Searching for CramFS header...
11:19:28 ERROR: CramFS header not found
11:19:28 Extracting CG2 (11/14)...
11:19:28 Searching for CramFS header...
11:19:28 ERROR: CramFS header not found
11:19:28 Extracting CG3 (12/14)...
11:19:28 Searching for CramFS header...
11:19:28 ERROR: CramFS header not found
11:19:28 Extracting CG17 (13/14)...
11:19:28 Searching for CramFS header...
11:19:28 ERROR: CramFS header not found
11:19:28 Extracting CG18 (14/14)...
11:19:28 Searching for CramFS header...
11:19:28 ERROR: CramFS header not found
11:19:28 SBF extraction completed!
11:19:32 Recognizing file...
11:19:32 File looks like SBF firmware
11:19:32 14 codegroups in SBF. Reading...
11:19:32 Completed
11:19:38 Recognizing file...
11:19:38 File looks like SBF firmware
11:19:38 14 codegroups in SBF. Reading...
11:19:38 Completed
11:19:39 Recognizing file...
11:19:39 File looks like SBF firmware
11:19:39 14 codegroups in SBF. Reading...
11:19:39 Completed
11:19:40 Recognizing file...
11:19:40 File looks like SBF firmware
11:19:40 14 codegroups in SBF. Reading...
11:19:40 Completed
11:21:56 Deleting "smg" from working directory...
11:21:56 Opening SBF file...
11:21:56 Extracting CG33 (1/1)...
11:21:56 Searching for CramFS header...
11:21:58 ERROR: CramFS header not found
11:21:58 SBF extraction completed!
11:22:19 Deleting "smg" from working directory...
11:22:19 Opening SBF file...
11:22:19 Extracting CG33 (1/1)...
11:22:19 SBF extraction completed!
11:22:35 Deleting "smg" from working directory...
11:22:35 Opening SBF file...
11:22:35 Extracting CG33 (1/1)...
11:22:35 SBF extraction completed!
11:22:51 Searching for CramFS header...
11:22:52 ERROR: CramFS header not found
11:23:08 Deleting "smg" from working directory...
11:23:08 Opening SBF file...
11:23:08 Extracting CG33 (1/1)...
11:23:08 Searching for CramFS header...
11:23:10 ERROR: CramFS header not found
11:23:10 SBF extraction completed!
So I didn't get any file in my dump folder.
 

csganja

Member
May 3, 2010
15
4
Roumania
Yeah, is CG33, not CD.
And about the errors, i have the same problem with some rom's. Don't know why... Is an EZX-codec issue....
 

Athlor

New member
Aug 29, 2010
1
0
Excellent work Csganja. :eek:
I've always thought of the Motorola Q's as special and I'm glad to see somebody finally be able to do this. Now I wish some people would followup and do the same for the other Motorola Q's. They could really use a custom rom update.
 

Top Liked Posts

  • There are no posts matching your filters.
  • 2
    So, after a long time spent on XDA, i want to release a 'kitchen' for motorola q9h.

    Motoq Kitchen V1.0:
    - Extract *.sbf
    - Extract CG33.smg to dump
    - Decrypt/Encrypt default.hv and user.hv (Registry files)
    - Decrypt/Encrypt initflashfiles.dat
    - Compress dump to CG33.smg
    - Remake *.sbf

    Motoq Kitchen V1.1:
    - Added recmod
    - Added reversmode

    Little Guide:
    First thing you should do is to copy your rom ro kitchen\rom\old.sbf
    Now extract CD33.smg, open EZX-Codec -> Open -> Extract
    Decrypt registry files and initflashfiles.dat
    Rom files are located in dump folder
    Edit them as you wish
    Encrypt registry files and initflashfiles.dat
    HEXeditor will open and you must delete first 2 bytes (FF FE)
    Now compress files, opern EZX-Codec -> Open -> Compress

    Recmod folders from dump folder, will result a dll in recmod folder, edit as you wish and then reversmode.


    That's all, you are ready to flash kitchen\rom\new.sbf to your phone using RSDlite...

    By the way, i do not take credits for anything except cook.exe :)
    1
    Good, let's say now you want to cook some apps\games\themes in your rom.

    Creating package:
    - You'll have to download Ervius package creator from bottom.
    - Put you *.cab file anywhere (but remember where, lol).
    - Extract "package creator" and open "packages creator 5.4.exe"
    - Press "open cab file" and point to your *.cab.
    - A new window have opened, press "extract cab files with original names in folder", let's extract that in c:/xxxxx, will be deleted after all of this automatically, and close that window.
    - Check "default box" and then "done".
    - And now "complete the package".

    Package is now in the same folder with *.cab

    Lets see what we have:
    - initflashfiles.txt
    - 55635237-d4a2-4d31-a99c-3296c26e3da2.rgu
    - 55635237-d4a2-4d31-a99c-3296c26e3da2.dsm
    - option.xml
    - *.cab files

    Import for cooking:
    - You must copy initflashfiles.txt content into initflashfiles.dat, that's how you will tell to wm where to copy that files.
    - 55635237-d4a2-4d31-a99c-3296c26e3da2.rgu is a registry file, import that in default.hv (HKCR, HKLM keys) or in user.hv (HKCU)
    - We don't need the *.dsm file and option.xml
    - Now simply copy content of the package (except dsm rgu and xml from above) to dump folder.

    That's all...