(Updated 04.02.11) HIVE AND REGISTRY FILE EDITOR

Search This thread

AnDim

Senior Member
Jan 21, 2007
168
530
Hive and registry file editor 2.0.112

A command line utility to work with hv files.

Full Unicode support, and more.

!!! WARNING !!!

Do not use CeRegEditor (cereg) to work with .hv !!!

!!! WARNING !!!


Usage:

HVEdit.exe <rgu>|<dump>|<hive>|<hvm> [-r] [<outputdir>]

<rgu> Build boot.hv from rgu file.
<dump> Build default.hv and user.hv from project folder.
<hive> Output hive file contents to the <hivename.hvm> text file.
<hvm> Build hive file from hvm file.
-r Don't insert *.rgu hash value to the hive.



Release history:
---------------------
V. 2.0.112

+ Some changes.


V. 2.0.035

+ Extract hive to the .hvm text file.
+ Build hive from .hvm file.


V. 1.0.000 (Initial Release)
 
Last edited by a moderator:
  • Like
Reactions: ozoku and Bub3d

AnDim

Senior Member
Jan 21, 2007
168
530
NEW Release

V. 2.0.035


Added new functions:

+ Extract hive to the .hvm text file in Unicode format.
+ Build hive from .hvm file.


AnDim
 
Last edited by a moderator:

12aon

Retired Senior Moderator
Mar 24, 2008
2,437
483
NEW Release

V. 2.0.035


Added new functions:

+ Extract hive to the .hvm text file in Unicode format.
+ Build hive from .hvm file.


AnDim

A dump question I'm sure, I started cooking recently and I'm wondering what I could accomplish with this application. In what scenario would I use it? Thanks, 12
 

12aon

Retired Senior Moderator
Mar 24, 2008
2,437
483
What exactly is not clear?

Well I think I'm starting to understand. As I always have had the luxury of initflashfiles.txt or app.reg and never edited the .hv manually. It was unclear to me why I would need this or what it would add to a kitchen that supports those features (initflashfiles.txt and app.reg)

So does this app have a function in such a kitchen, I mean is there anything I will need to do manually that can't be done otherwise or is this more like a general app so that the hives on any phone can be more easily changed?

Thanks 12
 

prpetrov

Member
Oct 21, 2007
36
3
Have anyone used this program? It's not working well for me. I use it fo rgu to hv convert but when i compare the output hv file with cereg alot different files :confused:
 

selyb

Senior Member
Mar 10, 2008
244
5
Shreveport
how does project folder need to be set up to build default and user hv's?

BUG: Default value is imported and exported incorrectly

If I convert an rgu which contains
Code:
@="one"
"Default"="two"
hvedit overwirtes the default value with "two"

Request: option to specify output file
 
Last edited:

AnDim

Senior Member
Jan 21, 2007
168
530
how does project folder need to be set up to build default and user hv's?

HVEdit.exe <My project folder>
Don`t need to be setup. Rgu´s, packages.sof and so on, can be in any sub folders.


BUG: Default value is imported and exported incorrectly

If I convert an rgu which contains
Code:
@="one"
"Default"="two"
hvedit overwirtes the default value with "two"

Hey man .... Key name "Default" == Key name @


Request: option to specify output file

??? f.e.


AnDim
 
Last edited by a moderator:

AnDim

Senior Member
Jan 21, 2007
168
530
What I mean is like
Code:
hvedit myhive.hv myhive.txt
so hvedit would export myhive.hv to myhive.txt

Usage:

HVEdit.exe <rgu>|<dump>|<hive>|<hvm> [-r] [<outputdir>]

<rgu> Build boot.hv from rgu file.
<dump> Build default.hv and user.hv from project folder.
<hive> Output hive file contents to the <hivename.hvm> text file.
<hvm> Build hive file from hvm file.
-r Don't insert *.rgu hash value to the hive.

AnDim
 
Last edited by a moderator:

ojejoe

Senior Member
Dec 22, 2008
116
15
Adelaide
Usage:

HVEdit.exe <rgu>|<dump>|<hive>|<hvm> [-r] [<outputdir>]

<rgu> Build boot.hv from rgu file.
<dump> Build default.hv and user.hv from project folder.
<hive> Output hive file contents to the <hivename.hvm> text file.
<hvm> Build hive file from hvm file.
-r Don't insert *.rgu hash value to the hive.

AnDim
Hi,
thanks for this software it works great, if you now how to put this commands.
My experience was this:
D:\>hvedit.exe hive d:\hive
or:
D:\>hvedit.exe hive d:\hive\user.hv
I'm getting this:
(HVEdit) !ERROR: failed building DEFAULT hives.
When I copy HVEdit.exe and cereg400.dll to d:\hive and run this:
D:\hive>hvedit.exe d:\hive\user.hv
I'm getting this:
Admsoft (R) HVEdit Version 2.0.035
Hive and registry file editor.
(C) 2009 AnDim, XDA-Developers.

(HVEdit) Extracting user.hv ...

(HVEdit) Done! and only 21.kB of 69kB .hv file

When I run it on system.hv like this:
D:\hive>hvedit.exe d:\hive\system.hv
I'm getting this:
(HVEdit) Extracting system.hv ...

ERROR: C:\MacB\private\winceos\COREOS\filesys\reg\reghive\.\registry.c line 172: Reg: Invalid reghandle 0x20000a61

and 144kB .hvm file of 105kB .hv

I didn't mention it but I was trying to convert .hv to .hvm
Maybe my dump has got some errors in it.
Any idea what is wrong, why the user.hvm is so small?
 

mrtoto

New member
Aug 11, 2007
3
0
Chiangmai
Thank you AnDim for great software. It is quite difficult to find out utility for ce hive.
After use for a period I would to to report some small problem.

1. Long multi string was trimed. (Maybe fixed length variable in code) See Ex.
Registry key in my rgu file is
REGEDIT4

[HKEY_LOCAL_MACHINE\System\StorageManager\Filters\fsreplxfilt]
"DirsToExclude"=multi_sz:"\\mxip_initdb.vol",
"\\mxip_system.vol",
"\\mxip_notify.vol",
"\\mxip_lang.vol",
"\\cemail.vol",
"\\pim.vol",
"\\Documents and Settings\\default\\user.hv",
"\\Documents and Settings\\system.hv",
"\\Windows\\Profiles\\guest\\Temporary Internet Files\\",
"\\Windows\\Profiles\\guest\\Cookies\\",
"\\Windows\\Profiles\\guest\\History\\",
"\\Windows\\Activesync\\",
"\\Windows\\messaging\\",
"\\Temp\\"

After change to boot.hv and extract back to boot.hvm the Registry is as hereunder.
; Admsoft (R) HVEdit Version 2.0.035
; Hive and registry file editor.
; (C) 2009 AnDim, XDA-Developers.
;
;
; Source file: boot.hv
; Size: 28672 byte
; Hash: e9e4f2edd12c78eeed7aceeaea22c36f
; Boothash: 1ef4fb8f2b109c0757709e7f46c71a20
; Build tool: HVEdit v2.0

[HKEY_CLASSES_ROOT]

[HKEY_CURRENT_USER]

[HKEY_LOCAL_MACHINE\System\ObjectStore\RegistryUpdate]
"boot.rgu"=hex:1E,F4,FB,8F,2B,10,9C,07,57,70,9E,7F,46,C7,1A,20

[HKEY_LOCAL_MACHINE\System\StorageManager\Filters\fsreplxfilt]
"DirsToExclude"=multi_sz:"\\mxip_initdb.vol",
"\\mxip_system.vol",
"\\mxip_notify.vol",
"\\mxip_lang.vol",
"\\cemail.vol",
"\\pim.vol",
"\\Documents and Settings\\default\\user.hv",
"\\Documents and Settings\\system.hv",
"\\Windows\\Profiles\\guest\\Temporary Internet Files\\",
"\\Windows\\Profiles\\guest\\Cookies\\",
"\\Windows\\Profiles\\guest\\History\\",
"\\Windows\\Activesync\\"

[HKEY_USERS]

; (HVEdit) Done!

2.The size of hv file is larger than original. (This is not effect functional just file size is increase from 732kb to 744kb for instance.)
After investigate, there was extra length on data key which have length just fit 32 bits size. (Maybe when adjust cell size to fit 32 bits)

Hope my comment will be some benefit for you for next version.
Regards,
 

kevinpwhite

Retired Recognized Developer
Nov 19, 2006
438
90
Hive and registry file editor 2.0.035 (C) 2009 AnDim

A command line utility to work with hv files.

Full Unicode support, and more.

!!! WARNING !!!

Do not use CeRegEditor (cereg) to work with .hv !!!

!!! WARNING !!!


Usage:

HVEdit.exe <rgu>|<dump>|<hive>|<hvm> [-r] [<outputdir>]

<rgu> Build boot.hv from rgu file.
<dump> Build default.hv and user.hv from project folder.
<hive> Output hive file contents to the <hivename.hvm> text file.
<hvm> Build hive file from hvm file.
-r Don't insert *.rgu hash value to the hive.



Release history:
---------------------
V. 2.0.035

+ Extract hive to the .hvm text file.
+ Build hive from .hvm file.


V. 1.0.000 (Initial Release)


(C) 2009 AnDim


This seems to be JUST what I am looking for :).... but I am having problems trying to use :confused: I suspect is simply a case of finger-trouble on my part, so will greatly appreciate any help available from AnDim or any other users who can point me in the right direction, please.

I think I correctly understand the command line syntax and have run HVEdit to unpack a default.hv registry file taken from a dumped ROM (Toshiba TG01). I then made some basisc edits to the resulting .hmv file and used HVEdit again to recompile back to .hv.

When the ROM is recompiled and flashed it refused to boot. So I went back and tried using HVEdit to convert to .hmv and back without making any changes. Same problem.

I have attached the .bat files i used to run for reference....View attachment 305797

I have been reading about a need to insert REGEDIT4 at the start of the file; have tried doing so but that just results in an error.

Any guidance will be greatly appreciated :)
 

kevinpwhite

Retired Recognized Developer
Nov 19, 2006
438
90
Request Response !!

Is anyone able to offer any assistance on this question please :confused:

Help will be much appreciated ! :)

This seems to be JUST what I am looking for :).... but I am having problems trying to use :confused: I suspect is simply a case of finger-trouble on my part, so will greatly appreciate any help available from AnDim or any other users who can point me in the right direction, please.

I think I correctly understand the command line syntax and have run HVEdit to unpack a default.hv registry file taken from a dumped ROM (Toshiba TG01). I then made some basisc edits to the resulting .hmv file and used HVEdit again to recompile back to .hv.

When the ROM is recompiled and flashed it refused to boot. So I went back and tried using HVEdit to convert to .hmv and back without making any changes. Same problem.

I have attached the .bat files i used to run for reference....View attachment 305797

I have been reading about a need to insert REGEDIT4 at the start of the file; have tried doing so but that just results in an error.

Any guidance will be greatly appreciated :)
 

Top Liked Posts

  • There are no posts matching your filters.
  • 2
    Hive and registry file editor 2.0.112

    A command line utility to work with hv files.

    Full Unicode support, and more.

    !!! WARNING !!!

    Do not use CeRegEditor (cereg) to work with .hv !!!

    !!! WARNING !!!


    Usage:

    HVEdit.exe <rgu>|<dump>|<hive>|<hvm> [-r] [<outputdir>]

    <rgu> Build boot.hv from rgu file.
    <dump> Build default.hv and user.hv from project folder.
    <hive> Output hive file contents to the <hivename.hvm> text file.
    <hvm> Build hive file from hvm file.
    -r Don't insert *.rgu hash value to the hive.



    Release history:
    ---------------------
    V. 2.0.112

    + Some changes.


    V. 2.0.035

    + Extract hive to the .hvm text file.
    + Build hive from .hvm file.


    V. 1.0.000 (Initial Release)