Making Registry Hacks Stick - General Questions and Answers

I have an HTC Ozone running a stock ROM.
I am trying to modify some icons in some of the HTC CHome plug-ins.
I change the value for the icons in the registry to the path of the icon I want.
After a soft reset the icons I pointed to appear briefly but soon revert back to the originals, and when I check the registry the values are back to the original as well.
This only appears to happen in the registry key \HKLM\Software\HTC\HTCHome
Other icons entries are in the key \HKLM\Software\Microsoft\CHome and the changes I make there stick without any problem.
Is there a way to change this behavior?

Try looking @ hklm/security/CHome as well. Some stock settings are backed up there, and I believe they'll over-write your changes on re-boot.

Zdoes the Ozone run the CMGuardian service? I know my Imagio does and it needs to be disabled in order for manual registry changes to stick.

y0himba said:
Zdoes the Ozone run the CMGuardian service? I know my Imagio does and it needs to be disabled in order for manual registry changes to stick.
Click to expand...
Click to collapse
What is this, and how do I disable it?

Farmer Ted said:
Try looking @ hklm/security/CHome as well. Some stock settings are backed up there, and I believe they'll over-write your changes on re-boot.
Click to expand...
Click to collapse
The only entries for any of the HTC plug-ins in that location are a "GUID" entry

brent372 said:
The only entries for any of the HTC plug-ins in that location are a "GUID" entry
Click to expand...
Click to collapse
I don't have the \HKLM\Software\HTC\HTCHome registry keys; are you on a stock rom or something? Nor do I have any of the HTC plugins. I guess you could try to delete the reg keys in the security branch of the registry (back them up first in case this doesn't work so well). Then put in your paths where you normally do it and soft reset.

Related

** GURANTEED Camera "Snow" Fix after Reset **

Hi all
I have been building customized CAB files for my Mini and have uploaded my "Snow" fix for the Magician.
This is Guaranteed not to reset after soft reset, simply download and install this CAB file into you main memory.
Tested on ROM V1.11
The settings are fixed at
Contrast = 5
Brightness = 6
Saturation = 3
Hue = 5
Sharpness = 3
You can customize your settings if you need "Special" settings then simply hit the "Reset" button in the camera settings and it will reset back to no snow.
If you want different settings just change them or let me know and I’ll change them for you.
What is "Snow" fix ?
sider said:
What is "Snow" fix ?
Click to expand...
Click to collapse
The standard camera settings in the Magician produce a photo that has a lot of "speckles" in the photo especially in dark pictures. You can manual adjust the settings to fix the photo but the problem was after you did a soft reset the settings went back to standard (speckle’y).
This CAB holds the settings after a reset.
Sorry I didn't know. I just never tried to use the cam that much.
And thanks for the cab!
Yes... the "speckles" are annoying. I always thought that I had to warm up my ppc after i turned it on to get rid of the "speckles". And yes, it's very bad in dark light.
I have ROM 1.12 - let's see if this cab works on it.
Also, is it the same thing as setting it permanantly in the registry ?
archimage said:
Also, is it the same thing as setting it permanantly in the registry ?
Click to expand...
Click to collapse
Yes it sets and locks it in, even after soft reset. Only tested on my ROM V1.11 so far so if it works report back.
Thanks
I have a 1.12 ROM and the changed settings are not getting reflected even after a soft reset!!
I have a 1.12 ROM and the changes were applied. Pictures are nice and crisp now!!
ampda said:
This is Guaranteed not to reset after soft reset, simply download and install this CAB file into you main memory. If you want different settings just change them or let me know and I’ll change them for you.
Click to expand...
Click to collapse
Hi. A few months ago member adit posted a small program called Camera profile. See link http://forum.xda-developers.com/viewtopic.php?t=26387&highlight=camera+settings+profiles. It's a nice program to use different camera profiles. There is only one problem: the chosen settings don't become active until a reset in the main Camera program.
Perhaps you can help to fix this problem, perhaps by combining your program with the program of adit??? I would be very pleased...
Hi ampda,
How did you apply the registry to the camera without doing a soft reset? on what did you develop this? is this an application? sorry but i sold my xda mini and got an xphone so i can't really test it, but i would happily update my software as long as there are some people find it useful. thanks.
::adit
Hi,
After downloading the cab and saw the registry editing i saw this:
[HKEY_LOCAL_MACHINE\SOFTWARE\Drivers\Camera\Property\01]
"Sharpness"=dword:00000003
"Contrast"=dword:00000005
"Brightness"=dword:00000006
"Saturation"=dword:00000003
"Hue"=dword:00000005
[HKEY_LOCAL_MACHINE\SOFTWARE\Drivers\Camera\Property\02]
"Sharpness"=dword:00000003
"Contrast"=dword:00000005
"Brightness"=dword:00000006
"Saturation"=dword:00000003
"Hue"=dword:00000005
although i cannot test it but i think this makes the immediate effect on the camera but can anyone confirm this? does the camera immediately take effect after you change these values? if this is true, then i will update it asap. thanks.
::adit
adit said:
Hi,
After downloading the cab and saw the registry editing i saw this:
[HKEY_LOCAL_MACHINE\SOFTWARE\Drivers\Camera\Property\01]
"Sharpness"=dword:00000003
"Contrast"=dword:00000005
"Brightness"=dword:00000006
"Saturation"=dword:00000003
"Hue"=dword:00000005
[HKEY_LOCAL_MACHINE\SOFTWARE\Drivers\Camera\Property\02]
"Sharpness"=dword:00000003
"Contrast"=dword:00000005
"Brightness"=dword:00000006
"Saturation"=dword:00000003
"Hue"=dword:00000005
although i cannot test it but i think this makes the immediate effect on the camera but can anyone confirm this? does the camera immediately take effect after you change these values? if this is true, then i will update it asap. thanks.
::adit
Click to expand...
Click to collapse
Yep there the ones, and yes i can confirm that the CAB file above adjusts the settings without a reset.
If you don't change those settings the settings reset after a soft reset, I'm guessing these are the default, default settings.
The more you hack the more you learn, I'm worried them is a limit of soft resets as my Magician gets about 20 per night from testing different settings. :shock:
I have built a lot of "ampda" standard CAB files so i can hard reset and have e full customized Magician in about 1min without the need of a back up app.
They aren't a secrete i just spent some time going through the registry working and testing different settings.
"adit" please feel free to hack the settings and add them to your app, can you send me or post the new version if you combine them.
UPDATE
OK the above registry settings by themselves won't change the settings with or without a reset. The other registry settings in the CAB file change them without a reset and these hold them after a reset.
Does that make sense? If you need more testing just let me know here or PM if you want.[/b]
ampda said:
UPDATE
OK the above registry settings by themselves won't change the settings with or without a reset. The other registry settings in the CAB file change them without a reset and these hold them after a reset.
Does that make sense? If you need more testing just let me know here or PM if you want.[/b]
Click to expand...
Click to collapse
I changed all settings in de registry manually, so also \Camera\AppDefSettings\General\Brightness, Brightness_User and the other settings. But that doesn't change the settings either without doing a reset in de Camera program. Perhaps the setting remain in memory and aren't reread from the registry when you start the camera?
@ampda: hmm if the settings i mentioned above doesn't change the camera with or without reset then there's no point. In my app I changed all the registry except those i mentioned.
@pietrucci: did you try changing the registry i quoted above?
So is it true that the settings apply without a reset? because thats the only problem in my app. So if you can find which registry changes the camera settings immediately after you change the settings then its a go. note that you better close the camera app first, change the registry, and then run the camera app again. See if the changes apply. if not then... but on older rom version (pre 1.09) it works immediately. but since that time i was using ver 1.11 it didn't work so i stopped working on it.
::adit
Oh btw ampda, there is no limit in soft reset :wink: might damage ur stylus tho if u dont be careful and when it does the edge becomes sharp and scratches ur screen when ur using it :twisted: good luck
::adit
adit said:
@ampda: hmm if the settings i mentioned above doesn't change the camera with or without reset then there's no point. In my app I changed all the registry except those i mentioned.
@pietrucci: did you try changing the registry i quoted above?
So is it true that the settings apply without a reset? because thats the only problem in my app. So if you can find which registry changes the camera settings immediately after you change the settings then its a go. note that you better close the camera app first, change the registry, and then run the camera app again. See if the changes apply. if not then... but on older rom version (pre 1.09) it works immediately. but since that time i was using ver 1.11 it didn't work so i stopped working on it.
::adit
Click to expand...
Click to collapse
OK I made 2 seperate CAB files and the resaults are as follows;
These settings change the camera without a reset.
REGEDIT4
[HKEY_LOCAL_MACHINE\SOFTWARE\HTC\Camera\AppDefSettings\General]
"EnableIPSM"=dword:00000001
"EnableDayTimePath"=dword:00000000
"CheckBatteryTime"=dword:0000003C
"Ambience"=dword:00000000
"EnableHopper"=dword:00000001
"EnableFrameRate"=dword:00000000
"EnableAutoFlicker"=dword:00000001
"FlickerSelection"=dword:00000000
"ShutterSound"=dword:00000001
"BackLight"=dword:00000001
"ActionScreen"=dword:00000001
"Saturation_User"=dword:00000003
"Sharpness_User"=dword:00000003
"Hue_User"=dword:00000005
"Brightness_User"=dword:00000006
"Contrast_User"=dword:00000005
"Sharpness"=dword:00000003
"Hue"=dword:00000005
"Saturation"=dword:00000003
"Brightness"=dword:00000006
"Contrast"=dword:00000005
And these setings lock the camera so is won't reset back to a snow storm (original settings).
After downloading the cab and saw the registry editing i saw this:
[HKEY_LOCAL_MACHINE\SOFTWARE\Drivers\Camera\Property\01]
"Sharpness"=dword:00000003
"Contrast"=dword:00000005
"Brightness"=dword:00000006
"Saturation"=dword:00000003
"Hue"=dword:00000005
[HKEY_LOCAL_MACHINE\SOFTWARE\Drivers\Camera\Property\02]
"Sharpness"=dword:00000003
"Contrast"=dword:00000005
"Brightness"=dword:00000006
"Saturation"=dword:00000003
"Hue"=dword:00000005
Does this help
adit said:
@pietrucci: did you try changing the registry i quoted above?
Click to expand...
Click to collapse
Yes I did, all the settings in the registry.
adit said:
So is it true that the settings apply without a reset?
Click to expand...
Click to collapse
No, I regret to say it doesn't on my device...
I took a test: I first changed the Contrast setting in my camera program to 9.
Then I changed every Contract setting in the registry to 7:
[HKEY_LOCAL_MACHINE\SOFTWARE\HTC\Camera\AppDefSettings\General\Contrast_User]=dword:00000007
[HKEY_LOCAL_MACHINE\SOFTWARE\HTC\Camera\AppDefSettings\General\Contrast]=dword:00000007
[HKEY_LOCAL_MACHINE\SOFTWARE\Drivers\Camera\Property\01\Contrast]=dword:00000007
[HKEY_LOCAL_MACHINE\SOFTWARE\Drivers\Camera\Property\02\Contrast]=dword:00000007
Then I restarted my camera program: the Contrast settings remained to 9.
Then when I clicked the Reset: it finally changed to 7.
So my conclusion: till now I can't change my Contrast setting by a registrychange without a reset!
(by the way: my ROM version is 1.12.).
Big problem...
pietrucci did you run the CAB file i uploaded? and if so did it change your settings without a reset.
ampda said:
pietrucci did you run the CAB file i uploaded? and if so did it change your settings without a reset.
Click to expand...
Click to collapse
No. I didn't yet...
But I'm willing to try immediately. Please can you attach them in a reply? I can't reach the xda ftp-server (resticted from my work laptop).
ampda said:
pietrucci did you run the CAB file i uploaded? and if so did it change your settings without a reset.
Click to expand...
Click to collapse
Ampda, as stated before: I’m afraid your Cabs won’t do the trick. I changed all the registry entries you mentioned in your last post manually. And my settings didn’t change! (again: until I hit the reset button in the camera program).
So if your cabs do the same thing I did, I think they won’t do the trick either…

I need to know what the original registry was of this folder...

I did the mod where the "E-mail" left softkey can be modified to also include the SMS application.
I also installed a file in my windows folder (SoftKey) which allows editing the softkeys on WM5 devices.
Problem is, I want to revert to the way my Treo was before I made these changes. Yea... I could hard reset or install an old backup... but I've made so many changes since then. (timewise, it's faster to re-edit my registry)
I just need to know what the original registry has in the following location:
HKEY_CURRENT_USER/Softare/Microsoft/Today/Keys/112
I'm guessing it was:
(Default) (value not set)
Open.A1Backup Calender.exe
Open.A1Replaced 0x1(1)
Thank you to anyone that can help
mine was never changed but I have:
(Default) Calender
Open Calender.exe
Thanks for that information Carl

Help with Removing dead Icons in my new ROM

Hey everyone. I decided to cook myself a new ROM. I removed a bunch of programs but I now have two dead shortcuts. One is the Sliding Sounds app in Settings\Personal and the other is TouchFlo in Settings\System. I tried to locate them on the device and attempt to delete them with Total Commander but can't seem to find them. Any ideas on how to get those blank icons out of there? Are they registry entries? Thanks in advance.
For TouchFlo, remove this key (in rgu | OEMApps):
Code:
[HKEY_LOCAL_MACHINE\Software\HTC\HTCCPL\Applet25]
"CmdLine"=""
"Name"="TouchFLO Settings"
"Path"="TFSettings.exe"
"Title"="TouchFLO"
For Sliding sounds, just remove all key/string that has 'sliding'
(in OEMDrivers & OEM_Lang_**** rgu) & all corresponded files.
kendzlic said:
Hey everyone. I decided to cook myself a new ROM. I removed a bunch of programs but I now have two dead shortcuts. One is the Sliding Sounds app in Settings\Personal and the other is TouchFlo in Settings\System. I tried to locate them on the device and attempt to delete them with Total Commander but can't seem to find them. Any ideas on how to get those blank icons out of there? Are they registry entries? Thanks in advance.
Click to expand...
Click to collapse
If i remember correctly, sliding sounds is in one of the provxml files...maybe 105 in the operator pkg file in oem. if not try the the other provxmls.
You guys are awesome, thanks for the help.
hang.tuah said:
For TouchFlo, remove this key (in rgu | OEMApps):
Code:
[HKEY_LOCAL_MACHINE\Software\HTC\HTCCPL\Applet25]
"CmdLine"=""
"Name"="TouchFLO Settings"
"Path"="TFSettings.exe"
"Title"="TouchFLO"
For Sliding sounds, just remove all key/string that has 'sliding'
(in OEMDrivers & OEM_Lang_**** rgu) & all corresponded files.
Click to expand...
Click to collapse
Actually I just deleted the key for TouchFlo as you stated and even after a reset it is still showing up as a blank shortcut icon in Settings...Any other ideas?
EDIT: I went into HKEY_LOCAL_MACHINE\ControlPanel\MyCpl\ and removed the coresponding numbered file....is this ok? It removed those blank shortcuts.
kendzlic said:
Actually I just deleted the key for TouchFlo as you stated and even after a reset it is still showing up as a blank shortcut icon in Settings...Any other ideas?
EDIT: I went into HKEY_LOCAL_MACHINE\ControlPanel\MyCpl\ and removed the coresponding numbered file....is this ok? It removed those blank shortcuts.
Click to expand...
Click to collapse
try looking in OEMApps for TFLOsettings.lnk or something similar and delete it
In case anyone was wondering, my problem was that I didn't edit the initflashfiles.dat and the mxip_HtcApps_translation.provxml files correctly before cooking my ROM. All good now. Thanks again guys.

How to completely disable TouchFlo?

Hi ppl. I want to get rid of all TF functionalities from TP,that means TodayPlugin,Scrolling,etc...which is a part of that rubbish. Could anyone point me,how to do that? I think that Hardreset without installation of that cab can be the way,but I don't know,where to find all other cabs shipped(as ExtROM). Next thing...if someone wants to make a test after hardreset to interrupt the cabs installation procedure to disable that,I want to know,if the home/back keys will lost also their default functions without installation...someone to try it(I don't want to hardreset just for test)? If these things will be successfully for me,I will do that. Thanks.
I think it's start menu, settings, then something to get to a menu where there's a check box next to TF3D, and uncheck it.
Thanks for your tip,but I am afraid,you misunderstood my question. I want to disable EVERYTHING,that is 'extended' by the TF,not only Homescreen. Especially touch scrolling(HTC's solution is very lazy,I want to use SPB PocketPlus) and home/back keys functions(I want to handle them with AEBPlus). Simply I want to have a kind of lite ROM without any TF functionalities.
goto Window\StartUp\ and remove the .exe for touchflo
n copy it to some other folder. finally softreset...
I have deleted all of them,those were there as default(AutoShortcut.lnk,HTCStartUp.lnk,PKG.lnk,poutlook.lnk and Services.lnk),but it doesn't help absolutely. I have in startup some shortcuts,but they are known things(Chronos,AEBPlus,GPRS Monitor,auto-SIP script). No TF shortcut is presented,even I see all files in system including hidden/system.
TomasNM said:
I have deleted all of them,those were there as default(AutoShortcut.lnk,HTCStartUp.lnk,PKG.lnk,poutlook.lnk and Services.lnk),but it doesn't help absolutely. I have in startup some shortcuts,but they are known things(Chronos,AEBPlus,GPRS Monitor,auto-SIP script). No TF shortcut is presented,even I see all files in system including hidden/system.
Click to expand...
Click to collapse
You should be able to disable touchflo scrolling using Schap's Advanced Config. I don't have a TP, but i know the settings are in Advanced Config. You might try there.
Did it already,no success...
TomasNM said:
Did it already,no success...
Click to expand...
Click to collapse
A couple questions:
1) Are you using the most updated version...3.2 i believe?
2) Did you soft reset immediately after making the changes?
3) What features are still remaining, that you're trying to get rid of and which ones have you managed to remove?
scotchua said:
A couple questions:
1) Are you using the most updated version...3.2 i believe?
2) Did you soft reset immediately after making the changes?
3) What features are still remaining, that you're trying to get rid of and which ones have you managed to remove?
Click to expand...
Click to collapse
1...I have installed previous version,will try the new one tomorrow
2...yes
3...as I wrote before...I want to disable finger scrolling and unbind the home/back keys from their default functions(I think/hope,they are related to TF)
TomasNM said:
1...I have installed previous version,will try the new one tomorrow
2...yes
3...as I wrote before...I want to disable finger scrolling and unbind the home/back keys from their default functions(I think/hope,they are related to TF)
Click to expand...
Click to collapse
I don't think the home/back keys are tied to touchflo, but you might be able to remap them using the key mapping in advanced config. I obviously don't know since i have a touch pro, but i know that some keys can be remapped using that program. Also i know that some of the updates in Advanced Config are related to changes that weren't sticking on the TP, so hopefully that's yoru problem.
Just to share: I tried all the above methods to disable Touchflo (finger scrolling) and it didn't work for me.
- unchecked scrolling in Settings -> Touchflo
- disabled touchflo scrolling using HTC Advanced Config
I got it working by doing the following:
Create a zero byte file and copy/overwrite the following files:
\Windows\Biotouch.exe
\Windows\Biotouch.dll
\Windows\StartUPBiotouch.exe
Now I am get my scribble pad (RemindMe / PhatPad) to work properly without the lag
Good luck!
patrickquek said:
Just to share: I tried all the above methods to disable Touchflo (finger scrolling) and it didn't work for me.
- unchecked scrolling in Settings -> Touchflo
- disabled touchflo scrolling using HTC Advanced Config
I got it working by doing the following:
Create a zero byte file and copy/overwrite the following files:
\Windows\Biotouch.exe
\Windows\Biotouch.dll
\Windows\StartUPBiotouch.exe
Now I am get my scribble pad (RemindMe / PhatPad) to work properly without the lag
Good luck!
Click to expand...
Click to collapse
Thanks,I will try it.
The method worked for me! My gosh, why so hard to diable it... but I'm glad it worked! Thanks patrickquek

[REQ] Remove "slide down for more options" during a call

Hello,
I'm a french user and I want to find a way to remove "slide down for more options" during a call.
I want have directly a full access to the options during a call as the HD.
Thanks
try
HKEY_LOCAL_MACHINE\SOFTWARE\HTC\PHONE
"EnableSlideCover"=dword:00000000
did it for me
Thanks it works
Hello It's new key to add or not?
laskarface said:
Hello It's new key to add or not?
Click to expand...
Click to collapse
no just edit the existing key
Using Total Commander, I changed the default value from 1 to 0, which effectively turns it off by setting the value to 0.
fards said:
no just edit the existing key
Click to expand...
Click to collapse
how I can do it? there is a sort of regedit on HTC HD2? I'm a newbye help me please!
Use this cab for the easy way !
thanx a lot to "peter deijnum" and "fards"
Peter Deijnum said:
Use this cab for the easy way !
Click to expand...
Click to collapse
Hi, i've used the Cab you provided and it worked; however it has also disabled the Proximity Sensor that blanks the screen when its next to your face, leaving it open to mulitple touches!
Is there any way to re-enable the sensor (or if that's too difficult) to restore the Phone function to its original state?!
don't use cabs for reg edits.. they really are a waste and you can't change the regkey back by uninstalling it
download and install CeRegEditor onto your PC
http://ceregeditor.mdsoft.pl/
connect your HD2 through activesync/msdc
run ceregeditor..
get to know the windows registry the easy way
if you go to tools/auto "jump to" when ever you highlight a reg key and copy it, ceregeditor will open that key..
so easy and efficient !
Thanks, I'll Try the App and see what's been done
Worked! Re-enabled the Slide to uncover Property, and that re-engages the Proximity Sensor!
Thanks Fard
So...how to disable that slide for more options now, so it dont effect anything else?
I just need to edit registry key from 1 to 0 or...?
This is now an option in the latest version of BsB Tweaks. I can confirm it works a treat.
Kinda OT:
But is there a way to make the "End Call" button to "Screen Off"??? It's stupid having the End Call button, as accidents do happens hitting it.
fards said:
don't use cabs for reg edits.. they really are a waste and you can't change the regkey back by uninstalling it
download and install CeRegEditor onto your PC
http://ceregeditor.mdsoft.pl/
Click to expand...
Click to collapse
That's NOT TRUE!
Uninstalling a CAB made for a regedit does indeed go back to whatever registry settings you had earlier.

Categories

Resources