[Touch HD Windows Mobile ROM Development] cerato:
* Change the location of My Documents

Documents are opened in and saved to the device’s internal storage by default in Windows Mobile. You can change the location of My Documents to your Storage Card by a simple Windows Mobile registry tweak:

* Change the location of email and attachments

When reading and sending email in Pocket Outlook, emails and their attachments are saved in the device’s internal storage by default in Windows Mobile. You can change this location to, for example, your Storage Card by a simple Windows Mobile registry tweak:

HKCU\Software\Microsoft\MAPI\PropertyPath = “\Storage Card\Mail” (REG_SZ string, no quotes)

HKCU\Software\Microsoft\MAPI\AttachPath = “\Storage Card\Mail\Attachments” (REG_SZ string, no quotes)

For WM6 use HKLM\System\Inbox\Settings\PropertyPath

To return to the original location, simply delete these Registry settings (since neither is included by default).

* Change the location of Temporary Internet Files

When browsing the web, pages and images are saved in the ‘Temporary Internet Files’ location. You can change this location to, for example, your Storage Card by a simple Windows Mobile registry tweak:

HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders\Cache = “\Storage Card\cacheie” (REG_SZ string, no quotes)

To return to the original location:

HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders\Cache = “\Windows\Profiles\guest\Temporary Internet Files” (REG_SZ string, no quotes)

* Change the location of Ringtone file storage

WM will look for Ringtones in \Windows\ or \Windows\Rings by default. You can change this location to, for example, your Storage Card (example given is for ringtones placed on the Storage Card root folder) by a simple Windows Mobile registry tweak.

HKCU\ControlPanel\SoundCategories\Ring\Directory = “\Storage Card\” (REG_SZ string, no quotes)

To return to the original location:

HKCU\ControlPanel\SoundCategories\Ring\Directory = “\Windows\Rings\” (REG_SZ string, no quotes)

Note the default location may be “\Windows\” or “\Windows\Rings\” depending on your Device provider.

* Make WM6 ask where to install a program

If you wish to be able to specify whether to install a program on WM5’s Main storage, or your Storage Card, regardless of installer setting set:

HKLM\Software\apps\Microsoft Application Installer\fAskDest = 1 (DWORD decimal)

To disable again:

HKLM\Software\apps\Microsoft Application Installer\fAskDest = 0 (DWORD decimal)

Please note that many applications do not support being installed on the Storage Card and may behave unpredictably, including crashing.

An alternative method of making WM5 ask where to install a program is by adding the “/askdest” option to the Windows CE loader:

HKCR\cabfile\Shell\open\command = ‘wceload.exe “%1″ /askdest’ (REG_SZ string, no quotes)

* Make WM6 keep CAB files around after installing

If you wish to keep the original .CAB file around after installing the application, set:

HKLM\Software\apps\Microsoft Application Installer\nDynamicDelete = 0 (DWORD decimal)

Or to restore to the default:

HKLM\Software\apps\Microsoft Application Installer\nDynamicDelete = 2 (DWORD decimal)

An alternative method of making WM5 keep the original .CAB file around after installing the application is by adding the “/nodelete” option to the Windows CE loader:

HKCR\cabfile\Shell\open\command = ‘wceload.exe “%1″ /nodelete’ (REG_SZ string, no quotes)

* Change Bluetooth headphones from mono (default) to stereo:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Bluetooth\A2DP\Settings

UseJointStereo: change the DWORD from “1” TO “0” no quotes.

What this does is enable Joint-Stereo for the SBC codec, which is important and makes the biggest significant change to improve sound quality. (Note: In earlier versions of WM5 and WM6, Joint-Stereo was broken and resulted in a mono-output. This is not the case anymore with the newer WM6 ROMS.)

Then add the following value to the registry at HKLM\Software\Microsoft\Bluetooth\A2DP\Settings:

Name: SampleRate

Value (DWORD): 48000 (decimal)

This forces the A2DP stack to send the audio to the headset at 48000Hz instead of the default 44100Hz.

Also change the values of the following registry subkeys:

HKLM\Software\Microsoft\Bluetooth\A2DP\Settings\BitPool to 50

HKLM\Software\Microsoft\Bluetooth\A2DP\Settings\MaxSupportedBitPool to 50

These values are used to manually set limits for the BT stack for the A2DP SBC codec.

A soft-reset is required to take effect the changes.

* Registry Hack to Improve Bluetooth headset performance in Windows Mobile:

HKEY_LOCAL_MACHINE\Drivers\BuiltIn\BtA2dpSnd

Add “Priority256 “= dword:60 (Use Dword Value)

HKLM/SOFTWARE/Microsoft/Bluetooth/AudioGateway/Capability

(Dword:69)(Default 37)

HKLM/SOFTWARE/Microsoft/Bluetooth/AD2P/Settings/BitPool

(Dword: 60)(Default 30)

HKLM\Software\Microsoft\Bluetooth\AudioGateway\MicVolume

(DWORD:10)(Default:5)

HKLM\Software\Microsoft\Bluetooth\AudioGateway\SpkVolume

(DWORD:10)(Default:5)

* Change the Bluetooth channel from the default:

HKLM\Softare\Microsoft\Bluetooth\Device

From there open the subfolders and find those labeled channel. The DWORD key value is the channel number. Change the number to something other than the default.

* Change the length of scrollbar arrow buttons

To go with changing the thickness of the scrollbars, you may wish to change the length of the scrollbar arrow buttons…

For the horizontal (bottom) scrollbar arrows:

HKLM\System\GWE\cyVScr = 9 (DWORD decimal)

For the vertical (right) scrollbar:

HKLM\System\GWE\cxHScr = 9 (DWORD decimal)

The default length is 13. You can set the value to pretty much anything you like

* Enable ClearType in Landscape mode

To enable ClearType in Landscape mode in Windows Mobile device:

HKLM\System\GDI\ClearTypeSettings\OffOnRotation = 0 (DWORD decimal)

To disable:

HKLM\System\GDI\ClearTypeSettings\OffOnRotation = 1 (DWORD decimal)

Note that your PocketPC screen’s LCD red/green/blue ordering required for proper ClearType display is only correct for Portrait display. You may or may not prefer to leave ClearType in Landscape mode disabled

* Add a ‘Disconnect’ button (and Timer) to the Connection List for GPRS

To add a Disconnect button to the connection list for GPRS in Windows Mobile device:

HKLM\ControlPanel\Phone\Flags2 = 8 (DWORD decimal)

To add a Disconnect button and a timer display showing how long GRPS is in use for the session:

HKLM\ControlPanel\Phone\Flags2 = 16 (DWORD decimal)

To disable both the Disconnect button and the timer:

HKLM\ControlPanel\Phone\Flags2 = 0 (DWORD decimal)

* Change the ‘user agent’ identification of Pocket Internet Explorer

To change the ‘user agent’ identification of Pocket Internet Explorer, several fields need to be adjusted. The example shows how to identify as Internet Explorer 6 - desktop version

The standard compliance ‘user-agent’ string:

HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\5.0\User Agent\(Default) = “Mozilla/4.0″ (REG_SZ string, no quotes)

Defaults to “Mozilla/2.0″ The application/version string:

HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\5.0\User Agent\Version = “MSIE 6.0″ (REG_SZ string, no quotes)

* Defaults to “MSIE 4.01″ The host operating system string:

HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Internet Settings\5.0\User Agent\Platform = “Windows NT 5.0″ (REG_SZ string, no quotes)

Defaults to “Windows CE” Please note that if you change the Platform string, PDA-friendly sites may stop sending you PDA-friendly content automatically. Leave this string set to “Windows CE” unless a site absolutely refuses to work, or you want the site to feed you its normal content.

* Change the location of ‘Temporary Internet Files’

When browsing the web, pages and images are saved in the ‘Temporary Internet Files’ location. You can change this location to, for example, your Storage Card:

HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders\Cache = “\Storage Card\cacheie” (REG_SZ string, no quotes)

To return to the original location:

HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders\Cache = “\Windows\Profiles\guest\Temporary Internet Files” (REG_SZ string, no quotes)

* Change the display of the clock in the taskbar

The clock in the taskbar can be changed to show not only the time, but also the date, or just the date, or nothing at all.

To show nothing:

HKLM\Software\Microsoft\Shell\TBOpt = 0 (DWORD decimal)

To show just the clock:

HKLM\Software\Microsoft\Shell\TBOpt = 1 (DWORD decimal)

To show just the date:

HKLM\Software\Microsoft\Shell\TBOpt = 2 (DWORD decimal)

To show both the date and the clock:

HKLM\Software\Microsoft\Shell\TBOpt = 1 (DWORD decimal)

Note 1: If you switch to the Analog clock display, the date will remain visible -through- the Analog clock

Note 2: Setting the clock to show ‘nothing’ will still keep the reserved space, showing the taskbar background, and obscure any icons that will shift to the right.

Note 3: Your date may get obscured by the space reserved for the OK/Close button in the top-right. You can fix this my adding spaces at the end of your ‘Short Date Format’. See also the tweak on ‘Change the Short Date Format’

* Change the Short Date Format

Applications may call upon the system to provide a ’short date format’. One such application is the Date/Time display in the taskbar, if set to show the date. To change the Short Date Format to show “Mon/2″ (example):

HKLM\nls\overrides\SSDte = “ddd/d ” (REG_SZ string, no quotes)