Skip to content

Commit

Permalink
Add installation instruction
Browse files Browse the repository at this point in the history
  • Loading branch information
hieplpvip committed Oct 14, 2020
1 parent a506932 commit 5e909c4
Show file tree
Hide file tree
Showing 5 changed files with 75 additions and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ I can not test support for all models as I only have UX410 (Kaby Lake). Please o

#### Instruction

Work in progress
See [docs](https://github.com/hieplpvip/Asus-Zenbook-Hackintosh/tree/master/docs) folder.

#### Credits

Expand Down
74 changes: 74 additions & 0 deletions docs/installation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
# 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](https://dortania.github.io/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:
```shell
git clone https://github.com/hieplpvip/Asus-Zenbook-Hackintosh zenbook
cd zenbook
```

## Step 1: Generate Serial Number

Follow [this guide](https://dortania.github.io/OpenCore-Post-Install/universal/iservices.html#generate-a-new-serial) 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`:
```shell
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:
```shell
./download.sh
```

- Build EFI folder:
```shell
./build.sh
```

## Step 3: Prepare USB Installer

Follow [this guide](https://dortania.github.io/OpenCore-Install-Guide/installer-guide/mac-install.html#downloading-macos-modern-os) 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](https://dortania.github.io/OpenCore-Install-Guide/installation/installation-process.html#double-checking-your-work).

## Step 5: Post installation

Use [MountEFI](https://github.com/corpnewt/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](https://github.com/xzhih/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](https://dortania.github.io/OpenCore-Install-Guide/troubleshooting/extended/post-issues.html#disabling-sip)).

After that, run the command from [one-key-hidpi](https://github.com/xzhih/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](https://dortania.github.io/OpenCore-Post-Install/universal/iservices.html#clean-out-old-attempts) 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](https://dortania.github.io/OpenCore-Post-Install/misc/msr-lock.html).
Binary file removed wiki/asus_theme.png
Binary file not shown.
Binary file removed wiki/paypal-me-300x300-jpg.png
Binary file not shown.
Binary file removed wiki/zenbook.jpeg
Binary file not shown.

0 comments on commit 5e909c4

Please sign in to comment.