Sadly i got banned on tonymacx86.com for the mentioning of "Pandoras Box" in this tutorial (reason: "Blatant Disregard of Forum Policies on Piracy"). Thats why i post and update it here
Dell XPS 15 (9550, Version of 2016) Sierra 10.13.1 Tutorial
icon.png 541.82KB 93 downloads
Please use the GITHUB version of this text, because this tutorial got too fragmented for a simple forum thread - thanks to the latest Dell Firmware 1.2.25 which requires multiple different versions and tutorials and made the installation of OSX much harder for newbies
Before we start:
this installation includes real time DSDT/SSDT patching from within clover. This is pretty easy to install. But it is NOT suited for people with no or only few knowledge in Hackintosh Systems. If you only know how to copy commands in your shell and you dont know what they're doing, then stop the tutorial and revert to windows or buy a real mac. Even if you get it running: this system is not failsafe and will be broken multiple times in its usage time, where you have to fix it without a tutorial.
Optional steps are marked in GREEN, System dependent steps are BLUE
English is not my mother-tongue and i'm writing this without proof reading, so please forgive my bad spelling
If you've questions or something doesn't work: first check if you've done all steps of this tutorial! If yes: please read the whole thread (doesn't matter how long it is) before asking to prevent multiple questions. Additionally do a search in google and this forum.
Many knowledge of "how to hackintosh a dell in the first place" by the tutorial of @Gymnae http://www.insanelym...led-1011-guide/
Using many kexts and solutions from @RehabMan
What's not working:
- Hibernation (works somehow, but high chance to destroy your whole data), Sleep works fine!
- SD-Card reader
- Killer 1535 Wifi (rarely used, need replace)
- nVidia Graphics card (Intel works)
- FileVault 2 (full HDD encryption)
- one working MAC OS X Enviroment
- 16GB USB Stick (larger is sometimes not bootable and/or requires advanced partitioning)
- MacOS High Sierra 10.13.1 installation file from the app store (redownload, just in case)
- Knowledge in PLIST editing
- USB Harddrive for backup - you'll loose all data on your computer!
Step 1: Prepare Installation
Use the existing Mac to download the Sierra installer from the App Store and create a bootable USB stick with CLOVER. You can do this with the App "Pandora's Box" of insanelymac (use google for download link), which is pretty easy to use.
Optional: check if your SSD can be switched to 4k sector size. This prevents NVMe corruption. See https://github.com/wmchris/DellXPS15-9550-OSX/blob/10.13/4k_sector.md
After you've finished you need to download the Dell XPS 15 specific configurations for clover.
Link: https://github.com/w...chive/10.13.zip and unzip this file or checkout git directly:
git clone https://github.com/wmchris/DellXPS15-9550-OSX.git
You only need the folder 10.13, you can delete the 10.11. I'll refer to this folder by "git/"
Now mount the hidden EFI partition of the USB Stick by entering
diskutil mount EFI
Inside the terminal. Mac OS will automaticly mount the EFI partition of the USB stick, but just in case: make sure it really is
Overwrite everything in the CLOVER folder of the partition EFI with the content of git/10.13/CLOVER.
If your PC has a Core i5 processor, you'll have to modify your config.plist in EFI/EFI/CLOVER/: search for the Key ig-platform-id: 0x191b0000 and replace it with 0x19160000.
If you could use the 4k sector patch, replace the config.plist with the 4kconfig.plist.
If you use a hynix device and you didnt do the 4k sector switch, you'll have to add the following patch to your config.plist
<key>Comment</key> <string>IONVMeFamily Pike R. Alpha Hynix SSD patch</string> <key>Disabled</key> <false/> <key>Find</key> <data>9sEQD4UcAQAA</data> <key>Name</key> <string>IONVMeFamily</string> <key>Replace</key> <data>9sECD4UcAQAA</data>
Go into the EFI Configuration (BIOS) of your Dell XPS 15:
In order to boot the Clover from the USB, you should visit your BIOS settings:
- "VT-d" (virtualization for directed i/o) should be disabled if possible (the config.plist includes dart=0 in case you can't do this)
- "DEP" (data execution prevention) should be enabled for OS X
- "secure boot " should be disabled
- "legacy boot" optional
- "CSM" (compatibility support module) enabled or disabled (varies)
- "boot from USB" or "boot from external" enabled
Note: If you get a "garbled" screen when booting the installer in UEFI mode, enable legacy boot and/or CSM in BIOS (but still boot UEFI). Enabling legacy boot/CSM generally tends to clear that problem.
In my case I left VT-d and Fastboot as they were. Also, update your 9550 to the latest BIOS.
Don't forget to set mode to "AHCI" in the sub-menu "SATA Operation" of "System Configuration". It's mandatory.
Also disable the SD-Card Reader to reduce the power consumption drastically. Insert the stick on the Dell XPS 15 and boot it up holding the F12 key to get in the boot-menu and start by selecting your USB-Stick (if you've done it correctly it's named "Clover: Install macOS Sierra", otherwise it's just the brandname of your USB-Drive). You should get to the MacOS Installation like on a real mac. If you're asked to log-in with your apple-id: select not now! Reason: see Step 5.
Step 2: Partition and Installation
INFORMATION: after this step your computer will loose ALL data! So if you haven't created a backup, yet: QUIT NOW!
Dont install macOS yet. Select the Diskutil and delete the old partitions. Create a new HFS partition and name it "OSX". If you want to multiboot with Windows 10, then you'll have to create a second partition, too (also HFS! Dont use FAT or it will not boot! You have to reformat it when installing Windows). Make sure to select GUID as partition sheme.
Close the Diskutil and install OSX normally. You'll have to reboot multiple times, make sure to always boot using the attached USB stick. So dont forget to press F12. After the first reboot you should see a new boot option inside clover, which is highlighted by default. Just press enter. If you only see one, then something went wrong.
Step 3: Make it bootable
After a few reboots you should be inside your new macOS enviroment. You can always boot into it using the USB stick. Remove the USB drive after successful bootup. Enter
diskutil mount EFI
in your terminal, which should mount the EFI partition of your local installation.
install git/Additional/Tools/Clover_v2.4k_r4003.pkg. Make sure to select "Install Clover in ESP". Also select to install the RC-Scripts. This should install the Clover Boot System. Now copy everything from git/10.13/CLOVER to EFI/CLOVER like you did before by creating the usb stick. (if you had to modify the config.plist in step 1, do it here, too). Your system should be bootable by itself. Reboot and check if your system can boot by itself.
Step 4: Post Installation
Because all DSDT/SSDT changes are already in the config.plist, you dont need to recompile your DSDT (albeit i suggest doing it anyway to make your system a lil bit more failsafe, see gymnaes El-Capitan tutorial for more informations). So we can skip this part and go directly to the installation of the required kexts. Open a terminal and goto the GIT folder.
sudo cp -r ./Post-Install/LE-Kexts/* /Library/Extensions/ sudo mv /System/Library/Extensions/AppleACPIPS2Nub.kext /System/Library/Extensions/AppleACPIPS2Nub.bak 2> /dev/null sudo mv /System/Library/Extensions/ApplePS2Controller.kext /System/Library/Extensions/ApplePS2Controller.bak 2> /dev/null sudo ./AD-Kexts/VoodooPS2Daemon/_install.command
Now you'll have to replace the config.plist. Because you'll install modified kexts you'll HAVE TO replace the config.plist in your installation. Otherwise your PC will not boot anymore.
diskutil mount EFI
replace EFI/CLOVER/config.plist with git/Post-Install/CLOVER/config.plist. Again: if your PC has a Core i5 processor, search the config.plist for the Key ig-platform-id: 0x191b0000 and replace it with 0x19160000.
OPTIONAL (in case you've audio problems):
AppleHDA has some problems after Wake-Up. You'll have to plug in a headphone to get your speakers working again. You can use VoodooHDA instead, which breaks the headphone jack most of the time, but makes the rest much more stable.
sudo rm -r /Library/Extensions/CodecCommander.kext sudo rm /EFI/EFI/CLOVER/ACPI/patched/SSDT-ALC298.aml
then remove from your config.plist from the key "KextsToPatch" the elements "AppleHDA#1" to "AppleHDA#7". Install the package: git/Post-Install/AD-Kexts/VoodooHDA-2.8.8.pkg
i also suggest moving some of the kext from EFI/CLOVER/kexts/10.13 to /Library/Extensions. It's just more stable.
Finalize the kext-copy by recreating the kernel cache:
sudo rm -rf /System/Library/Caches/com.apple.kext.caches/Startup/kernelcache sudo rm -rf /System/Library/PrelinkedKernels/prelinkedkernel sudo touch /System/Library/Extensions && sudo kextcache -u /
sometimes you'll have to redo the last command if your system shows "Lock acquired".
OSX 10.12.2 removed the posibility to load unsigned code. You can enable this by entering
sudo spctl --master-disable
If you're using the 4K monitor, you'll have to copy the UHD enabling kexts to your clover directory:
sudo cp ./Post-Install/AD-Kexts/UHD-Kexts/* /EFI/EFI/CLOVER/kexts/10.13/
To enable GPU acceleration: Edit your clover config file again and remove the following block from it:
To prevent getting in hibernation (which can and will corrupt your data), just set the default sleep mode to "suspend to ram" (sleep) instead of "suspend to disk" (hibernation)
sudo pmset -a hibernatemode 0
To get HDMI Audio working:
Search for your Boarrd-ID in the config.plist and open /S/E/AppleGraphicsControl.kext/contents/plugin/AppleGraphicePolicy.kext/contents/info.plist with a texteditor. Search for your board-id in there and change the value of it from "Config2" to "none"
OPTIONAL (alternative power management):
the whole power management is done by intels speed step technology (HWP), which is enabled in the clover config. If you want to let OSX manage the power management, you'll have to do these steps:
sudo cp ./Post-Install/CLOVER/ACPI/optional/SSDT.aml /EFI/EFI/CLOVER/ACPI/patched/
then open the config.plist (/EFI/EFI/CLOVER/config.plist) and change <key>HWPEnable</key><true/> to <key>HWPEnable</key><false/>.
Step 5: iServices (AppStore, iMessages etc.)
WARNING! DONT USE YOUR MAIN APPLE ACCOUNT FOR TESTING! It's pretty common that apple BANS your apple-id from iMessage and other services if you've logged in on not well configured hackintoshs!
If you want to use the iServices, you'll have to do some advanced steps, which are not completly explained in this tutorial. First you need to switch the faked network device already created by step 4 to be on en0. Goto your network settings and remove every network interface.
sudo rm /Library/Preferences/SystemConfiguration/NetworkInterfaces.plist
Reboot, go back in the network configuration and add the network interfaces (LAN) before Wifi.
You also need to modify your SMBIOS in the config.plist of Clover in your EFI partition with valid informations about your "fake" mac. There are multiple tutorials which explain how to do it like "http://www.fitzweekl...e-tutorial.html".
It's possible you have to call the apple hotline to get your fake serial whitelisted by telling a good story why apple forgot to add your serial number in their system. (aka: dont do it if you dont own a real mac). I personally suggest using real data from an old (broken) macbook.
Step 6: Upgrading to macOS 10.13.2 or higher / installing security updates
Each upgrade will possibly break your system!
(Update: after the latest updates in this tutorial the system should be update-proof.)
Step 7: Fixes / Enhancements / Alternative Solutions / Bugs
Afterword and fixes
as i said before: this is not a tutorial for absolute beginners, albeit it's much easier then most other tutorials, because most is preconfigured in the supplied config.plist. Some Dells have components included, which are not supported by these preconfigured files. Then i can only suggest using Gymnaes tutorial which explains most of the DSDT patching, config.plist editing and kexts used in detail and use the supplied files here as templates.
- Warning: Some people have reported multiple data losses on this machine. I suggest using time-machine whenever possible!
- If your device is detected as "Model Name: Apple Device", see: http://www.insanelym...13#entry2362337
- If you want to save the settings of the display brightness: downgrade to clover 3899, in the never versions the nvram restore is broken.
- USBInjectAll is not intended for permanent use. You should check which USB are really required to be injected and modify your DSDT/SSDT.
- 4K Touchscreen only: Multitouch can be achieved with the driver from touch-base.com, but it's not open source - costs > 100 $
- Not a bug: if you REALLY want to use the 4K Display natively and disable the Retina Mode (max 1920x1080), see: http://www.everymac....resolution.html
- 27. March 2017: UHD Kexts added, replaces perl command
- 23. March 2017: 4k sector tutorial against NVMe corruption added
- 7. March 2017: Suggestion to disable the SD Card Reader for reduced power consumption
- 4. February 2017: Dell SMBIOS Truncation workaround added
- 23. January 2017: Hynix SSD fix added
- 31. December 2016: USB-C Hotplug Fix and USB InjectAll Removed
- 28. December 2016: NVMe SSDT Spoof precreated, FakeID already preset in installation config.plist. VoodooHDA added as alternative to SSDT-ALC298 patch as well as color coding in tutorial
- 22. December 2016: FakeSMBios added
- The official Dell adaptor DA200 (http://accessories.e...s1&sku=470-abry) works completly on Sierra 10.2.2. You can use the Network, USB, HDMI and VGA. Everything is Hot-Pluggable
- a cheap 3rd party noname USB-C -> VGA adaptor didnt work
- you can charge the Dell with a generic USB-C Power Adaptor, but USB-C has only a maximum power of 100W, so it's either charging OR usage, not both. Dont forget you need a special USB-C cable (Power Delivery 3.0) for charging.