[Q] ROM Cooking: .RGU VS .PROVXML - Touch Diamond, MDA Compact IV ROM Development

Hi everyone,
I'm wondering about the differences between these files, since they are both used to modify registry. Well PROVXML files seems to be more powerful with file management.
Which one is better to use ?

Quick:
provxml is not only for change registry.
For file operations too.

And .provxml writes in the registry after .rgu, so if you want to change something for sure, you should use .provxml

maxstegi said:
And .provxml writes in the registry after .rgu, so if you want to change something for sure, you should use .provxml
Click to expand...
Click to collapse
Wow this is a very good point you mentionned here ... i did not know in which order the information is written into the registry. Thank you man !
But what about the order these files are dumped into the final registry ... Is it by package name ?
For example, i have in my cooking OEM:
- PACKAGE_Diamond_A
----mxipupdate_A.provxml
- PACKAGE_Diamond_B
----mxipupdate_B.provxml
What will be the result if these two packages write at the same location different value?
Will the value be the A one or B one ?

Saw something like: *_100.provxml, *_200.provxml ...

Related

why use m'reloc with xipport???

Hi all, I've a question, I readed in a lot of 3ds that to reallocate modules into xip section with xipport (the last by bepe) someone use also m'reloc....
I cannot find into xipport.exe imageinfo.bin references, apart the ones that creates imageinfo.bin into \out\modules\modulename!
now, my question is:
why they try to use m'reloc if xipport doesn't need it???
xipport.exe works on modules by imageinfo.txt, with D=, V= and R= values
if someone can explain better this step, becouse for me use m'reloc is useless.
Why not ?
ervius said:
Hi all, I've a question, I readed in a lot of 3ds that to reallocate modules into xip section with xipport (the last by bepe) someone use also m'reloc....
I cannot find into xipport.exe imageinfo.bin references, apart the ones that creates imageinfo.bin into \out\modules\modulename!
now, my question is:
why they try to use m'reloc if xipport doesn't need it???
xipport.exe works on modules by imageinfo.txt, with D=, V= and R= values
if someone can explain better this step, because for me use m'reloc is useless.
Click to expand...
Click to collapse
ervius, you doesn't use m'reloc when you port xip ?
can you tell me which XIPPort is the last one because Bepe doesn't make release number...
The procedure you're using is :
- Dump the xip.bin
- Make Pkgs
- Replace the new modules
- Undo
- Realloc P
- Build xip_out.bin
Thanks for your help
ervius said:
Hi all, I've a question, I readed in a lot of 3ds that to reallocate modules into xip section with xipport (the last by bepe) someone use also m'reloc....
I cannot find into xipport.exe imageinfo.bin references, apart the ones that creates imageinfo.bin into \out\modules\modulename!
now, my question is:
why they try to use m'reloc if xipport doesn't need it???
xipport.exe works on modules by imageinfo.txt, with D=, V= and R= values
if someone can explain better this step, becouse for me use m'reloc is useless.
Click to expand...
Click to collapse
m'reloc isnt useless. Traditionally m'reloc is used when the 'realloc P' and 'write map' buttons of Bepes XIPPort.exe causes the program to crash. In other words when two XIP modules occupy the same address and produce '!' characters throughout your MAP.txt.
peter petrelli said:
m'reloc isnt useless. Traditionally m'reloc is used when the 'realloc P' and 'write map' buttons of Bepes XIPPort.exe causes the program to crash. In other words when two XIP modules occupy the same address and produce '!' characters throughout your MAP.txt.
Click to expand...
Click to collapse
you need m'reloc for nothing.
all xipport process is based on imageinfo.txt files, while m'reloc changes module values on imageinfo.bin (and xipport ignore thatr file in module, in realloc P and in write Map.txt), bwt, I use XIPAddrTools, joined to xipport, and it use m'reloc, but with m'reloc, this utility:"XIPAddrTools", changes values on imageinfo.txt, it's the real way to port xip, playing around imageinfo.txt.
and to confirm all I hex edited xipport.exe, and it only writes imageinfo.bin, while dump xip.bin, never read imageinfo.bin to check values inside., try you also to hexedit it and change imageinfo.bin inside into:"omageinfo.bin", dump xip.bin, and inside all modules, you 'll find "omageinfo.bin", delete all omageinfo.bin, realloc P, write map, write new xip.bin, insert into payload and flash rom, it starts normally...., xipport not need imageinfo.bin, and doesn't use them.
ervius said:
.. xipport not need imageinfo.bin, and doesn't use them.
Click to expand...
Click to collapse
modifed xipport can make imgainfo.bin and u can manually extract it from xip.bin (it's not so complicated)
m'relock is usefull when u have to move VA of module coz of !!!!!!!!! in map.txt
mun_rus said:
modifed xipport can make imgainfo.bin and u can manually extract it from xip.bin (it's not so complicated)
m'relock is usefull when u have to move VA of module coz of !!!!!!!!! in map.txt
Click to expand...
Click to collapse
for me is useless, becouse, I don't know whatr kind of xipport you use, the one that I use, only create imageinfo.bin for compatibility with other utils, but created imageinfo.bin in modules, xipport ignores them until xip_out is created.
ervius said:
for me is useless, becouse, I don't know whatr kind of xipport you use, the one that I use, only create imageinfo.bin for compatibility with other utils, but created imageinfo.bin in modules, xipport ignores them until xip_out is created.
Click to expand...
Click to collapse
Can you share your XIPPort release please ervius ?
MickyMax said:
Can you share your XIPPort release please ervius ?
Click to expand...
Click to collapse
is not mine, is xipport that you also use, only I told that it create files imageinfo.bin, but never it use them, I checked all operations, an dthe imageinfo.bin files remain invariates, after: coredll.dll porting from xip to other ones...., only imageinfo.txt chenge values.
ervius said:
is not mine, is xipport that you also use, only I told that it create files imageinfo.bin, but never it use them, I checked all operations, an dthe imageinfo.bin files remain invariates, after: coredll.dll porting from xip to other ones...., only imageinfo.txt chenge values.
Click to expand...
Click to collapse
Excuse me. I would like to say : can you upload the release you use because we can found many builds in the forum but they seem the same... ?
MickyMax said:
Excuse me. I would like to say : can you upload the release you use because we can found many builds in the forum but they seem the same... ?
Click to expand...
Click to collapse
bo problem, I use this release and xiptools to realloc better all modules into xip...
bye!
Big thanks ervius !
ervius said:
try you also to hexedit it and change imageinfo.bin inside into:"omageinfo.bin", dump xip.bin, and inside all modules, you 'll find "omageinfo.bin", delete all omageinfo.bin
Click to expand...
Click to collapse
Hey ervius, you were right about this I did it and have now deleted all omageinfo.bin files from all modules. But now may I ask how to as you said "I use XIPAddrTools, joined to xipport, and it use m'reloc, but with m'reloc, this utility:"XIPAddrTools", changes values on imageinfo.txt, it's the real way to port xip, playing around imageinfo.txt". Please explain little I will do rest thanks.
tjkhattak61 said:
Hey ervius, you were right about this I did it and have now deleted all omageinfo.bin files from all modules. But now may I ask how to as you said "I use XIPAddrTools, joined to xipport, and it use m'reloc, but with m'reloc, this utility:"XIPAddrTools", changes values on imageinfo.txt, it's the real way to port xip, playing around imageinfo.txt". Please explain little I will do rest thanks.
Click to expand...
Click to collapse
you have to use xiptools with imageinfo.bin...
after, when finish, before realloc P and build Map, and build xip_out.bin, delete all imageinfo.bin, xip_out.bin will be created successfull, like all imageinfo.bin were inside all modules...
P.S.: is bit difficult use the xip_tools, but when you understood how it works, is easiest port xip... thanks to the author...

problem with registry

Hello everyone,
I have a problem, to create my rom, when I edit in default.hv some changes, such as the 4 columns, the modes camera .... when installing rom, disappear are changing, as if it had not changed anything.
I do not know if it will be for sometime provxml overwrites something, or is not that.
thank you all!
sorry for my english google translate
you should not edit default.hv.
Make a .rgu (name it for example tweaks put it in the SYS folder) file and set your settings there.
I usualy make a .reg file and put all my settings in there. Then I make that a .cab file (with QuickCab 1.0) and convert it to a package (with Ervius Package Creator v2). Works like a charm
whyen you edit the hive. any RGU or provxml files would over write the settings. thus why they do not stick.
iXiR said:
you should not edit default.hv.
Make a .rgu (name it for example tweaks put it in the SYS folder) file and set your settings there.
I usualy make a .reg file and put all my settings in there. Then I make that a .cab file (with QuickCab 1.0) and convert it to a package (with Ervius Package Creator v2). Works like a charm
Click to expand...
Click to collapse
wow!
run ok!
thx!

[APP] Michy's Installer - complete wceload repleacement!

- Michy's Installer -
​Have you ever got an "Installation Unsuccesfull" message? Or a "Uninstall failed" message? Or worst thing an "Missing privileges" while installing a cab?
Now this messages are gone. With my installer, which is a complete Wceload and uninstaller replacement, any installation will complete without any problem
Main features:
Full repleacement for winceload
Select if you want or not to run setup dlls
Avoid failing for missing privileges
Get the space that an'installed app consumes after installing too
Search within your device the cabs you have and select what you want to install
Analyze FB_Install folders
Batch cabs installation
Installation processes can be aborted any time
If you are overwriting exes, they will be automatically terminated before installing
Advanced cab analyzer (view files contained, shortcut, regs, extract them......etc)
- MichyPrima_UC - ​
This system will let you to install:
.reg
.cab
.rgu
.xml
.provxml
.exe
Putting them in your SD/Microdrive/Diamond internal storage in the folder FB_Install. And them will be installed at first boot.
Information about files you can install:
- Files .cab -​
For a base installation of cabs you can put them in the folder FB_Install. Setup DLL will not be executed to avoid setup freezes. Anyway, there are ways to customize how your cab will be installed:
Installation to SD
Installation to MD
Activating Setup DLL
Possibility to use wceload to install (not advised)
For using them:
If your cab is mycab.cab and you want to install it to sd, simply create a file called mycab.tosd. if you want to install to MD, the name will be mycab.tomd, if you want to enable setup dll, the name will be mycab.enabledll. If you want to install using wceload... use .old extension.
- Files .reg, .rgu, .provxml e .xml -​Simply put them to FB_Install directory
- Files EXE - ​For a simple execution put them in FB_Install folder. If you need command line arguments, simply put them in a file called as your exe, but with .arguments extension.
- All files - ​All files can be skipped using .skip extension. eg if your file is mycab.cab , create a file with mycab.skip and it will not considered
- Other special functions: -​
File/folder structure restore
Creating the structure on SD it will be reversed into storage. We have more than only one folder where we can put our files (in FB_Install):
CopyInWindowsFolder (\windows)
CopyInProgramsFolder (\windows\start menu\programs)
CopyInProgramFilesFolder (\program files)
CopyInFavoritesFolder (\windows\favorites)
CopyInFontsFolder (\windows\fonts)
CopyInStartupFolder (\windows\startup)
CopyInRootFolder (\)
So, for copy/overwrite files in windows folder, only thing you need is to create a folder in FB_Install with name CopyInWindowsFolder. This is a recursive copy, so all subfolders will be copied.
Shortcut restoring
You can specificate the shortcut to create in shortcuts.txt file and put it in FB_Install folder. Each line will be a shortcut to create. The first part of the line contains where the shortcut will be, 2nd where the shortcut will point. The two parts are separated by ":".
We have ids there to:
%SD% (\storage card)
%PROGRAMS_STARTMENU% (\windows\start menu\programs)
%PROGRAM_FILES% (\program files)
%STARTUP% (\windows\startup)
%MYDOCUMENTS% (\my documents)
Example line:
%PROGRAMS_STARTMENU%\Test.lnk:%SD%\myprogram.exe
This line will create a "Test.lnk" in programs which points to \storage card\myprogram.exe.
Possibility to avoid final reset (not advised)
Just create a file with name NoResetAtEnd without extension in FB_Install folder.
Possibility to temporarily skip customization
Just create a file with name SkipCustomization without extension in FB_Install folder.
Do you want to process config lines to runcc?
Create a file with name AddToConfig.txt and there put your config lines.
Possibility to delete files or folder
Create a file with name Delete.txt. Each line is something to delete. You can use IDs as shortcuts
All I have to say is
Wow, sounds extremely "will have it now"!
Cool
Michy,
This shold be a nice addition to the tool box.
cheers
BR
Attempt of graceful recovery from dbl post
Cool
Michy,
Very nice work. I can't wait to see this released.
Cheers
BR
Michy, you are great!!
Wow, this must have been a LOT of work. Tnx a lot for your efforts!!
Sounds great!
Sounds very useful for those of us that change roms often.
Good work.
PS
My personal holy grail would be an APP that records changes as apps are installed to a point where I am happy then be able to gather all of the changes and build an install routine! Am I dreaming?
Wow sounds awesome and a gui, can't wait & thankyou
SIMPLY AMAZING!!!! cant wait...this should save me tons of time, and unlike other appz this seems easy 2 use and great!!!....thanks for ALL the hard work! ..waiting patiently
ehi my friends! good job, I'm sure that this program is excellent as the other your developments!
Put it online
This sounds amazing!!!
Italians do it very well!!!
Translators needed!!!
Please if anyone interested translating my application, this is the english file to translate and post back:
Code:
<?xml version="1.0" encoding="UTF-16" standalone="yes"?>
<Language>
<FormMain>
<ListviewColumn1>File</ListviewColumn1>
<ListviewColumn2>Dest</ListviewColumn2>
<ListviewColumn3>Instl.Size</ListviewColumn3>
<ReadyMsg>Ready.</ReadyMsg>
<AbortSoftKey>Abort</AbortSoftKey>
<InstallingMsg>Installing </InstallingMsg>
<AddItemBtn>Add item</AddItemBtn>
<RemoveItemBtn>Remove item</RemoveItemBtn>
<InstallSoftKey>Install</InstallSoftKey>
<MenuSoftKey>Menu</MenuSoftKey>
<MenuItem1>Exit</MenuItem1>
<MenuItem2>About</MenuItem2>
<MenuItem3>Clear list</MenuItem3>
<MenuItem4>Enable setup dll</MenuItem4>
<MenuItem5>Get cabs from storages</MenuItem5>
<MenuItem6>Load FB_Install folders</MenuItem6>
<MenuItem7>Uninstaller</MenuItem7>
<MenuItem8>Cab Info</MenuItem8>
<Msg1>Not enough space for this cab: </Msg1>
</FormMain>
<SearchCabsForm>
<Title>SearchCabs</Title>
<ListViewColumn1>File</ListViewColumn1>
<OkSoftKey>Ok</OkSoftKey>
<MenuSoftKey>Menu</MenuSoftKey>
<MenuItem1>Refresh</MenuItem1>
<MenuItem2>Select all</MenuItem2>
<MenuItem3>Unselect all</MenuItem3>
<MenuItem4>Invert</MenuItem4>
<MenuItem5>Cancel</MenuItem5>
</SearchCabsForm>
<SelectCabDialog>
<Title>Select cabs</Title>
<OkSoftKey>Ok</OkSoftKey>
<MenuSoftKey>Menu</MenuSoftKey>
<MenuItem1>Up</MenuItem1>
<MenuItem2>Select all</MenuItem2>
<MenuItem3>Unselect all</MenuItem3>
<MenuItem4>Invert</MenuItem4>
<MenuItem5>Cancel</MenuItem5>
</SelectCabDialog>
<SelectDestinationDialog>
<Title>SelectDestinationDialog</Title>
<OkSoftKey>Ok</OkSoftKey>
<CancelSoftKey>Cancel</CancelSoftKey>
</SelectDestinationDialog>
<Uninstaller>
<Title>Uninstaller</Title>
<ListviewColumn1>App</ListviewColumn1>
<ListviewColumn2>Mem.Usg.</ListviewColumn2>
<UninstallSoftKey>Uninstall</UninstallSoftKey>
<RefreshSoftKey>Refresh</RefreshSoftKey>
</Uninstaller>
</Language>
the filename should be Installer_CID.xml where cid is your cid. eg for italian: 410, english 409.
Edit: of course the italian one is already made by me
Thst is a great tool, anxiously waiting for release! Thank you sooo much!
Looks like a great tool ,and tools like this make other phones look primitive
Russian?
I might do a Russian translation. as soon as I have the time. in any case, I wanted to subscribe, so I made a post.
Looking forward to the release. when is it?
looks like an awesome tool... is it gsm specific or will it run on cdma phones?
Wow, nice release!! simple but powerful =)
benoahriz said:
looks like an awesome tool... is it gsm specific or will it run on cdma phones?
Click to expand...
Click to collapse
Should work fine on CDMA devices. A CAB's a CAB, CDMA or GSM
Dave

[rgu support] WinCE Registry Editor (mRegEdit), v.0.5.5

[Updated 21.02.10] New version 0.5.5 with rgu support !!!
WinCE Registry Editor (mRegEdit), v.0.5.5
Description:
An application to work with registry files with MDI graphic interface.
- supported files: .hv, .rgu
- not supported yet: .reg, .provxml, .fdf
Release history:
---------------------
V. 0.5.5
+ Support .rgu files
V. 0.5.4
+ Added search function
V. 0.4.0 (Beta)
Thanks will try
New version 0.5.4 with search function !!!
New version 0.5.4 with search function.
AnDim
Nice App Work with it right Now it's really nice
Thanks
Hi AnDim,
Nice tool to use in combination with the htcRIE tool. Thank you for that! Anyway you could make it possible to import reg- or rgu-files? That would make this even better!
Cheers,
/Cacti
Support .rgu files
Very nice utility, thank you for this.
I am using it on Windows 7 and one thing I did notice is that when browsing for a file to open it did not show any of the .rgu files. I had to go to the Files and Folders options on my computer and uncheck the option to Hide Protected Operating System Files. Using Ervius Visual Kitchen, I do not have to do this so maybe there is a option somewhere that can be set in the code to show all of the files? Would be great to include this as an option somehow.
Thanks for the new relase
Whats up with some keys being in red color?
And what does the program do when inside the file exist two value names with the same value data in the same key?
It keeps the last one?
Like this:
[HKEY_CURRENT_USER\ControlPanel\Sounds\VTCallWaiting]
"Category"="InCall"
"Category"="Ring"
Thanks.
Edited...
It seems that the keys in red are the keys that will be deleted.
And the last one is kept.
Could you add an option to ask the user which value to keep?
I'm not getting how to use this. How do I connect to my device? I assumed I had to find the default or user.hv files, but I cannot find them.
Thraka said:
I'm not getting how to use this. How do I connect to my device? I assumed I had to find the default or user.hv files, but I cannot find them.
Click to expand...
Click to collapse
Copy them to your desktop (out of \windows).
When should we expect a newer version? Any thoughts on my suggestion on my previous post?
Please add import rgu option it would be very useful anyway thanks for this great app
thank you .............
Hello,
This tool is fantastic. It's the only program that allowed me to change my .hv files without problems (I tried CeRegEditor and manual RGUcomp but all these methods failed in my case).
The only thing I miss is the possibility to import data from rgu/reg or even txt. Pleeeease
Regards
Skrobel

Merging Registry Files...

I am using Visual Kitchen to build my ROMs. There are five types of files that are used to eventually create the registry: *.hv *.rgu *.reg *.provxml *.xml. I'm trying to find a program that takes all these files one by one and create ONE *.rgu file. When adding keys to the One.reg the program should check whether the key exists with different value and ask the user whick value to keep. Is there a program like that? Could someone make one? I am not a programmer myself so i can't do it but i believe that this would be very useful for all cooks.
Provxml files are only added to the registry after Flash/1st Boot not during cooking process.
You could try and catch the default.hv and user.hv from the Kitchen Temp folder, to at least have those files with all the .rgu entries from the kitchen already inside them.
But i haven't seen an application that does exactly what you need it to do.

Categories

Resources