[MDA II, XDA II, 2060 ROM Development] toenailed:
Re: thanks to xda2jojo and toenailed

hiya softworks .. yup.. m comparing the registry of Sins Merged and 2.06.00WWE rom ..

and i found one intriguing part of the registry the SERVICES

ok for the benefit of others..

in PC Windows XP in order to run an application in Startup ..

the exe files should be stated in any of two

1. a link or the exe itself in

C:\Documents and Settings\All Users\Start Menu\Programs\Startup <- for all user or if an specific user in (All User is change depends on the user who login)

or

2. An exe is stated in Registry entry in

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windos\CurrentVersion\Run -> should run always every startup

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windos\CurrentVersion\RunOnce -> or once only

but in Pocket PC or Windows Mobile in order to Run an Application in Startup

1. A link or the exe itself in

\Windows\Startup

or this

2. A Dll is created and specify in Registry entry in

HKEY_LOCAL_MACHINE\Services\

what i found is that in both 2.02.1tWWE and Sins Merged ROM .. Permanent Save was not included in the Services

but in 2.06.00WWE .. it is and the following

registry entry exist in services

[HKEY_LOCAL_MACHINE\Services\cPermanent] "Prefix"="APP"

"Index"=dword:00000007

"Order"=dword:00000007

"DLL"="cPermanent.dll"

"Keep"=dword:00000001

<- Permanent Save for Contacts

[HKEY_LOCAL_MACHINE\Services\aPermanent]

"Prefix"="APP"

"Index"=dword:00000008

"Order"=dword:00000008

"DLL"="aPermanent.dll"

"Keep"=dword:00000001

<- Permanent Save for Appointments

[HKEY_LOCAL_MACHINE\Services\tPermanent]

"Prefix"="APP"

"Index"=dword:00000009

"Order"=dword:00000009

"DLL"="tPermanent.dll"

"Keep"=dword:00000001

<- Permanent Save for Tasks

[HKEY_LOCAL_MACHINE\Services\nPermanent]

"Prefix"="APP"

"Index"=dword:00000006

"Order"=dword:00000006

"DLL"="nPermanent.dll"

"Keep"=dword:00000001

<- Permanent Save for Connection Settings

and the Permanent Save is enable in 2.06.00WWE found in this registry Section

[HKEY_LOCAL_MACHINE\ControlPanel\MyCPL\Permanent Save]

"Enable"=dword:00000001

which in Sins version and 2.02.1tWWE both doesnt exist and are not enabled ..

maybe this explain why in sins merged rom and in 2.02.1tWWE Permanent Save doesnt work .. and if you import this Registry to Merged ROm .. suprisingly the Permanent Save is Now working in Sins Merged ROM ..

now if you dont use permanent save it doesnt necessarily it will not run in startup .. and even you disable it in this registry section

[HKEY_LOCAL_MACHINE\ControlPanel\MyCPL\Permanent Save]

"Enable"=dword:00000000 -> changing from 1 to 0 to disable Permanent save

it will still run the permanent save but it will not just restore .. since you not set or disable it to do that ..

ok guys maybe im wrong with this .. but since the lockup is during the reboot ..and since Permanent save is intialized in 2.06.00WWE im having now an additional theory that it is not only the bluetooth(i still believe bluetooth causes to hang) and the Phone driver(manipulation of Phone driver causes to hang but only if you overwrite some dll that uses by the phone ) but also the permanent save causes the boot to hang up .. (an additional but doesnt means it is causing .. since i still experience boot lockup)

i found another dll which run during startup that was not included in Sins merged ROM.. bro .. this ScreenRotate_Service

[HKEY_LOCAL_MACHINE\Services\ScreenRotate]

"Dll"="ScreenRotate_Service.dll"

"Prefix"="AP1"

"Index"=dword:00000003

"Order"=dword:00000008

"Keep"=dword:00000001

"Context"=dword:00000001

"DisplayName"="ScreenRotate Service"

"Description"="ScreenRotate Service"

maybe removing this five registry will fix part of the 2.06.00WWE bug but not all since im still having a boot lockup even if i remove the five registy .. now this still a theory .. and i could be wrong .. :) .. but i hope im not ..

but what really notices me .. is the Today Screen that seems to load faster than before .. :) ..

but importing the five registry key to SinsMerged ROM .. causes the today to refresh a little longer that before .. can you confirm with this bro ..