LonelyTV Posted February 26, 2015 Share Posted February 26, 2015 OS X Yosemite on The Surface Pro 3 ------------------------------------------------------ I wrote this guide with a Hackintosh newbie in mind. I walk everything out step-by-step. And, know that you are following this guide at your own risk. I take no responsibility in any loss of data or broken machine. However, I'm confident that that won't happen if you are careful. What is not working:WIFIBluetooth Touchscreen : Alex.doud is currently coding touchscreen and trackpad drivers for the Surface Pro 3's i2c controller. Sleep Trackpad gesturesWhat works but is buggy:Graphics: QE/CI + HiDPI works with minor graphic glitches Audio does not play through the headphone jack ------------------------------------------------------ Requirements Hardware: USB Flash Drive: 8 GB or more Access to a computer running OS X (Can be done in a virtual machine) Optional: A USB Hub, USB Keyboard, and USB Mouse (Just in case the Type Cover doesn't work during install) Software: OS X 10.10 Yosemite Install Application Surface Pro 3 Driver Pack.zip Clover bootloader Kext Utility ------------------------------------------------------ Step 1: Making Space for OS X Boot into Windows 8 On the Start Screen type: compmgmt.mscand press enter. This should open "Computer Management" on your desktop. Click on "Disk Management" under the "Storage" header on the left panel. Right click on the "Windows (C:)" block on the bottom half of the middle window and choose "Shrink Volume" Here you can shrink your Windows partition to make room for you OS X install. Choose a value over 15GB to give yourself room to install OS X and have storage left over. Optional: Right click on the new partition and rename it "OS X" (or something you will remember) -- This will make it easier to pick out in the OS X install if need be. ------------------------------------------------------ Step 2: Creating the OS X Install USB This step requires access to OS X. If you already have the "Install OS X Yosemite" application in your Application folder skip down to step 2b : Step 2a: Downloading OS X Yosemite Open the App Store Download the OS X Yosemite installer Step 2b: Preparing the USB Drive Open the Disk Utility application found in the Utilities folder inside the Application Folder. Click on your USB Drive on the left panel. Choose "Erase" on the top bar Choose "Mac OS X Extended" as the Format and name the drive "Install" Once completed open the Terminal application (Also in the Utilities folder) Copy and paste this command at the prompt: sudo /Applications/Install\ OS\ X\ Yosemite.app/Contents/Resources/createinstallmedia --volume /Volumes/Install --applicationpath "/Applications/Install OS X Yosemite.app" --nointeraction This step takes about 30 minutes to finish. When it's done you will need to then install the Clover boot loader to the USB. Open the Clover installer found in the "Surface Pro 3 Driver Pack" Click Continue twice and then choose "Change Install Location" Choose the "Install OS X Yosemite" USB drive and press Continue Click "Customize". Here check: Install for UEFI booting only Themes Drivers64UEFI Click Install and wait for it to finish. Once it finishes you should see a new "EFI" drive mounted. Navigate to the "CLOVER" folder found in the "EFI" folder at root. Copy "config.plist" from the "Surface Pro 3 Driver Pack" here Navigate to the "patched" folder found in the "ACPI" folder. Copy the contents of "DSDT" from the "Surface Pro 3 Driver Pack" here. Navigate back to the "CLOVER" folder. Navigate to the "10.10" folder found in the "kexts" folder. Copy the contents of "KEXTs" from the "Surface Pro 3 Driver Pack" here. Your done, eject the USB drive. ------------------------------------------------------ Step 3: Installing OS X Yosemite Hold the Up button of the volume rocker on the Surface Pro 3 while powering up the machine. Touch or click on "Secure Boot Control" choose "Disabled" Touch or click on "Exit Setup" Power the machine off if it boots into Windows 8. Insert your USB drive into the USB port of the Surface Pro 3. Hold the Down button on the volume rocker on the Surface Pro 3 while powering the machine. Once Clover boots navigate to "Boot OS X Install from Install OS X Yosemite" and press space Go down to "Boot Mac OS X with Injected kexts". Wait... the installer will boot eventually. Once booted choose the Disk Utility application from either the top bar or from the window that the installer opens up to (sometimes). Here you will locate your "OS X" partition (or whatever you named it) and choose Erase like you did for the USB drive. Choose "Mac OS X Extended, Journaled" and name it whatever you want. Close the disk utility and follow the installation prompts. Several times I had the installer "finish" and reboot, but it wasn't complete. If you don't see your OS X drive in Clover after the installer reboot, re-run the installer and it will continue on it's own. ------------------------------------------------------ Step 4: Finishing Touches Power off the machine Hold the Down button on the volume rocker to boot from the USB. Once in the Clover boot loader Navigate to "Boot Mac OS X from <OS X partition name>" Press space and go down to "Boot Mac OS X with Injected kexts". Yosemite SHOULD boot and work. If your type cover does not work on boot you will need to modify your "IOUSBFamily.kext". Step 4a: Modifying ISOUSBFamily.kext for a working Type Cover You can do this step on another computer with OS X or you can do it on your new install Open a new Finder window by clicking on the Finder icon on the dock. Click on the "Go" option in the top toolbar and choose "Computer" Double click on "Yosemite", followed by "System", then "Library", and finally "Extensions" Scroll down and find "IOUSBFamily.kext", copy it to your desktop. Rename the KEXT in your Extensions folder to "IOUSBFamily.kext.bak" Right click on the "IOUSBFamily.kext" on the desktop and choose "Show Package Contents" Double click on "Contents", and then "Plugins" Right Click on "IOUSBHIDDriver.kext"and choose "Show Package Contents" Double click on "Contents" Right click on "Info.plist", select "Open with", and choose "Other" Choose "Textedit" from the application choices. Scroll down to the bottom and locate: <key>Generic Keyboard</key> Near the bottom. Copy the entire section, it should look like this: <key>Generic Keyboard</key> <dict> <key>CFBundleIdentifier</key> <string>com.apple.iokit.IOUSBHIDDriver</string> <key>HIDDefaultBehavior</key> <string></string> <key>IOClass</key> <string>IOUSBHIDDriver</string> <key>IOProviderClass</key> <string>IOUSBInterface</string> <key>bInterfaceClass</key> <integer>3</integer> <key>bInterfaceProtocol</key> <integer>1</integer> <key>bInterfaceSubClass</key> <integer>1</integer> </dict> Now, paste what you copied below the first </dict> Once copied, find <key>bInterfaceProtocol</key> near the bottom. Change <integer>1</integer> to <integer>0</integer> Now, go one below to <key>bInterfaceSubClass</key> Change <integer>1</integer> to <integer>3</integer> your modified portion should look like this: <key>Generic Keyboard</key> <dict> <key>CFBundleIdentifier</key> <string>com.apple.iokit.IOUSBHIDDriver</string> <key>HIDDefaultBehavior</key> <string></string> <key>IOClass</key> <string>IOUSBHIDDriver</string> <key>IOProviderClass</key> <string>IOUSBInterface</string> <key>bInterfaceClass</key> <integer>3</integer> <key>bInterfaceProtocol</key> <integer>0</integer> <key>bInterfaceSubClass</key> <integer>3</integer> </dict> Save the document and close out all of the windows. Download the "Kext Utility" Open Kext Utility and drag the modified kext from your desktop to it Once KEXT utility completes, reboot your machine and you should have a working Type Cover Step 4b: Installing Clover and Booting Without a USB Stick Do this at your own risk. It seems that it has been hit or miss. Open the Clover installer found in the "Surface Pro 3 Driver Pack" Click Continue twice and then choose "Change Install Location" Choose your Yosemite partition and press Continue Click "Customize". Here check: Install Clover in the ESP Themes Drivers64UEFI Click Install and wait for it to finish. Once it finishes you should see a new "SYSTEM" drive mounted. Navigate to the "CLOVER" folder found in the "EFI" folder at root. Copy "config.plist" from the "Surface Pro 3 Driver Pack" here Navigate to the "patched" folder found in the "ACPI" folder. Copy the contents of "DSDT" from the "Surface Pro 3 Driver Pack" here. Navigate back to the "CLOVER" folder. Navigate to the "10.10" folder found in the "kexts" folder. Copy the contents of "KEXTs" from the "Surface Pro 3 Driver Pack" here. Navigate back to the Clover Root folder and copy "CLOVERX64.EFI". Navigate back to the "EFI" folder and open the "Microsoft" directory. Then navigate to the "Boot" folder. Rename "bootmgfw.efi" to "bootmgfw-orig.efi" Paste the "CLOVERX64.EFI" into this folder. Rename "CLOVERX64.EFI" to "BOOTX64.EFI" Now, reboot. Your Surface Pro 3 should now boot into the Clover boot loader allowing you to choose if you want to boot into Windows or OS X ------------------------------------------------------ You will need to get a USB WIFI dongle to access the internet, and a USB Bluetooth dongle to use Bluetooth. To fix SOME of the graphical glitches you can choose the color profile "sRGB IEC61966-2.1" in the Displays section of "System Preferences" ------------------------------------------------------ 6 1 Link to comment Share on other sites More sharing options...
UnDeaDAmP Posted February 26, 2015 Share Posted February 26, 2015 Looks pretty solid! For formatting however, not Journaled? just Mac OS X Extended and not Mac OS X Extended Journaled? and have you gotten booting without the USB working on yours yet? Link to comment Share on other sites More sharing options...
LonelyTV Posted February 26, 2015 Author Share Posted February 26, 2015 Looks pretty solid! For formatting however, not Journaled? just Mac OS X Extended and not Mac OS X Extended Journaled? and have you gotten booting without the USB working on yours yet? Oops, that was an oversight on my part. I edited the guide. I haven't tried yet to boot without the USB, I have that planned for tomorrow. Link to comment Share on other sites More sharing options...
tranceceiver Posted February 26, 2015 Share Posted February 26, 2015 a stick to boot every time will not be required if... you install clover to the macintosh hd partion newly created. clover will then create an efi dual boot giving you to choice of what os you can start every time. You will also have to set clover to take over the windows and mac partitions. you can do that from the clovers options. Important :in the clover installation folder copy all the kext and files attached to this guide , including the config plist. hey Lonely what are the following kextes do? my system and graphics seem to be running well without them. i don't get graphical artifacts. intelframebufferazul fake intelhdmi audio null eternet intel cpu power management thanks Link to comment Share on other sites More sharing options...
UnDeaDAmP Posted February 26, 2015 Share Posted February 26, 2015 a stick to boot every time will not be required if... you install clover to the macintosh hd partion newly created. clover will then create an efi dual boot giving you to choice of what os you can start every time. You will also have to set clover to take over the windows and mac partitions. you can do that from the clovers options. Important :in the clover installation folder copy all the kext and files attached to this guide , including the config plist. hey Lonely what are the following kextes do? my system and graphics seem to be running well without them. i don't get graphical artifacts. intelframebufferazul fake intelhdmi audio null eternet intel cpu power management thanks But I don't believe thats the way it immediately works with the surface pro, i hear some users just have to live with it. I think if you do use Clover, or if you install the Chameleon to the EFI Partition, then maybe it'll work.... Try installing Clover or Chameleon to the EFI Partition. Link to comment Share on other sites More sharing options...
jxt Posted February 26, 2015 Share Posted February 26, 2015 This is AWESOME!!!!! Seriously though, you rock. Tried so many guides back in December, but none would work with my SP3. This worked first time! Incredible. You can even get Retina support - go to Terminal and type: sudo defaults write /Library/Preferences/com.apple.windowserver DisplayResolutionEnabled -bool YES Then log out, log back in, go to System Preferences > Display, changed to Scaled and select any resolution with HiDPI. (Google around to find out how to make custom HiDPI settings, since the default ones are a bit big on the screen.) Really, really, really cool. My jaw is still wide open from earlier when it passed the Apple logo loading screen for the first time. You sir, are a genius. If we can work out how to boot without USB, then this is the ultimate Hackintosh. I mean, this is the thinnest Intel Core device, so I'm pretty certain this is the thinnest Macintosh in history! What an achievement Also.. If you're having issues with Windows - Boot into Mac OS X with the USB, and install Clover directly onto your Macintosh HD. (With the same UEFI etc settings as described in the guide). This seems to fix the Windows bootloader for some reason, although you still can't boot to Clover without USB. 1 Link to comment Share on other sites More sharing options...
LonelyTV Posted February 27, 2015 Author Share Posted February 27, 2015 I just added in the bit about booting without a USB stick. gkarg gave me a way of doing it that can be done without rebooting. Link to comment Share on other sites More sharing options...
tranceceiver Posted February 27, 2015 Share Posted February 27, 2015 i just deleted my initial post regarding boot without usb stick. The option added in the tutorial is self efficient. One only addition that i find useful was mounting the efi partition in yosemite as to add new kextes. Efi-mounter-v2 will do the trick. Link to comment Share on other sites More sharing options...
LonelyTV Posted February 27, 2015 Author Share Posted February 27, 2015 i just deleted my initial post regarding boot without usb stick. The option added in the tutorial is self efficient. One only addition that i find useful was mounting the efi partition in yosemite as to add new kextes. Efi-mounter-v2 will do the trick. The clover bootloader installer mounts the EFI partition for them on exit. So, if the person doing the tutorial continues with my steps they should be fine. Link to comment Share on other sites More sharing options...
tranceceiver Posted February 27, 2015 Share Posted February 27, 2015 I am curious if someone have already tried updating to Yosemite 10.10.2 after doing so I have lost video capabilities, graphic accelerators, the system is moving excruciatingly slow. It seems however I am capable to boot up the system in normal mode (without injected Kexts) ??? is there a hack to Skipp the apple ID login hardware check while attempting to sign on to the app store? Link to comment Share on other sites More sharing options...
jxt Posted February 27, 2015 Share Posted February 27, 2015 When my Surface goes to sleep it crashes. Is this what everyone else is getting? Or have I messed up the Intel kexts (Since I accidentally installed all of the custom kexts with [url="http://www.insanelymac.com/forum/topic/279450-why-insanelymac-does-not-support-tonymacx86/"]#####[/url] and it ruined the graphics, so I replaced some of them with stock Yosemite kexts) Link to comment Share on other sites More sharing options...
Codinger Posted February 27, 2015 Share Posted February 27, 2015 When my Surface goes to sleep it crashes. Is this what everyone else is getting? Or have I messed up the Intel kexts (Since I accidentally installed all of the custom kexts with ##### and it ruined the graphics, so I replaced some of them with stock Yosemite kexts) Why did you use ********** ? Link to comment Share on other sites More sharing options...
tranceceiver Posted February 27, 2015 Share Posted February 27, 2015 When my Surface goes to sleep it crashes. Is this what everyone else is getting? Or have I messed up the Intel kexts (Since I accidentally installed all of the custom kexts with ##### and it ruined the graphics, so I replaced some of them with stock Yosemite kexts) mine does the same, i need to reboot every time i will resume but this is only while running on battery power. when charging i set "prevent computer to sleep during charge" and it stays fine. Link to comment Share on other sites More sharing options...
LonelyTV Posted February 27, 2015 Author Share Posted February 27, 2015 Why did you use ********** ? That was my fault, I used it in the tutorial unaware of the issues between the two forums. I have since edited the tutorial. 1 Link to comment Share on other sites More sharing options...
Paintry Posted February 27, 2015 Share Posted February 27, 2015 About the audio. The headphone jack doesn't work does it? Link to comment Share on other sites More sharing options...
LonelyTV Posted February 27, 2015 Author Share Posted February 27, 2015 About the audio. The headphone jack doesn't work does it? Right you are. I just tested it. This is a fix that will require some tweaking of the KEXT and DSDT (I think.) I'm not certain what the ETA of said fix is, but it will be ironed out. Link to comment Share on other sites More sharing options...
Macs' Posted February 27, 2015 Share Posted February 27, 2015 I am using SwitchResX at a lower resolution than the native and my graphics are rock solid. 1 Link to comment Share on other sites More sharing options...
Paintry Posted February 27, 2015 Share Posted February 27, 2015 Right you are. I just tested it. This is a fix that will require some tweaking of the KEXT and DSDT (I think.) I'm not certain what the ETA of said fix is, but it will be ironed out. Best solution will be to patch AppleHDA with the ALC288 codec. I tried to get it working for a bit but I really don't know how to. Link to comment Share on other sites More sharing options...
jxt Posted February 27, 2015 Share Posted February 27, 2015 I am using SwitchResX at a lower resolution than the native and my graphics are rock solid. Same - I've got it at 2560 x 1708, looks like a slightly blurry retina display Still stuck with the sleep issues though - tried removing darkwake from args and messing with config.plist, but still crashes on sleep. Almost certain this is a bug. However, if you modify Clover config.plist to InjectKexts, you don't have to press space on each startup. Also remove -f and you get Apple logo instead of text on boot (although it distorts halfway through) Link to comment Share on other sites More sharing options...
Paintry Posted February 27, 2015 Share Posted February 27, 2015 Also have you taken a look at this? http://www.insanelymac.com/forum/topic/304267-intel-hd4400-full-qeci-in-yosemite-10102/ It might get rid of the graphic glitches. Link to comment Share on other sites More sharing options...
IMShinJi Posted February 28, 2015 Share Posted February 28, 2015 thank you very much for the guide. Surface Pro 3 is a stable/useable enough Hackintosh for me now! Link to comment Share on other sites More sharing options...
ccarrieta Posted February 28, 2015 Share Posted February 28, 2015 Hi LonleyTV i followed your guide to the letter, my SP 3 now boots into OS X with the type cover working but I can't boot without the USB... When I install clover to my OS X partition, I don't get the SYSTEM partition.. I am able to unhide all the partitions and i then see a system partition, but that one has no mention of clover, i think that is the windows 8 EFI partition. Any ideas ? Also any recommendations on usb wireless adapters that work out of the box ? Link to comment Share on other sites More sharing options...
jxt Posted February 28, 2015 Share Posted February 28, 2015 Hi LonleyTV i followed your guide to the letter, my SP 3 now boots into OS X with the type cover working but I can't boot without the USB... When I install clover to my OS X partition, I don't get the SYSTEM partition.. I am able to unhide all the partitions and i then see a system partition, but that one has no mention of clover, i think that is the windows 8 EFI partition. Any ideas ? Also any recommendations on usb wireless adapters that work out of the box ? Go to Terminal (In Applications > Utilities) and type: defaults write com.apple.DiskUtility DUDebugMenuEnabled 1 This turns on Disk Utility Debug Menu. Go to Disk Utility (Applications > Utilities), click Debug menu, then "Show every partition" SYSTEM should now appear in the left panel of the window. Click on it, then choose the Mount button on the top toolbar. Link to comment Share on other sites More sharing options...
Codinger Posted February 28, 2015 Share Posted February 28, 2015 Or if you're a terminal geek you could try diskutil list and search your efi partition happy hacking OSBeast Link to comment Share on other sites More sharing options...
jxt Posted February 28, 2015 Share Posted February 28, 2015 Also have you taken a look at this? http://www.insanelymac.com/forum/topic/304267-intel-hd4400-full-qeci-in-yosemite-10102/ It might get rid of the graphic glitches. Just tried the last part of this for the Apple logo - It's fixed the logo but still glitchy in parts. Haven't tried the rest yet since I think the SP3 doesn't have an HD4400? Will have a go later, and see what happens HD4400 shows up in About this Mac - definitely going to try the rest Inspected the injected kexts - all the changes in the guide are applied. Would probably be better to move to Clover config.plist though. Since you can inject the values there and use stock OS X then - which should make the process easier *Also: Still no fix for sleep crash? Can someone else check if this is a bug - pretty sure it is* Link to comment Share on other sites More sharing options...
Recommended Posts