[Q] Cannot access registry anymore after accentcolor change - Windows Phone 7 Q&A, Help & Troubleshooting

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

Related

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.

Semi-bricked Phone from Registry! Please help!

Hi everyone,
I was recently experimenting with my LG Quantum, trying to add another theme instead of the two that are already available. I know you can just change the values of one of the existing themes, but I wanted to keep both of the other ones. Anyways, I was using the Registry Editor app (not sure whose it was), and trying to add a key called "2" to HKLM\ControlPanel\Themes. It kept deleting when I refreshed the Registry Editor, so I decided to go into MFG and create the value HKLM\ControlPanel\Themes\2\BaseThemeColor. I then tried to go into the Registry Editor application to see if it had created the Key. But the registry editor didn't open. So I restarted my phone and everything works fine...except none of the applications that have been installed will open. I've tried reinstalling them and downloading different applications that I've never had. Nothing works.
Also, in settings, under the theme, it usually says the name of your current accent color. Now it doesn't say anything, so I'm pretty sure the problem has something to do with the new key that's been added to HKLM\ControlPanel\Themes. I can't delete the key either because the MFG application and Registry Editor won't open... I have no idea what to do.
Any ideas?
Thanks for your help!
-Elliott
EDIT: push notifications from applications work, I just got one.
eeeelliott said:
Hi everyone,
I was recently experimenting with my LG Quantum, trying to add another theme instead of the two that are already available. I know you can just change the values of one of the existing themes, but I wanted to keep both of the other ones. Anyways, I was using the Registry Editor app (not sure whose it was), and trying to add a key called "2" to HKLM\ControlPanel\Themes. It kept deleting when I refreshed the Registry Editor, so I decided to go into MFG and create the value HKLM\ControlPanel\Themes\2\BaseThemeColor. I then tried to go into the Registry Editor application to see if it had created the Key. But the registry editor didn't open. So I restarted my phone and everything works fine...except none of the applications that have been installed will open. I've tried reinstalling them and downloading different applications that I've never had. Nothing works.
Also, in settings, under the theme, it usually says the name of your current accent color. Now it doesn't say anything, so I'm pretty sure the problem has something to do with the new key that's been added to HKLM\ControlPanel\Themes. I can't delete the key either because the MFG application and Registry Editor won't open... I have no idea what to do.
Any ideas?
Thanks for your help!
-Elliott
EDIT: push notifications from applications work, I just got one.
Click to expand...
Click to collapse
Time to reset the phone.
Settings
then select about.
Then scroll down and select Reset Phone.
You will need to reinstall things and reconfigure your email accounts.
Use the same Windows Live ID and you will be able to reinstall everything without repurchasing.
that's what I was dreading... I'll just restore it in Zune. So it's not too far away from what it used to be.
LET THIS BE A WARNING FOR EVERYONE WANTING TO ADD ANOTHER THEME.... DONT DO IT

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

HTC Omega Registry editor not working

Hello!
I've installed the custom ROM on my HTC Radar. I've tried to edit some parameters in the registry using the registry editor got with the ROM, but it doesn't work. I write in the new parameter, I tap on the done button, but when I refresh the registry editor, it resets the oroginal value. I tried to add a new value, but same situation. It appears, and after a refresh, it disappears. I can't edit any values in the registry... I'd like to change the original tile colors, but I simply can't edit the registry. Neither work the tile color changing apps.
Please, give me a link of a working registry editor, or a solution.
Thanks!
I suggest using WP7 Root Tools for now. You don't really need the "root unlock" part of it, but it includes a quite respectable registry editor built in.
It's very possible that custom ROMs are still shipping the old TouchXperience registry editor app for some reason. That thing is obsolete and uses a method of high-privilege access that requires a firmware version older than any HTC Radar ever made.
Thanks!
GoodDayToDie said:
I suggest using WP7 Root Tools for now. You don't really need the "root unlock" part of it, but it includes a quite respectable registry editor built in.
It's very possible that custom ROMs are still shipping the old TouchXperience registry editor app for some reason. That thing is obsolete and uses a method of high-privilege access that requires a firmware version older than any HTC Radar ever made.
Click to expand...
Click to collapse
Big big big big thanks for you, with the WP root tools I can edit the registry finally!

[Q] Changing the .exe - file/path behind a shortcut icon in WM6.1

Hello.
Since being a noob (one of those the video warned you about...) I must post this on general section...
I have the following problem: I would need to change WM6.1Pro registry settings somehow, that an icon (shotcut) in programs list would launch mybestsoftware.exe in location B instead of original location A
The reason is that the software is installed using different cab-files into different locations over the years and I would like to update every device to launch the application from the same directory. My update possibilities are weak, so I can only transfer my .exe - file remotely into a specified directory, but the those idio... I mean customers will launch the application from the same shotcut icon as before and therefore thay are using the old revision instead of the new and shiny latest release.
What I have done so far is dumped a registry after factory reset, installed our software using the cab-file and dumped the registry again. I found following entries:
[HKEY_LOCAL_MACHINE\Security\AppInstall]
[HKEY_LOCAL_MACHINE\Security\AppInstall\Companyname Appname]
"InstallDir"="\\Program Files\\Companyname\\Appname"
"Role"=dword:00000018
[HKEY_LOCAL_MACHINE\SOFTWARE\Apps\Companyname Appname]
"Instl"=dword:00000001
"InstallDir"="\\Program Files\\Companyname\\Appname"
"InstlDir"="\\Program Files\\Companyname\\Appname"
But even I changed those paths into registry (\\Program Files\\Companyname\\Appname -> \\Appname, the icon still lauched the original exe
So what a humble support engineer needs to change in WM6.1 registry to tell the shortcut icon to launch the application fron a new location?
Its been a while since I last used WM, but you can create a new shortcut in the start menu using a file explorer, browsing to the exe copying it and then browsing to the start menu folder and pasting a shortcut if thats what your trying to do. I used to always use GSFinder as my file explorer.

Categories

Resources