Installation Instruction
Prerequisites
- Time and patience
- Basic knowledge of command line
- A computer running macOS (for running scripts in this repo)
While not necessary, I recommend reading Dortania's OpenCore Install Guide entirely before we start to get a feel of how OpenCore/Hackintosh works. Don't worry if you're new to Hackintosh and get overwhelmed with the amount of information there. All the files have been prepared for you in this repo; you just need to follow the instruction below.
Step 0: Clone this repo
If you haven't cloned this repo, do it now:
git clone https://github.com/hieplpvip/Asus-Zenbook-Hackintosh zenbook
cd zenbook
Step 1: Generate Serial Number
Follow this guide to generate a fake serial number for yourself. Never use someone else's serial number!
In src
folder, create a copy of smbios-sample.txt
called smbios.txt
:
cp src/smbios-sample.txt src/smbios.txt
Put your newly generate serial number in smbios.txt
. It will be used to generate OpenCore config for you.
Step 2: Building EFI folder
- Download necessary kexts and drivers:
./download.sh
- Build EFI folder:
./build.sh
Step 3: Prepare USB Installer
Follow this guide to create a macOS USB Installer.
When you get to Now with all of this done, head to Setting up the EFI to finish up your work
, copy EFI
folder in build
to your USB EFI volume.
Now you're ready to install macOS.
Step 4: Install macOS
Restart your laptop and boot from your USB. The installation process is fairly straightforward. If you're confused, read this.
Step 5: Post installation
Use MountEFI to mount the EFI volume on your main disk drive (not your USB) and copy EFI
folder in build
to it. Now you can boot without USB.
Congratulations! You have successfully installed macOS on your Zenbook laptop. There're still some works to do, though:
Enable HiDPI to get better display resolution
We'll use one-key-hidpi. Since it requires making changes to root filesystem, which is read-only on Catalina+ when SIP is enabled, we need to disable SIP first (see this guide).
After that, run the command from one-key-hidpi's README and Restart your laptop.
Finally, don't forget to re-enable SIP for better security.
Test iMessage, Facetime, etc.
If you have correctly generated serial number, these services should work for you. If not, clean up and generate a new serial number.
Unlock 0xE2 MSR
While not needed, you are recommended to do it (for better system stability). Follow this guide.