Hackintosh Asrock B75M GL R2.0, AMD R9 270 and EFI Boot

So this Hackintosh took a while to get almost everything working. Most hard parts were EFI boot from HD and sound.

Hardware
Motherboard: Asrock B75M GL R2.0
CPU: Intel i5 Sandy Bridge
Graphics: AMD R7 290
Sound: ALC622

Summarise
EFI boot -> bcfg in UEFI Shell -> FS1:EFI\EFI\BOOT\BOOTX64.EFI
Sound -> ALC662 – AppleHDA patcher and config.plist in CloverConfigurator
Graphics -> config.plist options in Clover with FakeID
Network -> Kext RealtekRTL8111v2.2.1.kext

Applications needed
Unibeast for Sierra
Multibeast for Sierra
CloverConfigurator
AppleHDA patcher
Easykext Pro
macOS Sierra from AppStore

UEFI/BIOS Settings:
1. Disable VT-d
2. Enable HPET

Create Hackintosh USB stick and install
I’ve followed this guide, so take a look there for pictures:
Guide on tonymacx86
Most important steps:
1. Format USB stick with GUID partition map and HFS journaled
2. Use Unibeast for Sierra!
3. Format internal disk as GUID and HFS journaled
4. Install Sierra

First boot
You’ll notice you cannot boot from HD (at least I did). For now use the USB stick to boot into Sierra.
At first it looks like the network is working, at least mine did.

How to get the sound working with ALC662 chipset?
Download AppleHDA patcher.
Download link on insanelymac

See below for some pictures

1. Open AppleHDA patcher and click on Desktop on the left.
2. Select Realtek ALC662
3. Click on patch AppleHDA
4. Check the files on the desktop. There is a folder called MironeAudio. There are 2 files needed from there:
aDummyHDA.kext and config.plist from the same folder.
5. Use any kexttool to add aDummyHDA.kext to /System/Library/Extensions. I use Easykext Pro because its easy.
Easykext Pro on insanelymac.com
config.plist has some configurations we need to add to the Clover config.plist file so save the contents of this file for in the next step.

 

 

 

 

 

 

 

 

 

 

 

Use Multibeast and Cloverconfigurator to install and configure Clover

Multibeast is used to install Clover and to do some first configurations.
1. Install Multibeast
a. Quikstart -> UEFI Boot mode
b. Drivers -> Network -> RealtekRTL8111 v2.2.1
c. Build -> Install

 

 

 

 

 

Use CloverConfigurator for graphics card, sound and general stuff
The following options will inject a fake ID to make the AMD R7 290 work without changing any kext files.
1. Click on Mount EFI at Tools and mount the EFI partition of the Sierra hard disk
2. Click on the Home icon (in the corner on the left)
3. And click on EFI > EFI > Clover > config.plist. This will open the config.plist file
4.Use the following options:
a. Boot (its possible Multibeast already changed these options)
a1. kext-dev-mode=1 / nv_disable=1 / dart=0
a2. Default Boot Volume = change this to the name of your harddisk
a3. Legacy = PBR
a4. XMPDetection=No
b. Devices (This part is for AMD card and sound)
b.1 Fake ID = ATI textfield = 0X68101002
b.2 Audio Inject = 5
c. Graphics (This part is for AMD card)
c.1 FB Name = Futomaki
c.2 Inject ATI

Some pictures to show how easy it is to get AMD R9 270 working:

 

 

 

 

 

 

 

 

 

Thats it!

d. To make the sound working paste the part of the config.plist file from your desktop (generated by AppleHDA patcher) into your Clover config.plist file.
d.1 Click on Text Mode
d.2 Look for a key called: KextsToPatch and place the contents in there. Watch out for any misconfigurations!
That part will then look like this: (as you can see I’ve placed on the top)
Wordpress doesn’t like xml, so here is a picture:

 

 

 

Save the file with File (on top) and click on save

Alright, so now we will have a working AMD R7 290 and sound after the reboot. But the damn machine won’t boot without the USB stick. To make things easier, create an empty directory on the mounted EFI hard disk and give it a simple recognisable name.

Fixing the boot from EFI
In this part we add the boot option to EFI
1. Reboot and when you are in the Clover boot selection, select EUFI Shell 64
2. Just wait so it starts the startup scripts
3. To see the available volumes do:

map fs*

This will list some volumes. But we need the EFI volume of the hard disk. To find the EFI volume do
fs0:

than go to the EFI directory
cd EFI

list all contents
ls

If you see the folder you created earlier than you have the right volume, otherwise try the other ones.
Repeat the above until you found the EFI volume of the hard disk, so do:
FS1: and than FS2: and so on

When you found the right volume, go to the following directory:

cd EFI\EFI\BOOT

When you type in
ls

and see
BOOTX64.EFI

than you’re in the right directory.

4. Now we add the BOOTX64.EFI to the boot options by using the following command

bcfg boot add 0 BOOTX64.EFI "Boot my awesome hackintosh"

Im not sure about the 0 there, it could be 1. The number is for boot order. And of course you can use any name you like.
Check for the boot entry with:
bcfg boot dump

This will list all the current EFI boot entry’s. Check for the newly created boot entry.
exit by typing in exit and remove the USB stick.

5. Now it should be booting from the internal HD with working network/graphics and sound.

Sidebar