Jump to content
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble

MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, register and become a site sponsor/subscriber and ads will be disabled automatically. 


jumper

KernelEx 4.5 Core Updates (4.5.2016.17)

Recommended Posts

Apparently no good deed remains unpunished. Why do I even bother…

Edited by Drugwash
  • Upvote 1

Share this post


Link to post
Share on other sites

KernelEx 4.5.2015 is not an open beta. Registration at MSFN.org is required! This encourages feedback, allows me to track the downloads, and supports MSFN.org.

Please do not host copies of my update test files on other sites. Of course, anyone who rebuilds some or all of the project themself may host their builds wherever they choose. KernelEx is an open-source project. :-)

And that brings us to the development timeline. I finally have some time, so I'd like to finalize this branch by the end of November, and release it as KernelEx 4.5.2016 in December as a complete package for end users. Discussion of what else that is ready and should go into it is highly encouraged: Iphlpapi5? NetapiEx? More stubs or Kexstubs itself? Any Kexaux updates? Property sheet changes? DebugWindow/ApiLogger tweaks?

In the meantime, I'm already working on Kex 4.17 with: dynamic, never-fail DLL and API stub creation; cascading SxS KnownDLLs for MSVCRT and IE by target OS; expanded get_api_table2 interface with OS and level-of-support info.

Edited by jumper

Share this post


Link to post
Share on other sites

Hi Jumper, would love to test iphlpapi5 !!
Besides that, the ntdll.dll section in my kstub is now very long because of the ReactOS files.
So can you maybe add stubs for :
NtCompleteConnectPort=z2
NtConnectPort=
NtCreateEvent=
NtCreateIoCompletion=
NtCreateKey=z2
NtCreateNamedPipeFile=
NtCreatePort=z2
NtCreateSection=

Are you with 4.17 then reaching XP SP3 level ?

Edited by MiKl

Share this post


Link to post
Share on other sites
Quote

Please do not host copies of my update test files on other sites. Of course, anyone who rebuilds some or all of the project themself may host their builds wherever they choose. KernelEx is an open-source project.
 

Jumper, do I understand correct, that you mean the dll files newly hosted by drugwash and not the compiled installers and code he hosted nearly two years ago? Drugwash removed the whole KernelEX folder.
 

Share this post


Link to post
Share on other sites

@MiKl
Even after transferring hundreds of definitions to kexbases, I still have over 450 entries in my stubs.ini, including 188 for Ntdll!

I'll add these Ntdll stubs to Kexbases:
NtAcceptConnectPort=r0xC0000002s6
NtCompleteConnectPort=r0xC0000002s1
NtConnectPort=r0xC0000002s8
NtCreatePort=r0xC0000002s5
NtListenPort=r0xC0000002s2
NtCreateEvent=r0xC0000002s5
NtCreateIoCompletion=r0xC0000002s4
NtCreateKey=r0xC0000002s7
NtCreateNamedPipeFile=r0xC0000002s14
NtCreateSection=r0xC0000002s7


Because you are using ROS, try forwarding like:
NtConnectPort=>ROS\Ntdll:

> Are you with 4.17 then reaching XP SP3 level ?
Better, but not fully. 4.17 will have a more flexible architecture that will allow better support for XP, Vista, Win7, and Win8.

Edited by jumper

Share this post


Link to post
Share on other sites

I just found out that playing MP3 files in Windows Media Player 9 crashes it with:

ModName: kexcom.dll

ModVer: 0.0.0.0

Offset: 00001f5d

This bug apparently existed in the original kernelex, but it did get patched:

http://remood.org:8080/kernelex/info/f6500c4cda47164170664bc88a6d438b97fa57c5

Something to do with the unofficial update?
EDIT:

I did a complete reinstall of kernelex, added the Kstub822, and added the Release.13 and now it's working fine. Interesting...

Edited by Kippykip
  • Upvote 1

Share this post


Link to post
Share on other sites
On Montag, 14. November 2016 at 10:45 AM, jumper said:

Because you are using ROS, try forwarding like:
NtConnectPort=>ROS\Ntdll:

Thanks Jumper, it was fun going through all these functions !! One forward seem to have fixed one little issue I had with SeaMonkey's email-suite.
And the machine seem to be a little bit faster now. Especially OpenOffice loads rather quick.
One stub (ntdll.RtlTimeToSecondsSince1970) forwarded to ROS broke (at least) VLC Player so I continue do use the classic 'z2'.

However, no progress on the other bigger problems - like running SeaMonkey higher than 2.6.1 !
Thank you for your continuing support.

Share this post


Link to post
Share on other sites

@Kippykip: Thanks for the kexCOM bugfix alert. I added the PersistStream support fix to CShellLink::GetClassID and also to ::IsDirty (these two functions service multiple object types). I also added more robust parameter checking to all CShellLink functions (but they probably don't need it unless invoked from a buggy app!) And I also added a kexCOM version resource and debug strings.

@MiKl: This is good news. Please post to the KEXT topic the details about the email fix and your kexstubs output logs for SeaMonkey and OpenOffice.

@Aiko: Stay tuned--we'll need help with testing/bug reporting, debugging, and sometimes research on MSDN or with Google.



KernelEx2016.16.7z 195KB

KernelEx 4.5.2016.16 update contains files:
* KernelEx.dll
* kexbasen.dll
* kexbases.dll
* kexCOM.dll
* sheet.dll
* verify.exe

and features:
* multiple new PrintDlgW, PrintDlgExA, and PrintDlgExW versions in kexbasen
* kexbasen.dll: 6 stubs moved to kexbases, 6 new forwards
* kexbases.dll: 6 stubs moved to kexbasen, 118 new stubs, 2 FIXMEs moved to kexbasen
...(a FIXME is a partial implementation that needs more work)
* kexCOM.dll: CShellLink fixes, Version resource, Debug strings
* updated versioning in sheet.dll and verify.exe

---< more details soon >---

Edited by jumper
  • Upvote 1

Share this post


Link to post
Share on other sites
On 1/6/2017 at 8:18 PM, jumper said:

hi, is this updated kernelex version a direct replacement to any of the older kernelex versions? i noticed it's only 195 KB instead of 206 KB found in the older kernelex 4.5.2 i have in my archived files, giving me a tiny bit more room to work with if i can replace it with the older one.

Edited by cov3rt

Share this post


Link to post
Share on other sites

As I understand it, you still have to have KernelEx 4.5.2 installed to be able to use the later versions, as they are updates to that.
I think 4.5.2 gives the system the basic functionality of KernelEx, and the later updates supply later dlls for it to work with.
I'm sure someone will correct me if I'm wrong!
:)
 

Share this post


Link to post
Share on other sites

@cov3rt: Please edit your post to remove the quote, it's superfluous. TIA. Thanks!

Yes, this package is still a collection of updated files to be copied over a standard 4.5.2 installation. While the 195KB package size is slightly smaller than the full 4.5.2 installer, once the six files are extracted you'll see that they are much larger than the originals they replace. This is because they contain some extra information to aid in debugging (in addition to all the new code).



Edited by jumper

Share this post


Link to post
Share on other sites
On 1/7/2017 at 4:14 PM, jumper said:

@cov3rt: Please edit your post to remove the quote, it's superfluous. TIA.

Yes, this package is still a collection of updated files to be copied over a standard 4.5.2 installation. While the 195KB package size is slightly smaller than the full 4.5.2 installer, once the six files are extracted you'll see that they are much larger than the originals they replace. This is because they contain some extra information to aid in debugging (in addition to all the new code).
 

ok, thanks for the info, i also removed the extra information in my previous post.

Share this post


Link to post
Share on other sites

4.5.2016.16: So far I have no trouble or errors. Currently I have no working printer.
 

Share this post


Link to post
Share on other sites

Here are my first results.
Most KernelEx depending apps that I use like VLC player seem to work fine with the latest release !!

Unfortunately have some problems with SeaMonkey 2.6.1.
- kexbases seem to cause a crash of SeaMonkey when playing flash videos. Unfortunately no entries in faultlog.
- kexbasen seem to cause a crash of SeaMonkey when trying to print. Below two different crashlogs because I tested different printer drivers.  (No 'stapelwerte' from the second tested driver)
 

Spoiler

Datum 01/10/2017 Uhrzeit 23:54
SEAMONKEY verursachte einen Fehler durch eine ungültige Seite
in Modul KERNEL32.DLL bei 017f:bff76840.
Register:
EAX=009801d0 CS=017f EIP=bff76840 EFLGS=00010246
EBX=009801d0 SS=0187 ESP=00980000 EBP=00980014
ECX=00980098 DS=0187 ESI=9286c15c FS=50e7
EDX=bff76855 ES=0187 EDI=009800c0 GS=0000
Bytes bei CS:EIP:
ff 75 0c ff 75 08 ff 55 18 83 c4 10 64 8f 05 00
Stapelwerte:
009800dc 00980098 009801d0 bff76855 009801d0 009800a8 bff87fe9 009800c0 009801d0 009800dc 00980098 bff76855 00980288 9286c15c 00a7da70 00000000
**********************************************************************
Datum 01/10/2017 Uhrzeit 23:58
SEAMONKEY verursachte einen Fehler durch eine ungültige Seite
in Modul KERNEL32.DLL bei 017f:bff87ede.
Register:
EAX=c003098c CS=017f EIP=bff87ede EFLGS=00010216
EBX=00a7da70 SS=0187 ESP=0097ffcc EBP=00980038
ECX=0098dbf0 DS=0187 ESI=9289d65c FS=2a0f
EDX=bff76855 ES=0187 EDI=00980218 GS=0000
Bytes bei CS:EIP:
53 56 57 8b 30 83 7d 10 01 8b 4e 38 89 4d f8 75
Stapelwerte:

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...