|
||||
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
__________________
|
This post has been thanked 4 times. |
This post has been thanked 1 times. |
|
||||
Re: Skip First Boot Wizard ... KITCHEN REQUIRED
I was just asking mighty about this very thing. Some of my regedits were getting overridden. It would seem that my provxml isn't being used late enough in the boot process. How can I make sure that mine is getting checked last? Will putting the regedits in the .rgu override the provxml's? Right now my regedits are in an OEM folder marked tweaks. Calcu's kitchen has a tweaks folder already there. some of his settings are overriding mine and I can't figure out a way around this other than editing his provxml but I don't want to do this every time the kitchen updates.
__________________
|
|
||||
Re: Skip First Boot Wizard ... KITCHEN REQUIRED
Quote:
PPCKitchen handles this by creating the USER_OEM folder and these items are added after everything else. One of the advantages of using PPCKitchen. With other versions of BuildOS, you've got to experiment with naming convention of the oem folder and the provxml or rgu file to determine how to get your custom items to load after everything else in the kitchen. Best regards, -boggsie |
This post has been thanked 1 times. |
|
||||
Re: Skip First Boot Wizard ... KITCHEN REQUIRED
Quote:
Is it correct to say that the way BuildOS runs through the files (you see at the bottom of BuildOS window) as it compiles is the same order that everything will get applied? The reason I ask is partially based on your above answer but also because I assumed this to be the case intitially so I make sure that my OEM folder was worded so that it was last and I also made sure that my provmxl would fall after the other tweak file by name. However, I was still left with some of my tweaks not being applied because they had been overriden. |
|
||||
Re: Skip First Boot Wizard ... KITCHEN REQUIRED
Quote:
The provxml always gets applied AFTER rgu. In fact, the rgu is constructed as BuildOS compiles the ROM. However, ALL provxml is applied after flash as part of the boot process, phone startup, etc. ... conditional. So, if you have an RGU that you absolutely know is getting added last in the process and it still isn't sticking, then there is a provxml entry overwriting the rgu. Best regards, -boggsie |
|
||||
Re: Skip First Boot Wizard ... KITCHEN REQUIRED
Quote:
All of my regedits that are getting overridden are .provxml. So I am trying to find out is how the process determins what .provxml gets added where and when because the tweaks I am trying to change are also in a provxml. My provxml is getting overridden though by the other .provxml. |
|
||||
Re: Skip First Boot Wizard ... KITCHEN REQUIRED
Quote:
mxipupdate_zzzzz_acetweaks_100.provxml I'd offer detail on the how's and when's of the provxml application process, but I honestly don't know ... rstoyguy has done some work in this area and he would be a good source for further information. There is also a thread that is specific to provxml files, which points to the msdn site ... the msdn site might give further details on the how's and why's but I would suggest the aforementioned file name and if it doesn't work ... research further. Best regards, -boggsie |
This post has been thanked 1 times. |
|
||||
Re: Skip First Boot Wizard ... KITCHEN REQUIRED
oh my goodness! i love you guys... might not get around to using the info anytime soon but the info is priceless in this case!!
__________________
Creator of iLife ROM Series Best... Member... Ever... |
|
||||
Re: Skip First Boot Wizard ... KITCHEN REQUIRED
Quote:
|
|
|
|