/Huawei-Matebook-X-Pro-Hackintosh

OpenCore Config to run macOS Catalina on the Matebook X Pro 2020

Primary LanguageASL

Huawei Matebook X Pro 2020 macOS Catalina / Big Sur

Currently working with MacOS Monterey ONLY (Added Monterey only Kext's)

I sadly dont have time to update reguraly so be patient.

This is a fork of Chilluminati91's Hackintosh Git Repo. Since Chilluminati91 stopped updating it in September and currently the files he gave don't work without some effort I decided to upload my files with the updated OC and Kext's. It took me some time to make it work but the bulk of the effort was done by Chilluminati91 so show he some love to him.

Notes

  1. I have been using MacOS in this computer for a while now. The battery life is not that great but the performance is very good. The original says that the touchscreen is disabled but it was not. The touch screen works surprisingly well. The biggest problems are:
  • Bluetooth 4.0 might now work.
  • During installation if you don't create your usb installer with a Mac, you will need wired internet. The wifi wont work during install.
  1. For verbose boot I added a debug EFI with verbose boot turned on. You will need to clone the repo for it
  2. I STRONGLY recommend that you don't replace the EFI if you dual-boot. This is because there are issues when you are booting into Windows with OC. I would also recommend you put your must have apps (like heliport) into the USB installer. It would be a pain to instal it without internet.
Device Spec
CPU Intel i5-10210U / Intel i7-10510U
iGPU Intel UHD 620
dGPU Nvidia MX250 (Disabled)
WIFI / BT Intel AC9560
SSD 512GB WDC PC SN730
Audio Realtek ALC256 (id=97)

Not working:

  • Second USB-C Port (Does work if plugged in while booting)
  • Bluetooth (4.0 devices not supported yet)
  • Camera
  • E-GPU (Not Tested)

Installation (SingleBoot):

  1. Open the config.plist and make the following Changes:
    • PlatformInfo: new MLB, System Serial Number, UUID and ROM (Use GenSMBIOS)
    • If you don't have CFG Lock disabled enable AppleCPUPmCfgLock and AppleXcpmCfgLock under Kernel -> Quirks
  2. Create a bootable Linux (Ubuntu) USB (Enough guides on the internet) and format your SSD in 4k Sectors. This is recommended but not necessary.
  3. Create a macOS Install Stick (Catalina or Big Sur) with gibmacOS (Guide: https://dortania.github.io/OpenCore-Install-Guide/installer-guide/mac-install.html).
  4. After the stick is complete close terminal, mount the EFI and add the OpenCore EFI. Open up DiskUtility and eject the Install Partitions on the very bottom first, then eject the USB drive (Eject All)
  5. Boot your Matebook while holding F2 and change the following Bios settings:
    • Secure Boot: Disabled
    • TPM: Disabled
    • Thunderbolt -> Security Level: No Security
    • Virtualization Technology: Disabled
    • Disable the HDD boot/Windows-Boot (Only for Dual-boot installations)
  6. Insert the Opencore Stick, Boot your Matebook while holding F12 and select the USB drive. Navigate to Install macOS and press enter. Go through the macOS Installer. This will take a while (do not turn off the Laptop if it seems like its frozen) and a couple of automatic reboots. You will get a black-screen after reaching the Apple logo. Close the lid for a second and open it again. This is necessary every time you boot macOS.
  7. Go through the macOS Setup

Installation (Double-boot without deleting Windows):

If you want to protect your Windows installation there are a few extra steps you need to do before:

  1. Increase your Windows EFI size form 100MB to 200MB. (This is crucial. Without doing this during partition formatting you can and will corrupt your EFI or wort corrupt your entire drive.) I recommend MiniTool Partition Wizard.
  2. Partition the disk you want to install MacOS. Give a minimum of 120GB. It will fill up fast.
  3. Format the new partition to FAT32.

Now continue with the single-boot installation.

Post-Installation:

Fixing Sleep (taken from Profzei):

Open up terminal and make the following changes:

sudo pmset -a hibernatemode 0
sudo rm -rf /private/var/vm/sleepimage
sudo touch /private/var/vm/sleepimage
sudo chflags uchg /private/var/vm/sleepimage
sudo pmset -a standby 0
sudo pmset -a autopoweroff 0
sudo pmset -a powernap 0
sudo pmset -a proximitywake 0

Fixing Internal Speakers (taken from gnodipac886):

By default macOS only uses 2 out of your 4 speakers which sound muffled and are missing a lot of the high frequencies. Enable surround sound to get a way better audio experience.

  1. Open Audio MIDI Setup from applications
  2. Click on the "+" symbol on the bottom left corner
  3. Click "Create Muti-Output Device"
  4. Check both of the Built-in Output options
  5. Select the newly created device in the menu bar
  6. Enjoy your music!

Thanks to:

  • Chilluminati91 for the original EFI and template for this project.
  • The Dortania Team for their incredible guide and documentation
  • moh.96 and BlvckBytes for the battery hotpatch
  • Rehabman for a lot of great guides and general knowledge
  • Laozhiang for a general idea on how to handle this laptop
  • The OpenCore Team for this brilliant bootloader
  • gnodipac886 and profzei for their respective repo's for the 2018 model and ACPI files