[Guide] Dell Inspiron 5559 - Intel Core i5 - 6200U - 8GB RAM - Intel HD Graphics 520



Striker

New member
Complete installation guide for installing macOS Mojave 10.14 (18A391) on HP ay543tu

Specifications :

Laptop : Dell Inspiron 5559
CPU: Intel Core i5 - 6200U
RAM: 8 GB 1600 MHz
IGPU: Intel HD Graphics 520 and AMD R5 M335 4GB
SSD: Samsung SSD 850 EVO 256 GB
Audio: Realtek ALC255
Display: 15.6" (1366x768)
Wireless/Bluetooth: Intel Dual Band Wireless AC-3160 (Unsupported)
Trackpad: Dell C6B2
Camera: UVC Camera
Ports: 1 x USB 3.0 | 2 x USB 2.0 | 1 x HDMI | 1 x SD Card slot | 1 x 3.5mm audio combo jack I 1 x LAN Port

Summary :

What's works?

Audio (Internal Mic + Combo Jack)
Graphics
Keyboard
Trackpad (With Gestures)
Brightness
Brightness Hotkeys
Battery Meter
Power Management
iMessage
FaceTime
iCloud
USB 2.0, 3.0 Ports

Not working

Only WiFi and Bluetooth (Unsupported), replacement needed

Bootable Media Creation

STEP 1

To create Bootable USB for installation

Insert USB Flash Drive and open Disk Utility

Select USB Flash Drive and Erase it with following parameters

Name : USB
Format
: OS X Extended (Journaled)
Scheme
: GUID Partition Map

Launch Terminal

Copy and paste the following sudo command in terminal

Code:
sudo /Applications/Install\ macOS\ Mojave.app/Contents/Resources/createinstallmedia --volume /Volumes/USB
Enter Password, when it asks

Press (Y) for confirmation of the proceeding process and press Enter key

Close Terminal after execution of the process

STEP 2

Download Clover EFI Bootloader from the Forum Downloads Section

Run Clover EFI bootloader installer package

In Clover Bootloader click on Change Install Location and select installation Drive i.e Install macOS Mojave.

Click on Customize and configure the following settings.

Install Clover for UEFI booting only
Install Clover in the ESP

Themes: Select any
Drivers64UEFI: AptioMemoryFix-64 , ApsDriverLoader-64
Confirm the above options and click on Install. Enter Password when it asks.

Click on Close after execution of the process

STEP 3 :

Now you'll have to place the necessary Files, Kexts & Config.plist

Navigate to: EFI/CLOVER
Replace Config.plist with default one

Navigate to: EFI/CLOVER/drivers64UEFI/
Place HFSPlus.efi : https://github.com/JrCs/CloverGrowerPro/raw/master/Files/HFSPlus/X64/HFSPlus.efi

After that
Navigate to: EFI/CLOVER/kexts/

Place following kexts in the folder
FakeSMC.kext: https://github.com/RehabMan/OS-X-FakeSMC-kozlek
VoodooPS2Controller.kext: https://github.com/RehabMan/OS-X-Voodoo-PS2-Controller
USBInjectAll.kext: https://github.com/RehabMan/OS-X-USB-Inject-All
Lilu.kext: https://github.com/acidanthera/Lilu
WhateverGreen.kext: https://github.com/acidanthera/WhateverGreen

Now, everything is done USB is fully prepared for installation

UEFI settings

Set Network Stack to Disabled.
Set Boot Sequence to UEFI
Set Secure Boot to Disabled.
Set SATA Mode to AHCI.
Set VT-d Option to Disable
Set Intel Virtualization Technology to Enabled
Set Fast Boot to Disabled

Booting the Installer using USB

After preparing installation USB

Plug the USB flash drive in USB 2.0 port and boot to boot menu

Select USB with the UEFI prefix and press enter to boot

Use following boot args :
-v
-nv_disable=1

Select Boot macOS Install from Install macOS Mojave and press enter to boot

When at installation screen

select preferred language and continue

Select Disk Utility and continue

click on View and select Show all Devices

select Hard Drive or SSD on which you want to install macOS

Select the Drive and click on Erase button

Erase it with following parameters

Name : Macintosh HD* (You can rename it later on)
Format
: APFS
Scheme : GUID Partition Map


After execution of the process Close Disk Utility

Select Install macOS and continue with the options.

Now select Macintosh HD* and click on Install.

When the laptop restarts, select Boot macOS Install from Macintosh HD or (Drive name) and press enter

After installation, boot it using USB, but this time select Macintosh HD or (Drive name) and press enter

When you're at the welcome screen, continue with the basics options such as Keyboard setup, Network, Computer Account and Privacy settings

Post Installation

Boot from System Drive

Mount the EFI Partitions of BOTH USB as well as Hard Drive/SSD

Open EFI Partition of Hard Drive

Select EFI folder and then move to Trash

Open EFI Partition of USB

Copy the EFI folder to EFI Partition of Hard Drive.

Graphics

Intel HD Graphics 520 is supported and will run in full QE/CI OOTB

Network

The Laptop uses Realtek RTL 8111 Ethernet Chipset. Install Realtek RTL8111.pkg

DSDT and SSDT Patching

For the DSDT and SSDT patching, follow the DSDT and SSDT patching guide here: https://www.elitemacx86.com/threads/guide-how-to-patch-laptop-dsdt-and-ssdts.178/

DSDT

Layout id = 13(0x0D)
Rename GFX0 to IGPU
Fix _WAK Arg0 v2
HPET Fix
SMBUS Fix
IRQ Fix
RTC Fix
OS Check Fix
Fix Mutex with non-zero SyncLevel


The DSDT will have have five errors

Replace this code:

Code:
If (LEqual (PM6H, One))
                {
                    CreateBitField (BUF0, \_SB.PCI0._Y0C._RW, ECRW)  // _RW_: Read-Write Status
                    Store (Zero, ECRW (If (PM0H)
                            {
                                CreateDWordField (BUF0, \_SB.PCI0._Y0D._LEN, F0LN)  // _LEN: Length
                                Store (Zero, F0LN)
                            }))
                }
with this one :

Code:
If (LEqual (PM6H, One))
                {
                    CreateBitField (BUF0, \_SB.PCI0._Y0C._RW, ECRW)  // _RW_: Read-Write Status
                    Store (Zero, ECRW)
                }
If (PM0H)
                            {
                                CreateDWordField (BUF0, \_SB.PCI0._Y0D._LEN, F0LN)  // _LEN: Length
                                Store (Zero, F0LN)
                            }
Two more errors will be remaining, to fix it patch it with "PARSEOP_ZERO Erro (aggressive)"

Audio

The Laptop uses a Realtek ALC255 Audio Codec

To patch AppleHDA for this Audio Codec follow the guide here: https://www.elitemacx86.com/threads/a-beginners-guide-how-to-patch-applehda-for-laptops.184/

Install the kext to S/L/E

Open config.plist

Under Acpi patches, add the following patch

Code:
Comment: Rename HDAS to HDEF
Find* [HEX]: 48444153
Replace [HEX]: 48444546
Use layout ID =13
Check "ResetHDA"

For resolving the audio distortion in Headphones, follow the guide here: https://www.elitemacx86.com/threads/fix-audio-distortion-when-using-headphones-on-laptops.185/

USB Ports

All USB Ports works OOTB

Add USB port limit patch

Mount EFI Partition
Open config.plist file using Clover Configurator
Navigate to kernel and kext patches tab and add the following patch in config.plist.

Code:
Name: com.apple.driver.usb.AppleUSBXHCI
Find* [HEX]: 83FB0F0F 83030500 0
Replace* [HEX]: 83FB0F90 90909090 90
Comment: USB 10.14.x by PMHeart
MatchOS: 10.14.x
Save config.plist file

Trackpad

The trackpad works OOTB. To implement Gestures for Trackpad, follow the guide here: https://www.elitemacx86.com/threads/guide-how-to-fix-trackpads-on-laptops-including-gestures.293/

Battery Meter

Install ACPIBatteryManager kext.

Power Management

The CPU power management works OOTB. For more information, read here: https://www.elitemacx86.com/threads/guide-enable-native-power-management-on-laptops.187/

Restart Laptop for implementing the changes

Miscellaneous

App Store
iMessage
FaceTime

iCloud

To activate App Store iMessage FaceTime & iCloud, follow the instructions below :

Mount EFI partition

Open config.plist

Navigate to SMBIOS Tab

Generate a new SMBIOS for "MacBook Pro13,1"

Save config.plist

Restart laptop

Login into App Store, iMessage, FaceTime and iCloud.


By following the above Guide, A full working macOS Mojave on Dell Inspiron 5559 can be installed

Credits:
A special Thanks to @EliteMacx86 for the wonderful guides which is super easy to follow.
RehabMan for his great work.
Pokenguyen and macgihan for the DSDT edits.
Mirone & Micky1979.
 
Last edited:


Top