PDA

View Full Version : Changing default date/time


muckelmaus
24th January 2009, 03:38 PM
Hi, this is a question to all rom-cookers out there and everyone with good registry skills.
Does anybody know to change the default date, a new flashed Hima starts with?
I'll freak out, changing the date another hundred times more.
I tried to change the hklm/system/state/datetime-no change.
It was the same, when I tried to change it with an UC-provxml file.
It is one of the last features to finish my Ather's Dark-Fully loaded- german version.Please help! Maybe this is not the right thread- fell free to move it!
I really need a solution - maybee it is too easy to find it after four month of cooking.
Thanx, I want to release it asap after that long time.

Ather
24th January 2009, 03:50 PM
well its coded in the HEX Format, the BEST way to do it (also what i did) is to flash a ROM, configure the date and export out the registery key :)

Here is my Registery key (GMT+3)

[HKEY_LOCAL_MACHINE\Time]
"TimeZoneInformation"=hex:\
4C,FF,FF,FF,41,00,72,00,61,00,62,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,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,00,00,00,41,00,72,00 ,61,00,62,00,20,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,00,00,00,00,\
00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00 ,00,C4,FF,FF,FF

muckelmaus
24th January 2009, 04:22 PM
Ups, double post? (too many fingers on keyboard error? hi,hi)
Thanxs, for the quick answer, ather, but this answer pushes me to another big prob I have the last few weeks.
How to import a reg file with this sign ---> \ <--- ?
I think, it´s (a line devider) added by the reg-editor while exporting the reg key,
but I always get an error massage on importing it with registry workshop 3.0.0, while I´m processing hklm.
Maybe you use a different app to import, or does I have to change something in my settings?
Btw, I newer took a look at hklm\Time because I compared my registries with CeRegEditor after changing the system clock and there was newer a difference in that key! Sometimes it is too obvious to see the solution.

Ather
24th January 2009, 04:36 PM
try to change the \ to \\ :)

i aslo use Registery Workshop to export the keys..

muckelmaus
24th January 2009, 04:56 PM
Fine, I´ll try, seams to me, to this strange thing to use \\ to be interpreted as \.
Sorry, it takes me so long to answer because I´m cooking in between on my notebook,
Watching this thread on my wifes and answering on our desktop.
Multitasking, is not mine I guess!
I took a look at the hklm\Time you mentioned, The system Time is in there??
When I open the key to edit, I see something about middle eurorean (summer) time in there. You are sure -ok, I´ll try.
The second prob I´m working on is the hklm\tegik\et9 key of Opera mini 4.2 and to make it default system wide. Hope your hint with the double \\ works to get ready.

muckelmaus
24th January 2009, 06:53 PM
Nope, I'm sorry , but it is not the hklm\time key!
This is just the key for the Time Zone Information as the key's name says.
But I solved another quite similar problem:
When I change the reg key to lock the keys of the device, the keys are unlocked after flashing. There must be a xmlfile that changes this key back to 0. After I build a povxml file to user customize it nothing happened!!
The reg key changed to 1 in the registry but the keys are not locked. Quite strange, but I figured out somewhat like a workaround:
In my file, I first set the key 0, and afterwards I change to 1 to lock the keys.
Et voila, it works. Don't know why, but no reason to think about, because it finally works, that's all that counts.
I still need help with the damned changing the system date,

Nokser
25th January 2009, 01:00 AM
You don't change rom data?? I

muckelmaus
25th January 2009, 01:12 AM
I want to get rid of the default 01/09/2003,thatīs it.
Somewhat in Jan 2009 would be great, because there is a problem with Opera mini and it's certificate, so it doesn't connect to Internet. When the date is changed first, everything is fine.
Thanx

utak3r
12th February 2009, 12:50 AM
Ather, check the HKLM\Software\Microsoft\Clock key, can't remember it exactly but AFAIR it was that which along with your HKLM\Time was setting up a coldinit date :)