Jump to content

KernelEx for Win2000


Recommended Posts

11 hours ago, blackwingcat said:

Vista version was changed for supporting for XP

* 1) InitializeCriticalSectionEx replaced InitializeCriticalSectionAndSpinCount

* 2) Remove SetThreadStackGuarantee thread

* 3) not use RtlGetVersion

I understand these points from reversing your mod.

I can do 2 and 3 without issues. But I can't replace InitializeCriticalSectionEx with InitializeCriticalSectionAndSpinCount. If I try it in CFF Explorer which I usually use to modify imports, it fails.

New string is too long and can't fit in import table. If I try it with HEX replace all other imports are broken after then. What tool have you used to fix this import please?

 

EDIT: I have only one idea how to achieve it. Delete both import in CFF Explorer and then manually select needed functions from list and rebuild import this way. This will be hard as there are 152 imports from kernel32.dll in x64 MSVCRT

Edited by George King
Link to comment
Share on other sites


On 10/6/2022 at 5:56 PM, George King said:

I understand these points from reversing your mod.

I can do 2 and 3 without issues. But I can't replace InitializeCriticalSectionEx with InitializeCriticalSectionAndSpinCount. If I try it in CFF Explorer which I usually use to modify imports, it fails.

New string is too long and can't fit in import table. If I try it with HEX replace all other imports are broken after then. What tool have you used to fix this import please?

 

EDIT: I have only one idea how to achieve it. Delete both import in CFF Explorer and then manually select needed functions from list and rebuild import this way. This will be hard as there are 152 imports from kernel32.dll in x64 MSVCRT

I don't know PE Tool  for x64  X3

Link to comment
Share on other sites

  • 3 months later...

Here is a big question

Opera 12.18  crashes during start up with an error message and
won't work with:

 Windows2000-KB935839-v31eM-x86-ENU.wlu

Opera 12.18 works ok with:

 Windows2000-KB935839-v30fM-x86-ENU.wlu

 

WHY ??

Link to comment
Share on other sites

17 hours ago, anton12 said:

Here is a big question

Opera 12.18  crashes during start up with an error message and
won't work with:

 Windows2000-KB935839-v31eM-x86-ENU.wlu

Opera 12.18 works ok with:

 Windows2000-KB935839-v30fM-x86-ENU.wlu

 

WHY ??

i think because  "Windows2000-KB935839-v30fM-x86-ENU.wlu" newer than " Windows2000-KB935839-v30eM-x86-ENU.wlu" and more added api's by @blackwingcat :) 

Edited by WinWord2000
Link to comment
Share on other sites

4 hours ago, WinWord2000 said:

i think because  "Windows2000-KB935839-v30fM-x86-ENU.wlu" newer than " Windows2000-KB935839-v30eM-x86-ENU.wlu" and more added api's by @blackwingcat :) 

@anton12 is asking why Opera 12.18 doesn't work with "Windows2000-KB935839-v31eM-x86-ENU.wlu" (but works with "Windows2000-KB935839-v30fM-x86-ENU.wlu"), not "Windows2000-KB935839-v30eM-x86-ENU.wlu".

Link to comment
Share on other sites

On 1/12/2023 at 4:14 AM, mina7601 said:

@anton12 is asking why Opera 12.18 doesn't work with "Windows2000-KB935839-v31eM-x86-ENU.wlu" (but works with "Windows2000-KB935839-v30fM-x86-ENU.wlu"), not "Windows2000-KB935839-v30eM-x86-ENU.wlu".

hi

 

on my environment opera 12.18 works with v3.1e en.

perhaps it cause of your extended kernel install option.

and does your cpu support SSE2 ? 

Link to comment
Share on other sites

Hello blackwingcat,
thanks for your answer.

System:   P3 with i815     Disabled SSE2  yes

Sorry,as I have discovered now I should have been more specific.

Opera 12.18  on  "Windows2000-KB935839-v31eM-x86-ENU.wlu"
won't work (crash) with the following URL:


 https://www.google.de/advanced_search?
 https://www.google.de

However Opera 12.18  on  "Windows2000-KB935839-v30fM-x86-ENU.wlu"
has no problems with the above URL.

RoyTam1 browsers  St52 , K-Meleon , NM28 , Firefox
work ok with  v30fM  and  v31eM when visiting the above google URL.

 

Link to comment
Share on other sites

13 hours ago, anton12 said:

Hello blackwingcat,
thanks for your answer.

System:   P3 with i815     Disabled SSE2  yes

Sorry,as I have discovered now I should have been more specific.

Opera 12.18  on  "Windows2000-KB935839-v31eM-x86-ENU.wlu"
won't work (crash) with the following URL:


 https://www.google.de/advanced_search?
 https://www.google.de

However Opera 12.18  on  "Windows2000-KB935839-v30fM-x86-ENU.wlu"
has no problems with the above URL.

RoyTam1 browsers  St52 , K-Meleon , NM28 , Firefox
work ok with  v30fM  and  v31eM when visiting the above google URL.

 

Umm, it does not crash on my environment with these urls.

Plz show me extended kernel setup options screen shot. or Can you find crash address ?

Link to comment
Share on other sites

Hello blackwingcat,

The following setup options for  v30fM and  v31eM  are
activated  (all others off):

Disable Vista MUI
Disabled SSE2
NT5 Series
5.81 Series
StringEx funtions
ApplicationRecovery  funtions
ConditionVariable  funtions
InitOnce  funtions

The following crash messages are given:

opera.exe has generated errors and will be closed by Windows.
You will need to restart the program.
An error log is being created.

------------------------------------------------------------------------
DrWatson fatal error
DR. Watson was unable to attach to the process.
It is possible that process exited before Dr. Watson
could attach to it.

Windows 2000 returned error code=5    Access denied
------------------------------------------------------------------------------------

Opera
Another user is running this copy of Opera.
You should install Opera with individual profiles to allow multiple users
to run the same copy independently.
---------------------------------------------------------------------------------------------------------------

I should add that W2K with "Windows2000-KB935839-v31eM-x86-ENU.wlu"
is installed with FAT32  -  not NTFS.
(Same for "Windows2000-KB935839-v30fM-x86-ENU.wlu")

As I mentioned before these problems don*t occur with
the same Opera 12.18 installation  with v30fM

Edited by anton12
Link to comment
Share on other sites

On 1/14/2023 at 3:54 PM, anton12 said:

Hello blackwingcat,

The following setup options for  v30fM and  v31eM  are
activated  (all others off):

Disable Vista MUI
Disabled SSE2
NT5 Series
5.81 Series
StringEx funtions
ApplicationRecovery  funtions
ConditionVariable  funtions
InitOnce  funtions

The following crash messages are given:

opera.exe has generated errors and will be closed by Windows.
You will need to restart the program.
An error log is being created.

------------------------------------------------------------------------
DrWatson fatal error
DR. Watson was unable to attach to the process.
It is possible that process exited before Dr. Watson
could attach to it.

Windows 2000 returned error code=5    Access denied
------------------------------------------------------------------------------------

Opera
Another user is running this copy of Opera.
You should install Opera with individual profiles to allow multiple users
to run the same copy independently.
---------------------------------------------------------------------------------------------------------------

I should add that W2K with "Windows2000-KB935839-v31eM-x86-ENU.wlu"
is installed with FAT32  -  not NTFS.
(Same for "Windows2000-KB935839-v30fM-x86-ENU.wlu")

As I mentioned before these problems don*t occur with
the same Opera 12.18 installation  with v30fM

I tried fix it on v3.1f.

Link to comment
Share on other sites

Hello blackwingcat,
Thank you very much, opera 12.18 now works with
fixed v31fM.

However, I just discovered problems with notepad and wordpad
with v31eM and v31fM  -  but v30fM works fine.
When closing notepad or wordpad after having worked
on a document the following happens:
---------------------------------------------------------------------------------
Notepad
The text in the Untitled file has changed
Do you want to save the change ?

[] [] []  (Y)      [] [] [] (N)     [] [] [] [] []
----------------------------------------------------------------------------------
Wordpad
Save changes to Document ?

[] [] []  (Y)      [] [] [] (N)     [] [] [] [] []
-----------------------------------------------------------------------------------

Instead of squares ([]) and (Y) and (N) it should read:

[] [] []  (Y)      [] [] [] (N)     [] [] [] [] []
Yes                No               Cancel

Link to comment
Share on other sites

20 minutes ago, anton12 said:

Hello blackwingcat,
Thank you very much, opera 12.18 now works with
fixed v31fM.

However, I just discovered problems with notepad and wordpad
with v31eM and v31fM  -  but v30fM works fine.
When closing notepad or wordpad after having worked
on a document the following happens:
---------------------------------------------------------------------------------
Notepad
The text in the Untitled file has changed
Do you want to save the change ?

[] [] []  (Y)      [] [] [] (N)     [] [] [] [] []
----------------------------------------------------------------------------------
Wordpad
Save changes to Document ?

[] [] []  (Y)      [] [] [] (N)     [] [] [] [] []
-----------------------------------------------------------------------------------

Instead of squares ([]) and (Y) and (N) it should read:

[] [] []  (Y)      [] [] [] (N)     [] [] [] [] []
Yes                No               Cancel

In this case, squares mean it's likely that a .dll file localized for Japanese version was used in the version of KernelEx that was installed. It's possible to localize it manually by using Resource Hacker, but I don't remember which .dll has this particular dialog box template stored in it.

Edited by tyukok
Link to comment
Share on other sites

On 1/20/2023 at 8:53 PM, anton12 said:

Hello blackwingcat,
Thank you very much, opera 12.18 now works with
fixed v31fM.

However, I just discovered problems with notepad and wordpad
with v31eM and v31fM  -  but v30fM works fine.
When closing notepad or wordpad after having worked
on a document the following happens:
---------------------------------------------------------------------------------
Notepad
The text in the Untitled file has changed
Do you want to save the change ?

[] [] []  (Y)      [] [] [] (N)     [] [] [] [] []
----------------------------------------------------------------------------------
Wordpad
Save changes to Document ?

[] [] []  (Y)      [] [] [] (N)     [] [] [] [] []
-----------------------------------------------------------------------------------

Instead of squares ([]) and (Y) and (N) it should read:

[] [] []  (Y)      [] [] [] (N)     [] [] [] [] []
Yes                No               Cancel

Sorry, I missed win32k.sys.

I fixed it on v3.1f2. :3

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...