CHN-STUDENT / MSI-GP62-Hackintosh

Mojave on MSI GP62 6QG-1071XCN

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hackintosh on MSI GP62 6QG-1071XCN

DeviceModel
CPUi7-6700HQ
ChipsetHM170
AudioALC898
EthernetKiller E2400
Wi-FiBCM94352Z
BIOSE16J5IMS.11D

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

Post Installation

CPU

Fan Control

Wi-Fi/Bluetooth

USB

iGPU

eGPU

iCloud

Others

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

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. choose a platform id.
    • (default) 0x19160000 / 0x191B000 or not set has build-in display but limited HDMI output(4K@30Hz/1080P@60Hz).
    • 0x19120000 has functional HDMI/DP output(4K@60Hz) but without build-in display.
  3. You should not plug in the HDMI/minDP cable until the macOS is booted to get the audio output.

Modifiy hidden BIOS settings

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.

Notes

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

About

Mojave on MSI GP62 6QG-1071XCN


Languages

Language:ASL 97.3%Language:Shell 2.7%