Dear all
Any one could provide one registy editor can modify binary value? I really need it to complete something, Thx.
It can be done with provxml. Look up the format for binary registry data in XML provisioning, and then use one of the many provxml apps such as DiagProvXML (or write your own one-off, which I do all the time) to process it on the phone.
Requires being interop-unlocked and on a phone which supports provxml, of course, but that's actually a bigger set of phones than the ones that have working registry editors right now (even if interop-unlock is difficult on HTC).
Related
Anyone aware of a program that can compare the registry/files for before and after a program is installed and uninstalled? Trying to figure out what wasteful entries a certain program is leaving behind that is affecting my SIP menu. A nice snapshot program with comparison would be handy.
Hardware: P3300 WM5
Sure.
Windiff or SKTracker. See my WinDiff tutorial at http://forum.brighthand.com/showthread.php?t=215073
Thanks Menneisyys - I just came across SKTracker, will check out your tutorial also.
Try ssnap (free: http://s-k-tools.com/index.html?m_util.html ) from sk-tools and any diff program (very good to find added, deleted, modified files, and modifications in the registry)
And my last findings:
use dotFred's taskMgr (builtin regedit: check option MULTI_SZ,MUI_SZ in RGU format), export registry (before and after), rename *.reg to *.RGU , modify first line (should be REGEDIT4) and use RGUCOMPARER http://forum.xda-developers.com/showthread.php?p=885358 - great tool.
Advanced Config has a section for setting new values for "My Documents", "My Ringtones", etc. but many of them don't actually work.
I'd love to be able to use "\Donny" instead of "\My Documents", etc.
Call it irrational, but I *HATE* the Windows defaults of "My [whatever]". I always change them (via the registry) on my desktop/laptop PCs, and it drives me nuts that I can't do it in WM.
So, is it possible during the ROM cooking process to make such changes? Or are they simply hard-coded into the WM OS.
If they're hard-coded, is it in a single DLL? (That I could maybe hack with a hex editor?)
These are all variables that you can control at the time of cooking, by editing various .rgu's in the system folder. Look to the folders with Lang or 0409 (or your regional code) in the name, as these are the language-localization strings.. all folder names are considered language-localized as "My Documents" is obviously different in each language
Use a text editor that supports unicode such as EmEditor to edit these .rgu's.
Hope it helps!
That's AWESOME! I've been looking for a reason to start cooking... now I have one!
One follow-up question, if I may...
Instead of hard-coding the values, can you tell it to look in the registry (so the "Shell" entries actually work)?
Thanks for the reply!
The .rgu's represent the registry as it's compiled by the ROM kitchen, so editing the .rgu's will have the same effect as editing the registry.
Da_G said:
The .rgu's represent the registry as it's compiled by the ROM kitchen, so editing the .rgu's will have the same effect as editing the registry.
Click to expand...
Click to collapse
Not sure if you're missing my point or if I'm not understanding you.
If the .rgu's represent the registry as it's compiled then the locations for My Documents, Program Files, etc. would all be hard coded in the ROM, and once again, changing the settings in HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders won't actually do anything. Right?
So, I'm asking if there's a way to put some sort of magic pointer (or maybe leave it blank?) to say, "If you want to know the location of 'My Documents', check the registry settings at HKCU\....\Shell Folders"
I apologize if this has been talked about or asked about before, but I've spent hours searching and couldn't find a concrete step-by-step answer.
I currently have the HTC Trophy (Verizon), it is running NoDo (7392) and is dev-unlocked (student unlocked). I am trying to figure out how to Interop-unlock the phone while I am still on NoDo. Correct me if I am wrong, but doesn't an Interop-unlock allow you to sideload more than 10 applications?
If someone can provide me with some assistance, it would be greatly appreciated. Thanks in advance.
With a NoDo Dev-unlock, you can side load Schap's Registry Editor and then you need to change a registry value. Have you used any registry editors?
The change is;
Registry Key = HKLM\Software\Microsoft\DeviceReg\Install\MaxUnsignedApp
datatype = integer
value = 2147483647
You basically type this in manually into the Registry Editor and save. Then reboot phone. Please be careful and I am just summarizing the steps here from memory so I may have forgotten a step (I don't accept responsibility)
Thanks for the reply. Would you mind pointing me in the right direction as to the step-by-step instructions on how to interop-unlock on NoDo? You mentioned installing Schap's Registry Editor and changing a value, but then mentioned that you're summarizing from memory.
Any help would be greatly appreciated. Thanks again.
Go to this site and download version 1.1.0.0 of the registry editor.
http://forum.touchxperience.com/viewtopic.php?f=20&t=593
Use the Application Deployment program that you have from the AppHub to deploy to your phone.
Launch Registry Editor and select the pencil at the bottom (this is manual mode).
Enter the following:
Path
HKLM\Software\Microsoft\DeviceReg\Install\
Value Name
MaxUnsignedApp
Value Type
Integer
Value Data
2147483647
Then select OK and then accept the warning. Reboot. Done.
Thanks very much. I will give that a try this weekend and post the results here.
Question- how do I make a backup of my current phone? Is there an application I can use to make a backup? I'm guessing that's the next step before doing the interop-unlock (or even attempting to upgrade to Mango after doing the interop-unlock), in case something breaks and I need to roll-back to NoDo.
Please let me know, thanks.
Hello,
I have a lot of problems with omnia 7 due to app profile network of samsung haven´t got the profile of my operator. I can set it thanks to a post of here, but I think that it is a bit difficult and you need the computer to set it. As I have studied some of programming c#, I decided to make an app that set mms and internet. I have already done the screen and I´ve get to make that app create the file xml with the code in order to set mms and internet, but I haven´t found information about how execute/apply the file xml with the app. Where can I find about it?
PD: Sorry, I do not control English very well
Hi,
I guess it's a topic a bit complex, but can not someone help me with this?
You use an OEM COM interface, accessed from C# by using Microsoft.Phone.InteropServices.ComBridge. One easy way to see how this is done is to look at the source of an app that does it. If you can't get the source to DiagProvXML, you could always just decompile it (decompiling .NET code is pretty easy and there are several tools that can do it). There are several other apps that also use provxml; one or more of them may offer source access.
Hi,
Thank for your help and I can select the services that I have load, but I have a small problem that I hadn't taken into account. I know c# but my apps are a lot of more easy that diagprovxml, and I can´t find the part of program that I´m interested. I use "JustDecompile" to decompile the app. Could you tell me what class(or classes) is (are) what I'm looking for?
Thank you very much again
Hmm... it's not linked in my SIG because it's out-o-date, but you could try using Search to find my old DeployProvXml app. It includes a pretty straightforward example of using provxml.
Essentially, you need the following things:
The interopservices DLL (allows you to use the ComBridge class).
The OEM DLLs (DMXMLCOM.dll and such).
COM class and interface definitions for them in C# (this is the stuff with the [ComImport] attributes and the GUIDs).
ID_CAP_INTEROPSERVICES in your WMAppManifest.
WPInteropManifest.xml file in your project.
Use the ComBridge to register the COM interfaces, then create an instance of the COM class(es), cast to the appropriate interface type(s), and use a variable of the interface type like any other .NET object.
You can read a bit more about COM and native code in Heathcliff74's guide. It's aimed at making your own native libraries, so skip all the stuff about creating your own COM classes and writing native code. http://forum.xda-developers.com/showthread.php?t=1299134
Hi again, Does the method WP7RootToolsSDK.Environment.ProcessConfigXml allow to set the parameters that have a tipical xml file?
thank you again
I'm not sure what you mean by "set the parameters" but the Root Tools SDK does in fact allow you to consume ProvXML files now (I think it even supports the query provXML and returns the output, though I haven't tried).
Hi friends. I am working on registry plugin for Phone Commander. There is possible to make Binary and Multistring values management, but it will a lot of to do. Could you anybody use it? For example for language changing etc. I found no one WP7 registry editor able to write those values (Schapman's one can read it only, my very old HTC7ProMultistring.xap and Hex2Base64.xap can prepare ProvXML code for importing only). I do not want to lost time for unusing feature, post your mind.