Provxml file? - Tilt, TyTN II, MDA Vario III Windows Mobile ROM De

Do changes (registry) made to the provxml files override the settings (registry) in the default.hv? I am wondering if it is easier to just make changes to the provxml files insead of going into the default.hv file and making the changes there. Are there any downsides to editing the rom this way? Thanks again

One downside is that some setting implimented with provxml files require a reset before they take effect. Anything that would need a reset if you chenged it using a Reg Editor will be like this. Good example is the Tilt Keyboard fix.
Personally I prefer to edit the rgu files.
My experience tells me that changes happen in the order:
rgu files in SYS Folders
Then
rgu files in OEM Folders
Are combined to build your initial registry.
Finally provxml file changes are applied...
Adding Registry Keys/Settings to the rgu file in OEMMisc is usually a good place. If the Key doesn't exist simply add it to that file.

Yes, they do. No downsides really but I tend to use the hive unless there's an existing provxml that overrides a default setting (such as rom version).

Related

How To: Extract registry entries from cab?

How do you extract registry entries from a cab file? I used the CAB ANALYZER in CoreKitchen but it extracts the entries really sloppy and each entry must be reworked in order to put it in an RGU... any easier way to do this?
inneyeseakay said:
How do you extract registry entries from a cab file? I used the CAB ANALYZER in CoreKitchen but it extracts the entries really sloppy and each entry must be reworked in order to put it in an RGU... any easier way to do this?
Click to expand...
Click to collapse
Just select the XML tab there and you'll see the registry entries written in a nice way somewhere there

Problems with PROVXML files

I've spent the last 6 hours trying to get PROVXML files working with 1.60 ROM and I just can't... Here is what I've tried:
Created my own PROVXML files in Notepad, Notepad++ and XML Notepad, following existing examples and documentation from http://msdn2.microsoft.com/en-us/library/aa456134.aspx
Modified existing PROVXML files (e.g., 'copy' command to 'move' command for OEMDrivers\mxip_HtcApps_HTC_Ringtone.provxml) and re-touched with proper timestamp and file attributes (+s +r +h +a)
Cut up portions of Menu_Operation.XML and placed into renamed files, such as mxipupdate_package_ver.provxml and mxip_package_ver.provxml
Saved in ANSI & Unicode
Used BuildOS.exe and BuildOS+Package_Tools-2.7.exe
And no matter what I do, the file operations I'm trying to perform within the PROVXML never happen!!!
I would be greatful for any help or insight. Thanks much!
I've had issues adding new provxml files but have always been able to add operations to existing ones w/o problems. This is essentially how I split out MMS from SMS on my latest ROM. Timestamp/file attributes weren't an issue for me. Instead, my biggest issue was the fact that my ROM wasnt running the MASD provxml that was part of the ArcSoft package. I ended up working around the problem my placing the MMS account provisioning into another provxml. Interestingly, looking at these files with WinHex shows a 3 byte sequence that proceeds the non-unicode provxml files themselves. Definately not a checksum since I've been able to change the contents w/o adjusting this info and the provisioning itself still runs. In fact, deleting the sequence entirely seems to have no effect on whether the provisioning doc runs at cold boot or not. Consequently, I've always been interested in understanding the mechanism that controls what provxml files get run.
The hex bits are only found in provxml files contained with the OperatorPKG folder. Other provxml files have no special hex bits, and unfortunately, I've added those hex bits to my files and still have not had any success.
The main reason why I want to use provxml files is to replace initflashfiles.txt in every package and reduce the amount of memory used by having duplicate copies in the windows folder and the copied folder.
Any additional insight would be appreciated...
Thanks again.
_Alex_ said:
The main reason why I want to use provxml files is to replace initflashfiles.txt in every package and reduce the amount of memory used by having duplicate copies in the windows folder and the copied folder.
Any additional insight would be appreciated...
Thanks again.
Click to expand...
Click to collapse
You ever have the option to pack the soft into a CAB and install on first boot trough customizacion OEM... i know is not the same, but you gain control about the space on storage.
Cheers.

can't make changes to regisrty

i have a htc 5800/libra... and i can't make changes to my registry. want to remove the security permissions. i have tried different reg editors, and all the .cab files that are around. i did this once before with no problems. had to do a clean storage and install things right.
any ideas?

where i can get all registry of lastest mango

I want to find something in registry of mango that mean to font of OS.
there is something Different to nodo that make my native language not work in some place.
I'm looking for it so i need all registry of mango.
if some one have plz send me one. Thank you.
View Single Post
Have another Thanks from me for this, man... let me find some very useful things.
BTW, the XML file in the CAB appears to be standard provxml format; I just opened it in notepad, copied the pieces I wanted into another file, made a few changes, renamed it CustClear.provxml, and loaded it with Connection Setup. Worked great!
Thank you. drkfngthdragnlrd
@drkfngthdragnlrd
Is this registry pulled from your phone or from a cooked ROM you flashed? Is there a way to dump the registry from a Mango phone itself? Thanks
LiFePo4 said:
@drkfngthdragnlrd
Is this registry pulled from your phone or from a cooked ROM you flashed? Is there a way to dump the registry from a Mango phone itself? Thanks
Click to expand...
Click to collapse
They were from my phone. I had a stock ROM & upgraded to 7720.68 via the leaked method here on XDA. I than, copied out all the RGU's in \Windows\ of my phone. I merged all these RGU's into 1 large file & imported it into WinCE CAB Manager. Being as they are RGU's this is not the full registry. There are some values that aren't written till after first boot/run by the executables of WP7. I'd say this CAB is 90+% of all the registry.
drkfngthdragnlrd said:
They were from my phone. I had a stock ROM & upgraded to 7720.68 via the leaked method here on XDA. I than, copied out all the RGU's in \Windows\ of my phone. I merged all these RGU's into 1 large file & imported it into WinCE CAB Manager. Being as they are RGU's this is not the full registry. There are some values that aren't written till after first boot/run by the executables of WP7. I'd say this CAB is 90+% of all the registry.
Click to expand...
Click to collapse
Excellent! Another question; I am really after my exchange activesync registry keys; do you know if these are in any of the RGU files (I am thinking not)? When you add an account (be it POP3, IMAP4, EAS) does this get generated with an RGU that is accessible?
P.S. I have been using the 30day demo of WinCE CAB Manager and love how it shows the tree structure of your file. Was there any particular trick to merging the RGUs?
LiFePo4 said:
Excellent! Another question; I am really after my exchange activesync registry keys; do you know if these are in any of the RGU files (I am thinking not)? When you add an account (be it POP3, IMAP4, EAS) does this get generated with an RGU that is accessible?
P.S. I have been using the 30day demo of WinCE CAB Manager and love how it shows the tree structure of your file. Was there any particular trick to merging the RGUs?
Click to expand...
Click to collapse
I'm not sure about the Active sync thing. I'd assume they get written once you set up your email accounts. You could look, I have no clue of the top of my head, not something I looked into.
As for merging the RGU's, I used Visual Studio, but you can use any text editor to open them. My only suggestion is to pay close attention & make sure you copy & paste correctly. Also, you only need the first line "REGEDIT 4.0 or something like that once. So don't copy the extra entries from the other RGU's.
drkfngthdragnlrd said:
As for merging the RGU's, I used Visual Studio, but you can use any text editor to open them. My only suggestion is to pay close attention & make sure you copy & paste correctly. Also, you only need the first line "REGEDIT 4.0 or something like that once. So don't copy the extra entries from the other RGU's.
Click to expand...
Click to collapse
I copied all .rgu from my phone to my PC, renamed them all to .reg, and then used WinCE CAB Manager to import each one and presto, I have a nice registry and viewer (then just save as a CAB project)!
LiFePo4 said:
I copied all .rgu from my phone to my PC, renamed them all to .reg, and then used WinCE CAB Manager to import each one and presto, I have a nice registry and viewer (then just save as a CAB project)!
Click to expand...
Click to collapse
Yeah, it's nice to have a use for WinCE CAB Manager in WP7 as it's no longer useful for creating CAB's that are installable.
@drkfngthdragnlrd - I did this on NoDo for a start (easy to get RGU to PC) but how did you go about it in Mango? I was reading along in the other thread where there were discussions about this but nothing clearly stated.
LiFePo4 said:
@drkfngthdragnlrd - I did this on NoDo for a start (easy to get RGU to PC) but how did you go about it in Mango? I was reading along in the other thread where there were discussions about this but nothing clearly stated.
Click to expand...
Click to collapse
I used TouchXplorer to copy the files into an app's Isolated Store & than used [APP 2011-08-20][BETA] WP7AppBackup - Backup / Restore third party app data to back-up the app data. Than you just look inside the back-up files.

[Q] Cannot access registry anymore after accentcolor change

Hey there,
I got a Samsung Omnia 7 with Telekom Branding and a serious problem. I cannot access the registry of my phone anymore with any tool. WP7 Root tools and the registry editor from TouchXperience keeps crashing.
What I been doing is trying to add a new accent color.
I first went to [HKEY_LOCAL_MACHINE\ControlPanel\Themes] and then in the folder which contains the theme names. I have created there a correct Dword entry and called the name "grau".
Well, then I switched into [HKEY_LOCAL_MACHINE\ControlPanel\Themes\0\Accents] and wanted to add there another accent color with the index number 11. I was looking for the hex values on my PC while my phone screen got locked.
After unlocking it again, I couldnt access any of the tools anymore.
Also when I go into the control panel -> design (where you can choose light/dark background and accent color) it just kicks me out of the menu.
I dont know what I should do, I need something which lets me access the registry somehow or an app which could remove the key...
Any help is greatly appreciated
You can do write-only registry operations in a few ways, but one of the easiest is to use provxml. Download the Interop Unlock XAP from the Dev&Hacking sub-forum and open it in 7-zip (the built-in Windows ZIP explorer won't work for this). There's a .. folder. Navigate it up to ..\..\..\..\.. or so, then there's a provxml folder. Open it, and there's a file inside. Edit that file. It'll have some registry write commands in an xml format (wap-provisioning, you can read about it on MSDN if you want). Put the registry commands you want into the file and save it back into the XAP archive. Then, follow the normal steps for interop-unlock on a Samsung phone, except don't install the original app (deploy your modified version). This will process the provxml and make the registry changes.
Note: provxml can be used to delete registry values as well as create or modify them. This is a great way to undo partial jobs like adding a new theme that isn't supposed to be there.
Thanks a lot for your reply.
It worked out. I removed all those broken keys.
I had done loads of registry changes and a bunch of tweaks for the phone, at the end I did a hard reset.
I'll wait for tools the next time

Categories

Resources