registry keys - Windows Mobile Development and Hacking General

Hi Everyone:
A small clarification is needed. My device is defaulting to Moscow GMT+3 everytime I restart it. I want to know actually 3 things if possible:
1- What's the registry key that allows you to select the regional settings?
2- How can I know the table code of countries like Moscow is 0x00FFXXX, etc... for the various time zones.
3- I noticed sometimes that whatever registry keys in HKEY_LOCAL_MACHINE -> nls, they are changed everytime the system restarts. I was assuming that nls\overrides is doing that but I altered everyting and yet after restart new values appear in nls keys and even in overrides. Is there any other place in registry that writes values on top of nls upon restart?
appreciate the help,
Cheers

I have a similar problem where the backlight timeout setting (on battery power) resets to 10 seconds everytime I turn my MDA off. Really annoying.
I've tried changing the setting in the registry directly as well, but it still changes back.
Any ideas?
Thanks,
Scott

It is strange that something keeps changing the reg settings.
I had the 10 second thing on my Jamin and it seem to have something to do with the screen lock plugin.
Never did solve it.
Locale settings are in HKLM\nls DefaultLCID (dword) and you can find all possible values here.
But the time zone is set in HKLM\Time\TimeZoneInformation and its a bit complicated (its a whole data structure and not just a value)
I think you need to check your startup programs (HKLM\init and windows\startup).

levenum said:
It is strange that something keeps changing the reg settings.
I had the 10 second thing on my Jamin and it seem to have something to do with the screen lock plugin.
Never did solve it.
Locale settings are in HKLM\nls DefaultLCID (dword) and you can find all possible values here.
But the time zone is set in HKLM\Time\TimeZoneInformation and its a bit complicated (its a whole data structure and not just a value)
I think you need to check your startup programs (HKLM\init and windows\startup).
Click to expand...
Click to collapse
Thank you for your reply and for the great link. I am starting to feel that this problem is related to HTC Home. Appreciate if anyone can comment on this issue.
Requesting Moderators / Admin to move this post to the appropriate board

I've been playing with the new PDAMobiz ROM and discovered that in Settings->Phone there is an option to sync time with the cellular network.
Unfortunately this will also force your time zone in to what ever the network is set to which at least in my case is incorrect because the network operator did not want to bother with DLS settings.
Perhaps you have this setting on as well?

Related

How to Disable IRDA using the registry?

Hello, i´m new in this forum. I'm not very good in english, but i will try it.
I'm developing an applicqation in XDAII that uses serial port.That application is automatically re-installed every time I do a hard-reset (i have modified config.txt in the extended rom).The problem is that every time i do a hard restet, the irda port is enabled in the configuration-conexions-transfer menu. So every time i do a hard reset i have to disable manually the irda transfer. Do somebody know how to disable the irda modifiyng a registry key? Once i know the registry key that do this, i can build a application that modify that key. Thank a lof for all.
Your question interested me as I have also done what you are describing, and what you are asking is a very good idea.
I did a little investigation into the registry but I don't have good news. I did a total dump of my XDAII registry with Beam Ticked and Un-Ticked. I then did a compare of the 2 results. It seems the setting is in
HKLM\Software\Microsoft\Obex and Key IsEnabled is set to 1 for On or 0 for Off.
However changing the registry value just changes the state of the tick and makes no differance to the serial port being locked. So it seems that the registry is just a store for the current setting of the tick.
If you do get a final answer to this please post on this forum thread as it would be useful for me as well.
If you set this registry value and then reboot/reset the device, is IR turned off, (and the serial port unlocked)? I'm wondering if during the boot process it reads this value and will turn off IRDA ??
Yes, it does then seem to work.
So it seems you have to set the IsEnabled key to 0, and then do a warm reset.
So I guess an exe could check the value in the registry key and if it was 1, it could set it to 0 and then do a warm reset. If the key was already 0 then nothing would need to be done.
IR Problem
Hi all,
had the same problem about 3 months ago. To solve the problem i replaced the comport to 9999 during the installation of the cab file.
Work fine for me

HTC Magician Camera Profile::Testers needed

Hey guys,
I was wondering if you might give me some suggestion and comments about the application i just developed, well its my first ever developed app for smart device so i hope u don't mind. For HTC magicians only i guess unless other models have the same registry structure for the camera settings.
Features
-Save profiles
This application allows you to save settings and name it as profiles, thanks to kta and deuxani for providing some configs which i made as preset in the meantime.
-More camera settings
-and some more...
Just try it out
Known issues:
-Profile has no immediate effect
If any of u guys know how to make immediate effect after modifying registry please let me know, afaik i had to do a soft boot or just click on "reset" on the camera settings.
-Error if click 'Apply' on empty profile
Well, haven't put any exceptions handlers just yet, need to know more bugs first
Need comments about ease of use and user interface also bugs if u happen to find any. I try to make it as simple as i can. Thanks all.
::adit
Great!
Just installed it! Works fine!
Excellent, maybe a little addon after you select a profile directy start the camera ( this is the reason you start it )
Keep up the good work!
First Thanks on this Idea!!
Will test further and report back.
What do i wrong ? It doenst do anything for me except show me the frame rate ... :?
Thats what i meant by "immediate effect" which i haven't figure out yet, you must go to the camera settings and adjust and click on "reset" because I was able to change the registry for both settings (ie. Contrast and Contrast_User) but i think the camera needs something so it can "refreash" and get the values from the registry which also does on the ambience. I hope someone can figure this out..
::adit
great job adit
if you are looking for more advice about developing this plug-in.. I suggest to post this topic in the Development and Hacking forum.
keep up the good work :wink:
Nice job, and its working.
I've tried this app and i have a problem:
in the registry i have 2 values for each parameter (for example brightness and brightness user)
The software change the non user value but if i softreset my Magician user's values becomes default. I must open configuration and reset values and they becomes like the non user values.
Is there another solution?
I've also tryed to delete user keys but after a SR they are again.
Sorry for my english
I've tried this app and i have a problem:
in the registry i have 2 values for each parameter (for example brightness and brightness user)
The software change the non user value but if i softreset my Magician user's values becomes default. I must open configuration and reset values and they becomes like the non user values.
Is there another solution?
I've also tryed to delete user keys but after a SR they are again.
Sorry for my english
The application changes both default and user (default ie brightness, and user ie brightness_user). I did this to make sure that even after a soft reset since the effect does not change immediately, the values are not changed. If you find it inconvenient, i'll rebuild the application so it changes only the xxx_user (ie xxx=brightness)? For the time being, if you want to reset the settings to the original state change all values in the non user to '5'.

List of unsolved registery tweaks. Need help.

Ok a lot of fun can be discovered from changing registry entries and seeing what they can do. Here is a small guide:
If an entry has a 0 it means it is disabled or off. If it has a 1 it means it is enabled or on.
Remember and make a note of any change you make in case you need to put it back.
Search for common words in the entries and see what they relate to and if they can be changed Eg:
disable, enable, show, hide, lsk, sms, boost, cache, icon etc. Go through each one. Make any changes you want based on logic of the entry and reset maybe. Go to the app where you would expect to see the change and see if your tweak has worked. If not change the reg back again.
Report back here any discoveries or potential discoveries you come across and maybe we can give advice on what should be changed in the reg entry.
Be in the frame of mind you may need to do a hard reset as a last resort so back up PIM first.
I will make a list of new potential tweaks soon and maybe someone could advise on how we can change it. Any changes found will be added to the hints and tips thread.
Here are a few to get started. Please respond with ideas if you can help and submit your own findings too.
1. HKCU\Software\HTC\WebSnapShot
Enabled currently set to 0.
Which app would use this if we enabled it?
2. HKLM\Drivers\BuitIn\GSensor
EnableShaking currently set to 0.
Sounds useful somewhere.
3. HKLM\Services\MyPhoneService
IsEnabled currently set to 1.
If we disable this if we don't use MyPhone will this free up some services/resources/memory?
4. HKLM\Software\HTC\Camera\Common
DisableCapAnimation currently set to 1.
I presume this means some sort of caputre animation when taking a photo (like the iphone when the iris closes). I tried setting this to 0 to enable it but saw no animation when I took the photo. Maybe something else needs to be done.
5. HKLM\Software\HTC\HTCMessaging
DisableCacheWhenLengthierMessage currently set to 1.
This mean cache is off with long sms messages. If we turned on cache would this be good?
6. HKLM\Software\HTC\HTCMessaging
ManilaEntry currently set to 0.
I set this to 1 but could not find any change. Maybe I am looking in the wrong place.
7. HKLM\Software\HTC\HTCSettings_Improvement
HavePersonalSecurity currently set to 0.
I have set this to 1 and a new option suddenly appears in the Manila Settings tab below About Phone option. It is ABPS, ISP, network location service (Personal Info Center). However tapping on it does not open it up. Hmmmm...
8. HKLM\Software\Tegic\T9
Prediction is currently set to 0.
I thought T9 prediction is already part of it? What could this do if we turned it on?
9. HKLM\Services\Windows Live\Plugins\Mail
Max Mail Headers currently set to 50.
Dy defualt Hotmai only downloads the last 50 messages. I tried changing this entry to 75 but no luck. Anyone else?
Anyone want to get involved? I think it could be a good challenge and we may discover a gem of a tweak.

device auto lock and off when i want use Garmin

hi all
i want to use garmin for 30 min or much but after 1 min my device lights goes off and then display off and lock what can i do for disable auto device lock and auto off after 1 min
BR
weird, i don't have that problem.. try configuring your GMXT, go to settings --> display --> backlight override and check all boxes..
p/s: if u wanna enable auto rotate so that u could view the maps in widescreen mode, add these codes to your registry..
for hkcu\software\htc\htcsensor\gsensor\modulename, add registry value "Garmin Mobile XT" = "\Garmin\Que.exe"
for hkcu\software\htc\htcsensor\gsensor\WhiteList, add registry value "Garmin Mobile XT" = "QUE_SUBAPP_WND_CLASS"
Garmin in landscape
Hi, thanks for the tip!
I always wanted to see GMXT in landscape, but didn't know how to do it.
I have copy/pasted values to the suggested locations, but nothing happened.
The registry values I have created are string values. Should I try with e.g. dword, or something else?
TNX
hi man i check all boxe in setting -> display -> backlight but after one minute my device goes to lock stat and after that my display goes off .
i want registry address for time of suspend mode for device to lock and change it to example 20 min
BR
Maybe you should check only the first one that says "always on".
CRO_Misho said:
Hi, thanks for the tip!
I always wanted to see GMXT in landscape, but didn't know how to do it.
I have copy/pasted values to the suggested locations, but nothing happened.
The registry values I have created are string values. Should I try with e.g. dword, or something else?
TNX
Click to expand...
Click to collapse
u are right all the way, except that u need to soft reset the phone for it to take effect..
amirjco4 said:
hi man i check all boxe in setting -> display -> backlight but after one minute my device goes to lock stat and after that my display goes off .
i want registry address for time of suspend mode for device to lock and change it to example 20 min
BR
Click to expand...
Click to collapse
have u tried re-installing the GMXT..?
non of your help is useful we need registry value change for that
I'm having the same problem. Garmin worked perfectly for the last 2 months up until last week. now it locks automatically (but you still have to press the unlock button to be able to slide across the tab) and it loses satellite reception for a second. To avoid it I have to, say zoom in or out on the map, every 50 seconds otherwise it locks after it reaches a minute.
Has anyone found a solution or is it just a case of reinstalling it?
Sorry to revive this thread but I also have this problem. "Backlight Override" is checked but still have the lock come on after a minute or so. Really annoying. I also try reinstalling but no help.
Could this have something to do with CHT editor's lockscreen? or BSB tweak's setting? Just a thought. I have been using Android mostly so haven't got time to test out all the setting to see if it will make any difference.
as a work around, can you just change your backlight settings when you need to use garmin?

Attention: Found Unusual Registry within T-Mobile USA HD2!

I was just viewing various system registry... and came across some keys that I've never before noticed in the past.
They really aren't too outlandish, but I'm wondering if folks are interested in "testing" what exactly these registry edits "do" in terms of whether or NOT they are enhancements or NOT much of anything.
DO NOT ATTEMPT TO MAKE ALTERATIONS TO THE SYSTEM REGISTRY IF YOU ARE NOT FAMILIAR WITH ADVANCED WINDOWS MOBILE CAPABILITIES!
Now, having said all of that... here are a few of those interesting "tweaks" I've come across:
1.) HKEY_CURRENT_USER\ControlPanel\Keybd: WM7KeybdLayout - "0"
By default this registry value is ZERO... perhaps if "enabled" by using "1" as the replacement value, something "cool" may happen.
2.) HKEY_CURRENT_USER\ControlPanel\Gestures\Touch: Disabled - "0"
By default this registry value is ZERO... and I'm not entirely sure what this COULD allow your system to do, but it may be "cool" also.
3.) HKEY_CURRENT_USER\Performance: Available RAM on boot - "327274496"
By default this registry value is LIST ABOVE, and perhaps editing this value, and making it larger could allow for a more "hasty" booting process.
4.) HKEY_CURRENT_USER\Software\HTC\WebSnapShot: Enabled - "0"
By default this registry value is ZERO... but I'm wondering if this will allow for some kind of built-in screen shot function to "snap" thumbnail images of your online browsing history. Assumed value to "enable" it, should be "1".
5.) HKEY_CURRENT_USER\Software\Microsoft\Shell: AnalogClock - "0"
By default this registry value is ZERO... so I figure changing this value to "1" might "create" some kind of analog clock on for Manila.
6.) HKEY_CURRENT_USER\Software\Microsoft\Shell: HasKeyboard - "0"
By default this registry value is ZERO... and to be quite honest, this seems pretty obvious that it will "allow" or display the keyboard somewhere on the "shell" of your device. Assumed value to "enable" it, should be "1".
7.) HKEY_CURRENT_USER\ControlPanel\BackLight
This ENTIRE key has some pretty interesting settings that can be adjusted for advanced or unseen backlight settings.
8.) HKEY_CURRENT_USER\ControlPanel\AllLEDMgr
Here is the key in which you can adjust the LED settings such as interval.
9.) HKEY_LOCAL_MACHINE\Audio\SoftwareMixer: SampleRate - "268435456"
The default value is listed above, but my query involves whether or not tampering with this could resolve the "audio delay" for some users.
10.) HKEY_LOCAL_MACHINE\ControlPanel\Power
Here is the key in which you can adjust the values to be labeled for battery power settings. HIGH, MEDIUM, and LOW. The percentage before the system provides a warning can be changed.
11.) HKEY_LOCAL_MACHINE\Drivers\Display
Here is the key in which you will find a majority of your advanced display settings for your device.
12.) HKEY_LOCAL_MACHINE\Software\Qualcomm\DSM
Here is the key in which I believe you might find another possible solution for the audio delay, considering one of the string values is "250" as a file queue setting.
13.) HKEY_LOCAL_MACHINE\Software\OEM\USBtoPC
Here is the key in which you'll find the way to REMOVE or otherwise disable the "popup" window that appears whenever you connect your device via USB to a desktop PC.
14.) HKEY_LOCAL_MACHINE\Software\OEM\MASD
THIS KEY, THIS KEY RIGHT HERE FOLKS... this is VERY important for those of you who are trying to figure out what "official" version number of specific services is currently installed on your device.
15.) HKEY_LOCAL_MACHINE\Software\Microsoft\ActiveSync\OEM Links\T-Mobile Help - "0"
Enabling this key by changing the value to "1" should provide for a direct system link to the T-Mobile support network for the HD2. This is very similar to the Microsoft error reporting services.
16.) HKEY_LOCAL_MACHINE\Software\Microsoft\Calendar: ShowLunarCalendar - "0"
By enabling this, you should be able to have the Lunar Calendar displayed within the HTC system calendar... among other things. Assumed value to "activate" this should be "1".
17.) HKEY_LOCAL_MACHINE\Software\Microsoft\CHome
Here is where you'll find a laundry list of options to make changes to the original WM6.5, "Titanium".
18.) HKEY_LOCAL_MACHINE\Software\Microsoft\Pictures\ImageSendSize
Here is where you'll find 3 sub-keys that contain resolution values that can be altered in order to provide a "bigger picture" for MMS or uploads.
19.) HKEY_LOCAL_MACHINE\Software\HTC\Camera\Image
This key will open up a list of options that will allow you to change various settings for image capture and resizing.
20.) HKEY_LOCAL_MACHINE\Software\HTC\PhoneCanvas
In this key you'll find options that will allow you to make changes to the picture size for contacts.
21.) HKEY_LOCAL_MACHINE\Software\HTC\PHONE
Here are more device settings for in-call and beyond.
ENJOY!
Oh, and don't hesitate to leave a bit of feedback. Thanks.
I am patiently waiting for you to try these and update the post.
I sure as heck don't plan to "play" with my registry
As soon as the store calls to tell me that mine is *FINALLY* in, I'll be happy to test some of those out. As long as you back up your registry before you do anything (and aren't afraid of a Hard Reset as a last resort), there shouldn't be any issue trying these...any of the changes you make can be reversed that way.
Snarksneeze said:
I am patiently waiting for you to try these and update the post.
I sure as heck don't plan to "play" with my registry
Click to expand...
Click to collapse
sirphunkee said:
As soon as the store calls to tell me that mine is *FINALLY* in, I'll be happy to test some of those out. As long as you back up your registry before you do anything (and aren't afraid of a Hard Reset as a last resort), there shouldn't be any issue trying these...any of the changes you make can be reversed that way.
Click to expand...
Click to collapse
Agreed fellas. This stuff seems interesting. I haven't played with these listed items just yet. I was so exhausted last night while skimming through tons and tons of registry keys... that I may have gotten a little desperate to post this rather than test each one.
Some are just useful tips, but others I have not before seen on the EURO model of the HD2. For instance, the WM7 keyboard... that's rather curious, huh?
5 - puts tiny analog clock where digi clock is by battery
6 - for phones with hardware keyboards
14 - can change that to fake any system info you like
18 - doesnt necessarily work. best way ive yet to find to fix the small mms size on some networks is the mms userprofile tweak that reports it as a diamond, and the mms useragent as a nokian95. (I can tfind the link, sorry)
3.) HKEY_CURRENT_USER\Performance: Available RAM on boot - "327274496"
By default this registry value is LIST ABOVE, and perhaps editing this value, and making it larger could allow for a more "hasty" booting process.
When I looked I had a lower value, "281640960". I increased it to "327274496" startup seems a bit faster, not much. I'm gonna try increasing it later. On another note, slide to unlock seems to be faster. Of course this could all be in my head.
chrys9989 said:
3.) HKEY_CURRENT_USER\Performance: Available RAM on boot - "327274496"
By default this registry value is LIST ABOVE, and perhaps editing this value, and making it larger could allow for a more "hasty" booting process.
When I looked I had a lower value, "281640960". I increased it to "327274496" startup seems a bit faster, not much. I'm gonna try increasing it later. On another note, slide to unlock seems to be faster. Of course this could all be in my head.
Click to expand...
Click to collapse
This looks suspiciously like overclocking to me. If it is, I doubt that the S2U being faster is in your head...
Are you sure that "on boot" only means during the bootup process and not the original RAM available before the processes kick in?
Snarksneeze said:
This looks suspiciously like overclocking to me. If it is, I doubt that the S2U being faster is in your head...
Are you sure that "on boot" only means during the bootup process and not the original RAM available before the processes kick in?
Click to expand...
Click to collapse
What's weird though is that the value keeps changing, on every boot it's a different value. On the last boot, it was 280760320.
chrys9989 said:
What's weird though is that the value keeps changing, on every boot it's a different value. On the last boot, it was 280760320.
Click to expand...
Click to collapse
Then it just about has to be a record and not reference value. Shoulda known it wouldn't be that easy
samsamuel said:
5 - puts tiny analog clock where digi clock is by battery
6 - for phones with hardware keyboards
14 - can change that to fake any system info you like
18 - doesnt necessarily work. best way ive yet to find to fix the small mms size on some networks is the mms userprofile tweak that reports it as a diamond, and the mms useragent as a nokian95. (I can tfind the link, sorry)
Click to expand...
Click to collapse
chrys9989 said:
What's weird though is that the value keeps changing, on every boot it's a different value. On the last boot, it was 280760320.
Click to expand...
Click to collapse
Thanks for the reports.
And yeah, I noticed that as well... yet my value is always relatively in the same demographic in terms of "high" or "low".
But yes, it is some "lowbrow" version of overclocking, but as far as I know... it only pertains to the RAM available during and shortly thereafter a booting process is complete. It's like tweaking the allocated resources that "HTC Sense" used each time it booted up.
Awesome find. looking forward to what will be unconvered
I have a few friends skimming the registry keys day n' night as well... it's just very, very exhausting to read thousands of lines of coding.
I doubt I'll be updating the OP with tons of additions, but I'll certainly add to it, should something reasonably decent come to my attention.
I would like to add something that also seems interesting
HKLM/System/Autoupdate: 0 <-- I wonder what 1 does.. I just set to 1, will update as i hopefully receive updates
PS: I'm not sure if its this that caused this, but my phone just locks on slide to unlock.. As soon as i try unlocking the screen turns off.
Reignzone said:
I have a few friends skimming the registry keys day n' night as well... it's just very, very exhausting to read thousands of lines of coding.
I doubt I'll be updating the OP with tons of additions, but I'll certainly add to it, should something reasonably decent come to my attention.
Click to expand...
Click to collapse
Bump.
Anyone found any interesting tidbits as of yet?

Categories

Resources