blackwingcat Posted January 7, 2011 Posted January 7, 2011 (edited) Happy new year. I planed to customize Windows 2000 kernel32.dll.Download site(Japanese)v2kernel is only prevent from appear ".exe is not a valid Win32 application".v5kernel extends some functions.v10bkernel extends more functions and add customized wtsapi32.dll.* English version released on 1st Feb(v10/a has bug. please download v10b).* Italian version released on 26th Jun.* Traditional Chinese version has problem( v10b3 Fixed Jun 26th)v11eAdded RtlCaptureStackBackTrace, GetSystemWow64DirectoryA, GetSystemWow64DirectoryW and GetHandleContext in kernel32.dll.Advapi32.dll supported SystemFunction036 and TraceMessage(stub),fixed SetServiceStatus.Packed with ntdll.dll and setupapi.dllv12bAdded WTSGetActiveConsoleSessionId, in kernel32, Fixed user32.dll null pointer problem.v13iAdded FreeAddrInfoW, freeaddrinfo, getaddrinfo, getnameinfo in ws2_32.dll.Added RemoveVectoredExceptionHandler, AddVectoredExceptionHandler in kernel32.v15Added WSANSPIoctl in ws2_32.dll.Added RtlCaptureContext, GetGeoInfoW, GetUserGeoID in kernel32.Added GetAdaptersAddresses, Icmp6CreateFile, Icmp6ParseReplies, Icmp6SendEcho2, IcmpCloseHandle, IcmpCreateFile, IcmpParseReplies, IcmpSendEcho2, IcmpSendEcho, CancelIPChangeNotify in iphlpapi.Added CryptStringToBinaryA, CryptStringToBinaryW, CryptBinaryToStringA, CryptBinaryToStringW int CRYPT32.Added IsUserAnAdmin, SHParseDisplayName, SHGetFolderPathAndSubDirW, SHOpenFolderAndSelectItems in Shell32.Expanded SHFolder My Music, My Video, CDBurn, OEMLink Folder.Added IsWindowInDestroy, DefRawInputProc, GetRawInputBuffer, GetRegisteredRawInputDevices, GetRawInputDeviceInfoA, GetRawInputDeviceInfoW, GetRawInputDeviceList, GetRawInputData, RegisterRawInputDevicesGetWindowRgnBox, MessageBoxTimeout in user32.Added FlushTraceW in advapi32.dllv15lAdded rpcrt4.dll (based on WildBill's hotix)Added GetGeoInfoA in kernel32.Added DnsFree in dnsapi.Added A_SHAFinal, A_SHAInit, A_SHAUpdate, MD5Update, MD5Final, MD5Init in advapi32.dllv15p2Added SHSetUnreadMailCountW and SHEnumerateUnreadMailAccountsW in Shell32Added MD4Init, MD4Final, MD4Update, CredFree, CredWriteW, CredEnumerateW, CredDeleteW, CredReadW in advapi32.Fixed SystemFunction036 compatibility in advapi32.Added GetProcessImageFileNameA/W in psapiAdded GetSystemTimes in Kernel32Added GetAddrInfoW in ws2_32Fixed SystemLink Class in User32.dllv15qAdded RpcServerInqCallAttributesW in rpcrt4Added SHGetFolderPathAndSubDirA in shell32Added GetVolumePathNamesForVolumeNameA/W in kernel32Supported NoStrCmpLogicalv15rAdded IsProcessInJob in kernel32v17cAdded Customized UserenvAdded AES128/192/256 support.Added esent(XP)/esent97(XP) for migrated for Win2000.add stubbed CoInternetIsFeatureEnabled, CoInternetSetFeatureEnabled urlmon.dlladd EngIsSemaphoreOwned and EngBugCheckEx in win32k.sysAdd dblhelp.dllv17hAdd the following functions in setupapi.dllpSetupFreepSetupMallocpSetupReallocpSetupIsUserAdminpSetupUnicodeToMultiBytepSetupMultiByteToUnicodepSetupAcquireSCMLockpSetupAddMiniIconToListpSetupAddTagToGroupOrderListEntrypSetupAppendStringToMultiSzpSetupCaptureAndConvertAnsiArgpSetupCenterWindowRelativeToParentpSetupConcatenatePathspSetupDoesUserHavePrivilegepSetupDuplicateStringpSetupEnablePrivilegepSetupFreeStringArraypSetupGetCurrentDriverSigningPolicypSetupGetVersionInfoFromImagepSetupHandleFailedVerificationpSetupInfIsFromOemLocationpSetupInstallCatalogpSetupInstallStopExpSetupOpenAndMapFileForReadpSetupOutOfMemorypSetupQueryMultiSzValueToArraypSetupRegistryDelnodepSetupRetrieveServiceConfigpSetupSetArrayToMultiSzValuepSetupShouldDeviceBeExcludedpSetupStringTableAddStringpSetupStringTableAddStringExpSetupStringTableDestroypSetupStringTableDuplicatepSetupStringTableEnumpSetupStringTableGetExtraDatapSetupStringTableInitializepSetupStringTableInitializeExpSetupStringTableLookUpStringpSetupStringTableLookUpStringExpSetupStringTableSetExtraDatapSetupStringTableStringFromIdpSetupStringTableStringFromIdExpSetupUnmapAndCloseFilepSetupVerifyCatalogFilepSetupVerifyFileAdd the following functions in iphlpapi.dllDisableMediaSenseGetBestInterfaceExGetExtendedTcpTableGetExtendedUdpTableRestoreMediaSenseGetIpErrorStringv15y/v17nadded the following functions in ntdllRtlInitUnicodeStringExNtDeleteBootEntryNtModifyBootEntryNtAddBootEntryNtEnumerateBootEntriesNtQueryBootEntryOrderNtQueryBootOptionsNtSetBootEntryOrderNtSetBootOptionsNtEnumerateSystemEnvironmentValuesExNtTranslateFilePathNtSetSystemEnvironmentValueExNtQuerySystemEnvironmentValueExRtlCaptureContextvDbgPrintExWithPrefixvDbgPrintExDbgPrintExRtlInterlockedPushListSListRtlFirstEntrySListRtlInterlockedFlushSListRtlInitializeSListHeadRtlQueryDepthSListRtlInterlockedPushEntrySListfixed the problem of GetExtendedTcpTable and GetExtendedUdpTable.and added GetUdpExTable2FromStack and GetTcpExTable2FromStack in iphlpapiAdded RpcServerUnregisterIfEx in rpcrt4Added in advapi32 the following functionsSaferiChangeRegistryScopeSaferComputeTokenFromLevelSaferGetLevelInformationSaferCloseLevelSaferCreateLevelSaferIdentifyLevelSaferSetPolicyInformationSaferGetPolicyInformationSaferRecordEventLogEntrySaferSetLevelInformationFlushTraceAUpdateTraceWUpdateTraceAStopTraceWStopTraceAQueryTraceWQueryTraceAIsTokenUntrustedEnumerateTraceGuidsGetInheritanceSourceATreeResetNamedSecurityInfoWFreeInheritedFromArrayGetInheritanceSourceWCredWriteDomainCredentialsWCredpDecodeCredentialCredpEncodeCredentialCredIsMarshaledCredentialWCredpConvertCredentialCredpConvertTargetInfoAdded SHGetImageList and SHCreateShellItem in shell32Added the following functions in kernel32GetVolumePathNamesForVolumeNameWGetVolumePathNamesForVolumeNameAIsProcessInJobGetCurrentActCtxGetThreadIdGetDllDirectoryWv2.0aadded CoRevokeInitializeSpy and CoRegisterInitializeSpy in ole32.dll* Sorry , v16 is still Japanese only.English and Traditional Chinese and japanese version v15y and v2.0a are released.But I can't debug English version. Will anybody check if they work ? (Don't install different language patch !)Although I think there is no problem in v2 kernel, not sure about v5 kernelBecause of the risk, I hope that you install it on VMWare.* The following is Action when BSoD appears,- Enter Edit mode the Virtual Machine.- Select target Hard disk.- Select Map in Utility.- Uncheck Readonly- Copy kernel32.dll from Z:\Windows\$NtUninstallKB935839-v5$\ to to Z:\Windows\system32\ (Perhaps not Windows but Winnt).- Close Z Drive- Unmap DriveFollowing functions. are extended on v5 kernel.- DecodePointer- EncodePointer- GetNativeSystemInfo- GetProcessHandleCount- SetDllDirectoryW- IsWow64ProcessFollowing functions. are also extended on v6/7 kernel.- IsWow64Message- CheckRemoteDebuggerPresent- SetDllDirectoryA- GetModuleHandleExW- InterlockedPopEntrySList- InterlockedPushEntrySList- InitializeSListHead- InterlockedFlushSList- QueryDepthSListFollowing functions. are also extended on v8 kernel.(You must use customized msvcr80.dll and msvcr90.dll in v8 package)- FindActCtxSectionStringA- FindActCtxSectionStringWIf v5 kernel has no problem, some programs which compiled on VS2010 work on Windows 2000.And Kernel Core Project.added the following functionsvideoprt.sysVideoPortUnlockBufferVideoPortLockBufferVideoPortFlushRegistryntoskrnl/ntkrnlpa_alldvrm_alloca_probe_aulldvrm_vsnwprintfDbgPrintExExfInterlockedCompareExchange64IoCsqInitializeIoCsqInsertIrpIoCsqRemoveIrpIoCsqRemoveNextIrpIoSetCompletionRoutineExKeAcquireInStackQueuedSpinLockAtDpcLevelKeDeregisterBugCheckReasonCallbackKeFlushQueuedDpcsKeRegisterBugCheckReasonCallbackKeReleaseInStackQueuedSpinLockFromDpcLevelRtlGetVersionRtlRandomExInterlockedPopEntrySListInterlockedPushEntrySListExGetCurrentProcessorCountsExGetCurrentProcessorCpuUsageKeGetRecommendedSharedDataAlignmentPsGetThreadIdPsGetThreadProcessIdPsGetCurrentThreadPsGetCurrentThreadStackLimitPsGetCurrentThreadStackBasePsGetCurrentProcessObSetSecurityObjectByPointerSeTokenObjectTypeKeAreApcsDisabledhal.dllKeAcquireInStackQueuedSpinLockKeReleaseInStackQueuedSpinLockKernel Core project English / German / Italian / Japanese / Traditional Chinese /English are available. Pinned for importance - Tommy Edited February 12, 2016 by Tommy Pinned important thread 7
123123123 Posted January 7, 2011 Posted January 7, 2011 Great news!Thank youI hope you can build the Chinese version or support all the language like kernelEx9x.
blackwingcat Posted January 9, 2011 Author Posted January 9, 2011 Hi, 123123123.Which Version Chinese is?Great news!Thank youI hope you can build the Chinese version or support all the language like kernelEx9x.
HardDriv'n Posted January 18, 2011 Posted January 18, 2011 So..., one needs to install both the v2, and v5?Are there instructions for English speakers in the works?
blackwingcat Posted January 19, 2011 Author Posted January 19, 2011 (edited) Hi HardDriv'n.v5 include v2's changing.I think v2 works no problem(stable version).I want someone to test v5 English version.So..., one needs to install both the v2, and v5?Are there instructions for English speakers in the works?Hi, 123123123I released v2 chinese version kernel. Edited January 19, 2011 by blackwingcat
HardDriv'n Posted January 19, 2011 Posted January 19, 2011 The first program I've tested, or tried to install, is Chrome. This was the output:The procedure entry point RtlCaptureStackBackTrace could not be located in the dynamic link library KERNEL32.dllI tried out the portable (already unpacked) version of the Chromium derivative 'SRWare Iron', and I got the same output.I'll post back some other results later in the thread, unless of course you'd rather me PM you.- HD
Tommy Posted January 21, 2011 Posted January 21, 2011 I just installed it on my Windows 2000 and because of it, I was able to install the DirectX 9.0c Jun 2010 package without any problems at all. I believe it relied on DecodePointer, which v2 doesn't fix but v5 does. I have a theory that if it was worked on a little more, that Windows Media Center for Windows 7 would run on Windows 2000, maybe. The error message was similar to EncodePointer that it was looking for in the kernel file but it wasn't that exactly. I can't remember offhand what it was. But I'm thinking this could lead to some great things soon. Great job, blackwingcat!
blackwingcat Posted January 25, 2011 Author Posted January 25, 2011 (edited) Hi, HardDriv'n.You had better use chrome installere for Windows 2000.I released it on My blog.To install SRWare Iron on Windows 2000 is more easy than chrome.Sincerely.The first program I've tested, or tried to install, is Chrome. This was the output:The procedure entry point RtlCaptureStackBackTrace could not be located in the dynamic link library KERNEL32.dllI tried out the portable (already unpacked) version of the Chromium derivative 'SRWare Iron', and I got the same output.I'll post back some other results later in the thread, unless of course you'd rather me PM you.- HD Edited January 25, 2011 by blackwingcat
blackwingcat Posted January 25, 2011 Author Posted January 25, 2011 Hi, SearanoX.Is What is your saying about XBMC Media Center ?XBMC 8.1 works on Windows 2000.If it is another software, please tell me download link.Sincerely.I just installed it on my Windows 2000 and because of it, I was able to install the DirectX 9.0c Jun 2010 package without any problems at all. I believe it relied on DecodePointer, which v2 doesn't fix but v5 does. I have a theory that if it was worked on a little more, that Windows Media Center for Windows 7 would run on Windows 2000, maybe. The error message was similar to EncodePointer that it was looking for in the kernel file but it wasn't that exactly. I can't remember offhand what it was. But I'm thinking this could lead to some great things soon. Great job, blackwingcat!
Tommy Posted January 29, 2011 Posted January 29, 2011 Hi blackwingcat!I haven't tried your software yet, I will do so soon. What I was referring to though was the Windows Media Center software that comes with Windows 7. If you copy the ehome folder which is located in C:\Windows\ehome and put it to a flash drive and copy it over to a Windows 2000 computer, it says its missing Encoding----Pointer. There was something in the middle of the two words but I can't remember offhand what they were. But I have a feeling if the kernel32 file was upgraded again, it's possible that WMC would run on Windows 2000. I don't know, I'm just guessing. But being able to install a DirectX package that originally won't run with the original kernel file with your upgraded one, I have a feeling this could have great possibilities to get things to run on Windows 2000 that was designed for Windows XP SP3 and higher.
blackwingcat Posted January 31, 2011 Author Posted January 31, 2011 Hi, SearanoX.If it is Windows 7 without WMC, because the application use many registry setting and registered services.And there aren't only any kernel32's function miss link, but also msvcrt, advapi32, WINSTA, WTSAPI32, and shell32.Hi blackwingcat!What I was referring to though was the Windows Media Center software that comes with Windows 7. If you copy the ehome folder which is located in C:\Windows\ehome and put it to a flash drive and copy it over to a Windows 2000 computer, it says its missing Encoding----Pointer. There was something in the middle of the two words but I can't remember offhand what they were. But I have a feeling if the kernel32 file was upgraded again, it's possible that WMC would run on Windows 2000.I made DirectX full package 2010 June version for Windows 2000.You can get it from my blogIt also supports XInput , XACT and XAudio2. I don't know, I'm just guessing. But being able to install a DirectX package that originally won't run with the original kernel file with your upgraded one, I have a feeling this could have great possibilities to get things to run on Windows 2000 that was designed for Windows XP SP3 and higher.
WildBill Posted January 31, 2011 Posted January 31, 2011 BWC, do you have a list handy of what api's wmp10 needs that aren't in 2k? Curious anout what it's missing
blackwingcat Posted February 1, 2011 Author Posted February 1, 2011 Hi WildBill.I don't have the lists.It requires msvcrt, kernel32, user32, advapi32 and rpcrt4 APIs.If you want to know detail, please download WMP10 for Windows 2000 on my blog. (English, deutsch, polish, Japanese, T-Chinese are available)Sincerely.BWC, do you have a list handy of what api's wmp10 needs that aren't in 2k? Curious anout what it's missing
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now