Registry Tweaks

From Windows Phone Hacker Wiki
Jump to: navigation, search

Like previous Windows Mobile devices, Windows Phone 7 devices have a registry that handles much of the system related values. "Registry tweaks" allow the user to optimize settings or enable previously disabled features, customize themes, etc., through a registry editor. Such tweaks will require that a device is interop unlocked.

Contents

Instant resuming/Jaxbot's Dehydration Hack

Enables instant resuming (see demonstration)

[HKEY_LOCAL_MACHINE\Software\Microsoft\TaskHost]
"DehydrateOnPause"=dword:0

Change max unsigned apps/Interop unlock

This hack has become somewhat redundant, as it typically requires interop unlock to be changed, but it is used in all exploits that enable interop unlock.

[HKEY_LOCAL_MACHINE\Software\Microsoft\DeviceReg\Install]
"MaxUnsignedApp"=dword:300
(default for unlocked: 10)

Recall that interop unlock is enabled once this value is set to 300 or above.

Prevent Relock

[HKEY_LOCAL_MACHINE\Software\Microsoft\DeviceReg]
    "PortalUrlProd"=""
    "PortalUrlInt"=""

Enable "never" screen time-out

[HKEY_LOCAL_MACHINE\ControlPanel\Lock]
"DisableNever"=dword:0

Customize sounds

This requires custom sound files to be copied onto the device. The location of the sound keys are:

[HKEY_CURRENT_USER\ControlPanel\Sounds]

Where setting "Sound" changes the path for the sound file. For example:

[HKEY_CURRENT_USER\ControlPanel\Sounds\SMS]
"Sound" = "\My Documents\Test.wma"

Would change the SMS sound to Test.wma.

Customize colors

The location for color settings is:

[HKEY_LOCAL_MACHINE\ControlPanel\Themes]

The corresponding names and numbers are listed as:

[HKEY_LOCAL_MACHINE\ControlPanel\Themes\0]
Light theme
[HKEY_LOCAL_MACHINE\ControlPanel\Themes\1]
Dark theme

[HKEY_LOCAL_MACHINE\ControlPanel\Themes\AccentsDisplayName]
0 = Green
1 = Red
2 = Blue
3 = Mango
4 = (OEM, e.g. HTC)
5 = Pink
6 = Brown
7 = Lime
8 = Teal
9 = Purple
10 = Magenta

The customizable colors are:

[HKEY_LOCAL_MACHINE\ControlPanel\Themes\[0 or 1]\Accents\[accent number]] # The various accent colors
[HKEY_LOCAL_MACHINE\ControlPanel\Themes\[0 or 1]\BaseThemeColor] # The background color
[HKEY_LOCAL_MACHINE\ControlPanel\Themes\[0 or 1]\ChromeColor] # The color of context menus, etc
[HKEY_LOCAL_MACHINE\ControlPanel\Themes\[0 or 1]\ContrastColor] # The color opposite, e.g. for white text
[HKEY_LOCAL_MACHINE\ControlPanel\Themes\[0 or 1]\KeyPadBackground] # Keyboard background color
[HKEY_LOCAL_MACHINE\ControlPanel\Themes\[0 or 1]\ListPickerBackground] # Self explanatory
[HKEY_LOCAL_MACHINE\ControlPanel\Themes\[0 or 1]\ListPickerBackgroundPressed] # ?
[HKEY_LOCAL_MACHINE\ControlPanel\Themes\[0 or 1]\PageBackgroundColor] # Silverlight background color
[HKEY_LOCAL_MACHINE\ControlPanel\Themes\[0 or 1]\ProgressBarBackground] # Self explanatory
[HKEY_LOCAL_MACHINE\ControlPanel\Themes\[0 or 1]\ProgressBarDisabledBackground] # Self explanatory
[HKEY_LOCAL_MACHINE\ControlPanel\Themes\[0 or 1]\SysTrayBackgroundColor] # Background color of the top bar (with time, carrier icons, etc)
[HKEY_LOCAL_MACHINE\ControlPanel\Themes\[0 or 1]\TextHighContrast] # ?
[HKEY_LOCAL_MACHINE\ControlPanel\Themes\[0 or 1]\TextNeutralColor] # ?
[HKEY_LOCAL_MACHINE\ControlPanel\Themes\[0 or 1]\TextNeutralColor20] # ?
[HKEY_LOCAL_MACHINE\ControlPanel\Themes\[0 or 1]\TextNeutralColor30] # ?
[HKEY_LOCAL_MACHINE\ControlPanel\Themes\[0 or 1]\TextNeutralColor60] # ?
[HKEY_LOCAL_MACHINE\ControlPanel\Themes\[0 or 1]\TextNeutralColor75] # ?
[HKEY_LOCAL_MACHINE\ControlPanel\Themes\[0 or 1]\TextNeutralColor80] # ?
[HKEY_LOCAL_MACHINE\ControlPanel\Themes\[0 or 1]\TransparentBackgroundColor] # The color displayed when the screen dims for a popup, e.g. when the Speech popup is opened

Disable Accelerometer

This requires a reboot, so it's not particularly useful for, say, orientation lock. It's fun to play with, though.

[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\Accelerometer]
"Pdd" = "" # it's probably better to set this to, say, accpdd.dll_, so you will be able to easily revert back

Sources

http://forum.xda-developers.com/showthread.php?t=907971

Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox