Jump to content
AppleHackDan

[GUIDE] Dell Latitude E5440 macOS Sierra

16 posts in this topic

Recommended Posts

macOS Sierra 10.12.3 on a Dell Latitude E5440

A full installation guide. Now 50% Easier

nnyHoqn.png

 

I needed a real hackintosh that was on the latest version of Mac, had UEFI, and had QE/CI. So this was my only option.

 

Thank you:

Rehabman,Mickey1979,Herve,The mods at OSXLatitude, that's all I can think of right now

 

What is NOT working right now

 

 

Card Reader

Video Out might not be working, I cannot check currently

 

What is working

 

Wifi

Audio

ALPS touchpad and PS/2 Keyboard

QE/CI with an Intel HD 4400

DVD/RW drive

All USB ports (including USB 3 ports)

Sleep works OOBE

 

 

 

Note: If you have the one with a Nvidia card, disable it in the BIOS or use the nv_disable=1 flag in clover

 

 

PRE-INSTALLATION (BIOS + MBR ONLY)

 

Requirements :

 

A USB Flash Drive with at least 8 GB of storage usable that you don't mind formatting

An environment that runs macOS/OS X. I used a previous laptop with OS X Mavericks on it to make my image. A VirtualBox VM will also work well.

Install macOS Sierra.app in /Applications

 

1. Make sure your flash drive is formatted into the HFS+ file format. I personally used Disk Utillity. Name the partition Installer.

 

2.Download Pandora's Box

 

3. Download the MBR Patch

 

4.Click on Create Installer

 

5.Find 'Installer' under Select a Volume

 

6.Click on the [...], and find the installer.app. It should be located in the Applications folder.

 

7. Under MBR patch, make sure to select parent folder that CONTAINS the MBR patch

 

8. Click Install

 

9. Once it's done installing, don't remove the flash drive from your computer, we have a few things to do.

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

1.Download the latest version of the Clover Bootloader.

 

2.Make sure to install Clover to the USB drive. Pandora's Box has renamed your USB drive to Pandora Installer

 

4. Click Customize, and make sure that UEFI only is checked off.

 

5. Make sure Install Clover in the ESP is checked, Driver64 is Checked, and Boot0ss is checked. You don't need any themes right now.

 

6. Install Clover

 

7.While you have your EFI partition mounted, extract the EFI.zip onto the root of your flash drive. It may ask to replace the contents in EFI, click YES. This will install the kexts, config.plist, and dsdt that you'll need to be able to boot to the installer.

 

 

8.Reboot your device and plug in your flash drive into the Latitude. When your computer boots, mash your F12 button. Make sure not to break it. When it pops up do NOT go to the UEFI boot option. Under legacy boot, hit enter on USB

 

9.If all goes well, you should be on the Sierra install screen. I did not know if the PS2 kext would work when being in the clover kexts. So I decided not to put them.  Which means your trackpad isn't working right now. Use a USB mouse and keyboard for now.

 

 

Note: If you cannot see Disk Utility, go to the Language Chooser, and hold Alt+T. Then type /Applications/Utilities/Disk\ Utility.app/Contents/MacOS/Disk\ Utility. You will need to select the drives with your keyboard

 

10.Open Disk Utility, and partition your drive with at least two partitions. One should be a 300 MB Fat32 partition, and the other should your Mac Installation.

 

 

 

PRE-INSTALLATION (UEFI + GPT Only)

 

Requirements :

 

A USB Flash Drive with at least 8 GB of storage usable that you don't mind formatting

An environment that runs macOS/OS X. I used a previous laptop with OS X Mavericks on it to make my image. A VirtualBox VM will also work well.

Install macOS Sierra.app in /Applications

 

1. Make sure your flash drive is formatted into the HFS+ file format. I personally used Disk Utillity. Name the partition Installer.

 

2.Download Pandora's Box

 

3.Click on Create Installer

 

4.Find 'Installer' under Select a Volume

 

5.Click on the [...], and find the installer.app. It should be located in the Applications folder.

 

6. Click Install

 

7. Once it's done installing, don't remove the flash drive from your computer, we have a few things to do.

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

1.Download the latest version of the Clover Bootloader.

 

2.Make sure to install Clover to the USB drive. Pandora's Box has renamed your USB drive to Pandora Installer

 

4. Click Customize, and make sure that UEFI only is checked.

 

5. Make sure Install Clover in the ESP is checked, and Driver64UEFI is selected. You don't need any themes right now.

 

6. Install Clover

 

7.While you have your EFI partition mounted, extract the EFIUEFI.zip onto the root of your flash drive. It may ask to replace the contents in EFI, click YES. This will install the kexts, config.plist, and dsdt that you'll need to be able to boot to the installer.

 

 

8.Reboot your device and plug in your flash drive into the Latitude. When your computer boots, mash your F12 button. Under UEFI boot, press enter when you highlight your flash drive. If it doesn't boot clover, then go down to troubleshooting.

 

9.If all goes well, you should be on the Sierra install screen. I did not know if the PS2 kext would work when being in the clover kexts. So I decided not to put them.  Which means your trackpad isn't working right now. Use a USB mouse and keyboard for now.

 

 

Note: If you cannot see Disk Utility, go to the Language Chooser, and hold Alt+T. Then type /Applications/Utilities/Disk\ Utility.app/Contents/MacOS/Disk\ Utility. You will need to select the drives with your keyboard

 

10.Open Disk Utility, and partition your drive with at least two partitions. One should be a 300 MB Fat32 partition, and the other should your Mac Installation.

 

 

 

 

 

 

 

 

POST INSTALLATION

 

1. Open up the Kexts folder

 

2.Open up Kext wizard. Go to the installation tab.

 

3.Drag the contents of the kexts folder into the box. It should be auto-selected to /System/Library/Extensions.

 

4. Click install. It may ask for credentials

 

5. Go back to the main page and highlight /System/Library/Extensions. Make sure it says repair permissions and rebuild cache. Then click install

 

6. Restart your laptop. This will be the last time you will need to boot from your USB.

 

7. Install clover onto the Fat32 partition that you made before. Same settings as before, but instead of putting it as boot0ss, put it as boot0af. Use the same EFI.zip that you used before to put on the Fat32 clover partition.

 

Sorry if this guide is a little over the place, this is my first guides, and ratings in the comments are much appreciated!

 

 

EDIT: Updated downloads and made some steps easier (mainly the post-installation ones)

EDIT 2: Cleaned up a lot of the steps. Made them more pleasant to read. I might add images next.

 

EFI.ZIP <-------Download

EFIUEFI.ZIP<--Download

KEXT.ZIP <-----Download

Share this post


Link to post
Share on other sites
Advertisement

I don't see the relevance of deleting AppleIntelHDGraphicsFB.kext. It's for 1st gen Intel HD iGPU (8086:0042 / 8086:0046) not for Haswell iGPU... If there was a framebuffer to delete for this Haswell platform, that'd be AppleIntelFramebufferAzul.kext but there's no need for that...

​This being said, all mobile Intel HD4200/4400/4600 are supported by:
​1) faking id of Desktop HD4600 0x0412
2) injecting Azul frambebuffer #12/layout id 0x0a260006

You've mixed graphics adjustments in your DSDT and Clover config.plist:

  • You inject the Azul FB/layout-id both in your patched DSDT and in Clover config.plist.
  • You inject Desktop HD4600 id 0412 in Clover.
  • You set DualLink to 1 in DSDT but that's not necessary on Haswell platforms (set to 0 for built-in LCD resolution < 1600x900, set to 1 for LCD resolution of 1600x900 or higher for Sandy/Ivy Bridge).

Ideally, you should do all this either in the DSDT or in Clover config.plist, not in the cumbersome way you've done it. You've kept a whole raft of Azul framebuffer patches in Clover Config.plist but, thank God, they're all disabled. I'd remove those until you know exactly what you need...

I also note that in that Clover Kernel and Kext Patches section, you've opted for AsusAICPUPM and KernelLapic patches. You don't need those: the former is for Sandy/Ivy Bridge platforms, the latter is (mostly) for HP laptops that suffer lapic-related KP. Your Haswell laptop should only require the AppleRTC + KernelPm patches.

Finally, in Clover ACPI section, you've set:

  • cpus=1
  • npci=0x3000
  • debug=0x100
  • kext-dev-mode=1

I don't think you need any of those, especially the cpus=1 which will kind of kill the performance of your laptop. You want all core enabled and you'll obtain full CPU SpeedStep/power management once you've generated your CPU specific SSDT with Pike R Alpha SSDT generator script. It's not visible in your EFI/Clover/ACPI/patched folder, I therefore assume you've not done this.

Regarding PS2 controller, those Dell laptops are usually fitted with an ALPS TouchPad. As such, rather than use a Synaptics driver in which you remove PlugIn kexts, I'd recommend you use a dedicated ALPS driver such as Dr Hurt's latest versions published at OSXLatitude. Release 4 should work perfectly (that's what I use on my E6440).

You've installed the GenericUSBXHCI kext. You should not need this at all as the USB3 controller is normally detected and supported OOB as long as you inject the correct Darwin settings in your DSDT (and you do!). You've also installed Rehabman's FakePCIID kexts, including the USB XHCI Mux. All should therefore work well natively. If you need more info, you can have a look here.

 

You inject most of your kexts from EFI/Clover/kexts/10.12 (you could empty Other to avoid all possible confusion), yet you mention installation of other kexts such as the Ethernet driver in SLE. I'd actually recommend you install all add-on kexts to /L/E rather than /S/L/E in order to keep /S/L/E full vanilla and more easily identify your add-on kexts (/L/E is for 3rd party kexts after all...). I would also recommend that, once you're happy with your injected kexts, you actually move them to /L/E, repair permissions and rebuild your cache. System will boot a tad quicker that way and your Hackintosh will be a lot cleaner than it is right now.

 

​Regarding video output, VGA is not normally supported but some HD4400-fitted laptops have that working natively (presumably wired to some DVI port). HDMI output and HDMI-audio will require Azul framebuffer kext patching. You can read about this here and in the E6440 guide I linked just above.

I presume audio is also based on ALC292, so you can run on patched AppleHDA using the dummy ALC292 available in the various packs of the E6440 guide linked above + patched AppleHDA. For Sierra, AppleHDA mut be patched as follows:

Find: 8419D411
Replace: 9202EC10

Find: 8408EC10
Replace: 00000000

Find: 8508EC10
Replace: 00000000

Share this post


Link to post
Share on other sites

Thank you for the detailed post. I will update the main one with this added info. Also, I forgot to add credit for the people that made the config and the dsdt. I can edit it though probably

Share this post


Link to post
Share on other sites

What's "THE" Dell Latitude E5540 wireless card?

 

If you have a card compatible with OS X/macOS it may work OOB or after a patch.

If you have an incompatible card (such as an Intel model), you'd have to replace it yes; or use a USB dongle.

 

http://forum.osxlatitude.com/index.php?/topic/2120-inventory-of-supported-and-unsupported-wireless-cards/

Share this post


Link to post
Share on other sites

What is the problem with Card Reader? On my E6430 there is O2Mikro that supported by Apple's driver after the patch

	<key>Devices</key>
	<dict>
		<key>Arbitrary</key>
		<array>
			<dict>
				<key>Comment</key>
				<string>SDXC reader</string>
				<key>CustomProperties</key>
				<array>
					<dict>
						<key>Key</key>
						<string>device_type</string>
						<key>Value</key>
						<string>Media controller</string>
					</dict>
					<dict>
						<key>Key</key>
						<string>model</string>
						<key>Value</key>
						<string>O2 Micro SD card reader</string>
					</dict>
					<dict>
						<key>Disabled</key>
						<false/>
						<key>Key</key>
						<string>name</string>
						<key>Value</key>
						<string>Apple SDXC card reader</string>
					</dict>
					<dict>
						<key>Key</key>
						<string>compatible</string>
						<key>Value</key>
						<string>pci14e4,16bc</string>
					</dict>
					<dict>
						<key>Key</key>
						<string>subsystem-vendor-id</string>
						<key>Value</key>
						<data>
						axAAAA==
						</data>
					</dict>
				</array>
				<key>PciAddr</key>
				<string>0B:00:00</string>
			</dict>
		</array>

Just check your PciAddr

Share this post


Link to post
Share on other sites

Any chance of updating this for High Sierra?  Hopefully, it will be able to use this as a good starting point if not.  Thx!

Share this post


Link to post
Share on other sites

I won't make a tutorial on High Sierra yet until a dot update happens because from what I've seen, the differences between Sierra and High Sierra are not big enough for me to suffer through the alleged degraded performance and security holes.

Share this post


Link to post
Share on other sites

First, great guide & super easy to follow thanks!

 

That said I cant get into the installer. I've followed steps perfectly found everything but Im stuck here as I found out with verbos:

clover_verbos.thumb.jpg.f8d6aea0c615055f1064b877abdf6c7e.jpg(see attached)

 

Any ideas? I think it's bombing out on the ACPIBatteryManger am I right? 

Share this post


Link to post
Share on other sites

Nope, definitely not, that kext has never been cause of trouble booting a USB installer. Your Clover config is more likely to be incorrect. Post a zipped copy of your clover EFI folder.

Share this post


Link to post
Share on other sites
Posted (edited)

I've checked your Clover config with Clover Configurator; a few comments:

  • in ACPI tab: activate Fix Headers options
  • in ACPI tab: you're dropping DMAR + #MCFG tables; you should drop DMAR + SSDT CpuPm + SSDT Cpu0Ist
  • In ACPI tab: you're calling on a long list of SSDT tables that do not exist in your ACPI/patched folder. Remove them
  • In Kernel & Kext Patches: you got it all wrong by trying to patch AppleALC kext instead of AppleHDA kext. Not that it would work anyway since I've not seen the dummy ALC292 kext anywhere. You may want to switch to AppleALC method rather than patching AppleHDA kext. In that case, you must install AppleALC kext (preferably in /L/E) and modify your DSDT to inject layout #12 rather than layout #1 as it stands right now.

 

  • In the kexts folder, I noticed AHCI_Extended_Injector.kextTotallyFixStillWaiting.kext. What do these do? You've also opted for what I think is Slice's FakeSMC v3.4.1. Maybe you ought to switch to another version like latest version from Kozlek or Rehabman.
Edited by Hervé

Share this post


Link to post
Share on other sites
Posted (edited)

I followed along right up until this bit:

  • In Kernel & Kext Patches: you got it all wrong by trying to patch AppleALC kext instead of AppleHDA kext. Not that it would work anyway since I've not seen the dummy ALC292 kext anywhere. You want wan to switch to AppleALC method rather than patching AppleHDA kext. In that case, you must install AppleALC kext (preferably in /L/E) and modify your DSDT to inject layout #12 rather than layout #1 as it stands right now.

I can see that patches you want me to remove but what should I add? 

Edited by morleyrigged204

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 Dakdot
      Hello everyone! Last week I received my Broadcom BCM94352Z (model DW1560) from Newegg, installed it into my Dell Inspiron 5558, and I can't get it to work in macOS 10.13.5. I thought that I might have received a knockoff, so I tried it in Linux Mint, and it recognized it as a BCM4352 and worked perfectly! I've tried almost everything I could find online and nothing is working (see below). Any help would be greatly appreciated!
       
      Methods I Tried:
      FakePCIID, FakePCIID_Broadcom_WiFi, BrcmPatchRAM2, BrcmFirmwareRepo
      I've also used AirportBrcmFixup and BrcmFirmwareData when injecting with Clover
      Laptop Specifications (Closest to MacBookAir 17,1, using SMBIOS for MacBook Pro 12,1)
      Intel Core i5-5250U
      Intel HD 6000 Graphics
      8GB RAM
      1 TB Hard Drive
      ALC3234 (apparently equivalent to ALC255 according to the net)
      Originally Intel Wireless, now BCM94352Z
    • By Trung_Nguyen
      Hello, I have been a long time with the DSDT.aml and an old BIOS so I decided to go to full hotpatch in order that I could update my BIOS flawlessly
      Most things works now(Audio,Brightness slider,...)except the Bluetooth and the Brightness key(IOWMIFamily)
      The Bluetooth is located on an USB hub and now it said Bluetooth: Not Available and not found in Sysinfo BT sub-page.
      I tried to patch the _Q66 into XQ66 to add the code the notify the driver but it doesn't seem to work. The brightness key no longer work on it own(as I have patch the _OSI). So the last thing to do is patch the _Q66 to receive the signal.
      Thanks all
      Archive.zip
    • By JDizz
      #UPDATE AS OF APRIL 27, 2018 Thursday, 3:53 PM EST

      SIMPLE INSTRUCTIONS
      After you figure out how to get High Sierra 10.13 or 10.13.4 installed to a USB with Clover Bootloader, and you're loaded onto MacOS High Sierra:

      Download Clover Configurator and MOUNT your partition and OPEN it to reveal your EFI folder. Delete it.
      Simply download the attached ZIP and unzip it by double clicking it. Then copy and paste the EFI folder you unzipped to the location of your mounted partition.

      Done. Enjoy. Special thanks to Jake Lo !


      WORKING [Dell M6800 - High Sierra 10.13.4]
      Sleep/Wake WHILE THE POWER CORD IS PLUGGED IN (Not from closing the screen down, but from clicking the Apple logo and sleep or by timer).
      Wi-Fi (AirPort Extreme) via Broadcom BCM43xx.
      2 USB ports on the LEFT side as USB 2.0/3.0 and the 1 USB 2.0/eSATA on the back.
      KeyBoard.
      TouchPad (With MultiTouch - Fully functional)
      iMessage, iCloud, FaceTime, AppStore work perfectly.
      NVIDIA Graphics work perfectly thanks to the Lilu and NvidiaGraphicsFixUp kext. THIS FIXES THE BLACK OR BLANK SCREEN PROBLEM.
      DVD-Drive/Burning if you even care to use CD, DVD disk.
      Bluetooth (Works even with Apple HomePod =] )
      Ethernet/RJ-45
      2 USBs on right side as USB 2.0/3.0
      Native Sound (On board Speakers and can adjust sound with buttons)
      SD Card Readers
      Adjusting Brightness (Download an app from the AppStore called Brightness Slider -OR- use Night Shift [will not adjust brightness, but will be bearable]).


      NOT WORKING [Dell M6800 - High Sierra 10.13.4]
      Headphone Jack (Excessive Static)
    • By Boby
      Hi I m trying to install High Sierra 10.13.4 in my dell Inspiron N5110 using MBR patch .Please help me with post installation procedures for patching audio graphics etc 
       
      specs                                                                     Intel(R) Core(TM) i5-2430M CPU @ 2.40GHz ,
                                                                                    Display Adapters    NVIDIA GeForce GT 525M 
      Intel(R) HD 3000 Graphics 
               IDT  92HD87B1 audio driver
       Dell Wireless 1702 802.11 b/g/n, Bluetooth 3.0+HS Driver
          
          
      USB Controllers  Intel(R) 6 Series/C200 Series Chipset Family USB Enhanced Host Controller - 1C26 Intel(R) 6 Series/C200 Series Chipset Family USB Enhanced Host Controller - 1C2D Bluetooth Hard Copy Cable Replacement Server Renesas Electronics USB 3.0 Host Controller                                                                                 
                                         
       
    • By giacomo.dessi2303
      Salve, sto ancora tentando di far funzionare il mio lettore di schede SD, macos lo riconosce in resoconto di sistema ma non funziona, in firma c'è il modello esatto e gli id che ottengo da resoconto di sistema, ho provato a seguire varie guide e oggi ho trovato questa che sembrerebbe aver funzionato a questo utente: 
      Secondo voi è una buona idea eliminare un kext di sistema? E poi questi kext di cui parla dove gli trovo? Grazie a tutti
×