PDA

View Full Version : uni booting process


ftoz
18th November 2007, 11:14 PM
Hi, i am interested in uni deep. can someone tell me, which code and which programs are loaded after reset? I mean what uni do from reset to start wm6. Many thanks for any advice

mo3ulla
20th November 2007, 11:21 AM
want info ?

uni boot registry

[HKEY_LOCAL_MACHINE\init]
"Launch20"="device.exe"
[HKEY_LOCAL_MACHINE\Drivers]
"RootKey"="Drivers\\BuiltIn"
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn]
"Dll"="BusEnum.dll"
"BusName"="BuiltIn"
"Flags"=dword:8
"BusIoctl"=dword:2a0048
"InterfaceType"=dword:0
"IClass"=multi_sz:"{B3CC6EBA-5507-4196-8E41-2BF42E4A47C9}=%b","{6F40791D-300E-44E4-BC38-E0E63CA8375C}=%b"
[HKEY_LOCAL_MACHINE\System\Events]
"SYSTEM/DevMgrApiSetReady"="Device Manager APIs ready"
[HKEY_LOCAL_MACHINE\System\Events]
"SYSTEM/PowerManagerReady"="Power Manager APIs ready"
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contro l\Power\Interfaces]
"{A32942B7-920C-486b-B0E6-92A702A99B35}"="Generic power-manageable devices"
"{8DD679CE-8AB4-43c8-A14A-EA4963FAA715}"="Power-manageable block devices"
"{98C5250D-C29A-4985-AE5F-AFE5367E5006}"="Power-manageable NDIS miniports"
"{EB91C7C9-8BF6-4a2d-9AB8-69724EED97D1}"="Power-manageable display"
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contro l\Power\State\On]
"Default"=dword:0 ; D0
"Flags"=dword:12010000 ; POWER_STATE_ON | POWER_STATE_PASSWORD | POWER_STATE_BACKLIGHTON
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contro l\Power\State\Suspend]
"Default"=dword:3 ; D3
"Flags"=dword:200000 ; POWER_STATE_SUSPEND
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contro l\Power\State\ColdReboot]
"Default"=dword:4 ; D4
"Flags"=dword:800000 ; POWER_STATE_RESET
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contro l\Power\State\Reboot]
"Default"=dword:4 ; D4
"Flags"=dword:800000 ; POWER_STATE_RESET
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contro l\Power\State\Suspend\{98C5250D-C29A-4985-AE5F-AFE5367E5006}]
"Default"=dword:4 ; D4
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contro l\Power\State\UserIdle]
"Default"=dword:2 ; D2
"Flags"=dword:1000000 ; POWER_STATE_USERIDLE
"bkl1:"=dword:4 ; backlight off
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contro l\Power\State\UserIdle\{EB91C7C9-8BF6-4a2d-9AB8-69724EED97D1}]
"Default"=dword:4 ; D4 ; display off
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contro l\Power\State\BacklightOff]
"Default"=dword:0 ; D0
"Flags"=dword:10010000 ; POWER_STATE_ON | POWER_STATE_PASSWORD
"bkl1:"=dword:4 ; backlight off
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contro l\Power\State\ScreenOff]
"Default"=dword:0 ; D0
"Flags"=dword:100000 ; POWER_STATE_IDLE
"bkl1:"=dword:4 ; backlight off
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contro l\Power\State\ScreenOff\{EB91C7C9-8BF6-4a2d-9AB8-69724EED97D1}]
"Default"=dword:4 ; D4
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contro l\Power\State\Unattended]
"Default"=dword:0 ; D0
"Flags"=dword:400000
"wav1:"=dword:4 ; sound disabled
"bkl1:"=dword:4 ; backlight off
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contro l\Power\State\Unattended\{EB91C7C9-8BF6-4a2d-9AB8-69724EED97D1}]
"Default"=dword:4 ; D4
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contro l\Power\State\Resuming]
"Default"=dword:2 ; D2
"Flags"=dword:10000000 ; POWER_STATE_PASSWORD
"bkl1:"=dword:4 ; backlight off
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contro l\Power\State\Resuming\{EB91C7C9-8BF6-4a2d-9AB8-69724EED97D1}]
"Default"=dword:4 ; D4
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contro l\Power]
"SystemPriority256"=dword:F8 ; 248 - THREAD_PRIORITY_TIME_CRITICAL
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contro l\Power\ActivityTimers\UserActivity]
"TimeoutMs"=dword:64 ; in milli seconds
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Contro l\Power\Timeouts]
"ACSuspendTimeout"=dword:0 ; timeout disabled on AC power
"ACResumingSuspendTimeout"=dword:F ; 15 seconds
"BattSuspendTimeout"=dword:B4 ; 3 minutes (180 seconds) on battery
"BattResumingSuspendTimeout"=dword:F ; 15 seconds
[HKEY_LOCAL_MACHINE\SYSTEM\Events]
"SYSTEM/GweApiSetReady"="Event triggered after GWES registers its API sets"
[HKEY_LOCAL_MACHINE\init\BootVars]
"SystemHive"="Documents and Settings\\system.hv"
"ProfileDir"="Documents and Settings"
"Flags"=dword:0
[HKEY_LOCAL_MACHINE\System\ObjectStore]
"DefaultDBVol"="Documents and Settings\\default.vol"
[HKEY_LOCAL_MACHINE\System\ObjectStore]
"AllowSystemAccess"=dword:1
[HKEY_LOCAL_MACHINE\System\StorageManager\Filters\f sreplxfilt]
"ReplStoreHostVolume"=""
"ReplStorePath"="\\ReplStorVol"
"ReplStoreName"="ReplStor"
"ReplStoreDoImmaculate"=dword:0
"ReplStoreCacheSize"=dword:0
"NumDirsToExclude"=dword:0
"DirsToExclude"=multi_sz:""
[HKEY_LOCAL_MACHINE\System\ObjectStore]
"RegistryType"=dword:1
[HKEY_LOCAL_MACHINE\System\StorageManager]
"Dll"="fsdmgr.dll"
"PNPUnloadDelay"=dword:1000
[HKEY_LOCAL_MACHINE\System\Events]
"ReleaseFSD"="ReleaseFSD"
[HKEY_LOCAL_MACHINE\Loader]
"SystemPath"=multi_sz:"\\Release\\"
[HKEY_LOCAL_MACHINE\System\StorageManager\AutoLoad\ Relfsd]
"Dll"="relfsd.dll"
"Paging"=dword:0
"LoadFlags"=dword:1
"mount"="Release"
"secure"=dword:0
[HKEY_LOCAL_MACHINE\System\StorageManager\FATFS]
"FriendlyName"="FAT FileSystem"
"Dll"="fatfsd.dll"
"Flags"=dword:00000064
"Paging"=dword:1
"EnableCache"=dword:1
"CacheSize"=dword:0
"Util"="fatutil.dll"
"CacheDll"="diskcache.dll"
[HKEY_LOCAL_MACHINE\System\StorageManager\FATFS\Fil ters\CacheFilt]
"Dll"="CacheFilt.dll"
"Order"=dword:2
[HKEY_LOCAL_MACHINE\System\StorageManager\IMGFS]
"FriendlyName"="Image-Update Filesystem"
"Dll"="imgfs.dll"
"Paging"=dword:1
"ShadowROM"=dword:1
[HKEY_LOCAL_MACHINE\System\ImageUpdate\UpdateApp]
"InputFileName"="UAInput.000"
"OutputFileName"="UAOutput.000"
"PersistentRoot"="\\OSRoot"
"PersistentTempName"="UATemp"
"RAMTempDir"="\\UATemp"
"DisplayDLL"="uldrui.dll"
"ValidatorLogPath"="\\Release\\UpdateValidator.log"
"UpdateAppLogPath"="\\OSRoot\\UpdateApp.log"
"UpdateSettingsDir"="IUSettingsBackup"
[HKEY_LOCAL_MACHINE\System\StorageManager\MSPART]
"Dll"="mspart.dll"
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles]
"AutoMount"=dword:1
"AutoPart"=dword:0
"AutoFormat"=dword:0
"MountFlags"=dword:0
"DefaultFileSystem"=""
"PartitionDriverName"="MSPART"
"Folder"="Mounted Volume"
[HKEY_LOCAL_MACHINE\System\StorageManager\Partition Table]
"01"="FATFS"
"04"="FATFS"
"06"="FATFS"
"07"="NTFS"
"0B"="FATFS"
"0C"="FATFS"
"0E"="FATFS"
"0F"="FATFS"
"20"="BOOT"
"21"="BINFS"
"22"="RAWFS"
"23"="RAWFS"
"25"="IMGFS"
"26"="BINARY"
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\ MSFlash]
"PartitionDriver"="mspart.dll"
"MountAsROM"=dword:1
"MountHidden"=dword:1
"Folder"="Flash Disk"
"Name"="FLASH Disk Block Device"
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\ MSFlash\FATFS]
"MountAsROM"=dword:0
"MountHidden"=dword:0
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\ CDProfile]
"Name"="IDE CDROM/DVD Drive"
"Folder"="CDROM Drive"
"DefaultFileSystem"="UDFS"
"PartitionDriver"=""
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\ CDProfile\PartitionTable]
[HKEY_LOCAL_MACHINE\Comm\VMini]
"DisplayName"=mui_sz:"netmui.dll,#9006"
"Group"="NDIS"
"ImagePath"="VMini.dll"
"Priority256"=dword:83
[HKEY_LOCAL_MACHINE\Comm\VMini\Linkage]
"Route"=multi_sz:"VMINI1"
[HKEY_LOCAL_MACHINE\Comm\VMINI1]
"DisplayName"=mui_sz:"netmui.dll,#9006"
"Group"="NDIS"
"ImagePath"="VMini.dll"
[HKEY_LOCAL_MACHINE\Comm\VMINI1\Parms]
"BusNumber"=dword:0
"BusType"=dword:0

mo3ulla
20th November 2007, 11:21 AM
part 2

[HKEY_LOCAL_MACHINE\Comm\Security\SystemCertificate s\Root]
"InitFile"="\\windows\\sysroots.p7b"
[HKEY_LOCAL_MACHINE\System\Events]
"LASS_SRV_STARTED"="LASS APIs ready"
[HKEY_LOCAL_MACHINE\nls]
"LegacyLocaleMode"=dword:1
[HKEY_LOCAL_MACHINE\System\StorageManager\Filters\f sdspy]
"dll"="fsdspy.dll"
[HKEY_LOCAL_MACHINE\System\StorageManager\Filters\f sreplxfilt]
"NumDirsToExclude"=dword:e
"DirsToExclude"=multi_sz: "\\mxip_initdb.vol",
"\\mxip_system.vol",
"\\mxip_notify.vol",
"\\mxip_lang.vol",
"\\cemail.vol",
"\\pim.vol",
"\\Documents and Settings\\default\\user.hv",
"\\Documents and Settings\\system.hv",
"\\Windows\\Profiles\\guest\\Temporary Internet Files\\",
"\\Windows\\Profiles\\guest\\Cookies\\",
"\\Windows\\Profiles\\guest\\History\\",
"\\Windows\\Activesync\\",
"\\windows\\messaging\\",
"\\Temp\\"
[HKEY_LOCAL_MACHINE\init\BootVars]
"RequireCertMod"=dword:1
[HKEY_LOCAL_MACHINE\System\StorageManager\AutoLoad\ Relfsd]
"MountFlags"=dword:1 ; hides the release directory from enumeration
[HKEY_LOCAL_MACHINE\init\BootVars]
"Flags"=dword:1
[HKEY_LOCAL_MACHINE\MUI]
"Enable"=dword:1
[HKEY_LOCAL_MACHINE\MUI]
"SysLang"=dword:409
[HKEY_CURRENT_USER\MUI]
"CurLang"=dword:409
[HKEY_LOCAL_MACHINE\System\Events]
"SYSTEM/NLedAPIsReady"="Notification LED APIs"
[HKEY_LOCAL_MACHINE\init\BootVars]
"Flags"=dword:1
"Launch10"="shell.exe"
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Contro l\Power]
"ScreenPowerOff"=dword:3c
[HKEY_LOCAL_MACHINE\System\Platform]
"DataPath"="\\"
"PSAtRoot"=dword:1
[HKEY_LOCAL_MACHINE\SYSTEM\GWE\Notify]
"volume"="\\mxip_notify.vol"
[HKEY_CURRENT_USER\Software\Microsoft\Windows]
"DbPath"="\\mxip_initdb.vol"
"LangDbPath"="\\mxip_lang.vol"
[HKEY_LOCAL_MACHINE\Init\BootVars]
"MasterKeyFileDir"="\\windows"
[HKEY_LOCAL_MACHINE\init\BootVars]
"Flags"=dword:5
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\ TRUEFFS_DOC\IMGFS]
"MountFlags"=dword:11
"MountHidden"=dword:1
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\ TRUEFFS_DOC]
"Name"="DiskOnChip M-Systems"
"Folder"="imgfs"
"MountFlags"=dword:11
"BootPhase"=dword:0
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\TrueFFS]
"Flags"=dword:1000
"Index"=dword:1
"Profile"="TRUEFFS_DOC"
"Dll"="TrueFFS_G3.dll"
"Prefix"="DSK"
"Order"=dword:0
"WindowBase"=dword:0
"IClass"=multi_sz:"{A4E7EDDA-E575-4252-9D6B-4195D48BB865}"
"BootPhase"=dword:0
"SoftwareWriteProtect"=dword:1
[HKEY_LOCAL_MACHINE\System\StorageManager\Autoload\ TrueFFS]
"DriverPath"="Drivers\\BuiltIn\\TrueFFS"
"LoadFlags"=dword:1
"BootPhase"=dword:0
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\ TRUEFFS_DOC2]
"DefaultFileSystem"="FATFS"
"Name"=""
"PartitionDriver"=""
"Folder"=""
"MountFlags"=dword:6
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\ TRUEFFS_DOC2\FATFS]
"Flags"=dword:14
"FormatTfat"=dword:1
"CheckForFormat"=dword:1
"EnableWriteBack"=dword:1
"DataCacheSize"=dword:00000080 ;128 sectors(128*512=64KB)
[HKEY_LOCAL_MACHINE\System\StorageManager\AutoLoad\ TRUEFFS_DOC2]
"DriverPath"="Drivers\\BuiltIn\\TrueFFS2"
"LoadFlags"=dword:1
"Order"=dword:0
"Bootphase"=dword:1
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\TrueFFS2]
"Profile"="TRUEFFS_DOC2"
"Index" = dword:3
"Dll"="TrueFFS_G3.dll"
"Prefix"="DSK"
"Order" = dword:0
"Ioctl" = dword:4
"Use8Bit" = dword:1
"WindowBase" = dword:00000000
"IClass"=multi_sz:"{A4E7EDDA-E575-4252-9D6B-4195D48BB865}"
"AutoDPDMode" = dword:1
"SoftwareWriteProtect"=dword:0
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\ TRUEFFS_DOC1]
"DefaultFileSystem"="FATFS"
"Name"=""
"PartitionDriver"=""
"Folder"="Storage"
"MountHidden"=dword:0
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\ TRUEFFS_DOC1\FATFS]
"Flags"=dword:14
"FormatTfat"=dword:1
"EnableWriteBack"=dword:1
"DataCacheSize"=dword:00000080 ;128 sectors(128*512=64KB)
[HKEY_LOCAL_MACHINE\System\StorageManager\AutoLoad\ TRUEFFS_DOC1]
"DriverPath"="Drivers\\BuiltIn\\TrueFFS1"
"LoadFlags"=dword:1
"Order"=dword:1
"Bootphase"=dword:1
[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\TrueFFS1]
"Profile"="TRUEFFS_DOC1"
"Index" = dword:2
"Dll" = "TrueFFS_G3.dll"
"Prefix" = "DSK"
"Order" = dword:1
"Ioctl" = dword:4
"Use8Bit" = dword:1
"WindowBase" = dword:00000000
"IClass"=multi_sz:"{A4E7EDDA-E575-4252-9D6B-4195D48BB865}"
"AutoDPDMode" = dword:1
"SoftwareWriteProtect"=dword:0
[HKEY_LOCAL_MACHINE\System\StorageManager\Profiles\ TRUEFFS_DOC2\FATFS\Filters\fsreplxfilt]
"dll"="fsreplxfilt.dll"
"order"=dword:1 ; must be loaded before other filters
[HKEY_LOCAL_MACHINE\SOFTWARE\OEM\ATDbgLog]
"Enable"=dword:00000000
[HKEY_LOCAL_MACHINE\SOFTWARE\OEM\Power]
"Critical5"=dword:00000001

mo3ulla
20th November 2007, 11:22 AM
init section

[HKEY_LOCAL_MACHINE\init]
"Launch40"="LoadDialogInitExe.exe"
"Depend40"=hex:14,00,1E,00
"Depend50"=hex:14,00,1E,00
"Depend20"=hex:0A,00
"Launch10"="shell.exe"
"Depend70"=hex:1E,00
"Launch70"="connmgr.exe"
"Launch50"="shell32.exe"
"Depend30"=hex:1C,00
"Launch30"="ciphaseui.exe"
"Depend61"=hex:32,00,3C,00
"Launch61"="ciphase2.exe"
"Depend21"=hex:14,00
"Launch21"="coldinit.exe"
"Depend28"=hex:15,00
"Launch28"="gwes.exe"
"Depend60"=hex:14,00
"Launch60"="services.exe"
"Depend100"=hex:3C,00
"Launch100"="uptimesqm.exe"
"Launch20"="device.exe"

ftoz
24th November 2007, 11:35 PM
Thanks, but i mean one file which or code which is first to load system that command.com on pc. I think that must be similar like pc but i dont know. There must be some code to init system. If someone know which or where the code is, please post

mamaich
27th November 2007, 01:21 AM
Read MSDN. Win CE 5.0 boot process is described there.

beast0898
27th November 2007, 08:50 AM
Thanks, but i mean one file which or code which is first to load system that command.com on pc. I think that must be similar like pc but i dont know. There must be some code to init system. If someone know which or where the code is, please post

Hi,

I believe you mean NK.Exe (The kernel), please see the two links below on MSDN for more info.

http://msdn2.microsoft.com/en-us/library/aa909237.aspx

http://msdn2.microsoft.com/En-US/library/aa908987.aspx

Cheers,


Beasty