Jump to content

KernelEx for Windows XP?


Joaquim

Recommended Posts

On 09 March 2024 at 2:52 PM, Damnation said:

@Zorba the Geek

Try Relyze disassembler, or ghidra disassembler, and see if what they output is suitable. Both are free.

Ghidra requires 64 bit JAVA 17, and Relyze is overkill for this simple task and probably does not work under XP.  I have discovered the disassembler Dibya used for his KernelEx for XP project.  The output from the disassembler incorporated into PE Explorer is exactly like the code in Dibya's ExKernel.asm.  This is a superb program that enables you to search for the entry point of functions without having to rely on Microsoft symbols which only work on Microsoft products.  However, the help file states

Quote

The generated output can not be recompiled as is and has not been optimized for memory and processor usage

so I am not sure that this is the way to go.  A MSFN forum member using the name win32 has started a thread titled [WIP] Windows Vista Extended Kernel in which he proposes to develop a kernel extension using the same approach as BlackWingCat which is copy functions as hex and paste them into a hex dump of the section designated for containing these Nt6.1 functions.  Judging by this thread this approach is fraught with problems.

Quote

And yes, the results of most of the posts of mine so far have revealed my incompetence in this arena, which is being corrected as I type.

 

Edited by Zorba the Geek
Link to comment
Share on other sites

  • 3 weeks later...

Use PETOOL by Wildbill to add .exp section before reloc and resource , then move export table into .exp by using PETOOLS, then u can use BWC Pemaker to add your own export.

It's funny Zorba figured out i was using PE Explorer for disassembly http://www.pe-explorer.com/

With age i guess i have turned dumb or lazy ( so just use IDA Pro with excellent Hexray decompiler)

 

Edited by Dibya
Link to comment
Share on other sites

  • 2 weeks later...
12 hours ago, patchworks said:

Given that I am NOT a developer (much less a Kernel one), couldn't ReactOS core components be (easily?) "ported" instead of reimplementing everything from scratch?

ReactOS doesn't even have full Windows XP compatibility, let alone Vista and 7 one.

Wine, on the other hand, evolved a lot over the last few years and that's the one having up to Windows 7 compatibility ;) 

Link to comment
Share on other sites

14 minutes ago, FranceBB said:

ReactOS doesn't even have full Windows XP compatibility, let alone Vista and 7 one.

Wine, on the other hand, evolved a lot over the last few years and that's the one having up to Windows 7 compatibility ;) 

Not to mention, ReactOS isn't even in beta stage, it's still in alpha.

Edited by mina7601
Link to comment
Share on other sites

5 hours ago, mina7601 said:

Not to mention, ReactOS isn't even in beta stage, it's still in alpha.

Will have to revisit that project another time because I rely on live DVD sessions because I can't really give up on my XP installations (on both of my desktop computers)  at this point. I use live Linux in the same fashion and for the same reason(s). I hope ReactOS will improve their live iso at some point.

Edited by XPerceniol
Link to comment
Share on other sites

17 hours ago, mina7601 said:

ReactOS isn't even in beta stage, it's still in alpha.

I think Skulltrail192's One-Core API (releases), (source) is based on ReactOS. Would call it a 'usable beta,' though it does introduce its own set of issues. Worth checking out though, and irrc the uninstaller works (not a recommendation; try at your own risk).

Link to comment
Share on other sites

One Core API is written by Samuel, we know him very well and he has done an amazing job. Please note that Windows XP + One Core API is way closer to Windows 7 level of compatibility than ReactOS will ever be.

Also please note that One Core API is largely based on reversing newer Windows functions, so you won't get far here by linking it (probably a mod will remove the link soon as it's not allowed :( ).

Edited by FranceBB
Link to comment
Share on other sites

59 minutes ago, FranceBB said:

One Core API is way closer to Windows 7 level of compatibility than ReactOS will ever be.

From the README file:

"Welcome to One-Core-API! Here you can found source code of One-Core-API project. It is based on ReactOS source and use ReactOS's build environment"

Lies?

1 hour ago, FranceBB said:

probably a mod will remove the link soon as it's not allowed

GitHub [currently owned by Microsoft] links aren't allowed? Seems like MS would have trouble challenging links to content MS itself hosts.

Link to comment
Share on other sites

It's not a lie, it is based on the original ReactOS implementation and also on Wine D3D for the DirectX10 and 11 implementation, which is totally fine and would be 100% allowed.

The problem is that by limiting it to that it wouldn't have achieved much, so it also contains proprietary Microsoft dll which have been patched (hence modified) and backported to allow Windows XP to make use of them by Samuel.

He has done an amazing job in doing that and he has been working on this for several years now, however this means that once One Core API is installed, it will replace system libraries and unfortunately MSFN has a longstanding stance against linking modified Microsoft dlls which is why RyanVM was created in the first place. By the way, if you search for posts from 2019 onwards from Dibya, Peter and I you're gonna see that we all know Samuel (heck we were even in the same chat) and we're all great supporters of his work.

Link to comment
Share on other sites

On 4/11/2024 at 3:22 PM, 66cats said:

I think Skulltrail192's One-Core API (releases), (source) is based on ReactOS. Would call it a 'usable beta,' though it does introduce its own set of issues. Worth checking out though, and irrc the uninstaller works (not a recommendation; try at your own risk).

Yes, I am already aware of One-Core-API, and while it is indeed awesome as mentioned by @FranceBB, I still think it needs more development, because there does still exist some issues, as you said. I am grateful for the fact that it runs very modern programs, but unfortunately, it breaks already working programs that don't need One-Core-API to work, for example, Supermium. I discovered this recently.

Yes, the uninstaller works.

Edited by mina7601
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...