Contribute
Register

[Guide] Install 10.11 on Asus X555L Laptop with Clover UEFI

Status
Not open for further replies.
Joined
Oct 4, 2015
Messages
23
Motherboard
Dell XPS 13
CPU
i7-8550U
Graphics
Intel UHD620
Mobile Phone
  1. iOS
Installing OS X El Capitan on an ASUS X555LA



This guide covers installing OS X El Capitan on an ASUS X555LA Laptop. This guide features sections (like DSDT patching) that will likely ONLY work with the Asus X555L Laptops.


Credit goes to RehabMan for his version of MaciASL and the kexts we use, to TonyMacX86 for the CustoMac Essentials and to Mackie100 for creating the Clover Configurator.app.


Laptop Spec:
-Asus X555LA Motherboard
-Intel i5 4210U
-Intel HD4400 Graphics
-4GB RAM
-Intel Series 8 Chipset


Working so far:
-Brightness (No hotkeys yet...)
-Audio (Internal and External via 3.5mm jack)
-Full QE/CI Enable Graphics
-Ethernet
-Sleep
-Battery Information
-USB3.0


Non-Working:
-WiFi (Duh)
-Internal Mic
-HDMI Output
-VGA Output
-SD Card Reader



Creating Installation Media

Create your OS X El Capitan install media by downloading Unibeast 6.0 from the TonyMacX86 Download page (here). You will also need a download of El Capitan from the App Store. You can do this from a real Mac, an existing Hackintosh or a virtual machine. A USB of 8GB or above is needed.


After you've created your installation media, download a copy of VooDooPS2Controller.kext. Take the kext and put it inside the CLOVER directory of the USB drive.



Booting the Installation Media

I had no problems booting the install media, using only the -v flag. I would recommend restoring the UEFI to Factory Defaults, however that is not required.



Installing OS X

OS X needs to be installed to a disk with a GPT Partition Scheme. Personally I run Linux, Windows and now OS X, so I installed Clover to my existing EFI Partition. This guide will however assume you are starting from scratch and want only OSX.



  1. From the menu bar select Utilities -> Disk Utility.
  2. Select the HDD/SSD you want to install to and click 'Erase'
  3. For name, type "Hackintosh HD" (Or anything, you can also change it later)
  4. For format, choose "OS X Extended (Journaled)"
  5. For Scheme, choose "GUID Partition Map"
  6. Click "Erase". When complete close the Disk Utility.

Your target disk is now ready for OS X. You can proceed with the installation by choosing continue, and selecting "Hackintosh HD". The laptop will reboot on its own when its complete. Boot back into the UniBeast USB, but this time select "Hackintosh HD", and continue the installation.



Post-Installation -- Preperation

Attatched to this post is a .zip file named "AsusX555L.zip". Inside this zip contains the following:

  • Clover Configurator.app
  • MaciASL.app
  • Kexts/
    • VooDooPS2Controller.kext
    • ACPIBacklight.kext
    • Kext Wizard.app
  • CREDITS
  • README


This file is referenced to a lot in the next steps as it contains the apps and kexts we will need, all in one place. Please download this to a USB drive, and extract it to your Desktop after booting.


You'll also want to grab the El Capitan Post-Installation Tools from
here.




Post-Installation -- Clover

Now the fun stuff. We have to install our bootloader and apply patches for our DSDT/SSDT files, aswell as a few kexts, but before we can do that we have to boot into OSX. Boot into your UniBeast USB stick again and select "Boot Mac OS X from Hackintosh HD", and complete the setup.


Firstly, extract the Post-Installation.zip folder, and open it. Install Clover by opening the UEFI installer. Make sure to install it to the drive your OS X install is on.


While you are in the CustoMac folder, run CustoMac Essentials to install FakeSMC and Ethernet.


Now open Clover Configurator from the AsusX555L folder. This is where we will build up a config.plist for Clover to use. We will add a System Definition, inject our Intel HD4400 graphics and give your new hackintosh a serial number.


-Open the Clover Configurator
-Mount the EFI Partition by clicking Mount EFI partition -> Mount Partition
-Go to File -> Open, select the "config.plist" file from the EFI/CLOVER directory inside of your EFI partition
-Select "SMBIOS" from the side-menu
-Click the Magic Wand
-Choose a System Definition. I chose MacBookPro11,1 and seem to have no problems.


Save the config.plist, but don't reboot yet!


We need to add a kext to allow us to use our keyboard and mouse to the system, currently we can use it because its on our UniBeast USB. You can find the VooDooPS2Controller.kext in /Users/[Username]/Desktop/AsusX555L/Kexts/. Open KextWizard from the same directory, and drag the .kext file into it, then click "Install". After doing so, reboot.


If all goes well you should be able to boot from the HDD with Clover, and About This Mac (Apple -> About this Mac) should show a Macbook Pro. Keyboard and Mouse should also work now.




Post-Installation -- DSDT Patching


We now have 4 things left to do:

  • Enable Audio
  • Enable Graphics
  • Enable Backlight
  • Enable Battery Information


To do this we need to edit the DSDT and SSDTs for your device. This step requires extracting your native DSDT files, filtering out the ones you dont need, patching them and then finally placing them in the correct folder. You will also need to make changes to the config.plist you generated with Clover Configurator.


First, extract your DSDT files:

  1. Reboot the machine
  2. When you enter the Clover boot menu, press "F4" once.
  3. Boot into OS X.


Once booted into OS X, Open Clover Configurator and mount the EFI Partition by going to EFI Partition -> Mount Partition. After doing so, exit Clover Configurator and open Terminal.app, and type the following:
Code:
mkdir ~/Desktop/DSDT/
cd ~/Desktop/DSDT/
cp -r /Volumes/[EFI Partition]/EFI/CLOVER/ACPI/origin/* .

Doing this makes a directory on your Desktop called "DSDT", and changes directory into it. Then you copy your native DSDT files to the directory)


Before we can convert the .aml files to .dsl files, we need to get rid of the ones we don't want. For this specific laptop, you can delete all files except for the following:

  • DSDT.aml
  • SSDT-0.aml
  • SSDT-9.aml
  • SSDT-10.aml


Now you can convert them. Move the iASL file in the AsusX555L folder to /usr/bin:
Code:
sudo mv ~/Desktop/AsusX555L/iasl /usr/bin/

Finally we can decompile our .aml files:
Code:
iasl -da -dl *.aml


From now on, you only ever edit the .dsl files in MaciASL. It is also helpful to create a backup of these .dsl files so you do not need to extract them again if you need to apply more patches.


Go ahead and open all the .dsl files with MaciASL (Included with AsusX555L.zip). The goal is to make each file compile without errors, however warnings and tips are fine. Before making edits however, you need to go to MaciASL in the menubar, and click Preferences. Click the radio button for iASL 5.0. You also need to add the repository for RehabMans Patch Repo. Click Repositories, click the + button then copy and paste this URL:
Code:
http://raw.github.com/RehabMan/Laptop-DSDT-Patch/master


Now close the window. We can now patch our DSDT and SSDT files. Open the window with DSDT.dsl in it and click "Patch". This is where we apply fixes to our DSDT.dsl file in order to make it compile and/or add functionality to it. For this laptop, you need to apply the following patches, preferably in this order:

  • ADBG Fix.
  • ASUS N555L
  • Rename GFX0 to IGPU
  • Fix _WAK Arg0 v2
  • HPET Fix
  • SMBUS Fix
  • IRQ Fix
  • RTC Fix
  • OS Check Fix (Windows 8)
  • Fix Mutex with non-zero SyncLevel
  • Fix PNOT/PPNT
  • Add IMEI
  • 8-Series USB
  • Layout 3 Audio


Now that that is done, Save the file, and then Save As "DSDT.aml" while making sure to select "ACPI Machine Language" from the drop down list. Save it in the same DSDT folder on your desktop.


Close this file, and open the window containing "SSDT-10.dsl". For this file we have to apply 2 patches to fix brightness and enable power management. Click "Patch", and apply the following patches:

  • Rename GFX0 to IGPU

Now just like previously, save the .dsl, then save it as "SSDT-10.aml" with "ACPI Machine Language" selected from the dropdown.


The remaining files all need only 1 patch, which fixes power management for our GPU. In both files, apply the same "Rename GFX0 to IGPU" patch to the files, save them and save as them as an .aml file.


The final step of this section is to edit Clovers config.plist to load your SSDTs in order. To do this, open your config.plist from /Volumes/[EFI Partition]/EFI/CLOVER/config.plist, and add a SortedOrder similar to
this. (For more information on what your config.plist should look like, see this.)

You also need to Drop OEM SSDTs, otherwise your edited and fixed ones will not load. The easiest way to do this is by ACPI/SSDT/DropOem=true in Clover to drop all the SSDTs, so our patched ones will load.


Conclusion

You should now have a (almost) fully-working installation of OS X El Capitan on your ASUS laptop. I would recommend storing your .dsl files safely incase you need them again.

Hopefuly this guide helps someone, and if there are any obvious mistakes please point them out and I will happily amend them. I haven't made many guides.
 

Attachments

  • AsusX555L.zip
    7.6 MB · Views: 6,555
Last edited by a moderator:
Hi! I have been disconnected from all this for a long time, i bought exactly the same laptop as you, i managed a year ago to install yosemite in other asus laptop with all working, now i will try to do the same with the new one, is the power management implemented on your guide? I saw a couple of dsdt patches that i have never seen before, is everything working? Apart from the wifi and the other things you mentioned before.

Regards
 
Hi! I have been disconnected from all this for a long time, i bought exactly the same laptop as you, i managed a year ago to install yosemite in other asus laptop with all working, now i will try to do the same with the new one, is the power management implemented on your guide? I saw a couple of dsdt patches that i have never seen before, is everything working? Apart from the wifi and the other things you mentioned before.

Regards

Everything is working fine so far except the following:
-HDMI
-Headphones
-Internal Mic

I am going to rewrite this guide when I get chance to, in hind-sight it is pretty poorly written and I missed important stuff out that I discovered afterwards.

Please tell me how your install went and best of luck!
 
can you help upload your DSDT and SSDT? I got compile error on my DSDT :banghead:
 
can you help upload your DSDT and SSDT? I got compile error on my DSDT :banghead:

Patched ACPI files from one computer should not be used on another.

Patch your own native files as per guide in post #1.
 
Patched ACPI files from one computer should not be used on another.

Patch your own native files as per guide in post #1.

I try but I got this error "22238, 6126, syntax error, unexpected PARSEOP_SUBTRACT" since my knowledge in DSDT patching is limited I don't know how to fix it
 
I try but I got this error "22238, 6126, syntax error, unexpected PARSEOP_SUBTRACT" since my knowledge in DSDT patching is limited I don't know how to fix it

Errors cannot be diagnosed by error message alone. Post your native files and the file,which causes that error.
 
Status
Not open for further replies.
Back
Top