Jump to content
tlefko

macOS Mojave XPS 13 Guide + Support

15 posts in this topic

Recommended Posts

macOS-Mojave-XPS13-9350

  • Hello, this is a simple guide to get OS X 10.14 working on any XPS 13 9350 model

  • This guide uses files from (@syscl) (albeit edited) and full credit to him for the Deploy.sh and DSDT patches. However, his Clover folder is unbootable with Mojave and thus has been redone.

  • However, his Deploy is still retained but edited to remove some DSDT patches that break things on Mojave

  • I did my best to keep the guide simple and for the most part it is, it's inteded for the 6200U non iris but should work with others. (credit @syscl)

Issues

  • Wake up via lid is hit or miss (sometimes needs key press)
  • SD Card slot
  • Restarts don't work (endless black screen while turning off but still on)

Usage Notes

  • USB Devices eject upon sleep (USB Patches via Deploy were major issue)
  • Changing board number via Clover Config doesn't work always unless serial is changed (No idea..)
  • Audio is controlled via VoodooHDA however prefpane is not nessacary.
  • Never tested USB C anything. Charging should be fine however I'm not sure about others, don't personally use it)

What Works

  • Everything else!

Setup Notes

  • The new AFPS file system must be used, there is no way to avoid it. Has no noticeable adverse effects except slower boot time
  • It is difficult to repartition AFPS drives and resize them, recommend clean install or you could have one partition smaller than your hard drive that can't be increased unless reformatted
  • Although Volumes will be converted, keep drive as GUID

BIOS Settings

  • Set all SATA operation as AHCI
  • Disable Secure Boot, Fast Boot
  • For Coil Whine improvement disable C-States
  • Enable UEFI Booting (Disable Legacy if easily confused)

Recommended: Clean Install (Preinstall steps)

  • Download latest Mojave version from Mac App store (Register AppleID as developer, enroll your mac, download the preview from the link onsite or google for detailed instructions.
  • Make Bootable media (google how or download app to do it, it's just a terminal command)
  • Download the Latest Clover revision (currently using r4568) and install it to your USB as UEFI and ESP (no need for drivers)
  • Copy The contents of this Github repository into your EFI folder on the USB (Mount the EFI Partition via clover config, efi mounter, etc.) (No Boot Folder in EFI)
  • If you have the same XPS Model as me you can use stock ACPI patched files (6200u, hd 520, 3200x1800,) if not delete contents of both folders (origin, patched) and will fix later via @syscls modified deploy)

Installing Mojave (Clean Install)

  • Boot PC off the USB, select your Installer as your Boot drive from clover menu
  • config is currently set to FAKESERIAL and -v. I believe (@syscl's) deploy generates serial # information
  • Once installer is loaded, go to disk utility and format as a GUID Partition Table with whatever partitions you want (Don't format whole drive to afps make sure it's GUID)
  • Run the Mojave installer to the drive wait for it to finish, then turn off)
  • From Clover, select the name of the Mojave Partition (not preboot, recovery, etc.) and not your USB stick either
  • From here the installation will continue. DO NOT CLICK ON MOUSE OR KEYBOARD (crashes installer shortly after at least for me)

Post Install (Clean Install)

  • Reboot off your USB once again, load up your Mojave drive.
  • First Boot will take long, if your using my ACPI files (from @sysl's deploy, edited) and have same model you should have everything out of box (except wifi)
  • Regardless, run through the installer and set it all up.
  • (without acpi) At this point screen should be fine, mouse, keyboard, no wifi should be present or bluetooth. No brightness control as well.
  • go to terminal to mount EFI or via clover Config, EFI Mounter, etc, of both USB and the internal disk
  • Copy and REPLACE the EFI folder from the USB into your hard drive. Unplug your USB and reboot and you should be able to boot without the USB now
  • Turn off PC, boot into clover. Don't select a drive and press F4 and Fn+F4 a few times, wait a few seconds, then boot back to the drive
  • Plug back in the USB, mount it's EFI, and run the modified Deploy Script on your Hard Drive EFI partition
  • After deploy is finished, there will be VoodooI2C error as I deleted it from Kexts, for me it breaks Trackpad and Keyboard. For now will be using VoodooPS2.

After Modded Deploy

  • You should have no Internet at this point, the following next steps should resolve that. However, your Brightness, lidsleep, USB, bluetooth should be working
  • Using your favourite Kext Installer (Put it on a USB or something to get it on the PC), install (credit @Rehabman's) FAKEPCIID and FAKEPCIID_Broadcomm texts that are included in the ManualKexts Folder
  • Then run "Sudo kextcache -i /" from terminal, reboot, then run it again.
  • By this point your wifi should be fixed, and everything should be done

Post Install Notes

  • Your welcome to transfer whatever other kexts you want to S/L/E, personally I leave them in the CLOVER Folder injected.
  • Doing upgrade via mac app store is similar, just partitioning hard drive is harder. Apart from that same process essentially, not recommended

Credits

  • Credit Hackintosher.com for basic patches (although @syscl) covered some
  • Credit to @syscl (clearly...)
  • Credit to @Rehabman
  • Credit to @syscl Kexts, and his contributers. ex. Lidwake.kext (although not fully compatible)

Support

  • Your welcome to open any issues on this thread, I personally have little DSDT knowledge so I will do my best to help!

Thanks for Reading!

- This is a clone from my GitHub, the link to the repository is below with all files

 

https://github.com/tlefko/macOS-Mojave-XPS13-9350

 

- I would really like to hear everyone's experience trying this guide so please let me know in the comments how it worked for you, if you plan to try it, etc.

Edited by tlefko
Spelling

Share this post


Link to post
Share on other sites
Advertisement

Hi, a lot of the guide should work, except you would need to patch brightness as well as lid sleep yourself. However, if you follow there rest of the guide most of the other things should work! Let me know if you have any other questions, or if it works. Delete the APCI folder from your CLOVER folder 

 

Cheers,

Edited by tlefko

Share this post


Link to post
Share on other sites

Hi tlefko,

 

I followed all steps of the “preinstall steps”. I copied all files of your github folder inside the EFI folder in the EFI partition overwriting everything that was already there, but I get the following message at startup “Attempting system restart...” when start system at verbose mode. I don’t reach the installation screen.

 

Any idea what is happening?

 

Thank you.

 

Regards,

Jose

46F3D788-D929-4D17-A877-A7EF4648039B.jpeg

Share this post


Link to post
Share on other sites

Hello, could you attach your EFI partition?
 

Also, any idea what the last error message is?

 

Sorry for the late reply @joseferre

Okay, I figured out the issue. You need to make a new folder called EFI in your EFI partition, then copy the contents of EFI into the new EFI folder.

Edited by tlefko

Share this post


Link to post
Share on other sites
On 11/22/2018 at 12:59 AM, tlefko said:

@maz-1 That's useful information. My knowledge in patching isn't that great. Any clue how to implement that to the build?

 

Edit: I made a hotpatch setup based on the-darkvoid's xps 13 9360 guide, no need to dump and patch dsdt, which makes the installation much easier.

 

https://github.com/hackintosh-stuff/XPS9350-macOS

 

everything works except:

* card reader. with Sinetek-rtsx and latest openbsd changes, the memory card can be seen by diskutil, but unable to mount.

* type-c hotplug works, but still need to be detached before sleep and wakeup. And according to xps 15 users, thunderbolt hotplug is probably borken as well.

Edited by maz-1

Share this post


Link to post
Share on other sites

IMG_3725.thumb.jpeg.1a68baec2b221acc3d1b39a093080638.jpegIt continues to loop the (240s): 'IntelFBClientControl', 'ApplePS2MouseDevice" for 3 counts then starts the count over again. Please help

Share this post


Link to post
Share on other sites

Hi Guys I know this post is a tad "old" but I must admit that I need some assistance.
New to this site but I do have experience with desktop hacktintosh before, BUT I have never tried to set up a a laptop before.  The past 2 days i've been trying to get to the installer without any luck on my Dell XPS 9350 i5-6200u with intel-520 and FHD screen.

The BIOS settings of the laptop is: SATA set as ACHI
Fastboot disabled
SecureBoot Disabled
UEFI boot enabled

 

Also to be noted is that I'm currently using the CLOVER 2.4 r4871 version and the BIOS is updated to 1.9.0.

The attached pictures and EFI folder should be an exact representation of the instructions for this setup, at post#1.

Short after the "Couldn't alloc class "VoodooI2CHIDevice" the installer crashes with the classic "stop sign" thingy.

Any ideers on how to proceed ?
Thanks in advance guys !

EFI.zip

IMG_0287.JPG

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By wen1
      Work in progress
       
      This is mini guide and config files for installing Mojave on a Dell XPS 13 9370.
       
      I took inspiration from sensibleJoe at on reddit
       
      My laptop's specs
       
      i7-8550U Intel HD 620 Graphics UHD Display 256GB Samsung NVMe SSD PM961 Killer 1435 Wifi  
      Here is what works
       
      Intel HD Graphics  Sleep Sound & Mic USB Wifi (Internal Killer Wifi will not work) Bluetooth Power Management Battery Management Screen Brightness Control  
      What does not work
       
      Internal Wifi Camera SD Card reader  
       
       
      I followed the vanilla guide here to create the Mac OS Mojave install USB. I used Mac OS 10.14.3.
       
      Here are some rough steps
       
      1. Create the USB installer for Mojave. You can use apple's own instructions
      2. Once the installer USB creation is complete, Install the latest version of clover to the USB disk with the following options 
      Install Clover for UEFI booting only
      Install Clover to the ESP
       
      Leave everything else as default (minimal install without a bunch of drivers)
       
      3. Then mount the EFI folder on the USB drive and replace the files in the config folder with the ones from the attached zip file over writing the files already there. This config is specifically for Dell XPS 13 9370.
      4. Go into the UEFI/BIOS on the laptop, Make sure your SATA mode is set to AHCI (And not Raid). Save and Exit
      5. Boot with the USB disk and install Mojave
      6. After the install is complete, Use the USB to boot again but this time boot into the newly installed Mojave partition.
      7. Install Clover on to the SSD with the same options as before.
      8. Then copy the config files to the EFI folder on the SSD overwriting the config folder there.
      9. Acquire the backlight AppleBacklightFixup.kext from here and install to /Library/Extensions (Thanks to Rehabman for the kext)
      10. Reboot.
       
      EDIT: V4 fixes many things, like powermanagement, backlight control etc. you also need to install AppleBacklightFixup.kext to /Library/Extensions
       
       
      CLOVER-v4.zip
    • By mhendawy
      Hello There,
       
          I had Mojave 10.14.2 over HP ProBook 450 G4 and most probably all functions are working except an issue that when I connecting the device to HDMI it reboots. although the EFI is fully patched [ DSDT & SSDT] and the behavior of sleep\wakeup please find all the attached problem files.
       
      Thanks 
      PrF.zip
    • By viktr
      Hi!
       
      Please help - cannot install mojave on the gb z370n wifi, 8700, 2x samsung 970 nvme, rx570
      Downloaded latest clover and kexts and installation hangs at the beginning.
      Got some errors at boot (during clover boot, before menu appears) then boot "Mojave install" and then it stuck. Please help. Tried to turn off all fixes, tried old apfs.efi instead of apfsdriverloader - all with no success. Maybe it's a known issue and I'm just doing something completely wrong?
       
      ty
       
       


      clover.tar.gz

    • By RougeOne
      Budget Workstation MacOS 10.14.1 build: z370 AORUS Gaming 5 - i5-8600K - RX 580 - UHD 630
      flawless iGPU/dGPU integration, fast FCPX editing/rendering, great overall performance for ~$1200 / ~£1000
       
      Update: updated WhateverGreen and Lilu, then updated OS to 10.14.3 and everything is fine! Even iMessage, which previously I hadn't been able to make work, is now working - possibly the update flushed the NVRAM?
       
      I'm gonna come straight out and admit it - I used newb tools which are considered taboo on InsanelyMac, and so this isn't so much an installation guide as it is a green flag to anyone considering the same hardware. My first and previous Hackintosh project was just over ten years ago and this site was massively helpful, so this is my (very small) way of giving back.
       
      EFI DIRECTORY
      http://s000.tinyupload.com/index.php?file_id=97606131925137056003
       
      HARDWARE
      CPU: Intel i5-8600K 3.6GHz hexacore (contains UHD 630 iGPU)
      CPU Cooler: be quiet! Pure Rock Slim (no paste needed, and fan facing front)
      Mobo: GIGABYTE z370 AORUS Gaming 5 (WIFI)
      RAM: 1x 8GB CORSAIR Vengeance LPX C16 2666MHz (in first slot)
      GFX Card: Sapphire RX 580 NITRO+ SE
      SATA: used ports 0, 1, 3, 5 (HDD problems when connected to port 4)
      HDD: generic
      DVD Drive: generic
      PSU: EVGA 500W Semi Modular (but you should get 650W!)
      Case: CoolerMaster CM590 III
      Fans: 2x stock case fans (one sucky on front, one blowy on back), 3x be quiet! BL046 120mm fans (two blowy on top, one sucky on front). Airflow near-perfectly balanced.
       
      ADVICE
      With the Clover configuration, you want to pay close attention to all things relating to graphics. There are some specific settings for ACPI, Boot, Devices and Graphics which should be copied exactly in order to get the iGPU and dGPU to work in perfect harmony. For instance, make sure you use ig-platform-id 59120003 rather than 59120000 if you want FCPX to be usable. With the right settings, FCPX will not only run, but run flawlessly.
       
      I was not able to figure out how to make NVRAM/PRAM behave itself, and I got errors when I tried to issue relevant commands. As a result, I could not at first get iMessage to work properly. It worked once on my first installation attempt but not from subsequent attempts. This Clover configuration therefore has no consideration whatsoever toward iMessage reliability - however, iMessage ended up working somehow, anyway - I noticed it after I'd updated to 10.14.3 but this may just have been coincidence.
       
      Onboard WiFi does not work. There is no driver for it. I'm using wired ethernet to a bridge router as it was cheaper than getting a compatible PCI card.
       
      Audio is working well after I installed the z370 audio patch, then the ALC1220 codecs, then AppleALC.
       
      With kexts for generic 3rd party SATA and generic 3rd party eSATA, my HDDs and DVD drive work perfectly well.
       
      Sleep/Wake functions run perfectly. iCloud functions run perfectly. Shutdown leaves the mobo LEDs on, annoyingly.
       
      My USB 3 ports seem to suffer from low power output, and I don't know why.
       
      Overall, this system appears to run about as well under MacOS 10.14 Mojave as it does under Windows 7. I would solidly recommend this build to anyone looking to build a computer for workstation purposes, on a budget.
    • By plasticworld
      After a long run, I successfully upgraded High Sierra to mojave 10.14 on an intel 5 series chipset MotherBoard.
       
      MotherBoard: H55ms2
      RAM: 6GB
      GPU1: Saphire AMD RX 460
      GPU2: Nvidia 8400GS
      Storage: 500 GB HDD WD Green.
       
      The requirement:
      1) macOS pre mojave.
      2) macOS mojave installer from Apple store.
      3) Empty partition or USB to upgrade from.
      4) Un-mout all unused dmgs.
      5) GPT/GUID HDD.
       
      HOWOT:
      1) Prepare an empty partition or USB with at least 6 GB.
      2) Format the partition or USB with GUID partition table and HFS+ partition with a name BootablePartition.
      3) Go to /Application/Install macOS Mojave.app.
      4) Show Package Contents.
      5) Go to Contents/SharedSupport you will find BaseSystem.dmg.
      6) Double click on BaseSystem.dmg to mount.
      7) From Disk Utilty click on your partition or the USB that you prepared from number (2).
      8) Click on restore, and chose OS X Base System (BaseSystem.dmg image), then restore it to that partition or USB.
      9) After restoring rename the partition back to BootablePartition.
      9) Run this command:
      rm -rfv /Volumes/BootablePartition/System/Installation/Packages 10) Create a new folder instead of the broken link and name it Packages, run this command:
      mkdir -v /Volumes/BootablePartition/System/Installation/Packages 11) Go back to /Application/Install macOS Mojave.app and repeat number 2.
      12) Go to Contents/SharedSupport you will find InstallESD.dmg.
      13) Mount InstallESD.dmg.
      14) Run this command:
      cp -v /Volumes/InstallESD/Packages/OSInstall.mpkg /Volumes/BootablePartition/System/Installation/Packages/ 15) Download the latest clover from https://sourceforge.net/projects/cloverefiboot/
      16) Install clover on your USB BootablePartition or in a different USB to boot from it. delete all your CLOVER/kext/10.xx and keep others, make sure you don't have any extra kext rather than FakeSMC.kext in the other folder.
      in my case I used FakeSMC.kext and my lan kext RealtekRTL8111.kext.
      17) known Problems in my build: 
      If I updated directly from the apple store the installer in clover will boot with a cross circle sign.
      The FIX is to add this to Clover KextToPatch Thanks to @sunKi http://www.insanelymac.com/forum/topic/327488-macos-high-sierra-final-release-is-out-17a365/page-10?do=findComment&comment=2505086 this fix is still working for me in mojave.
      <key>KextsToPatch</key> <array> <dict> <key>Comment</key> <string>fix IO error ICH10 for 10.13, credit SunKi</string> <key>Disabled</key> <false/> <key>Find</key> <data> RYX2D5XCiciD4P5mhcl4D4TSdQs= </data> <key>Name</key> <string>AppleAHCIPort</string> <key>Replace</key> <data> iciD4P5mhckPmMFBCMyQkJCQdQs= </data> </dict> <dict> <key>Comment</key> <string>fix hotplug ICH10 for 10.13, credit SunKi</string> <key>Disabled</key> <false/> <key>Find</key> <data> icglQGACAD1AIAAAdQyB4b9///+Ji1EBAAA= </data> <key>Name</key> <string>AppleAHCIPort</string> <key>Replace</key> <data> kJCQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJA= </data> </dict> <dict> <key>Comment</key> <string>External icons patch</string> <key>Disabled</key> <false/> <key>Find</key> <data> RXh0ZXJuYWw= </data> <key>Name</key> <string>AppleAHCIPort</string> <key>Replace</key> <data> SW50ZXJuYWw= </data> </dict> </array> 18) make sure you have apfs.efi copy it from /Volumes/BootablePartition/usr/standalone/i386/apfs.efi to your EFI/CLOVER/drivers64/ and EFI/CLOVER/drivers64UEFI/.
      19) SMBIOS mac model that I use is iMac13,2.
      20) Go to /Application/Install macOS Mojave.app click on it and chose to install to your macOS Mojave partition.
      21) Reboot.
      22) From clover chose BootablePartion.
      23) If everything is okie BootablePartition will boot to install macOS mojave, wait wait wait till it finish it might take to 1 hour just wait it will reach the auto reboot soon .
      24) Boot to your old macOS Hight Sierra that will be your mojave partition now and enjoy.
       
      POST Install:
      1) audio: 
      a) Download Lilu.kext and AppleALC.kext or build them from source (which I did).
      b) place them in your /EFI/CLOVER/kext/others/
      c) add your audio layout in clover/Devices dict options in my case it's ALC888B which has the layout of 1:
      <key>Audio</key> <dict> <key>Inject</key> <string>1</string> </dict> d) I had to add beta args to clover/Boot dict, argument (-lilubeta -alcbeta):
       
      <key>Arguments</key> <string>-lilubeta -alcbeta</string> 2) Add number 14 KextsToPath array to your clover as well.

      Anything else is working for me I didn't need any extra clover kext so far, I tried whatevergreen.kext to fire up my rx 460 without the helper card but no success, So I am just sticking with booting from Nvidia as a first GPU from my motherboard configuration then swap the cables after choosing my macOS partion from clover.
       
      After upgrading my HFS+ High Sierra partition converted to APFS, no know problem so far.

      Happy build and more info about the partitioning method with a more detailed instructions in this post that I used to update my Sierra to High Sierra
       
      Special thanks to crazybirdy, sunKi and all of you out there that make this happens.
×