Install Hackintosh On Asus UX305FA-06
Install Hackintosh On Asus UX305FA-06
Install Hackintosh On Asus UX305FA-06
Before we begin, make a backup of all data or better yet a disk image to safe guard your data!
You have been warned! A backup is the only safeguard if something goes wrong.
Please read this install guide completely prior to any action, since it is a synopsis of required actions,
You will be using other guides as well, by knowing this guide you will understand the interaction
between various guides.
This guide is made possible by the efforts of a great many people who have worked hard to
make such a guide for the UX305FA possible, we stand on their shoulders today.
Resources:
Asus Zenbook UX305FA compatability
[Guide] Booting the OS X installer on LAPTOPS with Clover UEFI
RehabMan/OS-X-Clover-Laptop-Config GitHub
New RehabMan kexts/builds/binaries for Yosemite
[Guide] Patching LAPTOP DSDT/SSDTs
[Guide] Patching DSDT/SSDT for LAPTOP backlight control
RehabMan/ OS-X ACPI-Debug
Clover V2.3K Special Edition
Configuration SMBIOS
.
Please note we use step (3), stage (2) and phase (3) they are distinctly different.
Steps, are the steps I took in the install process. Stages, are the Apple installers stages.
Phases, are the three phases of Clover EFI install process..
The FIRST STEP is to make an install DISK/USB from which the install might take place.
[Guide] Booting the OS X installer on LAPTOPS with Clover UEFI
The above guide is the definitive source for OS X install. Below you will find the steps I took.
Please make sure you installed HFSPlus.efi in /EFI/Clover/drivers64UEFI
The SECOND STEP, we need to make some changes to the BIOS/EFI. When the computer starts hit
the escape key esc. We need to Enter Setup usually the bottom item.
REQUIRED CHANGES:
Video /Graphics MUST be set to 64
Section Advanced:
Intel Virtualization
VT-d
Graphics
Disable
Disable
64
Section Boot:
Fast Boot
Disable
Launch GSM
Enable
Section Security:
Security Boot Menu Enter
Secure Boot
Disable
Section Save & Exit:
Save Changes and Exit
Yes
The THIRD STEP, boot into installer.
Note: You will need a USB keyboard and mouse for initial install.
We are just looking for the system to boot up to the installer screen and this begins PHASE ONE.
Select Disk Utils and partition drive you will need at least one partition for install, default value is
fine. The name you give this disk will be the installei_disk_name used later for booting the system.
Once completed exit Disk Utils. Choose Install and install OS X This will be the first stage of a two
stage process. The computer will reboot. This ends Install PHASE ONE and stage one.
The computer will boot into install_osx this will be the start of install PHASE TWO.
The installer will automatically start stage two of install process.
Once completed the computer will reboot ending PHASE TWO and stage two.
Booting to installed_disk_name.begins PHASE THREE.
The user will be prompted for information required for initial user setup etc. Upon completion the
installers work is complete. However, we still have to install the Clover Boot Loader as described in
Booting the OS X installer on Laptops with Clover EFI. Once Clover Boot loader is installed and post
configuration completed, PHASE THREE is completed.
From this point forward we boot from the installed_disk_name. Keep the INSTALL DISK for
emergency access to system. Maintaining the original INSTALL DISK/USB will ensure you have a
copy of original Clover Version Used during install. It is a good practice to also maintain the original
Clover Package or zip for archival purposes.
At this point all step, stages and phases are completed. Post install starts with a clean slate.
See POST INSTALL Asus UX305FA
Simply match the settings above. Note: 1 st image Startup un-checked this is important!
Worth noting MacIASL will not save until you actually use the save command or save as.
This allows us to patch and compile safely since nothing is saved util you specifically do so.
Thus if a patch goes horribly wrong, no harm no foul just reload and start over. It is good practice to
compile before you patch to make sure the file is error free from the beginning. For fixing errors see
[Guide] Patching LAPTOP DSDT/SSDTs .
You will see an error _DOS in this process the answer of how to fix this error is located one line above
the error . and requires removal of comment //. If my few last brain cells are correct you will also see
an unreachable error you must correct.
Example:{
return arg0
arg1 you can never get here you returned above, comment it out with // infront //arg1
}
When patching make sure to compile at least every second patch so the problem is easier to identify
and correct, secondly on compile you will get a dialog popup with a large amount of information, pay
attention to lower window frame left side it will list errors so 0 Errors means that we need not be
concerned with warnings etc, since compile was successful.
We have the basics covered pretty well, so that leaves us with rename GFXO IGPU. This is a special
case situation and RehabMan helped me out with resolution (see post 189). I will do a quick recap
since I understand the anxiety level increased 10 fold. It really isn't as bad as it might seem and you
must have gained some degree of confidence since you got this far, so take a deep breath and get a
drink and we will start.
First lets save our work so far by copying the work-dsdt folder to safe-work-dsdt, we can always go
back if need be now. Part of this process is a new disassembly of all files plus a new ref.txt. So we
need our patched DSDT compiled and saved prior to this step. If you haven't done so please compile
and save DSDT.aml (binary).
The ref.txt is a simple text file with the code provided pasted in and saved as ref.txt
Post 189 by RehabMan:
Create refs.txt:
Code:
External (_SB_.PCI0.PEG0.PEGP.SGPO, MethodObj, 2)
External (_SB_.PCI0.LPCB.H_EC.ECWT, MethodObj, 2)
External (_SB_.PCI0.LPCB.H_EC.ECRD, MethodObj, 1)
Then disassemble with it:
Code:
iasl -da -dl -fe refs.txt *.aml
Now open SSDT-8.dsl and move the Externals created by refs.txt to after the other externals:
Code:
...
External (SCIS, FieldUnitObj)
/*
* External declarations that were imported from
* the reference file [refs.txt]
*/
External (_SB_.PCI0.PEG0.PEGP.SGPO, MethodObj, 2)
External (_SB_.PCI0.LPCB.H_EC.ECWT, MethodObj, 2)
External (_SB_.PCI0.LPCB.H_EC.ECRD, MethodObj, 1)
OperationRegion (SANV, SystemMemory, 0xD9763E18, 0x018A)
...
Results: DSDT.dsl, SSDT-1.dsl, SSDT-3.dsl, SSDT-4.dsl, SSDT-6.dsl, SSDT-7.dsl all compile clean.
SSDT-2.dsl: needs "Remove _PSS placeholders"
SSDT-5.dsl: needs same "Move External from refs.txt" as for SSDT-8.dsl.
For some reason I found that I also required externals declared in SSDT-1.dsl for it to compile.
Now for all files *.dsl we must patch them with rename GFXO IGPU if you watch the [ patches
changes rejects] if none are applied(changes) we can move on to next file. Remeber to apply patch
and compile then save both as *dsl and *.aml (binary).
If all has gone well we have our final set of DSDT/SSDT's now we have to make them usable by
Clover. A config.plist required change to use the DSDT/SSDT package is, Root | ACPI | SSDT | Drop
Oem = Yes. If you don't make the change it will simply hang during boot.
Now we need to mount the EFI partition to accomplish this task I use EFI Mounter , side note EFI
Mounter sometimes has problem in multiple disks environments it fails, the fix in terminal sudo mkdir
/Volumes/EFI then run it again and all is well. Next, all *.aml (DSDT/SSDT) files must be copied
to /EFI/CLOVER/ACPI/patched/. Finally copy config.plist /EFI/CLOVER/.
Good Luck!
Jhawk
Revision:
-06 fixed hyperlinks, added FnKeyPatch.zip