Team OS : Your Only Destination To Custom OS !!

Welcome to TeamOS Community, Register or Login to the Community to Download Torrents, Get Access to Shoutbox, Post Replies, Use Search Engine and many more features. Register Today!

Tutorials How to Build a Hackintosh

RedDove

⭐ VIP
Power User
✅ Verified Member
Member
Downloaded
118.2 GB
Uploaded
42.1 TB
Ratio
365.15
Seedbonus
1,876,242
Upload Count
0 (0)
Member for 9 years
This was made by Beau Carnes
I need to add that I found this on google and thought to share.
Thanks @Cyler for the help, you rock.

I'm taking my chances, please don't hurt me. :(

It is not illegal to create a Hackintosh for personal use but it does go against Apple's End User License Agreement. So don't plan on taking this into an Apple store for repair. And in many places it is illegal to sell a Hackintosh.

The Hardware​

Many computer parts work for Hackintoshes. But some do not. Check this website https://dortania.github.io/OpenCore-Install-Guide/macos-limits.html to see what hardware is compatible with a Hackintosh.

In the video above I demonstrate step-by-step how to build a computer that will work as a Hackintosh. In the video description is a list of the specific parts I used.

If you want to be safe, you can use exact parts I used in my build but it is possible to install macOS on a wide variety of hardware.

Downloading MacOS and Creating a Bootable USB Installer​

For this step, you will need a USB drive that is at least 16GB. The process is different depending on if you are setting up the bootable USB installer using macOS or Windows. The process is much simpler to do on macOS, but it still possible on Windows.

If you can, find a Mac machine to use to create the bootable USB installer. But I'll cover the steps for macOS and Windows.

Using MacOS to Create the MacOS Installer​

There are a few programs you'll need during this process so start by downloading them. Here are links for what you will need followed by the download instructions.
  • ProperTree https://github.com/corpnewt/ProperTree - Click the "Code" button, then "Download Zip"​
  • MountEFI https://github.com/corpnewt/MountEFI - Click the "Code" button, then "Download Zip"​
  • OC_GEN-X https://github.com/Pavo-IM/OC-Gen-X/releases - Download the zip file for the most recent release.​
Open up the App store on macOS. Search for "Big Sur". Click "Get", and then "Download".

image-69

Format your USB drive using Disk Utility. To get into Disk Utility, just click the magnifying glass and type "Disk Utility.

Once Disk Utility is open, make sure that the view is set to show all devices.

image-70

Click the USB drive, then click "Erase" in the top menu.

Name the drive "MyVolume". Make sure the format is Mac OS Extended (Journaled) and that the scheme is GUID Partition Map. Then click the "Erase" button.

image-71

After the USB drive is prepared, open the Terminal in MacOS. You will use a command in the terminal to make the USB drive into a bootable installer for macOS.

If you are installing macOS Big Sur, type the following command:

sudo /Applications/Install\ macOS\ Big\ Sur.app/Contents/Resources/createinstallmedia --volume /Volumes/MyVolume

If you are installing a different version of macOS, you can find the command for the version you are installing here.
Sonoma
sudo /Applications/Install\ macOS\ Sonoma.app/Contents/Resources/createinstallmedia --volume /Volumes/MyVolume
Ventura
sudo /Applications/Install\ macOS\ Ventura.app/Contents/Resources/createinstallmedia --volume /Volumes/MyVolume
Monterey
sudo /Applications/Install\ macOS\ Monterey.app/Contents/Resources/createinstallmedia --volume /Volumes/MyVolume
Big Sur
sudo /Applications/Install\ macOS\ Big\ Sur.app/Contents/Resources/createinstallmedia --volume /Volumes/MyVolume
Catalina
sudo /Applications/Install\ macOS\ Catalina.app/Contents/Resources/createinstallmedia --volume /Volumes/MyVolume
Mojave
sudo /Applications/Install\ macOS\ Mojave.app/Contents/Resources/createinstallmedia --volume /Volumes/MyVolume
High Sierra
sudo /Applications/Install\ macOS\ High\ Sierra.app/Contents/Resources/createinstallmedia --volume /Volumes/MyVolume
El Capitan
sudo /Applications/Install\ OS\ X\ El\ Capitan.app/Contents/Resources/createinstallmedia --volume /Volumes/MyVolume --applicationpath /Applications/Install\ OS\ X\ El\ Capitan.app

You'll have to wait a bit for this to install. After this is done, open the OC_Gen-X program you downloaded earlier.

To open the program, you will have to right-click the icon, select "open", then select "open" again.

This is a software wizard that helps us easily prepare what we need to install MacOS on our particular hardware setup. It will go out and get everything we need except the SSDTs and put them in a folder for you.

You can also do this is a more manual method by following the . But this program simplifies things for us quite a bit and it is not available for Windows.

image-72

On this first screen under "System Type" choose the type of processor you have. Look in your processor's documentation to determine the name of the microarchitecture it uses. Getting this right is very important.

The type of processor I used is "Coffee Lake".

For most of the tabs in this program you can keep the default settings.

Under "Graphics" select "WhateverGreen" and under "Audio" select "AppleALC". Under "Ethernet" select "IntelMausi". These are very commonly used options but there is a small chance your settings will be different depending on your hardware and specific use case.

image-73

The SMBIOS is important and you will have to specify the correct System Model on that tab. For my setup I used "iMac19,1" but it could be different for you if you are using a different processor of a different operating system version.

To figure out what System Model to use, go to the .

Select the section on the left side for your processor type (in my case it is "Coffee Lake"). Then find the heading "PlatformInfo". Scroll down a bit and you will see a table with the SMBIOS to use.

image-74

After selecting the appropriate System Model, click the "Generate EFI" button at the bottom.

image-76

An EFI folder has now been created on your desktop. We will now make some modifications to the contents.

You'll need to get the SSDT files. This is different depending on your processor.

You can find the list of the exact SSDT's you . Just select your processor type and download each of the required SSDTs.

Here are the links for the SSDTs needed for my Coffee Lake system.
  • SSDT-EC-USBX-DESKTOP​
  • SSDT-AWAC​
  • SSDT-PMC​
Once all of those files are downloaded, move them into your EFI folder. They should be moved to this subfolder: EFI/ACPI/OC

Now you will will use the MountEFI program downloaded earlier to mount the hidden EFI partition on the USB drive.

Right-click on MountEFI.command and click "open", then "open" again.

Select your USB drive. It should have a name like "Install macOS Big Sur" since we made it into a bootable installer for MacOS. In the screenshot below, it is option 2.

image-77

You now have a mounted EFI partition and an EFI folder from OC Gen-X. Drag the EFI folder into the EFI partition.

Open ProperTree.command which you downloaded earlier. Like before you can open it by right-clicking and selecting "open".

Once ProperTree is running, go to "File -> Open". Select the EFI partition, then the "OC" folder, then open the "config.plist" file.

The first thing we need to do is to inject all of the files in the EFI folder into the "config.plist" file.

So go to "File", then select "OC Snapshot". Make sure you're on the EFI partition. Go to the "EFI" folder, then the "OC" folder. And click the "Choose" button.

A dialog box could pop up here about what version to use. If this happens, click "Yes".

Now go back to "File", then select "OC Clean Snapshot" and select "Choose".

The OC Gen-X program helped simplify all the required setup. At this point you should verify that everything is setup correctly according the the official install guide.

. If you are using a different type of processor, just select your type in the left menu.

You can verify the quirks are set correctly in the config.plist file. They should all be correct.

image-78

You need to do additional setup in the config.plist file to make sure the onboard graphics work. Find the "DeviceProperties" section, and then copy the following characters to add.

PciRoot(0x0)/Pci(0x2,0x0)

Note that this if your processor is not Coffee Lake, the exact thing you need to add under "DeviceProperties" could be different. Search for "Device Properties" in the OpenCore guide for your processor type to confirm what to add under "DeviceProperties" in the config.plist file.

Under "DeviceProperties", click on "Add". Then right-click and choose "New child under 'Add' (+)".

image-79
image-80

Double-click where it says "New String" and just paste the text into the field and hit enter. Then select in the next column where it says "String" and make sure that it is set to "Dictionary".

image-81

Next, we need to add more children under it and it should eventually look like this:

image-82

Below is the text from the image above that you need to add (if you system is Cofee Lake).
Name​
Type​
Value​
AAPL,ig-platform-id​
Data​
07009B3E​
framebuffer-Medicines-enable​
Data​
01000000​
framebuffer-stolenmem​
Data​
00003001​

Now in the config.plist file, find the NVRAM section.

Update the "boot-args" so the text is "-v keepsyms=1 debug=0x100 alcid=1".

image-83

Now we'll change the language to English. So next to where it says "prev-lang:kbd", change "data" to "String" and set the value to "en-US:0" and hit enter.

image-84


If you want a different language just go to to find what language code to use.

The config.plist file is now done. So go to "file", then "save". You are now completely done setting up the bootable drive. So just eject the drive, and then you can plug it in to your Hackintosh.

Skip the next Windows section and go to the heading "BIOS Setup".

Using Windows to create the macOS Installer​

The first step to creating a macOS installer on Windows is to download . Make sure to download the zip file for the most recent release.

Unzip OpenCore and then go to /Utilities/macrecovery/. Next copy the folder path for the macrecovery folder:

image-10
Source: OpenCore Docs
Open a Command Prompt and change directories into the macrecovery folder that you just copied using the command cd [PASTE_FOLDER_NAME].

It should look something like this:

Source:
Now in the Command Prompt, run one of the following commands depending on what version of macOS you want. If you don't already have Python, you will have to .

# Mojave(10.14)
python macrecovery.py -b Mac-7BA5B2DFE22DDD8C -m 00000000000KXPG00 download

# Catalina(10.15)
python macrecovery.py -b Mac-00BE6ED71E35EB86 -m 00000000000000000 download

# Big Sur(11)
python macrecovery.py -b Mac-E43C1C25D4880AD6 -m 00000000000000000 download
This will take some time, however once you're finished you should get either BaseSystem or RecoveryImage files:

image-13
Source:
Now open up Disk Management and format the USB drive as FAT32. Follow these steps from the :
  1. Right click the Start Button on your task bar and select Disk Management.​
  2. You should see all of your partitions and disks. On the bottom half, you'll see your devices. Find your USB.​
  3. You'll want to format the USB to have a FAT32 partition.​
  4. If you have multiple partitions on the USB, right click each partition and click Delete Volume for your USB.​
  5. Right click the unallocated space and create a new simple volume. Make sure it is FAT32 and at least a gigabyte or two big. Name it "EFI".​
  6. Otherwise, right click the partition on the USB and click Format and set it to FAT32.​
DiskManagement.aac12f25


Source: OpenCore Docs



Next, go to the root of this USB drive and create a folder called com.apple.recovery.boot. Then move the downloaded BaseSystem or RecoveryImage files. Please ensure you copy over both the .dmg and .chunklist files to this folder:

com-recovery.805dc41f
Source:
Now grab OpenCorePkg you downloaded earlier and open it:

base-oc-folder.9a1a058a
Source:
Here we see both IA32(32 Bit CPUs) and X64(64 Bit CPUs) folders, choose the one that's most appropriate to your hardware and open it. Next grab the EFI folder inside and place this on the root of the USB drive along side com.apple.recovery.boot. Once done it should look like this:

com-efi-done.a6fb730e
Source: OpenCore Docs
At this point you will have to continue setting up your EFI folder. Because of the complexity of this step and all the different possible options depending on your setup, you should follow along with the official documentation for the next few steps.

Here are the links to the instructions for the next steps when using Windows to create the bootable USB installer. Note that the screenshots in the documentation show a mac but the steps apply to Windows as well. For setup using a mac, you don't have to go through these steps because there is a wizard that does all of them automatically.

Adding The Base OpenCore Files - https://dortania.github.io/OpenCore-Install-Guide/installer-guide/opencore-efi.html

Gathering Files - https://dortania.github.io/OpenCore-Install-Guide/ktext.html#firmware-drivers

Getting started with ACPI - https://dortania.github.io/Getting-Started-With-ACPI/

BIOS Setup​

I'll show you how I setup my BIOS for my Hackintosh. The BIOS software is specific to my motherboard and yours may look a little different. If yours looks different, do you best to find equivalent setting in you software, if yours looks different. Note that BIOS setting are easy to experiment with and you don't have to have all the same settings as me to get everything working.

Boot the computer up and then hit the "Delete" key to get into the BIOS.

Most setting can be left as the default. Here are the settings that should be updated:

image-14

Under Advanced, "Above 4G Decoding" should be Enabled.

image-15

Under Advanced, and then under Serial Port Configuration, turn "Serial Port" to Off.

image-16

Under Advanced, and then under USB Configuration, set "XHCI Hand-off" to Enabled.

image-17

Under Boot, and then under Boot Configuration, set "Fast Boot" to Disabled

image-18

Under Boot, and then under Secure Boot, set "OS Type" to Windows UEFI mode.

image-19

The final thing you need to do is to go under Boot > Secure Boot > Key Management. Then select "Clear Secure Boot Keys".

Now go to Exit and select "Save Changes & Reset".

MacOS Setup​

After the computer restarts, hit F12 to get into the boot menu. Choose "Install MacOS Big Sur (External).
The next few screenshots are a little blurry since I was videotaping my monitor and did not focus correctly. Sorry about that.​
image-21

After it loads, the macOS Utilities screen should appear. Select "Disk Utility".

image-22

Click the dropdown menu toward the top and click "Show All Devices". Then select your hard drive and click "Erase" at the top.

image-23

You can name the drive anything you like. For Format, make sure to choose "Mac OS Extended (Journaled) and for Scheme choose "GUID Partition Map"

After the drive is erased, close Disk Utility and select "Install MacOS Big Sur". You will have to choose the hard drive you just formatted. And then you will have to wait as macOS is installed.

The computer should restart back into the boot menu. Select "MacOS Installer".

At this point you will set up the computer just like you would a brand new Mac computer. After the setup, macOS Big Sur will load.

There is one more thing left to do. You have to copy the EFI folder from the hidden EFI partition on the USB stick to the EFI partition on the hard drive you installed macOS on.

On the new Hackintosh, go to the web browser and . This is the same program you used before, if you created the installer on a mac. After clicking the link, click the "Code" button, then "Download ZIP".

Go to the downloads folder and and right click on MountEFI.command and open it.

Use the program to mount the EFI partitions from both the hard drive on your Hackintosh and the USB drive called "Install MacOS Big Sur". First select one, then the other.

After both partitions are mounted, you will need to copy the EFI folder from the USB EFI partition over to the hard drive EFI partition.

image-24

At this point you can restart the computer and take out the USB drive. The Hackintosh is complete!

Please fix whatever I've messed up
Thanks :)
 
Last edited by a moderator:

Cyler

🤴 Super Admin
⚡OS Master
Downloaded
510.5 GB
Uploaded
24.5 TB
Ratio
49.16
Seedbonus
27,587
Upload Count
1 (1)
Member for 6 years
VERY good job RedDove. I changed some of the links with icodes, and will have a better look for sure later on.
 

RedDove

⭐ VIP
Power User
✅ Verified Member
Member
Downloaded
118.2 GB
Uploaded
42.1 TB
Ratio
365.15
Seedbonus
1,876,242
Upload Count
0 (0)
Member for 9 years
VERY good job RedDove. I changed some of the links with icodes, and will have a better look for sure later on.
:h:Thanks so much @Cyler, coming from you, that's praise indeed.
Thanks so much for fixing it, you're awesome. :rock:
 

Elzer

Power User
✅ Verified Member
Member
Downloaded
144.5 GB
Uploaded
3.3 TB
Ratio
23.48
Seedbonus
73,326
Upload Count
33 (32)
Member for 7 years
WoW, that's a monster tutorial, TnX
 

tdbnz

✅ Verified Member
Member
Downloaded
6.6 GB
Uploaded
63.7 GB
Ratio
9.64
Seedbonus
9,962
Upload Count
0 (0)
Member for 6 years
Super Tutoral thank you buddy ❤️ ❤️
 

BuddyHiggins

Member
Downloaded
43.9 GB
Uploaded
8.2 TB
Ratio
191.71
Seedbonus
376,091
Upload Count
0 (0)
Member for 3 years
I have been researching exactly this for the last couple of weeks! I want to try out a Ryzen Hackintosh just to see what all the hype is about.
May happen even sooner with so much knowledge in one place.Thank you for the share!! :clap:
 

vdogeek

🤴 Super Admin
Uploader
Downloaded
93.5 GB
Uploaded
56.5 TB
Ratio
619.16
Seedbonus
8,772,886
Upload Count
1199 (1205)
Member for 9 years
I centered everything... Looks good to me that way (OCD) ;) ... great job @RedDove :clap:
 

RedDove

⭐ VIP
Power User
✅ Verified Member
Member
Downloaded
118.2 GB
Uploaded
42.1 TB
Ratio
365.15
Seedbonus
1,876,242
Upload Count
0 (0)
Member for 9 years
:) Thank you very much @vdogeek
That's truly appreciated. :h:
 

1ntr0v3rt3ch

✅ Verified Member
Member
Downloaded
499 GB
Uploaded
148.8 TB
Ratio
305.41
Seedbonus
3,000,026
Upload Count
0 (0)
Member for 4 years
Thanks for this tutorial. I'm planning to install Ventura on my Thinkpad T480 (dual boot setup - Ventura Mac OS and Windows 10).
Most hackintosh users always recommend to follow the dortania guide to create an EFI for you system and some hackintosh users provide also EFI that is ready to use (same specifications) and you can tweak it a little bit if you want, but they always and always suggest to create your own EFI, they don't support pre-made EFI's from others.
 
Top