BeeGee_Tokyo
13th September 2009, 04:19 AM
Hope this is no double post, but I didn't find it anywhere else.
While preparing my own ROM, I failed to set the default timezone of the Manila home screen. It was always New Dehli, whatever .rgu, .reg files I changed.
Found the solution just today.
The Manila timezone is set during startup of Manila by the program "SetSystemTimeZone.exe". It reads the registry entry "HKEY_LOCAL_MACHINE\Software\HTC\DefaultTz".
My settings to get the timezone in Manila to Tokyo are now:
In the OperatorPkg I change in the .rgu file the value for DefaultTz:
[HKEY_LOCAL_MACHINE\Software\HTC]
"DefaultTz"=dword:000000EB
The list of codes can be found in the Windows Mobile Development Center (http://msdn.microsoft.com/en-us/library/ms844831.aspx).
In the Manila package I change in the app.reg file the values for the clock:
"WorldClock.CityList"="ASI|JP|JA041|TOKYO,EUR|DE|GM001|HEILBRONN,ASI|PH|R P077|MAKATI,NAM|US|MI|DETROIT"
"WorldClock.CurrTimeZone"=hex:e4,fd,ff,ff,54,00,6f,00,6b,00,79,00,6f,00,20, 00,53,00,74,00,61,00,6e,00,64,00,61,00,72,00,64,00 ,20,00,54,00,69,00,6d,00,65,00,00,00,00,00,00,00,0 0,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00, 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00 ,00,00,00,00,00,00,54,00,6f,00,6b,00,79,00,6f,00,2 0,00,44,00,61,00,79,00,6c,00,69,00,67,00,68,00,74, 00,20,00,54,00,69,00,6d,00,65,00,00,00,00,00,00,00 ,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,0 0,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00, 00,00,00,c4,ff,ff,ff
"WorldClock.IsPreset"=dword:00000001
"WorldClock.LocalIndex"=dword:00000000
Search all packages for duplicate entries of these registry settings. I found the "WorldClock.CityList" in several OEM packages and in the Manila package. Make sure that the entry exist only once.
Now my ROM has no longer NewDehli as default timezone after reset. :D:D
While preparing my own ROM, I failed to set the default timezone of the Manila home screen. It was always New Dehli, whatever .rgu, .reg files I changed.
Found the solution just today.
The Manila timezone is set during startup of Manila by the program "SetSystemTimeZone.exe". It reads the registry entry "HKEY_LOCAL_MACHINE\Software\HTC\DefaultTz".
My settings to get the timezone in Manila to Tokyo are now:
In the OperatorPkg I change in the .rgu file the value for DefaultTz:
[HKEY_LOCAL_MACHINE\Software\HTC]
"DefaultTz"=dword:000000EB
The list of codes can be found in the Windows Mobile Development Center (http://msdn.microsoft.com/en-us/library/ms844831.aspx).
In the Manila package I change in the app.reg file the values for the clock:
"WorldClock.CityList"="ASI|JP|JA041|TOKYO,EUR|DE|GM001|HEILBRONN,ASI|PH|R P077|MAKATI,NAM|US|MI|DETROIT"
"WorldClock.CurrTimeZone"=hex:e4,fd,ff,ff,54,00,6f,00,6b,00,79,00,6f,00,20, 00,53,00,74,00,61,00,6e,00,64,00,61,00,72,00,64,00 ,20,00,54,00,69,00,6d,00,65,00,00,00,00,00,00,00,0 0,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00, 00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00 ,00,00,00,00,00,00,54,00,6f,00,6b,00,79,00,6f,00,2 0,00,44,00,61,00,79,00,6c,00,69,00,67,00,68,00,74, 00,20,00,54,00,69,00,6d,00,65,00,00,00,00,00,00,00 ,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,0 0,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00, 00,00,00,c4,ff,ff,ff
"WorldClock.IsPreset"=dword:00000001
"WorldClock.LocalIndex"=dword:00000000
Search all packages for duplicate entries of these registry settings. I found the "WorldClock.CityList" in several OEM packages and in the Manila package. Make sure that the entry exist only once.
Now my ROM has no longer NewDehli as default timezone after reset. :D:D