Welcome to AMD OS X

Why not register now to gain full access.

Development and testing of modified XNU Kernels for AMD CPUs on OS X
User avatar
by: ydeng
Shaneee wrote: Tue Feb 07, 2017 11:30 pm If you feel like building your own kernel for Sierra or wish to help out with it here is how to build it.

First of all you are going to need Xcode installed. It's in the App Store. Then download the Sierra XNU Preparation from the GitHub link below.. Open up Terminal and drag the build.sh file onto the Terminal window and press Enter. It'll ask for the password to perform the Sudo function.

Once it's done the System will have the required dependencies to build the XNU.

Now you can download the latest Sierra source. As of now it's 10.12.4. Here's the link,
Code: Select all

Put it somewhere for example the desktop and unzip it. Then in Terminal run,
Code: Select all
cd Desktop/xnu-3789.51.2

Now you can apply my patches which are also attached at the bottom of this post. Still in Terminal in the XNU folder run this command. After the < Drag the diff onto the Terminal Window and press enter.
Code: Select all
patch -p1 < 

This will apply the patches onto the source. You are now free to tinker with the source code. Once ready to build run this in Terminal,
Code: Select all

If it completes successfully the built kernel will be in BUILD/obj/RELEASE_X86_64/

GitHub Link:
Code: Select all
  • Script added to GitHub.
  • dtrace updated.
  • AvailablityVersions updated.
  • Libdispatch updated.
  • Diff updated.
Need to install headers first, to build libfirehose_kernel from source:
Code: Select all
Code: Select all


User avatar
by: Shaneee
The prep script does this.
long long title how many chars? lets see 123 ok more? yes 60

We have created lots of YouTube videos just so you can achieve [...]

Another post test yes yes yes or no, maybe ni? :-/

The best flat phpBB theme around. Period. Fine craftmanship and [...]

Do you need a super MOD? Well here it is. chew on this

All you need is right here. Content tag, SEO, listing, Pizza and spaghetti [...]

Lasagna on me this time ok? I got plenty of cash

this should be fantastic. but what about links,images, bbcodes etc etc? [...]