Skip to content

Instantly share code, notes, and snippets.

@boredomdenied
Last active May 15, 2018 19:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save boredomdenied/e445b87435bd2372a38e072b5b0e94a5 to your computer and use it in GitHub Desktop.
Save boredomdenied/e445b87435bd2372a38e072b5b0e94a5 to your computer and use it in GitHub Desktop.
HackbookPro: High Sierra 10.13.4 + 2018-001 update && Ubuntu 18.04
***NOTICE***
I am making this for my own reference. Anyone wishing to follow this guide
should use exact model Asus F510US with exact upgrades. The are: 8GB DDR4 2400MHZ
module populating second slot. M.2 860 EVO I got 250GB you can choose larger.
BCM5342 Wifi/BT module must replace the stock Intel for wifi & bluetooth.
# From Ubuntu
## Get ubuntu
download ubuntu 18.04 https://www.ubuntu.com/download/desktop
## Find partition of usb stick
fdisk -l
## Create bootable ubuntu iso for install
dd if=/home/{user}/ubuntu.iso of=/dev/{usb_partition} bs=64k status=progress
## Partition for dual-boot during installation
select "something else"
/dev/sda = HDD ## do not partition during install
/dev/sdb1 # partition EFI 512MB
/dev/sdb2 # partition EFI 512MB
/dev/sdb3 # partition Ext4 124000MB
/dev/sdb4 # partition fat32 124000MB
## Install bootloader to second EFI
be sure to find the drop-down menu and set bootloader to /dev/sdb2 at the partition screen
## Download high sierra
You need a legitimage copy of High Sierra. Piracy is illegal. What we're doing here is legal.
Either purchase High Sierra direct from apple store else from a legitimate Apple Mac you own
go to app store and search "High Sierra". You can download and find it afterwards in your
Applications folder
# From macOS
## Create Partition on USB
After inserting the stick you need to initialize with disk partition and erase to Journaled GPT.
Then open up a terminal and type: `diskpart list` to find the dev name of stick
`diskutil partitionDisk /dev/{stick} 1 GPT HFS+J "install_osx" R`
## Download and install clover bootloader to stick
https://sourceforge.net/projects/cloverefiboot/
continue > continue > change install location > install_osx > continue > customize >
UEFI booting only + themes>bgm + 64UEFI>AptioMemoryFix&&UsbKbDxe&&UsbMouseDxe > Install
** don't close yet we need EFI to stay mounted
## Download/Clone repo with modified EFI
https://github.com/boredomdenied/Asus-Vivobook-S510UA-High-Sierra-10.13-Hackintosh
Move contents of EFI READY FOLDER to EFI mounted partition choose "replace all"
## Move High Sierra to USB stick
In a terminal type: `sudo "/Applications/Install macOS High Sierra.app/Contents/Resources/createinstallmedia"
--volume /Volumes/install_osx/ --nointeraction`
then: `diskutil rename "Install macOS High Sierra" install_osx`
## Move Kexts & ACPI
Move contents of DSDT PATCH > Patch AML to CLOVER > ACPI > patched
Move contents of NECESSARY KEXT > CLOVER > kexts > Other
Remove all folders besides "Other" in CLOVER > kexts
Move CONFIG/config.plist > CLOVER/config.plist
## Boot macOS Installer
** you need usb mouse for install! we fix this later. ensure usb controller is inserted first before continue
Reboot, press esc key to hit boot menu. Select your USB stick. Select osx_install
## Install macOS
When menu appears select Disk Utility. You should see something like disk0s4. Partition MacOS Ext Journaled
Close Disk Utility. Click Install macOS > Continue > Continue > Agree > {choose your disk} > Install
Reboot, esc to hit stick, select Install OSX this is second part of install should take ~ 10 minutes
## Boot macOS
Reboot, esc to hit stick, select Prebooter from Preboot
Continue > Continue > configure wifi&& Continue > Continue > Continue > create AppleID > Continue > Agree
Choose acctname & password iCloud Keychain -- Set up later. I disable Siri, location services & analytics
## Get trackpad working
Trackpad requires removing kexts. If we update to latest security patch we have to go through this step yet again.
So we update first. Open App Store. Go to updates. It will say security update 2018-001. Download and restart.
After install completes restart again. Esc to boot from USB, choose macOS install from osx_install
Utilities > Terminal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment