Skip First Boot Wizard ... KITCHEN REQUIRED
As the subject states, a kitchen is required as these settings do not make sense as part of User Configuration or Sashimi scripts ... you don't get to those items until after you have gone through the first-boot wizard.
After flash or hard-reset, one of the most irritating things is to find your phone sitting there waiting for the click to continue screen. You know the one; it wants to calibrate your stylus, set your timezone and other seemingly useless items.
Well, if you are cooking from a kitchen, there is no reason for you to wade through this madness each and every time you flash a rom. Here are the registry settings that you need to look for:
#1 User Prompt
This registry setting indicates which prompt the user should see, when the phone boots for the first time.
Set this key and value and you won't see any welcome wizard questions!
[HKEY_LOCAL_MACHINE\Software\Microsoft\Welcome]
"Disable"=dword:FFFFFFFF
baniaczek over at XDA posted a thorough explanation of these codes, way back in 2006.
http://forum.xda-developers.com/showpost.php?p=967930
Oh, but you say that you need to calibrate your stylus ...
I beg to differ; once you calibrate a stylus on your device, you really only to seed that information into the registry so that it is used with future ROMs.
Set these values and you won't need to calibrate your stylus in the future. Obviously you'll want to calibrate your stylus and then take the values from the key noted below and replace the ones I use.
The TouchPanel and TFLOSettings keys and data will set the device on the most sensitive setting, which is what I use.
[HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\TOUCH]
"CalibrationData"="504,501 841,834 837,156 171,159 171,844"
[HKEY_LOCAL_MACHINE\ControlPanel\Stylus]
"Group"=dword:00000001
[HKEY_LOCAL_MACHINE\Drivers\TouchPanel]
"PressureThreshold"=dword:00009FA2
[HKEY_LOCAL_MACHINE\Software\OEM\TFLOSettings]
"FingerPressure"=dword:0000EA60
... but don't I need to set my time zone information?
These settings set you up for Eastern time, with the option for Daylight Savings enabled. It also sets up the device to synchronize time with your carrier. These items, for the most part, came right out of ppckithen's oemizer.
HKEY_LOCAL_MACHINE\Software\Microsoft\Clock
"GMT_OFFSET"=dword:00000168
"AppInfo"=hex:01,00,00,00,80,01,00,00,14,00,00,00, 00,00,00,00,01,00,00,00,3A,01,00,\
00,69,00,00,00,00,00,00,00,01,00,00,00
"AppState"=hex:11
"TZIndex"=dword:00000004
"HomeDST"=dword:00000001
;GMT -5 EST
[HKEY_LOCAL_MACHINE\Time]
"TimeZoneInformation"=hex:2C,01,00,00,45,00,61,00, 73,00,74,00,65,00,72,00,6E,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,0B,00,00,\
00,01,00,02,00,00,00,00,00,00,00,00,00,00,00,45,00 ,61,00,73,00,74,00,65,00,\
72,00,6E,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,03,00,00,00,02,00,02,00,00,00,00 ,00,00,00,C4,FF,FF,FF
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\RIL]
"NITZEnable"=dword:00000001
[HKEY_CURRENT_USER\CONTROLPANEL\PHONEEXTENDFUNCTION \CDMA]
"SyncSystemTime"=dword:00000001
The only real caveat is with provxml that is baked into the ROM. Various provxml files will run at first boot or every time the phone starts. If the provxml in your kitchen contains a value for any of these keys, the registry key that you inclued in an oem, will most likely get purged in favor of what is in the provxml file.
If this is the case, you have one of two choices ... alter the existing provxml or add the above values as provxml of your own, making sure that the provxml file you provide is inluded very late in the boot process. Because executing provxml will delay the boot of the phone, I encourage you to make the entries as rgu's and remove the provxml values from the kitchen.
Best regards,
-boggsie
__________________
Mine has theft deterrent!
HOPE
|