My Hardware Build
16GB 1333 Mhz DDR3 RAM
120GB Intel SSD
AMD Radeon 6xxx 1024MB GPU
AMD FX 8350 Quad Core 4.1Ghz
- Any macbook/mac/imac (To extract image)
- The macbook/mac/imac that you have must have macOS Sierra downloaded from App Store
- Minimum 16GB Pendrive
- Set SATA mode inside your AMD Machine to AHCI in BIOS/UEFI
- A bit knowledge of UNIX-Like command line
- Enoch Bootloader
- AMD Kernel for Sierra (Shanee)
- Extra Folder
- Kext Wizard
- Chameleon Wizard
- Shanee Sierra USB Fix
- RehabMan Generic USB3 (Kext for USB3)
- Realtex RTL8111 Kext (For ethernet connection)
- VoodooHDA (HDA Kext for sound)
- A brain
Kernel – A binary file to make interaction between hardware and software. Without a kernel, your software wouldn’t know how to interact with your hardware. Even your phone have a kernel.
Kext – A shortname for Kernel Extension. It extends kernel features inside Mac.
Bootloader – Before your OS start, your bootloader will start first. Then the bootloader will tell your computer how to load your OS.
Bootflag – A series of instruction on how to boot your OS.
What are we trying to do?
Hackintosh is actually easy, like really easy if you understand what you need to do. Most of the tutorials out there failed to mention what are we suppose to do then just start with tutorial. And it leaves peoples in a very confused state. And that is what happened to me.
What we are trying to do is simple, which is running the macOS installer inside pendrive with loaded kernel and kext. So that your computer can run the installer. Without the needed kext, your computer won’t boot into macOS installer. In each part I will try to explain why we should do this and that. Sounds simple right?
Don’t worry about making a mistake. It is a learning process. If you don’t fail, you won’t understand what are you doing. And don’t worry about making your computer explode, it won’t.
Part 1 (Show Hidden Files)
The first part is to enable the show hidden files inside your Mac. Open your terminal and paste this
defaults write com.apple.finder AppleShowAllFiles YES
Then press Enter/Return Key.After that, write
to kill your Finder app. Then click the finder icon inside your dock to open it back.
Part 2 (Copying installation files)
Please make sure you already downloaded Sierra installation from App Store. Go to Application folder from your Finder and find the Install MacOS Sierra.app. Right click on the icon, and Show Package Contents. Then go to Contents > SharedSupport and you will find InstallESD.dmg. Double click InstallESD.dmg and you will find this files.
Now copy all those files to your desktop.
Part 3 (Create macOS image)
Insert your pendrive and format it using Disk Utility. After you have done formatting, we will restore the macOS image to the pendrive. Ok, what are we doing here? This is where you load the macOS inside the pendrive to make it bootable from the pc.
The image that you need to restore is from BaseSystem.dmg that you have copied earlier to the desktop. Just drop or select the image of BaseSystem.dmg from the restore menu inside the Disk Utility.
Click restore button and wait for it to complete. After it has completed, do not forget to rename your pendrive. This is super important. I renamed it to AMD_Installer.
Part 4 (Copying installation files to the pendrive)
Once the restore process completed, you have to drag all the files from InstallESD.dmg (except the Packages folder) that you have copied earlier to the Desktop into the pendrive. Just drag and drop into the root of pendrive and leave it there.
Inside your pendrive, go to System > Installation folder and you will find a shortcut to Packages folder. Now delete the shortcut. Remember the packages folder that we have before inside our Desktop? Drag and drop into here.
In Part 3, we are making the macOS image inside the pendrive. Now, that pendrive need to know what to install inside your computer. In Part 4, the files that you drag inside the pendrive is what the macOS installer will install inside your computer.
This is how it will look like inside your pendrive when you have finished copying all those files.
Part 5 (Changing the kernel and add Extra)
In the pendrive, go to System > Library. Create a new folder name kernels inside there. Go inside the folder and then copy the kernel file from Shanee. It is just one file name kernel.
Now to go root of your pendrive and copy the Extra folder that you have downloaded from the link in Prerequisites inside here.
Part 6 (Add kext)
Open Kext Wizard app and go to Installation tab. Now drop every kext that you can find from Shanee Sierra USB Fix and RehabMan Generic USB3 folder inside there.
Change the destination to System/Library/Extension and target disk to AMD_Installer (your pendrive).
And then click install. This is what it should look like.
Now go to maintenance tab and tick every checkbox and click execute.
We are doing this so that your computer can use usb. Without this kext, your installer won’t boot since there is no support for USB inside macOS installation folder.
Part 7 (Install Enoch Bootloader)
Your pendrive can’t boot yet since there is no bootloader installed inside the pendrive. Now open the Enoch bootloader installer to install the bootloader. Remember to change the installation disk to AMD_Installer (your pendrive)
Part 8 (kextfix and INSTALLER folder)
Inside the root of your pendrive, create two folder name kextfix and INSTALLER. Inside the kextfix folder, add the Shanee USB Fix Kext, RehabMan’s Kext and Realtex RTL8111 Kext.
Inside the INSTALLER folder, add the Chameleon Wizard, Enoch and Kext Wizard app.
Both folder will be used after the installation process completed.
Part 9 (Faking the hardware)
Open Chameleon Wizard inside your mac and go to SMBios Tab. You will be greet with SMBios.plist not found. Now click open, select your pendrive > Extra > SMBios.plist.
Once you have selected it, click edit and change your SMBios to Mac Pro (5, 1) and then click save.
After you have done this, you now can plug in your pendrive inside your computer to start the installation.
Why do we need to fake the hardware? When you want to begin the installation, Sierra will check your hardware build and if there is no match, you won’t be able to start the installation. Thus faking the hardware is the only way to force Sierra to start the installation process.
Part 10 (Installation Bootflag)
When your computer has booted. You will be greet with Chameleon Bootloader (Enoch) that we have installed inside your pendrive. Now select the AMD_Installer (your pendrive) with keyboard arrow and type this
-v -x maxmem=4096 npci=0x3000 PCIRootUID=1 cpus=1
That is the bootflag that we have to add to run the pendrive macOS installation.
-v = Verbose mode. Make everything look hakerish with many text scrolling on your screen.
-x = Boot into safe mode.
maxmem = Set the memory to run this installer to 4096MB
npci = I don’t know. Just follow
PCIRootUID = I don’t know either. Without this flag, my installation will fail
cpus = Set to use only one cpu
Now press enter and wait for a few moments and you will be able to see the macOS installer.
Part 11 (Format your hard disk and install)
At this moment, your keyboard and your mouse should have worked although there are only a few button can be used from the keyboard. Now select the language that you want to use and click next button.
To format your hard disk, press Ctrl + F2 button and you will see the menu bar appear at the top. If you can use mouse clicking then you are lucky, and if you are not you need to play with keyboard. This is the button than can be use from the keyboard:
Ctrl, Space, Tab, Enter, F1 – F9. Arrow Key
Now navigate to utilities and select DIsk Utility. When the Disk Utility appear, select your hard drive that you want to install the macOS. Click Ctrl + F2 and find the Erase menu to format your disk. Remember, you might not seeing any button selected, you need to play with tab and space key. I will name my hard disk as Mac_HDD.
After you have formatted your hard disk, quit the Disk Utility by Ctrl + F2 > DIsk Utility > Quit. Now you will get back to Sierra installer. Just go on and install the macOS inside your hard disk. If you can’t use mouse click, remember the button that I have told earlier.
When the installation finished, click the restart button and do not remove you pendrive.
Part 12 (Post Installation)
After you have reboot, the Chameleon will give you two bootable disk. Just calm yourself. We are not done yet. Select your pendrive again (AMD_Installer). Now use this as a bootflag
If it can’t boot, you may use the bootflag from Part 10. You will be greet with Language selection again and select your language. Press Ctrl + F2 and go to utilities > terminal.
Remember, we are using AMD_Installer (pendrive) and Mac_HDD (hard disk).
Inside the terminal, type
# This will display your disk. You can scroll to top to view your disk list. Right now we only concern on the AMD_Installer and the Mac_HDD diskutil list # Copy the Extra folder from pendrive to your hdd. cd /Volumes/AMD_Installer cp -R Extra /Volumes/Mac_HDD/ # Copy the kernel to hdd cd /Volumes/AMD_Installer/System/Library/kernels cp kernel /Volumes/Mac_HDD/System/Library/Kernels/ cp kernel /Volumes/Mac_HDD/Extra/ # Add kext support for usb and ethernet cd /Volumes/AMD_Installer/kextfix cp -R *.kext /Volumes/Mac_HDD/System/Library/Extensions/ # Remove prelinked kernel and rebuild kextcache rm -f /Volumes/Mac_HDD/System/Library/PrelinkedKernels/prelinkedkernel rm -rf /Volumes/Mac_HDD/System/Library/Caches/com.apple.kext.caches kextcache -u /Volumes/Mac_HDD
Once you have done all of that, reboot your computer.
Part 13 (The macOS installation)
When the computer has reboot, you will be at the bootloader. Now select the Mac_HDD with the arrow and use this flag
-v -x UseKernelCache=No
When it finally boot, you can begin to create your account, select keyboard type, etc. Remember, you still need to use the keyboard key that I have mentioned before and now will be more challenging than before.
Part 14 (Fix everything)
When you have done, your macOS Sierra finally booted from your PC. But you will notice the choppy graphic because we are running it using -x flag. Wait, there is more. Remember the INSTALLER folder that we have created inside the pendrive? Now open those folder, drag and drop Kext Wizard and Chameleon Wizard into the Application folder.
From the Launchpad, select Kext Wizard. Go to Maintenance Tab, tick all checkbox and click Execute.
Reboot your computer and do not remove your pendrive.
Part 15 (Install Bootloader inside your Mac_HDD)
Once you have reboot, select Mac_HDD with no bootflag. Your computer should boot nicely with great graphic. Now go to your pendrive > INSTALLER and install Enoch.
This time, you should install the Enoch/Chameleon to the Mac_HDD instead of your pendrive. After the installation completed, eject your pendrive and try to reboot your computer. You should be able to select Mac_HDD from the bootloader.
Part 16 (Fix sound not working)
Install VoodooHDA from the link inside the Prerequisites.
Part 17 (Enable App Store Fix)
Open Chameleon Wizard from Launchpad and go to org.chameleon.Boot tab. Tick Ethernet Build In. Click save and then reboot. After reboot, you should be able to sign in inside the App Store
This is my first time installing Hackintosh. It takes me two days to research since the is no details tutorial on why we should do this and that. The forum also give information bit by bit and I have to connect each of the information by myself and I finally understand why we should do this or that. On my 1st day, I have successfully installed El Capitan but there is a graphic glitches inside every kernel that I have found. On the 2nd day, I have successfully installed Sierra with the information that I have collected from previous day.
I actually don’t really like Windows and my rig use Elementary Luna before this. But the Luna seems to have a few bug with SSD and also I don’t know where else should I fix. After trying Hackintosh, my PC seems more stable than using Linux or Windows (always BSOD).