Jump to content

[GUIDE] Dell Latitude E5440 macOS Sierra

- - - - - Dell Latitude Dell Latitude E5440 E5400

  • Please log in to reply
2 replies to this topic

#1
AppleHackDan

AppleHackDan

    InsanelyMac Protégé

  • Members
  • Pip
  • 14 posts
  • Gender:Male
  • Location:Somewhere in the Ocean

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



#2
Hervé

Hervé

    InsanelyMacaholic

  • Members
  • PipPipPipPipPipPipPipPipPipPipPip
  • 2,600 posts
  • Gender:Male
  • Location:Rennes, BZH of course!

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 (set to 0 for built-in LCD resolution < 1600x900, set to 1 for LCD resolution of 1600x900 or higher).

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


#3
AppleHackDan

AppleHackDan

    InsanelyMac Protégé

  • Members
  • Pip
  • 14 posts
  • Gender:Male
  • Location:Somewhere in the Ocean

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







Also tagged with one or more of these keywords: Dell, Latitude, Dell Latitude, E5440, E5400


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

© 2016 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy