can't make changes to regisrty - General Topics

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?

Related

Provxml file?

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).

can CECabManager do this?

With the 6.5 rom's coming out, I'm finding that I have to re-arrange my start menu everytime I flash. I'm aware of re-start, but it's a bit, primitive, for what I want to do. I'm wondering if CECabManager can create a cab that will simply MOVE files from one directory to another, even if that means creating a directory to place some files in. Basically, a fast and easy way to clean up my start menu the way I like it. Any help is appreciated.
A common cab can not do this, in my knowledge if you want a cab do this, that cab must contain a setup.dll, which can execute some commands before/after the install/uninstall. And seems it is not easy to make a setup.dll except you can use c++ computer language.
Otherwise a cab can only: Copy files, create/overrwrite registry and create shortcut.
As fa as I know, XDA_UC can do this. Check here:
[UC]XDA_UC V1.0.02, Automated & Silent User & Cook, Configuration Service[12/07/09]
Please do correct me if anything wrong.
I actually use a cab to install my start menu, but I cook my own roms. I think it's going to be harder to do if you're flashing different roms-you won't know beforehand all the shortcuts that you need. You could probably write a mortscript that deleted everything in the start menu, and then install what you want with a cab, but I have a feeling that you'll miss a bunch of apps that are cooked in, and maybe include dead shortcuts.
Sashimi is another good way to insert a new start menu directory.
hmm. guess I'll stick with what I know for now. Thanks guys.

WM6.5 Start Menu Customising In Kitchen

I'm using the Diamond kitchen HERE. I am really struggling to organise my start menu.
I've been able to create folders using the initflashes.dat and mxipinit_startmenu_001.provxml.
But Windows installs default icons that I have been unable to remove. Where do I remove the icons such as Calendat, Tasks, Messaging etc...? I want to remove them from the start menu root, into my new created folders.
Any help would be very much appreciated!
You need to take a multi-pronged attack to control the 6.5 start menu, lol. There are many different ways to do it.
First, the icons. One approach is to search on the sys folder for "icon." Can't remember the names (icon_games.png, or something like that). There is one big-ass folder with all the icons. Just delete the ones you don't like or need. Or, create your own icon, rename it the way it's named in sys, and stick it in a package that runs later. Then you'll never have to think about it again, as long as you keep the package.
As far as folders go, I've dug out all the provxml's that create start menu shortcuts and I've deleted all of the program shortcuts (I left the settings stuff alone). I don't remember what all the provxmls are named, but you can usually tell just looking at the title. I recommend either organizing the dump file in your kitchen by extension, and then copying all the .provxmls out and examining them (some are hidden). So, if you make changes to any of them, then you should again stick them in the package with your icons that runs at the end of the cooking process. Personally, I install my entire start menu by cab file during customization, and that's where my directory is created. I've editted out everything in the initiflashfiles.dat and app.dat files. I'm not recommending that you take this approach, but this is what I do, lol.
The last thing you need to do is to cook in your HKLM\Security\Shell\Startinfo reg setting. This has all of the folder icon settings (if you use the .png icons-personally, I don't). It also orders everything the way you like it. I've also found that I never have problems with the owner info and buttons settings not showing up with this cooked in. When you look at that reg directory, you'll probably see a lot of crap in there that isn't in your start menu (or in the wrong place). Just delete those entries.
Getting that menu set up is a pain, but once you have it done, it's not so bad.
Edit: you can also run a mortscript during customization to clean and re-organize the SM. I've done that, but there's just something unappealing about moving stuff around and deleting stuff. You usually end up with a messy startinfo registry (mine's clean as a whistle now, lol). But it does work. You can also write scripts to delete the 'icon' values in the registry to use icon.lnk files to set your folder icons. It pretty much comes down to what's convenient and what you're familiar with.

[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

[Q] Messed up registry

Hello,
I experimented with the WP7 Root Tools and tried to add an own theme by creating a folder called "2" inside the Themes folder in the registry. After I did that I could not open any app anymore. I can't open the Root Tools app or any other marketplace-app. I tried to fix the problem with the MFG menu of my LG e900 but I can't start that either.
Do you have any way to fix my problem? I don't want to reset my phone and loose all my text messages and my dictionary!
If you don't have a recent backup (which you seriously should; why would you go poke the registry without knowing one???) then yeah, hard-reset it pretty much the only option. You could try opening the Theme control panel in Settings and see if it clears things up for you, or you could try writing an app that uses the LG provxml driver to delete the offending registry key *BEFORE THE APP LOADS ITS UI* so that it *might* get run before crashing, but those are my only guesses as to waht might save you.
If you're going to semi-blindly poke the registry, *ALWAYS* have a backup at hand.
GoodDayToDie said:
you could try writing an app that uses the LG provxml driver to delete the offending registry key *BEFORE THE APP LOADS ITS UI* so that it *might* get run before crashing
Click to expand...
Click to collapse
Do you think this is possible? So I might give it a try.
Do you know where I have to read to learn this?
Do you have any WP7 dev experience? The basic concept is pretty straightforward, but it helps if I don't have to explain the basics of app development. I've attached a ZIP archive that contains the source code for a very basic app that uses LG provxml.
Your app will need the following things:
NewSysInfoComDLL.dll (native library that talks to the LG provxml driver).
WPInteropManifest.xml (file that allows your app to talk to native code).
ID_CAP_INTEROPSERVICES in WMAppManifest.xml (to access drivers).
Reference to the InteropServices .NET framework DLL (for the ComBridge API).
In the constructor for the main page, or possibly even in the app initialization code that goes in App.xaml.cs - whichever place gets executed first - you'll need to do the following:
Initialize the COM bridge to the native library (the *Interop*.cs files will help here).
Call the LG provision XML API with a provxml string that deletes the registry ney you created (you can find the provxml reference for Windows Compact 7 on MSDN).
If you're very lucky, this will fix your registry before the app tries to read the registry, goes looking for the additional theme data, doesn't find it, and crashes.
reason adocde
Thank you so far!
I am a very basic programmer, so I don't know very much about it, but I have created a few apps already.
The example looks really interesting, but I think it only shows how to read a registry key. How can I write one instead?
ProvXML reference (I did tell you how to find this yourself...) http://msdn.microsoft.com/en-us/library/gg155017.aspx
You want the registry provider, obviously, and you want to delete a key, so that will be a nocharacteristic element.
Physatty said:
Hello,
I experimented with the WP7 Root Tools and tried to add an own theme by creating a folder called "2" inside the Themes folder in the registry. After I did that I could not open any app anymore. I can't open the Root Tools app or any other marketplace-app. I tried to fix the problem with the MFG menu of my LG e900 but I can't start that either.
Do you have any way to fix my problem? I don't want to reset my phone and loose all my text messages and my dictionary!
Click to expand...
Click to collapse
i had the same issue, but i tried it a few months ago manually, to manage the second folder. but i messed the same thing up, its not the fault of wp7 root tools, its just to the registry. my out was an hard reset. which resets the registry too.
Dinchy87 said:
i had the same issue, but i tried it a few months ago manually, to manage the second folder. but i messed the same thing up, its not the fault of wp7 root tools, its just to the registry. my out was an hard reset. which resets the registry too.
Click to expand...
Click to collapse
And that's what I did now.

Categories

Resources