PDA

View Full Version : (Updated 04.02.11) HIVE AND REGISTRY FILE EDITOR


AnDim
15th April 2009, 12:17 AM
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)

btxakita
23rd April 2009, 03:06 PM
Don't need Unicode??
and I'm wondering whether the "REGEDIT4" is needed.

AnDim
25th April 2009, 06:29 PM
Don't need Unicode??

Who spoke?

and I'm wondering whether the "REGEDIT4" is needed

Yes.

AnDim
29th April 2009, 12:55 AM
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

12aon
10th May 2009, 03:26 AM
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

jackleung
10th May 2009, 09:08 AM
Thanks. One problem I had w/ rgucomp is missing unicode support.

AnDim
10th May 2009, 09:54 PM
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

What exactly is not clear?

Soul_Est
10th May 2009, 10:16 PM
Thanks AnDim, this makes GSM -> CDMA SYS porting much easier.

12aon
13th May 2009, 10:47 PM
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

adwinp
15th September 2009, 03:30 PM
@AnDim, PMed you.

prpetrov
18th October 2009, 12:26 PM
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:

AnDim
19th October 2009, 08:43 AM
I use it fo rgu to hv convert but when i compare the output hv file with cereg alot different files :confused:


!!! WARNING !!!

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

selyb
1st November 2009, 06:31 AM
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 @="one"
"Default"="two" hvedit overwirtes the default value with "two"

Request: option to specify output file

AnDim
3rd November 2009, 12:24 AM
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 @="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

selyb
3rd November 2009, 01:11 AM
sorry, I misunderstood. Until now, I didn't know you could use "Default"=
:o

Request: option to specify output file

What I mean is like hvedit myhive.hv myhive.txt so hvedit would export myhive.hv to myhive.txt

AnDim
12th November 2009, 07:14 PM
What I mean is like 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

ojejoe
13th December 2009, 04:38 AM
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
2nd February 2010, 03:05 AM
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\f sreplxfilt]
"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\RegistryUpda te]
"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\f sreplxfilt]
"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
8th April 2010, 11:00 AM
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....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
12th April 2010, 10:36 PM
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....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 :)

JVH3
6th March 2011, 06:34 PM
Hive and registry file editor 2.0.112 (C) 2009-2011 AnDim

A command line utility to work with hv files.



Thanks for this. Worked great.