First off, thanks to everyone on the forums for their work in getting to this point. I used tricks and tips from a plethora of other posts here, so kudos!
Here's a quick youtube video of me booting up: https://www.youtube....h?v=plzlBvuybGg
Here's a 10 minute video of me installing OSX onto the SP4: https://www.youtube....h?v=je2XGk3txjY
If anyone wants to join in the fun, or if you have issues, join me here on gitter and I'll try to help when I'm available.
*EDIT 1: The google download links should work now. I opened the folder to public.*
*EDIT 2: If you want to get OSX working in a VM through Windows 10 on the SP4, follow this youtube howto. Everything works except for the cameras and bluetooth. Touch is pretty good. Just set resolution to 1/2 so you can see the screen properly. :-)
*EDIT 3: Both Linux Mint and Ubuntu work natively with WIFI and Bluetooth. ;-) Neither work yet for the touchscreen.
Skylake CPUs - Not sure if the current Skylake hack from Pike is working fully or something else is going on, but it's sometimes choppy and hesitant. It could just be the graphics issue though.
Graphics - With really bad artifacts, but it does auto detect the Intel HD 520 chip.
SP4 Keyboard/Trackpad - it works, but maybe the touchpad could be tweaked a bit. I haven't tried the SP3 hacks for it yet.
USB 3.0 port - Must boot off of USB, so if you want extra USB ports then plug in an adapter. Both 2.0 and 3.0 work for me.
Internal SSD - NVMe - I downloaded and tested the new NVMe driver from MacVidCards and it works! You can install directly to the SSD and boot from it.
Screensaver - Default OSX screensaver seems to work well. :-)
Audio - Used VoodooHDA.kext from SP3 files and added the 2 kext injections for that in the config.plist and it works. Screenshots at the end. The volume buttons on the keyboard are mapped automagically and work for mute/volume up and down. I haven't tried the rocker volume buttons on the side of the case yet. ***Look at the screenshots to see which output and input sources to use.***
What doesn't work or hasn't been tested:
Wifi - Marvell? Edimax? Either way, currently unsupported. I'm willing to help port code from a Linux driver if one exists.
Camera(s) - They are now i2c - There are 3 cameras. Front, Rear, and Hello IR Camera. Check out the IOReg I posted for more info.
Touchscreen - The GOOD news? It's not i2c anymore! The bad news, alex.daoud's driver he has been working on won't work. It's a PCI device and uses HID. Maybe there's a Linux driver that we can port?
Sleep / Hibernate - The screen will go black after 3-5 minutes of non-user, and it WONT come back. It looks like it tries, but nothing happens. Reboot.
Power button - Holding it down for 10 seconds shuts it off. Touching it will turn off the screen. But it won't turn the screen back on. (sleep issue?)
Volume buttons - I don't know yet if they work because I didn't install the Audio driver yet.
Battery - It doesn't know when it's on power or battery.
Power Management - Not sure if CPU stepping and such is working or not. Need to confirm that.
Odd things to note:
The Installer has absolutely NO artifacts. It's beautiful and clean. (Not odd, I found out that the installer does not boot graphics acceleration).
OSX randomly kicks me back out to the login screen.
PRE OSX INSTALL:
Before you do anything, you have to turn off Secure boot on your SP! Before you do that MAKE SURE you either DO NOT have BitLocker disk encryption turned on, OR that you have the unlock key/code for it!!! It bit me hard when I turned it off. I had to restore windows from factory because my microsoft login was bad.
pre1) Turn off BitLocker or make sure you have your key/code available.
pre2) Shut down your SP4.
pre3) Boot up your SP4 into BIOS. To do this, Hold down the Volume up Rocker button and then Hit the power button. Keep holding the rocker until you see the initial boot screen and let go. It will then go into the bios. If it doesn't work, do it a few times. It's all about timing...
pre4) Go to Security, Secure Boot, Change configuration. Turn it off.
pre5) Toggle TPM off.
pre6) click on Exit and restart.
From now on when you boot, it will Show a big red banner above the Surface logo to annoy you and warn you that you're not secure. :-)
pre7) If you decided to leave bitLocker on, boot into windows and it will make you enter the key/code ... If you lost it, log into your Microsoft account and hopefully that will recover it. If not, you're screwed like I was and you have to restore windows from the restore partition, losing all of your windows data. I didn't care, because it's windows and I'm trying to get OSX installed! lol
pre8) If you plan on installing to the SSD you also need to shrink your SSD in windows and make a new partition (NTFS is fine) so that the installer will see it. I tried just shrinking the windows partition and not doing anything with the empty space, but the Installer wouldn't see any empty space for some reason and not let me do anything with it. YMMV.
Here's what I did to get it bootable... From here, hopefully others will chip in with some tweaks / drivers / etc. to make it run smoothly and stable. :-)
1.) Made sure my macbook was on 10.11.2 and then deleted El Capitan Installer from Applications and re-downloaded it from Apple Store.
2.) Ran the following command on a freshly formatted USB stick. (The USB should be labeled "Install", otherwise change the command below to suite your needs)
sudo /Applications/Install\ OS\ X\ El\ Capitan.app/Contents/Resources/createinstallmedia --volume /Volumes/Install --applicationpath "/Applications/Install OS X El Capitan.app" --nointeraction
3.) Downloaded the latest Clover v3330 and installed it to the USB disk with default settings, UEFI... You can choose whatever install options you want, if in doubt, and just copy my EFI folder to your USB.
4.) Lots of tweaks to get it to boot. It took me a while to figure out why I was getting a black screen before Clover, and then after that, another black screen while trying to select the Installer. So much frustration, I almost gave up.
TL;DR, just use my config.plist file posted in the files section.
4a.) In EFI/drivers64UEFI, this is what I have:
4b.) In EFI/kexts/10.11, this is what I have (FakeSMC.kext came from #####, ACPI and PM came from SurfacePro3 install instructions, USBInject came from Skylake install instructions):
*VoodooHDA.kext (Updated 2015-12-16 to include this for audio fix)
5.) Boot up, in Clover select to Install OSX.
6.) Either Partition the USB stick and then Install it to the new partition on the USB stick, OR, partition the NVMe SSD and install it there. Your choice.
7.) Reboot and see the pretty artifacts because of the Intel HD 520 graphics card. :-)
IORegistryExplorer File (So you can look at all of the hardware and maybe help get drivers up and working)
DSDT.aml (I modified this a little bit, adding DTGP funciton in "\" and also adding OSYS for Darwin )
My EFI Folder (if you're impatient and just want to get it running now.)
NVMe driver (They said you can't boot off of it, you can only use it for data storage... I haven't tested booting from it to verify.)
config.plist (Updated 2015-12-16 to include Audio fix)
New Screenshots with NVMe driver detecting the internal SSD!
AUDIO working using VoodooHDA.kext: