This guide is currently for the i7 EU model with MX150. This blog post is only for personal reference.

Official Matebook X Pro (MACH-W29) Support Page

Credits

My Matebook X Pro’s Hardware Configuration

Requirements

Step 1 - Creating a bootable USB for installing Mojave


I - macOS Mojave on VMware on Windows PC

First we need to be in a mac OS environment, so we will need to create a virtual machine. Adhere to this guide to get started.

II - Downloading the bootloader and Mojave Installer

Now that we are in a Mac environment, we will download our core tools to make the USB installer.

III - Getting your USB ready

We will format the USB correctly with the use of terminal. In terminal, type:

diskutil list

This will provide a list of all disks and related partitions. Find out what your USB is named. It’s probably something like /dev/disk3s0

In terminal, type (# refers to a comment line):

# repartition /dev/disk3 MBR, two partitions
# first partition, "CLOVER EFI" FAT32, 200MiB
# second partition, "install_osx", HFS+J, remainder

diskutil partitionDisk /dev/disk3 2 MBR FAT32 "CLOVER EFI" 200Mi HFS+J "install_osx" R

The output should look something like this:

Started partitioning on disk3
Unmounting disk
Creating the partition map
Waiting for the disks to reappear

Formatting disk3s1 as MS-DOS (FAT32) with name CLOVER EFI
512 bytes per physical sector
/dev/rdisk3s1: 403266 sectors in 403266 FAT32 clusters (512 bytes/cluster)
bps=512 spc=1 res=32 nft=2 mid=0xf8 spt=32 hds=32 hid=2 drv=0x80 bsec=409600 bspf=3151 rdcl=2 infs=1 bkbs=6
Mounting disk

Formatting disk3s2 as Mac OS Extended (Journaled) with name install_osx
Initialized /dev/rdisk3s2 as a 7 GB case-insensitive HFS Plus volume with a 8192k journal
Mounting disk

Finished partitioning on disk3
/dev/disk3 (external, physical):

#: TYPE NAME SIZE IDENTIFIER

0: FDisk_partition_scheme *8.0 GB disk3
1: DOS_FAT_32 CLOVER EFI 209.7 MB disk3s1
2: Apple_HFS install_osx 7.8 GB disk3s2

Now, on the desktop, you should have 2 USB partitions:

We need to set the bootloader for the USB using Clover EFI bootloader

Download the CLOVER folder from Darren_Pan’s GitHub Rep

Open up CLOVER EFI and then click EFI. There should already be a CLOVER folder there. Replace it with the one you just downloaded.

Warning: For LiteOn SSD, you need to add this to the kextstopatch section:

<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>ikga9sEQ</data>
	<key>Replace</key>
	<data>ikga9sEA</data>
</dict>

Now that the boot-loader’s done, we need to get the Mojave installer on the SSD. Unzip Install macOS Mojave.app.zip file on to tha Desktop. Go back to terminal and type:

# copy installer image
sudo -s
"Install macOS Mojave.app/Contents/Resources/createinstallmedia" --volume /Volumes/install_osx --nointeraction

Then rename the partition with the line:

# rename
sudo diskutil rename "Install macOS Mojave" install_osx

You have now made your bootable USB for installing macOS Mojave.

Step 2 - Partitioning internal SSD for Dual Boot (Mojave + Windows 10)


Step 3 - BIOS settings and Booting the USB


Step 4 - Installing macOS Mojave


Selecting a partition for macOS

Install macOS

The installation is a 2 part process:

Warning: if it doesn’t boot, just use the “FakeID” method: this will just load the OS without a GPU for the time being.

Now, once you set everything up, you should be in macOS Mojave.

Step 5 - Post install