How do you make registry changes take effect without a soft reset - Windows Mobile Development and Hacking General

I am trying to change some registry settings to do things such as 'adjust volume settings' 'adjust backlight settings' 'turn bluetooth on and off' etc etc.
I want to use mort script to make the changes but so far I haven't figured out how to make the changes take effect without a soft reset, even when making the changes with a registry editor.
Does anyone know how to do this so that the changes take effect immediately?
Any help appreciated.

two things:
1st: all of the things you mentioned above should work without a reset. the best thing to do is change the reg value manully and if it works with out a reset then you know the problem is in the mort script
2nd: If you know how to edit xml files then download this cab and edit the xml file how you want. this should help some
http://www.megaupload.com/?d=RG6JZC33
this has a lot of apps in it you will be looking for the one that says tweaks

Thanks for the info irus,
Like I said, using a registry editor to change the settings does not take effect until I soft reset.
For example (and i'd appreciate it if someone could test this on their phone) changing the values in HKCU\ControlPanel\Volume...."Volume" and "Ringer" to 0 assuming it is not already set to silent does not actually turn the phone to silent until I soft reset.
Could someone please check this for me and report back.
BTW I'm using a Trinity (HTC P3600) with AX3L's LITE ROM.
Thanks in advance.

I tried it and it did not work, you sould try to edit the xml file in the program i told you about and try it there. when i get done with homework i will try it my self

Registry value is read by windows while loading. In case of desktop pc if you restart the explorer process the registry gets loaded. you need to find some way to load the registry again.

fuzzvirus said:
Registry value is read by windows while loading. In case of desktop pc if you restart the explorer process the registry gets loaded. you need to find some way to load the registry again.
Click to expand...
Click to collapse
Thanks fuzzvirus but that was my original question.
Does anyone know of a way to do this?

Bump......

I'm also interested in this theme. Does anyone know an answer?

Related

re reading the registry

is there a way to reread the registry after having changed some values without rebooting the device?
thanks for any hints
wolfgang
reread???
Do you mean setting it back to the previous or default settings?
no - I want to activate the changes, e.g. I changed the background image (a .bmp file, not a .tsk file) through the registry settings and want to activate it without rebooting the device.
Wolfgang
Depends on the kind of setting. Some are immediate, like basehue, others require you to force a system change notification (eg by going into control panel) and some require reboot.
V
vijay,
thanks for the info. So I guess that I have to reboot the device, but I'll give the system change a try
Wolfgang

GWES test

This is an another GWES.
Installation:
1.Install certificate SDKSamplePrivDeveloper.cer
2.Copy GWES2.EXE to \windows\
3.Run registry editor and go to HKLM\init
4.Find parameter with gwes.exe string and change it to gwes2.exe.
5. flush registry
6. do soft reset
inform me what you see and what kind of bugs you have.
NOTE: a lot of programs isn't working, other working incorrectly.
Mouse
if you want to control mouse, run my mouse.exe.
It will show message box without text.
Minimize it. Use direction pad keys to move mouse around screen.
Use action key to left mouse click.
If you want to disable mouse, close message box.
Uninstallation
you can run registry editor and change value in HKLM\init back back to GWES.EXE.
If no, do a hard reset.
Be sure that you have backup - probably, you will need to do a hard reset.
Please test it!
Can you please explain for which devices and OS, is it for?
Thanks
yeah.
you must have point in making gwes,uh, something...
it is so close thing to core, that it may be useless for 99% users.
i am curious, why are you doing this?
Install something (what IS it anyway?) that's likely to need a hard reset? Not gonna happen!
THEVK said:
This is an another GWES.
Installation:
1.Install certificate SDKSamplePrivDeveloper.cer
2.Copy GWES2.EXE to \windows\
3.Run registry editor and go to HKLM\init
4.Find parameter with gwes.exe string and change it to gwes2.exe.
5. flush registry
6. do soft reset
inform me what you see and what kind of bugs you have.
NOTE: a lot of programs isn't working, other working incorrectly.
Mouse
if you want to control mouse, run my mouse.exe.
It will show message box without text.
Minimize it. Use direction pad keys to move mouse around screen.
Use action key to left mouse click.
If you want to disable mouse, close message box.
Uninstallation
you can run registry editor and change value in HKLM\init back back to GWES.EXE.
If no, do a hard reset.
Be sure that you have backup - probably, you will need to do a hard reset.
Please test it!
Click to expand...
Click to collapse
hi THEVK,
please give more infos to users, otherwise i don't think you'll find someone who installs it (with the hardreset risk)
I've tried it on my Atom , but it stucks at the bootscreen
This for WM 5.0 and WM 6.0.
No WM 2003 SE.
Install something (what IS it anyway?) that's likely to need a hard reset? Not gonna happen!
Click to expand...
Click to collapse
hey, do you read topic title?
it's say exactly "test".
This is based on Microsoft original stuffs, I do it for one project.
THEVK said:
This for WM 5.0 and WM 6.0.
No WM 2003 SE.
hey, do you read topic title?
it's say exactly "test".
This is based on Microsoft original stuffs, I do it for one project.
Click to expand...
Click to collapse
Yes I read it. You still haven't said what it is, just that it's "based on Microsoft original stuffs" and that you might need to hard reset your device. If you want people to test your junk for you, you're going to have to provide a LOT more information than that.
i do "hard-reset" every now and then...
i did it again because of this testing gwes...
this is what i had after installing it (see the screenshot below), and i didn't get any "mouse" with the "mouse.exe"...
but the worst of all is that i still have no idea about what it is for....

Hide SIM contacts on Touch Plus

Hi all,
My other half bought a Touch Plus yesterday and I've been adding software to it to make all that much better.
The contacts are stored on the SIM and I've copied them all into Pocket Outlook. I then made the reg tweak to hide the SIM contacts which worked immediately, hiding all the SIM contacts. However, when I soft reset the device (via software or holding down the power button and then re-powering on) the registry value goes back to what it was - showing the SIM contacts!
Is there any way that reg value can be kept to 0?
Cheers
ND
Hi
I have the exact same problem and asked this question previously here, never got a answer
http://forum.xda-developers.com/showthread.php?t=359152
The first thing after a reboot is to hide my SIM contacts... If anyone have a solution it would be very nice.
Kind Regards
I have found a solution...
Download dotfred's excellent TaskManager/Registry Editor from: http://www.dotfred.net/TaskMgr.htm
Copy the exe to wherever you want on your device,
Use the registry editor in there to set the ShowSIM value to 0.
Export that registry value... to \My Documents\HideSIMContacts.reg (for example)
Create a shortcut to the task manager exe in Windows\StartUp.
Edit the properties of that shortcut (I use Resco Explorer) and set the Target as follows:
"<path to task manager>" \My Documents\HideSIMContacts.reg /silent
Make sure you have "'s around the Task Manager path BUT NOT around the path for the reg file.
Reboot...
Bob's your uncle.
I had the same issue with my previous Orange UK stock ROM, don’t know why the registry tweak does NOT stick after SR on certain ROM’s :-/ so in the end I resorted to installing the attached cab which fixed the issue
On my current HTCAsia WEE ROM the registry tweak works so no need for the cab fix! Anyway for those with ROM where the registry tweak does NOT work, you can use the fix mentioned here by NinjaDonkey or install the attached cab and soft reset, that should do the trick
AWESOME...thanks, I have a locked rogers HTC Touch and have tried many different Reg tweaks that would not stick to hide the SIMs in my Contacts, but the NIKI Sim fix above finally got it. Thanks, thank you, thanx again.
nikisimfix
hello !!
Thank you very much for this soft
Thanks guys for the wonderful solution.. I was going bonkers having to delete and add in all my contacts everytime I factory set my Niki. Cheers..
Other solution is RilhasHideSIM, for more see: http://forum.xda-developers.com/showthread.php?t=467147
thanks gfreek this thing worked fine...
Thanks for sharing
Well done and thanks a lot for sharing!
gfreek said:
I had the same issue with my previous Orange UK stock ROM, don’t know why the registry tweak does NOT stick after SR on certain ROM’s :-/ so in the end I resorted to installing the attached cab which fixed the issue
On my current HTCAsia WEE ROM the registry tweak works so no need for the cab fix! Anyway for those with ROM where the registry tweak does NOT work, you can use the fix mentioned here by NinjaDonkey or install the attached cab and soft reset, that should do the trick
Click to expand...
Click to collapse
I downloaded and installed this but it didn't work. What did I do wrong??
tks,works well

Problem with wmwr_cprog

Hi,
After a hard-reset I found wmwr_cprog.exe on my internal storage under programmes. Since I did a hard reset and thus thought this program wouldnt be installed anymore, I deleted the file, not knowing what it was for.
Now everytime I want to start my phone I get the message "The file 'wmwr-cprog' can't be opened. It isn't signed with a trusted certificate or one of the components can't be found. You might need to reinstall it or repair it if this problem keeps returning' (free translation from a dutch ROM).
What can I do and how can I do it. A quick answer is much appreciated since I cant make nor receive phonecalls and I am at work :-(.
Thanks in advance!!!
Solved
Posting the solution if someone else has or will have this prob in the future:
KB0808022: "The file 'wmwr_cprog' cannot be opened" error message after uninstalling WMWifiRouter
wmwr_cprog is an executable used to allow WMWifiRouter to work on devices that do not have actual voice capabilities, like the EM-ONE. Sometimes this application is not removed from the registry correctly when uninstalling WMWifiRouter, which can cause your phone to give you error messages.
To fix the error, you will need a registry editor, like PHM RegEdit (to use on your device itself) or MobileRegistryEditor (MRE) (to use on your computer and edit the registry over an ActiveSync connection).
Once you have launched your registry editor of choice, change the:
HKEY_LOCAL_MACHINE\Software\Microsoft\Shell\Rai\:MSCProg\1
entry from:
wmwr_cprog.exe
to:
cprog.exe
Close the registry editor, and wait two minutes - to make sure your device has saved the changes - and soft-reset your device. After the soft-reset, everything should be working as normal again.
Bartse said:
Posting the solution if someone else has or will have this prob in the future:
KB0808022: "The file 'wmwr_cprog' cannot be opened" error message after uninstalling WMWifiRouter
wmwr_cprog is an executable used to allow WMWifiRouter to work on devices that do not have actual voice capabilities, like the EM-ONE. Sometimes this application is not removed from the registry correctly when uninstalling WMWifiRouter, which can cause your phone to give you error messages.
To fix the error, you will need a registry editor, like PHM RegEdit (to use on your device itself) or MobileRegistryEditor (MRE) (to use on your computer and edit the registry over an ActiveSync connection).
Once you have launched your registry editor of choice, change the:
HKEY_LOCAL_MACHINE\Software\Microsoft\Shell\Rai\:MSCProg\1
entry from:
wmwr_cprog.exe
to:
cprog.exe
Close the registry editor, and wait two minutes - to make sure your device has saved the changes - and soft-reset your device. After the soft-reset, everything should be working as normal again.
Click to expand...
Click to collapse
thx problem too

Can we unlock the registry for the Snap?

Anything out there yet? Trying to do the ICS fix to my registry and it's telling me ACCESS DENIED.
Also, is the Snap considered Maple or Willow?
kansaskid72 said:
Anything out there yet? Trying to do the ICS fix to my registry and it's telling me ACCESS DENIED.
Also, is the Snap considered Maple or Willow?
Click to expand...
Click to collapse
i had the same freakin problem, the only difference is that i have a Ozone.
so what i did was i used the attached zip, i just followed the smartphone instructions and BAM worked like a charm.
and good question about the maple or willow..cause the Ozone is considered the "Cedar"...? why so many diff names ya know?
either way..try the attached zip, it might work for u too
Closer! Now I can delete or change things in the registry, but after a reboot the changes reverse back to original!
Anyone know why this is?
I also have the Sprint HTC Snap and I'm trying to get ICS working.
What's the preferred program for editing your registry? Can we get a reprint here of which keys we need to modify?
Thanks in advance,
Doug
Hi, i think i've got a solution for this on the Sprint Snap. first of all, i'm using PHM Registry editor smartphone edition. google for this cab: regedit.Stngr_ARM.CAB
second of all, here's how to reprovision the security on the snap so you can edit the registry.
http://www.microsoft.com/downloads/...8c-d587-47e0-908b-09fee6ea517a&displaylang=en
install, and then install the tools.cab on your phone from the install directory, run the security configuration manager and connect your phone to your PC, then provision "security off", seems to work so far, and the values stick after a power cycle.
However, a word of warning. When changing or deleting the ForceCellConnection, the value will revert any changes you make after a power cycle and you will lose the connection selection box in the ICS app. this is the only reg value I've found that reverts. I get the feeling that sprint had some kind of script installed that keeps checking for and replacing this particular value.
Also, when using ICS on the "Sprint" setting, it throws an error message up at me and says i need to enter a user name and password. What's going on?

Categories

Resources