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 karthiksh1989
      can somebody walkthrough with the mojave installation guide?
      i have a mac high sierra 13.6 version on my macbook pro and want to install mojave on my desktop
      Exact config is Gigabyte gaming wifi 7 motherboard amy ryzen 7 2nd gen 2700X processor Gigabyte G1 8GB grapgic card VEGA 64
      running 2 nvme Samsung 256gb cards and 1 intel 180gb ssd internal and 1tb WD HDD, with 64 GB 3200Mhz Ram
       
      https://wa.me/919611736534 (whatsapp)
    • By ltooz_audis
      I always want to have a long lasting battery ultrabook to install Mojave on. I was looking at Dell XPS 13 but its design is not very good with the camera and other problems. HP Spectre x360 is a nice design but the wifi module is soldered on board. The Envy 13" is the best one in the bunch for MacOS Mojave. I would not use any other macOS besides Mojave, it's the best one so far. If you can't get it done with macOS Mojave, you don't do it correctly, it's much more refined and given than older macOS's.
      I wanted the 8th generation because of the 4 cores which is almost 1.5 times faster than this 7th generation i7-7500u, but the price is too high. I picked up this one on Craigslist for $400. I've just ordered the 500GB NVME WD Black for $104 and DW1560 for $29. So, the perfect MacBook Pro 14,2 is less than $600 that last 5-6 hours with Mojave and 8-9 hours on Windows 10. The bench mark is the same as the real MacBookPro 14,2. BTW, this is the first try, there will be on going testing and confirming. 250GB hard drive is hardly enough for dual boot Windows and Mac. You need at least 500GB, I don't use Windows at all, so I'll partition 200GB for Windows and 300GB for Mojave.
      All new HP laptops will have kernel panic if using Clover to boot UEFI, at least a fix was found. I'll have more videos and info when I have time to write them. Watch the videos and ask questions if you have any problems.
      1. Clover 4558 - Lilu.kext (1.3.3) - AppleALC.kext (1.3.1) - Whatevergreen.kext (1.2.3) - USBInjectAll.kext (0.6.5) - Fakesmc.kext (6.25-332-gf3a8525c.1758) - ACPIBatteryManager.kext (1.81.4) - AHCIPortInjector.kext - BrcmFirmwareRepo.kext (2.2.7) - BrcmPatchRAM2.kext (2.2.7) - CodecCommander.kext (2.6.2) - FakePCIID_Broadcom_WiFi.kext (1.3.9) - FakePCIID_Intel_HD_Graphics.kext (1.3.9) - FakePCIID.kext (1.3.9) - SSDT-AUIC-ALL.aml - SSDT-USBX.aml - SSDT-PNLF.aml - SSDT-PluginType1.aml - PreLoader.efi.
      2. For the keys F2 & F3 to work with backlight slider - the Fakesmc.kext version is important for some reasons, I'm still trying to find out why.
      The touchscreen actually works without the voodooI2C kexts, just need to patch the clover.
       
      I've been playing with the laptop for over a week now. Ordered the WD 500GB WDS500G2X0C from Amazon for $104, the 256GB is too small for dual booting Windows 10 & Mojave. It's really plug and play.
       
      Hardware - needed to make this a perfect macbook Pro14,2.
      1. DW1560 BCM94352Z - make sure it has 2 notches - Tape the 2 right pins on the 4 pins tab for it to work without a hitch on both Windows 10 and Mojave. You can buy from Ebay cheaper but you have to wait for months.
      2. 500GB NVMe SSD m.2 connector M is a must for dual boot - the cheaper one will be slower - Crucial NVMe 500GB is $25 less than WD.
      3. NOVOO USB-C to HDMI hub that works and inexpensive.
       
      Let's start to get this Kaby Lake working on the HP - I believe HP has the same components for similar configuration on different models. In order to get Mojave to work on Intel Laptop, we need a few important components - Sound is important (look for Realtek - ALC295) - Ethernet if any -Realtek - Trackpad  and TouchScreen (Synaptics or Elan).
       
      REPLACE VNMe SSD HARD DRIVE and DW1560 BCM94352Z
       
      The current BIOS is F22, the newest one is F27 but I don't want to update since it's working well. Since I don't really need the original Windows 10 with Junk software in it, I install the latest Windows 10 using Media Creation USB Boot Drive. The important thing is we have to prepare the SSD correctly or our EFI folder will only be set at 100MB which is not enough to install Clover or any other boot loaders. So instead of letting the Windows installer to create the EFI folder automatically, we can set the size ourselves using "diskpart" command. In order to use diskpart, we need to boot with Windows 10 USB installer (hit F9 then select UEFI USB installer) - select system repair and not installation - then select command prompt, from here we can create EFI folder and MSR for Windows installer to install. The product ID is already in the UEFI bios, so we don't really have to manually activate the Windows 10.

       
       
      diskpart
      select disk 0
      clean
      convert gpt
      create partition efi=300 !!! you can change it from 300MB to any size.
      format quick fs=fat32 label="EFI"
      create partition msr size=16
      exit

      After exit, reboot with the USB installer again in UEFI mode, select the custom. The Windows installer will select the 300MB EFI folder we've just created.
       
       
      How to fix KP on Clover UEFI Boot.
       
       
      This is the macBook Pro 14,2 from HP 13-ad010nr
       
       
       
      Louis
       
    • By yehia2amer
      Problem:
      When I Attempt to wake my Machine from sleep, the screen stays black, although the computer is obviously awake !
      This Machine has a 1300W Power Supply So Sleep is Very Useful.
       
      I Tried:
      1) FIX_WAK and FixShutdown as per Clover Wiki.
      2) Although I am using "SAPPHIRE Radeon PULSE RX 580 8GB GDDR5", which Should be completely Supported by Mojave, I Also changed the Part Number to "113-4E353BU-O4E" as per this Guide: http://www.xlr8yourmac.com/archives/feb18/RadeonRX-580_MacPro.html. The GPU is working GREAT without even Clover Inject
      3) Tried to Run this command: disablehibernate.command.zip
      4) Tried darkwake=0 to 10
      5) Disabled wake on USB & Wake on LAN (BIOS)
       
      Logs:
      sudo pmset -g
      System-wide power settings: Currently in use: hibernatemode 0 disksleep 10 womp 0 networkoversleep 0 sleep 0 Sleep On Power Button 1 ttyskeepawake 1 hibernatefile /var/vm/sleepimage autorestart 0 gpuswitch 2 displaysleep 10 pmset -g assertions
      2019-02-19 18:51:04 +0200 Assertion status system-wide: BackgroundTask 1 ApplePushServiceTask 0 UserIsActive 1 PreventUserIdleDisplaySleep 0 PreventSystemSleep 0 ExternalMedia 1 PreventUserIdleSystemSleep 0 NetworkClientActive 0 Listed by owning process: pid 56(powerd): [0x0000001700088000] 00:13:44 ExternalMedia named: "com.apple.powermanagement.externalmediamounted" pid 100(hidd): [0x00000025000980a7] 00:00:00 UserIsActive named: "com.apple.iohideventsystem.queue.tickle.4294968578.17" Timeout will fire in 600 secs Action=TimeoutActionRelease pid 200(mds_stores): [0x0000034e000b8279] 00:00:00 BackgroundTask named: "com.apple.metadata.mds_stores.power" Kernel Assertions: 0x4=USB id=502 level=255 0x4=USB mod=1/1/70, 2:00 AM description=com.apple.usb.externaldevice.1d130000 owner=USB Keyboard id=503 level=255 0x4=USB mod=1/1/70, 2:00 AM description=com.apple.usb.externaldevice.1d120000 owner=Lenovo Optical Mouse Idle sleep preventers: IODisplayWrangler  
      Specs:
      CPU: 2x Xeon E5-2680 v2 2.8GHz Ten Core Processors
      RAM: 128 GB 1333 MHz DDR3 ECC Memory
      GPU: SAPPHIRE Radeon PULSE RX 580 8GB GDDR5
      Chipset: Intel C602
      Audio: Realtek ALC3220 (ALC280) High Definition Audio
      SAS Drive Controllers (RAID): LSI 2308 SATA/SAS 6Gb/s controller with host based RAID 0, 1, 10 (4  
      Network Controller 1: Intel 82579 Gigabit Ethernet controller with Remote Wake UP, PXE and Jumbo frames support
      Network Controller 2: Intel Ethernet Controller I210 
      NEC USB3.0 xHCI Controller: Renesas Electronics uPD720201 & uPD720202
       
      for more info:
       
      Any Help will be appreciated, Thanks !
       
      Send me Yehias-Mac-Pro.zip
    • By yehia2amer
      Dell Precision T7610 Workstation
      Hackintosh GUIDE (Work in Progress)
       
                        
      Introduction: 
      Hi Everyone,
      This Workstation used to be a Beast with Dual CPUs and tons of RAM, I Know it is now normal to get that much cores in a Desktop but it is still a very decent machine for me (As a Programmer), and I thought it would be a good idea to Install MacOS as the Daily Driver Rather than Linux and It turns out to be a very Great Experience (with Some Challenges ).
       
      Specs:
      CPU: 2x Xeon E5-2680 v2 2.8GHz Ten Core Processors RAM: 128 GB 1333 MHz DDR3 ECC Memory GPU: SAPPHIRE PULSE Radeon RX 580 8GD5 Chipset: Intel C602 Audio: Realtek ALC3220 (ALC280) High Definition Audio SAS Drive Controllers (RAID): LSI 2308 SATA/SAS 6Gb/s controller with host based RAID 0, 1, 10 (4  Network Controller 1: Intel 82579 Gigabit Ethernet controller with Remote Wake UP, PXE and Jumbo frames support
      Network Controller 2: Intel Ethernet Controller I210
      NEC USB3.0 xHCI Controller: Renesas Electronics uPD720201 & uPD720202
       
      Working:
      Both "Xeon E5-2680 v2" and all cores with Power Management and P-States (using VoodooTSCSync & ssdtPRGen.sh) ATI Radeon HD 4870 (Vanilla) Realtek ALC3220 (ALC280)  (using VoodooHDA till Now - it is partially working with AppleALC using layout-id 13) LSI 2308 SAS (using AstekFusion2) Intel 82579 Network Controller (Vanilla) Intel I210 Network Controller (IntelMausiEthernet) USB 2.0  
      Not Working:
      NEC USB3.0 xHCI Controller (Renesas Electronics uPD720201 & uPD720202) Sleep  
      https://github.com/yehia2amer/Dell-Precision-T7610-Workstation-Hackintosh-Guide
×