- 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.
Script can also be run in Windows, just download iasl binary and replace it in tools/asl. (Maybe you also need installation of Git Bash).
If you haven't cloned this repo, do it now:
git clone https://github.com/hieplpvip/Asus-Zenbook-Hackintosh zenbook
cd zenbook
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.
- Download necessary kexts and drivers:
./download.sh
- Build EFI folder:
./build.sh
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.
Restart your laptop and boot from your USB. The installation process is fairly straightforward. If you're confused, read this.
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:
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.
If you have correctly generated serial number, these services should work for you. If not, clean up and generate a new serial number.
While not needed, you are recommended to do it (for better system stability). Follow this guide.
- If you experience poor quality audio, try to change frequency of audio output to 48,0Hz in 'Midi Audio Setup'.
- Sometimes Audio from Speaker or Jack randomly disappear in some models, in this case closing and reopening the lid should fix.