• Introducing XDA Computing: Discussion zones for Hardware, Software, and more!    Check it out!

WM6 Cooking Lessons ;) ?

Search This thread

bradsnw

Senior Member
Apr 21, 2006
75
0
43
Dahlonega, GA
"HV to TXT (Drop a .HV file).bat" default.hv {i move this out of my dump directory to tweak }
Edit default.txt in notepad. Save as Unicode {important to save as unicode}
Rename to boot.rgu
make_boot_hv.bat
rename the newly generated boot.hv to default.hv {I then move it back into my dump directory before i forget}

repeat for user.hv for any HKCU


Can you explain this section a little better? Maybe I am missing some files to do this. I have downloaded the make_HV_111 folder, but only have one .bat file included.

Thanks for you help and knowledge.

B-Rad
 

notyourdaddy

Senior Member
Feb 16, 2006
210
0
You only really need rgucomp.
To dump a hv file to rgu use "rgucomp -o hivefile.hv > txtfile"

to clarify what the batch scripts do, HV to TXT (Drop a .HV file).bat sets _FLATRELEASEDIR, adds the REGEDIT4 line and then runs RGUCOMP -o filename -nologo

make_boot_hv.bat just sets _FLATRELEASEDIR and then runs rgucomp.exe -b.
 

MusicMike

Member
Dec 8, 2006
45
0
"HV to TXT (Drop a .HV file).bat" default.hv {i move this out of my dump directory to tweak }
Edit default.txt in notepad. Save as Unicode {important to save as unicode}
Rename to boot.rgu
make_boot_hv.bat
rename the newly generated boot.hv to default.hv {I then move it back into my dump directory before i forget}

I need some help here... when I do these steps, I get a problem with make_boot_hv.bat:

Code:
Microsoft (R) RGUComp Version 1.0.000
Registry file processor and hive builder.
Copyright (C) 2004 Microsoft Corporation All Rights Reserved.
built: Nov 19 2004 15:17:13
importing registry file ".\boot.rgu"...
Failed to parse value name HKEY_CLASSES_ROOT\callto!!!
InitRegistry FAILED in file ".\boot.rgu" within a few lines of line 9.
BuildBootHive: (RGUComp) !ERROR failed importing ".\boot.rgu"
wmain: (RGUComp) !ERROR failed building BOOT hive

I did not change anything in the default.txt, all I did is save it in Unicode.

This is the beginning of the default.txt file:

Code:
REGEDIT4

[HKEY_CLASSES_ROOT\{030D681B-1DFC-4bd0-A72A-A9B3CCCDA653}]
  "DisplayName"="Camera"
[HKEY_CLASSES_ROOT\wmfile\Shellex\ContextMenuHandlers\{E88B4A18-6F77-4bb6-8E0D-DCD4B1F8F1DA}]
  @="Set As Ringtone"
[HKEY_CLASSES_ROOT\rmifile\Shellex\ContextMenuHandlers\{E88B4A18-6F77-4bb6-8E0D-DCD4B1F8F1DA}]
  @="Set As Ringtone"
[HKEY_CLASSES_ROOT\callto]
  "URL Protocol"=""  @=""

Thanks for your help.
Mike
 

notyourdaddy

Senior Member
Feb 16, 2006
210
0
I need some help here... when I do these steps, I get a problem with make_boot_hv.bat:

I did not change anything in the default.txt, all I did is save it in Unicode.

This is the beginning of the default.txt file:

Code:
REGEDIT4

[HKEY_CLASSES_ROOT\{030D681B-1DFC-4bd0-A72A-A9B3CCCDA653}]
  "DisplayName"="Camera"
[HKEY_CLASSES_ROOT\wmfile\Shellex\ContextMenuHandlers\{E88B4A18-6F77-4bb6-8E0D-DCD4B1F8F1DA}]
  @="Set As Ringtone"
[HKEY_CLASSES_ROOT\rmifile\Shellex\ContextMenuHandlers\{E88B4A18-6F77-4bb6-8E0D-DCD4B1F8F1DA}]
  @="Set As Ringtone"
[HKEY_CLASSES_ROOT\callto]
  "URL Protocol"=""  @=""

Thanks for your help.
Mike

you have 2 variables on one line.

Code:
[HKEY_CLASSES_ROOT\callto]
"URL Protocol"="" @=""

should be

Code:
[HKEY_CLASSES_ROOT\callto]
"URL Protocol"=""
@=""

each variable needs its own line. did you use rgucomp directly or the scripts i mentioned in an earlier post?
 

MusicMike

Member
Dec 8, 2006
45
0
you have 2 variables on one line.

Code:
[HKEY_CLASSES_ROOT\callto]
"URL Protocol"="" @=""

should be

Code:
[HKEY_CLASSES_ROOT\callto]
"URL Protocol"=""
@=""

each variable needs its own line. did you use rgucomp directly or the scripts i mentioned in an earlier post?

Thanks for your reply. I retried it again, and the problem is that when I save default.txt as Unicode with Notepdad (under Windows XP SP2) it removes the linebreak between the variables...
 

risidoro

Senior Member
Sep 9, 2005
509
2
Italy
www.webalice.it
Thanks for your reply. I retried it again, and the problem is that when I save default.txt as Unicode with Notepdad (under Windows XP SP2) it removes the linebreak between the variables...

Dude, if you want to do serious cooking

YOU MUST FORGET ABOUT NOTEPAD AND INSTALL AN ADVANCED TEXT EDITOR!!!
Notepad may be good for less-than-5-years-old babies learning how to use a keyboard. Any use beyond "learning the keyboard" IS NOT TOLERATED :)

Buy Ultraedit or Emeditor (the ones i use) or google for others (you can also find free ones) (BTW: emeditor personal ed. should be free).

Bye
 

MusicMike

Member
Dec 8, 2006
45
0
Buy Ultraedit or Emeditor (the ones i use) or google for others (you can also find free ones) (BTW: emeditor personal ed. should be free).

Bye

Tried Ultraedit, but ran into other problems as only a small 28kb .hv file was written. What conversion do I have to choose in Ultraedit for it to work?

EDIT: had to save it with Wordpad, then it worked :) Don't know why Ultraedit doesn't work... :confused:

Mike
 
Last edited:

MusicMike

Member
Dec 8, 2006
45
0
Tried Ultraedit, but ran into other problems as only a small 28kb .hv file was written. What conversion do I have to choose in Ultraedit for it to work?

Mike

So now I got it working with Ultraedit :) however around the middle of the file, I get another error now:

Code:
Failed to parse value name HKEY_LOCAL_MACHINE\Snd\Event!!!
InitRegistry FAILED in file ".\boot.rgu" within a few lines of line 5154.
BuildBootHive: (RGUComp) !ERROR failed importing ".\boot.rgu"
wmain: (RGUComp) !ERROR failed building BOOT hive

This is the part of the text file causing this error:

Code:
[HKEY_LOCAL_MACHINE\Snd\Event]
  "Curr0"=multi_sz:"alarm2", "", "alarm2", "default", "Empty", "alarm2", "infbeg", "infend", "infend", "", "", "", "alarm2", "infbeg", "infend", "infend", "alarm2", "", "", "voicbeep", "RecEnd"
  "EventCache"=dword:600
  "EventMask"=dword:1f7ed
  ".Scheme"="Curr0"

As I haven't changed this line, I do not understand what causes the problem...

Thanks for your help.
Mike

EDIT: had to save it with Wordpad, then it worked :) Don't know why Ultraedit doesn't work... :confused:
 
Last edited:

jpmche

Senior Member
Sep 27, 2006
177
0
Localization of WM6

Guys,

Did you think it is possible to localize WM6 OS, using the procedures of the post for the localization of WM5 AKU 2.x? ? Any feedback will be appreciated.

Thkx,

jpmche
 

lapator

Member
Jul 18, 2008
46
0
Hello there..
I am trying to cook my rom but there is a problem..
The registry tweaks that i add at the default.hv or user.hv is not aplied..!!!
I found the default.hv and user.hv into SYS/metadata.
Any idea ?

Also i cant import the encrypted password of a program trying to cook into the .hv file because when i dump it to .txt and open it the password line have wrong value.. insteed of "ìáð" has "λαν"

Any idea ?
 
Last edited: