Jump to content

LonelyTV

LonelyTV

Member Since 13 Aug 2006
Offline Last Active Mar 21 2015 10:28 PM
-----

Topics I've Started

[Guide] 10.10 On the Surface Pro 3

26 February 2015 - 01:42 AM

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:
WIFI
Bluetooth

Touchscreen : Alex.doud is currently coding touchscreen and trackpad drivers for the Surface Pro 3's i2c controller. 

Sleep

Trackpad gestures

What 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:

 

------------------------------------------------------

Step 1: Making Space for OS X

 

  1. Boot into Windows 8
  2. On the Start Screen type: compmgmt.msc

    and press enter. This should open "Computer Management" on your desktop.

  3. Click on "Disk Management" under the "Storage" header on the left panel.

  4. Right click on the "Windows (C:)" block on the bottom half of the middle window and choose "Shrink Volume"

  5. 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.

  6. 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

  1. Open the App Store
  2. Download the OS X Yosemite installer

Step 2b: Preparing the USB Drive

  1. Open the Disk Utility application found in the Utilities folder inside the Application Folder.
  2. Click on your USB Drive on the left panel.
  3. Choose "Erase" on the top bar
  4. Choose "Mac OS X Extended" as the Format and name the drive "Install"
  5. Once completed open the Terminal application (Also in the Utilities folder)
  6. 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.

  1. Open the Clover installer found in the "Surface Pro 3 Driver Pack"

  2. Click Continue twice and then choose "Change Install Location"

  3. Choose the "Install OS X Yosemite" USB drive and press Continue

  4. Click "Customize". Here check:

    1. Install for UEFI booting only

    2. Themes

    3. Drivers64UEFI

  5. Click Install and wait for it to finish.

  6. Once it finishes you should see a new "EFI" drive mounted.

  7. Navigate to the "CLOVER" folder found in the "EFI" folder at root.

  8. Copy "config.plist" from the "Surface Pro 3 Driver Pack" here

  9. Navigate to the "patched" folder found in the "ACPI" folder.

  10. Copy the contents of "DSDT" from the "Surface Pro 3 Driver Pack" here.

  11. Navigate back to the "CLOVER" folder.

  12. Navigate to the "10.10" folder found in the "kexts" folder.

  13. Copy the contents of "KEXTs" from the "Surface Pro 3 Driver Pack" here.

  14. Your done, eject the USB drive.

------------------------------------------------------

Step 3: Installing OS X Yosemite

 

  1. Hold the Up button of the volume rocker on the Surface Pro 3 while powering up the machine.
  2. Touch or click on "Secure Boot Control"  choose "Disabled"
  3. Touch or click on "Exit Setup"
  4. Power the machine off if it boots into Windows 8.
  5. Insert your USB drive into the USB port of the Surface Pro 3.
  6. Hold the Down button on the volume rocker on the Surface Pro 3 while powering the machine.
  7. Once Clover boots navigate to "Boot OS X Install from Install OS X Yosemite" and press space
  8. Go down to "Boot Mac OS X with Injected kexts".
  9. Wait... the installer will boot eventually.
  10. Once booted choose the Disk Utility application from either the top bar or from the window that the installer opens up to (sometimes).
  11. Here you will locate your "OS X" partition (or whatever you named it) and choose Erase like you did for the USB drive.
  12. Choose "Mac OS X Extended, Journaled" and name it whatever you want.
  13. 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

 

  1. Power off the machine
  2. Hold the Down button on the volume rocker to boot from the USB.
  3. Once in the Clover boot loader Navigate to "Boot Mac OS X from <OS X partition name>"
  4. 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

  1. Open a new Finder window by clicking on the Finder icon on the dock.
  2. Click on the "Go" option in the top toolbar and choose "Computer"
  3. Double click on "Yosemite", followed by "System", then "Library", and finally "Extensions"
  4. Scroll down and find "IOUSBFamily.kext", copy it to your desktop.
  5. Rename the KEXT in your Extensions folder to "IOUSBFamily.kext.bak"
  6. Right click on the "IOUSBFamily.kext" on the desktop and choose "Show Package Contents"
  7. Double click on "Contents", and then "Plugins"
  8. Right Click on "IOUSBHIDDriver.kext"and choose "Show Package Contents"
  9. Double click on "Contents"
  10. Right click on "Info.plist", select "Open with", and choose "Other"
  11. Choose "Textedit" from the application choices.
  12. Scroll down to the bottom and locate:
    <key>Generic Keyboard</key>
    

    Near the bottom.

  13. 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>
    
    
  14. Now, paste what you copied below the first </dict>
  15. Once copied, find
    <key>bInterfaceProtocol</key>
    near the bottom.
  16. Change
    <integer>1</integer> 
    to
    <integer>0</integer>
  17. Now, go one below to
    <key>bInterfaceSubClass</key>
  18. 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.

  19. Download the "Kext Utility"

  20. Open Kext Utility and drag the modified kext from your desktop to it

  21. 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. 

  1. Open the Clover installer found in the "Surface Pro 3 Driver Pack"

  2. Click Continue twice and then choose "Change Install Location"

  3. Choose your Yosemite partition and press Continue

  4. Click "Customize". Here check:

    1. Install Clover in the ESP

    2. Themes

    3. Drivers64UEFI

  5. Click Install and wait for it to finish.

  6. Once it finishes you should see a new "SYSTEM" drive mounted.

  7. Navigate to the "CLOVER" folder found in the "EFI" folder at root.

  8. Copy "config.plist" from the "Surface Pro 3 Driver Pack" here

  9. Navigate to the "patched" folder found in the "ACPI" folder.

  10. Copy the contents of "DSDT" from the "Surface Pro 3 Driver Pack" here.

  11. Navigate back to the "CLOVER" folder.

  12. Navigate to the "10.10" folder found in the "kexts" folder.

  13. Copy the contents of "KEXTs" from the "Surface Pro 3 Driver Pack" here.

  14. Navigate back to the Clover Root folder and copy "CLOVERX64.EFI".

  15. Navigate back to the "EFI" folder and open the "Microsoft" directory.

  16. Then navigate to the "Boot" folder.

  17. Rename "bootmgfw.efi" to "bootmgfw-orig.efi"

  18. Paste the "CLOVERX64.EFI" into this folder.

  19. 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"

 

------------------------------------------------------

10.9 on the Surface Pro 3

22 June 2014 - 07:59 PM

Update (23/02/15):

gkarg has gotten the Type Cover to work in Yosemite. I'm working on an updated tutorial that will cover installing 10.10 on the machine. But for now, here is the link the KEXT needed to get the Type Cover working.

 

Thank you Gkarg and everyone else for all of your hard work on getting this to work.

 

 

Type Cover 3 KEXT

 

 

----------------------------------------------------------

 

This is the current status of what is and what isn't working:

 

Type cover -> works

Touch screen -> in progress

Wi-Fi -> not working

Bluetooth -> not working

Sound -> works

Graphics -> works with QE/CI + HiDPI Mode with minor graphic glitches

SD Card -> works

USB 3.0 -> works

 

----------------------------------------------

 

Seeing as the Surface Pro 3 and Surface Pro 2 share similar hardware I made an attempt to install 10.9.2 on to it. Following JahStories' tutorial I was able to get the machine to boot into the installer.

However, because of the new screen it seemed to hang at a black screen. To fix this I had to adjust some of the flags given to Clover. 

 

Here is a fixed "config.plist" that will let the installer and OS boot past the black screen:

 

 Attached File  Surface Pro 3 Clover Config.zip   1.55KB   339 downloads

 

I added to DSDT fixes: INTELGFX as well as GRAPHICS to the plist, changed the "Intel Injection" to true, changed the SMBIOS to a full Macbook Air SMBIOS, and removed the custom EDID since we have a new panel. 

 

Once in the OS the UI has some serious artifacts on the menu bar as well as the dock. I attribute this to the new screen and with time I'm sure we can figure out how to fix it. 

 

Here is the HEX for the EDID if you want to try out a custom EDID for the panel. I haven't had the chance to input it.

00FFFFFFFFFFFF004CA342350000000000170101951911780AEE95A3544C99260F505400000001010101010101010101010101010101785070A080A0295030203A00FEA9000000196A4070A080A0295030203A00FEA900000019000000FE0053414D53554E470A2020202020000000FE00313230514C30312D3030310A200069

This is just a start and I hope others will contribute so we can get it up and running.

© 2015 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy