I recently bought a Surface Book i5 256GB with dGPU, and I found that there's no tutorial about Hackintosh since it's released, so i am here to be the first (maybe) to try this out
******Please do not repost, thanks******
Holy cr*p guys I cannot get 10.13 graphics to work with mine little to none knowledge about framebuffer and a whole morning working with this thing, formatted the drive twice, tried all things like minStolen, lilu, and tried different inject IDs, but I cannot get the GUI to load, the driver loads properly from what I can see from the verbose log, then it stucked...
Any help will be appericated.
video is up at
***If you were on 10.12 PB, please apply a 10.12.1 PB combo update to avoid any data loss due to the update reinstall, but it depends on you.***
We are running into a little bit of problems during the 10.12 install process since the process has changed some. It will say that cannot unmount Volume for repair. There's a more complicated way to install 10.12 but is still installable. please follow the steps for 10.12
You can now download the standalone update file from post #2
The NVMe problem has been SOLVED, and Installing 10.12 also has no problems if you follow the steps, the only thing is still...dGPU, although we are not using foreign DSDT anymore, the dGPU still won't recorginze, which seems to be controlled by a GPIO pin, got any ideas?
There's a reason that I use everything manually, because I want you guys to actually learn something from installing Hackintosh, not just copying my work which is useless for you to learn something new
Disclaimer: I don’t have responsibility for any data loss or hardware bricking.
Please note: please forgive me if you’ve found any grammar mistake in the passage since I am not an native English speaker, I am currently in Australia for my High School.
Keyboard & Trackpad (No Gestures)(Buggy, when you hold a key, pointer won't move),
SD card reader,
USB 3.0 ports,
Intel HD 520 Graphics works perfect on 10.11.4
DP Video output now works(don't close the lid, it lead to big problems)(after closing the lead with external monitor, when plug in the external monitor, it no longer recognize the internal display, you must unplug the monitor and reboot)
Long press power key brings up the power menu
What won’t work or not sure
Touch Screen (Alex's driver won't work since it's now on HID Camplg ports, which is not open source)
Wireless (Wi-Fi & Bluetooth)
What Works for 10.12
Everything for 10.11 :-)
Bugs For 10.12
Graphics has a little bit of problem with the framebuffer which very small and not happening very often
Graphics will not work on 10.12.4 as reported, please notice
First Step: Installing a Virtual Machine
You will need a VM for the USB Making process, so please install a VM or you can use a real Mac to do this, the installing process is not very hard to do, but do need some times for downloading and other staff. And sorry i dont know a place that it got English version site to download a CDR file. but it would take days for me to upload so I think maybe...... Cause we know the Australian NBN coverage
- Download VMWare Workstation Pro 12.0 Trial Version
- Download VMWare Unlocker
- Download Python Runtime
- Modify Unlocker Bat file -- In the unlocker installer, there's a win-install.bat file that you can open by CMD, but don't open yet, we need to modify a path in the file, open the file using your favorite text editor, find unlocker.exe in the file, change it to unlocker.py
- Follow the instruction of unlocker readme file
- Go to a Apple Store, get a Install App from their computer and convert the BaseSytem.dmg to CDR, or you can just skip those steps to the making USB step
- Use the converted CDR as install media in VMware
- Installing OS X as normal
Second Step: Prepare to install
You need an actual Mac to make the install USB or on a VM, both are fine, I won’t say more about installing a VM on your devices, you can Google that.
- You need to download the 10.11.x installing App from this link
- For macOS please go to this link
to get the preview version
- You need to open Disk Utility. Select the USB Drive and format it as Mac OS X Extended (Journaled), Named whatever you want, as long as you can remember that. Now, open the terminal, input the following text, this will cost you around 4 mins on a USB 3.0 device and 30 mins on a USB 2.0 device
- For 10.11
sudo /Applications/Install\ OS\ X\ El\ Capitan.app/Contents/Resources/createinstallmedia --volume /Volumes/PARTITION NAME --applicationpath "/Applicatons/Install OS X El Capitan.app" --nointeraction
- For 10.12, the pervious method won't work on 10.12 anymore, you will get the USB that is not booting, use the guide below
- Download Clover from Clover Official Download Page
- Install Clover by choosing "Install UEFI Version only, install to EFI partition, Install Themes, Driver64UEFI(unselect CsmVideoDxe-64)
- After installing, you should see a Partition called EFI mounted, and it's your thumb drive
- (Copy the EFI folder from Installing OS X to the EFI Partition) only do this if it didn't do atomically
- Download SurfaceDriver.zip 1.22MB 593 downloads and follow the instruction in the ReadMe.txt to paste the files into your CLOVER folder
++++++++++Notice for 10.12 USB Creation++++++++++
The pervious way of making the 10.11 drive won't work anymore in 10.12, instead, after download the 10.12 install app, you need to follow the following steps
- Show hidden files by executing this command
defaults write com.apple.finder AppleShowAllFiles YES
Navigate to /Application/Install macOS Sierra/Contents/SharedSupport and mount InstallESD.dmg
Open "Disk Utility", restore the USB drive with Basesystem.dmg (hidden) in the mounted DMG file.
Copy /Packages in the mounted DMG file to the restored USB's /System/Installation. Delete the old link before proceeding to the copy.
Copy basesystem.dmg and basesystem.chunklist to the root directory of your USB drive
Third Step: Installing OS X 10.11
Now, we can start to installing os x, you should plug in the external keyboard, mouse, and your install USB, when you finish the booting process, you should see the welcome page, choose the language you like and processed the installing
Go to Windows First, partition your drive for at least 50 GB if you want to keep using, because as I tried before, remapping disk after installing macOS or OS X is extremely HARD, don't try that unless necessary, you're gonna lose something
Choose Disk Utility, choose your installing partition and tap format, format as OS X Extended (Journaled), then, exit Disk Utility and processes the installation process, you might need to process the same thing twice to get the full install, so if you didn't saw your OS X drive, please choose install again. The continue installation will automatically starts.)
Or: Installing macOS 10.12
Please change ig-platform-id to 12345678 before installing the framebuffer kext.
Things getting a little bit tricky when you're trying to installing 10.12 on Surface Book. since there's still a little bit problems with the NVMe driver, so you will get a error message says: unable to unmount volume for repair
I am not sure if the error spreads largely, but, I experienced it every time I install the 10.12
The temporary work ground is that to use a external USB hard drive or a SD card, I don't prefer a USB thumb drive unless it's superfast.
- Installing 10.12 as normal to the external hard drive
- apply all the combo updates to the external hard drive system
- Use the recovery environment comes with the Installer (not the hard drive)
- Open Disk Utilities and restore the whole USB hard drive to the macOS install drive
- You can apply combo or delta updates as normal, but do not apply big updates that requires a standalone app download, backup and reinstall instead
The Final Process: Making your experience better
(don't apply keyboard patch if you are on 10.12.1 and higher)
For 10.12, please install the kext in 10.12 "install" folder located in the driver pack
Make the keyboard works
- Navigate to InstallHD/System/Library/Extension
- Copy the IOUSBFamily Kext to your desktop or wherever you like
- Right click on it and choose show package content, go to /Contents/PlugIns
- Right click on IOUSBHIDDriver and choose show package content, go to /Contents
- Open Info.plist using software like: PlistEditor Pro, and xCode
- Navigate to IOKitPersonalities
- Copy Generic Keyboard and right click on IOKitPersonalities
- Select "Paste as a child"
- Expand Generic Keyboard 2
- change the value of bInterfaceProtocol to 0
- change the value of bInterfaceSubclass to 3
- change USBCompatibilityMatch to YES (doesn't have this on 10.11)
- save the file and open Kext Utilities
- Drag and Drop the kext in to it, enter password and after it finished reboot, then you should have a working keyboard
Install Clover to SSD
To install clover to ssd, you need the CLOVER PKG installer and remeber to update as a new version releases, it might contains bug fixes.
- Install clover as normal, install to your HACKINTOSH INSTALL DRIVE
- Use UEFI Boot Version, Install theme, and Driver, unselect CsmVideoDxe
- PUT THE SURFACE BOOT DRIVER INTO THE DIRECTORY
- Use BOOTICE x64 Version under windows, mount EFI under windows, Select UEFI tab, add a new boot entry navigate to EFI:\EFI\CLOVER\CLOVERX64.efi, name it clover bootloader (or whatever you like).
- Go to Surface UEFI, unselect Windows Boot Manager under Boot tab, select and drag CLOVER to the first position of the UEFI boot sequence,
NOTICE: DO NOT DELETE "INTERNAL" in UEFI system, or your Surface WILL NOT BOOT
By the way, according to the feedback, there has been problems with the AppleHDA patch, please install AppleHDA298.kext to S/L/E directly using your kext installer instead of placing it under /CLOVER/kexts, also, please use sRGB as color profile to avoid any grahpics glitch in 10.11.
You'll need a Wi-Fi dongle to get online or you can use USB Sharing on Android and iOS, dont know about Ubuntu Touch, Windows Phone and Blackberry
and a Bluetooth dongle to get a working Bluetooth