Home

Awesome

Matebook X Pro Hackintosh

This is the guide to install macOS onto the Huawei Matebook X Pro.

IMPORTANT This project is no longer being updated, please proceed at your own risk.

Click here to help a broke student out or at the bottom of the page. :)

English | 中文| Español

DISCLAIMER The project is still in its beta/testing state. Proceed at your own risk, I shall not take responsibility for any damages caused.

For quick post installation, please run this in terminal:

sh -c "$(curl -fsSL https://raw.githubusercontent.com/gnodipac886/MatebookXPro-hackintosh/master/onekey_installer.sh)"

My Matebook X Pro's Hardware Configuration:

What works:

What doesn't Work:

Let's Get Started

What you need:

BIOS Settings

Installing with a macOS Device

Installing Without a macOS Device

If you are having trouble with this method, here is a more detailed guide.

If you don't have a machine running MacOS, you can easily create your bootable USB following these steps:

  1. Download gibMacOS Scripts
  2. Run gibMacOS.bat
  3. Run MakeInstall.bat
  4. Open BOOT USB drive. Open EFI folder. Delete BOOT and CLOVER folders. Copy over the BOOT and CLOVER folders from Repo's USB-EFI folder.

You can copy over any WiFi dongle drivers or tools you may need onto your USB for post installation

  1. Boot from USB and select "Boot macOS install from OS X Base System"
  2. System will reboot choose option "Boot macOS from <your_drive_name>"

If stuck in a boot loop add -disablegfxfirmware to Clover Option Boot Args

Post Installation

Please run this code in terminal:

sh -c "$(curl -fsSL https://raw.githubusercontent.com/gnodipac886/MatebookXPro-hackintosh/master/onekey_installer.sh)"

You should now be at your desktop.

Download

Mount EFI partition if not mounted already

Clone the repository via terminal or download it and swap the CLOVER folder downloaded for the one in your EFI directory.

Note if you have the i5 version, or any other configurations of the laptop sold exclusively in China, you should:

Dual Booting Fix

After Windows updates, Clover EFI might be ignored making your system boot straight to Windows. This is usually caused by a Windows update affecting EFI files. Here's how to fix it:

  1. Grab the gibMacOS Scripts
  2. Run MakeInstall.bat
  3. Choose to install clover only in the script - for example, if your drive number is 1 then enter 1C for the MakeInstall.bat script and press enter
  4. Boot from your USB that you installed Clover to and go to MacOS
  5. Mount your boot disk EFI partition using Clover Configurator
  6. In EFI/Microsoft or EFI/Windows rename the boot EFIs (boot.efi and bootmgfw.efi) to <original_name>-orig.efi.

That's it! Dual boot should be fixed.

Activate Surround Sound via MIDI

  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!

(Note, there is no volume control for multi-channel devices in macOS, so in order to change the volume, you'd have to change the individual volume on each output, or get dedicated software)

Bluetooth Fix (Deprecated)

Before any of this, make sure you have bluetooth avaliable in the menu, even if it says no hardware detected

  1. Download: VMware, and Tinycorelinux Core.iso
  2. Boot the iso file with VMware
  3. Run the following command in terminal:
$ tce-load -wil bluez usbutils firmware-intel  
  1. From the Core's Bluetooth settings, uncheck "Share Bluetooth devices with Linux"
  2. Now, you should see Intel Bluetooth in the list of devices above
  3. Check the Intel Bluetooth box and wait for about 4-5 seconds, during this time, the check may flicker, this is ok
  4. Then uncheck the box, and you should see bluetooth is now avaliable to macOS.

Instead of shutting down the VM, pause it and quit VMware. This saves you trouble of having to re-type the command each time, just repeat steps 4 - 7.

Updates

6/1/2020: Minor adjustments

1/1/2020: Update of the Decade

(I've worked really really hard on this one, so please feel free to help a broke student out here)

11/1/2019: 10.15 Catalina

7/1/2019: Pretty Small Update

6/1/2019: Pretty big update

5/1/2019: Most Important Update Yet

4/11/2019: New LiteOn Patch

      <dict>
        <key>Comment</key>
        <string>IONVMeFamily: Ignore FLBAS bit:4 being set - for Plextor/LiteOn/Hynix</string>
        <key>Disabled</key>
        <false/>
        <key>Name</key>
        <string>IONVMeFamily</string>
        <key>Find</key>
        <data>SBr2wRAPhQ==</data>
        <key>Replace</key>
        <data>SBr2wQAPhQ==</data>
      </dict>

4/2/2019: Config for Updating/Installing

4/1/2019: 10.14.4 & New Power Management Kexts

    sh -c "$(curl -fsSL https://raw.githubusercontent.com/daliansky/XiaoMi-Pro/master/one-key-cpufriend/one-key-cpufriend.sh)"

Comment: CFL patch for MateBook X Pro (10.14.4 credit gnodipac886)
Name: AppleIntelCFLGraphicsFramebuffer
Find: <48ff0557 f607008b 96c02500 008a8e95>
Replace: <b8040000 008986bc 25000031 c05dc395>
    <dict>
        <key>Comment</key>
        <string>CFL patch for MateBook X Pro (10.14.4 credit gnodipac886)</string>
        <key>Find</key>
        <data>SP8FV/YHAIuWwCUAAIqOlQ==</data>
        <key>Name</key>
        <string>AppleIntelCFLGraphicsFramebuffer</string>
        <key>Replace</key>
        <data>uAQAAACJhrwlAAAxwF3DlQ==</data>
        <key>Disabled</key>
        <false/>
    </dict>

2/1/2019 : 10.14.3

1/23/2019 : 10.14.3 Update Graphics

CFL patch for MateBook X Pro (10.14.3 credit gnodipac886)
Name: AppleIntelCFLGraphicsFramebuffer
Find: <48ff0589 4d07008b 96c02500 008a8e95>
Replace: <b8040000 008986bc 25000031 c05dc395>
			<dict>
				<key>Comment</key>
				<string>CFL patch for MateBook X Pro (10.14.3 credit gnodipac886)</string>
				<key>Find</key>
				<data>SP8FiU0HAIuWwCUAAIqOlQ==</data>
				<key>Name</key>
				<string>AppleIntelCFLGraphicsFramebuffer</string>
				<key>Replace</key>
				<data>uAQAAACJhrwlAAAxwF3DlQ==</data>
				<key>Disabled</key>
				<false/>
			</dict>

1/21/2019

Credits:

Help a broke student out:

QR Codes:

PayPalVenmo.WeChatAliPay
PayPal_160venmo_160Wechat_160支付宝_160

Good Luck!