Gonfucius / Dell-Inspiron-7591-Hackintosh

MacOS running in dell 7591

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dell Inspiron 759x

Configuration

Model MacBookPro15,3 Version 10.15.2
Processor Intel Core i5-9300H/i7-9750H Graphics UHD Graphics 630
Memory 2667MHz DDR4 8GB x2 Disk Samsung 970 EVO
Audio Realtek ALC295 WiFi/Bluetooth Dell Wireless 1820a

Not Working

  • Intel card not working yet (Bluetooth kext can be found at IntelBluetoothFirmware)
  • Discrete GPU (Disabled)
  • Fingerprint (Disabled)
  • Internal Microphone

HDMI blinking at boot

This will happen when using plug-in HDMI after bootup. This will be fixed after short sleep (about 1min) and never happen again until reboot

  • You can fixed this by turn off com.apple.driver.AppleHDAController in Kernel and Kext Patches on Clover or Kernel > Patch on Opencore but HDMI Audio will be disabled

For building

This will pull all newest kext and build into zip files

  • Clone this repo
  • Run follow command: python3 update.py --build

Installation

  • Prepair an Mac installer in USB with bootloader you choice ( Use unibeast to create it )

  • Replace EFI/(Booloader) folder in USB EFI partition with this shipped bootloader folder

    • If you dont have EFI folder, go to bootloader download pages and take them
  • Boot into USB and select MacOs installer

  • After install success, run PostInstall/install.sh in terminal

  • Then you need to mount EFI partition and replace it with USB's EFI

  • After System EFI replaced by your EFI, Using Opencore Configurator, Clover Configurator or update script to change SMBIOS, generate your serial and MBL

  • Run python3 update.py --post to fix sleep and audio

    • You can run bash install.sh in PostInstall/CombojackFix if cant use above script
  • If you're using intel card, please use NullEthernet for fixing iMess and FaceTime

    • Change MAC in NullEthernet with your new created one, see below

Fake ethernet

  • Generate your MAC address in SSDT-RMNE if using NullEthernet
  • You can make an MacAddress in Mac generator online
  • Edit SSDT-RMNE.aml with MaciASL and replace MAC with your generated one
  • Save as -> ACPI machine language (replace exited one)
  • Add it to your bootloader:
    • Kext add in Kexts (Opencore need add to Kernel in config.plist)
    • AML's file add to ACPI folder (Opencore need add to ACPI)
  • Reboot

Sleep Wake

sudo pmset -a hibernatemode 0
sudo pmset -a autopoweroff 0
sudo pmset -a standby 0
sudo pmset -a proximitywake 0
sudo pmset -b tcpkeepalive 0 (optional)

-b - Battery -c - AC Power -a - Both

Please uncheck all options (except Prevent computer from sleeping..., which is optional) in the Energy Saver panel.

SN MLB SmUUID using update script

Please use your own SN, MLB (use MacInfoPkg or Clover Configurator or Hackintool) and SmUUID.

python update.py --set sn=xxx mlb=yyy smuuid=zzz
python update.py --gen # generate and use new SN, MLB and SmUUID

Display

If you are using FHD(1080p) display, you may want to enable font smoothing:

defaults write -g CGFontRenderingFontSmoothingDisabled -bool NO

If your laptop display is 4K screen, you should set uiscale to :

python update.py --set uiscale=2

DW1820a

You have to add following config to Device Properties:

Change

<key>#PciRoot(0x0)/Pci(0x1c,0x0)/Pci(0x0,0x0)</key>

Into

<key>PciRoot(0x0)/Pci(0x1c,0x0)/Pci(0x0,0x0)</key>

See THE Solution:Dell DW1820A

CLOVER and Opencore Theme

You can set theme to one of these themes.

Opencore now can be using clover theme by convert function in update.py, run below to set and theme you like

  • Right now opencore only have white font color, so select dark theme is best choice
python update.py --set theme=name # will download if not exist
  • Example python3 update.py --set theme=Material

NTFS Writing

Add UUID=xxx none ntfs rw,auto,nobrowse to /etc/fstab, xxx is the UUID of your NTFS partition.

If your NTFS partition has Windows installed, you need to run powercfg -h off in powershell in Windows to disable hibernation.

Tap Delay

  • Turn off Enable dragging or use three finger drag to avoid one-finger tap delay.
  • Turn off Smart zoom to avoid two-finger tap delay.

See is-it-possible-to-get-rid-of-the-delay-between-right-clicking-and-seeing-the-context-menu

BIOS value unlock (Advanced User)

Big thanks for @Leoing, who found all nessesary value

Name Address Configable value Default value
CFC-Lock 0x6F0 0x1 or 0x0 0x1
DGPU 0x574 0x1 or 0x0 0x1
Voltage Lock 0x78C 0x1 or 0x0 0x1 (1.6.0)

You can follow this to change those value

For Bios 1.6.0 0x78C need set to 0x0 so VoltageShift can be used

Credits

About

MacOS running in dell 7591


Languages

Language:Python 89.9%Language:Shell 5.4%Language:Rich Text Format 4.7%