Skip to content
oc-intel-lfs
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
OC
 
 
 
 
 
 
 
 

Hackintosh on MSI GP62 6QG-1071XCN

  • CPU: i7-6700HQ
  • Chipset: HM170
  • Audio: ALC898
  • Ethernet: Killer E2400
  • Wi-Fi: AC3165
  • BIOS: E16J5IMS.11D
  • iGPU: Intel HD Graphics 530
  • eGPU: GeForce GTX 965M (Maxwell GM206)

Reference

Credits

Alert

Do NOT directly use the file provided, you need to change something so that it won’t cause a problem. The best way to make your own Hackintosh installed is to follow the guide list below step by step.

Tools

ACPI

Patch

Monitor

NTFS Writer

Installation

Dortania’s OpenCore Install Guide

Post Installation

OpenCore Post-Install

CPU

Fan Control

Bluetooth

USB

iGPU

eGPU

iCloud

Others

Time Sync

Since macOS take BIOS time as UTC time, and Windows take it as local time, we need to make Windows take BIOS time as UTC time.

sudo Reg add HKLM\SYSTEM\CurrentControlSet\Control\TimeZoneInformation /v RealTimeIsUniversal /t REG_DWORD /d 1

Disable auto mount

sudo cp ./Other/fstab /etc

Enable middle mouse for look up & data detectors

brew cask install Karabiner-Elements
cp ./Other/lookup.json ~/.config/karabiner/assets/complex_modifications

You can use them in Preferences -> Complex Modifications -> Add rule

Modify hidden BIOS settings

(Recommend) Advanced BIOS setting (credit @lgs3137 / @卖女孩的小火柴 / @fgfg163)

  1. Press Delete to enter BIOS after power on.
  2. Press Right Ctrl, Right Shift, Left Alt and then F2 to open the hidden BIOS settings. (Be careful with the key order)
  3. Change Advanced -> CPU Configuration -> CFG Lock to Disabled.

Unlock CFG

  1. Use UEFITool to open the BIOS file.
  2. Search for CFG Lock in Text segment.
  3. In the search segment, double click the search resoult to jump to it.
  4. Right click the highlighted search resoult, click Extract body..., and save it as cfg.bin.
  5. Use IFR Extractor to extract the text.
    ./ifrextract cfg.bin cfg.txt
        
  6. Search for MSR 0xE2 in cfg.txt, look for VarStoreInfo and VarStore.
  7. Use grub-mod-setup_var to create a GRUB bootloader in a NEW USB disk.
    ESP
    └── EFI
        └── BOOT
            └── BOOTX64.efi
        
  8. Reboot to the GRUB Shell.
  9. Check CFG
    setup_var_3 0x123
        

    The value 0x123 is your VarStoreInfo’s value. The resault value should be your VarStore’s value.

  10. Unlock CFG
    setup_var_3 0x123 0x00
        

You can change DVMT-Pre-Allocted in the same way. Just search DVMT in your cfg.txt and do the same as follows.

HDMI/DP

  1. Enable video output for your Product. (choose one method)
    • (default) use boot argument agdpmod=vit9696 to disables check for board-id (credit WhateverGreen)
    • change ProductName to MacBookPro13,1 in config.plist. (thanks to @hsulei)
    • add config to plist. (credit @PLChinDev)
      sudo mount -uw /
      cd /System/Library/Extensions/AppleGraphicsControl.kext/Contents/PlugIns/AppleGraphicsDevicePolicy.kext/Contents/
      plutil -insert IOKitPersonalities.AppleGraphicsDevicePolicy.ConfigMap.Mac-A5C67F76ED83108C -string "none" Info.plist
      sudo kextcache -i /
              
  2. You should not plug in the HDMI/minDP cable until the macOS is booted to get the audio output.
  3. If you can’t get video output on 4K displayer, you should wait for the system completed booted and make the internal screen black once(you can use hotcorner to “Put Display to Sleep”), and then you can plugin the cable and the external displayer will work.

Notes

  • If you want to edit plist’s Data type in Xcode, you should use format like <01000000>.

Donate

If my work helps you, please support me for further updates.

AlipayWeChat PayPayPal
.github/alipay.jpeg.github/wechat_pay.jpeg.github/paypal.png