Contribute
Register

[Guide] ASUS ZENBOOK UX302LA using Clover UEFI

Status
Not open for further replies.
Joined
May 2, 2015
Messages
17
Motherboard
Asus UX302LA
CPU
i5-4200U
Graphics
Intel HD Graphics 4400
Mac
  1. 0
Classic Mac
  1. 0
Mobile Phone
  1. 0
ASUS ZENBOOK UX302LA boots and runs OS X 10.10.3 Yosemite using Clover UEFI

After hours of reading these forums, I’ve figured out how to get most things working on my UX302LA. Once, a coworker even peered over my shoulder and muttered “Rehabman” - scared me half to death. Then it dawned on me that he had no idea what I was looking at. I informed him that I was not reading a ski/snowboard forum, but some important technical literature... :lolno:

Backup all of your data on your other partitions first.
Prerequisites: one of your hard drives must be partitioned in GPT/GUID mode. Then, you must shrink your windows NTFS partition down so that there's some space to install OSX. I recc leaving at least 40GB. You can use GParted to create a bootable USB to do the shrinking.
Bios settings: CSM enabled, Secure boot disabled, SATA AHCI mode, Graphics 512M, Bios version 210, VT-D doesn’t matter – ppl say it must be disabled but I have mine enabled and it works fine...

1. Yosemite is a free download from the Mac App Store. However, you need a working OS X already to access the app store... (Yeah, I know it doesn't make any sense). If you don't have a OS X already working, you might try either 1 or 2 :shh:
2. After running the createinstallmedia command, download Clover and install that on your USB. You do have to install the boot sector during Clover install bc the USB is not formatted FAT and thus the bios can't see the EFI folder directly.
3. Now you have a decision to make.
a. You can use my premade files which will save you a lot of hassle. Just delete the BOOT and CLOVER folders on the USB and replace them with the ones I have in the attached EFI.zip. Everything should just work now, you can skip the rest of the guide. :wave:
b. Or stick with me here and in the rest of the guide, I'll show you how to create these folders from scratch. :arrow:
4. Put the attached config.plist into EFI/Clover
5. Put the following files into EFI/Clover/kexts/10.10: ACPIBatteryManager.kext, ApplePS2ElanTouchpad.kext, AsusNBFnKeys.kext, FakePCIId.kext, FakePCID_HD4600_HD4400.kext, FakeSMC.kext, GenericUSBXHCI.kext, NullEthernet.kext :crazy:
6. Rename the ssdt here to ssdt-1.aml and put it in EFI/Clover/ACPI/Patched
7. Decide either to create an additional FAT32 partition to put clover on, or you can put it on your existing EFI partition that your windows boots from. Just don’t mess anything up. :think:
8. That should be enough to install OS X for now. Reboot and use the USB to install OS X. :beachball:
9. Remember that OS X is a 2 part install. Once the progress bar finishes and the system reboots, you have to have it boot from USB again so that the 2nd part of the install has a chance to complete. After that, you can use the USB clover to boot into your new install.
10. Once installed, copy the EFI folder from your USB to the FAT32 partition you want to boot from. No need to reinstall Clover again. As long as the EFI folder exists on a FAT32 partition, the bios will see it and automatically give you a boot option. From here on out, we’ll be modifying the files in this partition, not the USB.
11. read through this DSDT guide :geek:
12. Extract your DSDT using the Clover F4 method.
13. Disasemble your ACPI files using “iasl -da -dl *.aml” as stated in the guide. This is probably the most neglected step. Many ppl assume they don’t have to do this and then complain on the forums that their DSDT has errors. Then Rehabman smacks them. :banghead:
14. Load the disassembled DSDT.dsl into maciasl and then go to Ramalama's github
15. Apply the following patches from the link above: “ADBG_Remove.txt”, “ALS Sensor (Haswell).txt”, “Batterypatch UX3xxxx.txt”, “Brightness Keys.txt”, “KeyBacklight 3LVL (Haswell).txt” o_O
16. Compile the DSDT into an aml file and put it into EFI/Clover/ACPI/patched
17. Inject your EDID. To do that, first use EDID Viewer to see what your EDID is. Then install Clover Configurator. Use Clover Configurator to open the config.plist from your boot drive. Now paste in your EDID to replace mine.
18. Download a kext installer, such as kext wizard :twisted:
19. Use kext wizard to install the ALC282_V2 kext. No need to install HDAEnabler (I have that value in the config.plist already)
20. Post any problems you have in the thread here. Only post questions about ASUS laptops, preferably the same or similar models. Thanks. :p

Working :headbang:: Keyboard backlight adjustment FN keys, display backlight adjustment keys, ambient light sensor, touchscreen, speakers, volume keys, QE/CI, partial sleep, USB ports, trackpad, battery/charge status.

Problems that I've discovered :confused::
1. Sleep doesn't fully sleep laptop
2. Hitting restart in OSX shuts down the computer
3. Clicking the Fullscreen icon on Youtube crashes you back to the login screen Fixed
4. I haven’t tested the Webcam, SD card reader, headphone port, Displayport, or the HDMI video/audio

Credits: Rehabman, Ramalama, EMlyDinEsH, Mirone, Clover, leukhin, others! :clap:
 

Attachments

  • config.plist
    6.4 KB · Views: 519
  • EFI.zip
    5 MB · Views: 421
Specs
Processor: Intel® Core™ i5 4200U Processor
Chipset: ID9C43
Memory: DDR3L 1600 MHz SDRAM, up to 10GB (OnBoard Memory 2GB, DIMM Up to 8GB)
Display: 13.3" 16:9 IPS FHD (1920x1080) LED Backlight
Graphic: Integrated Intel® HD Graphics 4400
Storage: 256GB 2.5” SATA SSD (originally 2.5" SATA3 500GB HDD + 16GB SSD MSATA)
Card Reader: card reader ( Alcor PCIE )
Camera: HD Web Camera
Networking: USB wifi (also has a NGFF/M.2 Intel 802.11a/b/g/n/ac which doesn’t work in OSX)
Built-in Bluetooth™ V4.0
Audio: Realtek ALC282
Battery: 3Cells 4480 mAh 50 Whrs Polymer Battery
Power Adapter: 19 V DC, 2.36 A, 45 W
Dimensions: 325 x 226 x 5 ~17.2 mm (WxDxH) (w/ 3cell battery)
Weight: 1.5 kg
Interface
1 x Microphone-in/Headphone-out jack
3 x USB 3.0 port(s) *3
1 x HDMI
1 x mini Display Port
1 x SD card reader
1 x AC adapter plug (Input 100-240VAC / 1.2 A) (Output 19VDC / 2.37A)
 
ASUS ZENBOOK UX302LA boots and runs OS X 10.10.3 Yosemite using Clover UEFI

After hours of reading these forums, I’ve figured out how to get most things working on my UX302LA. Once, a coworker even peered over my shoulder and muttered “Rehabman” - scared me half to death. Then I realized he had no idea what I was looking at. I informed him that I was not reading a ski/snowboard forum, but some important technical literature...

Backup all of your data on your other partitions first. MS Onedrive has been handing out free space like candy.
Bios settings: CSM enabled, Secure boot disabled, SATA AHCI mode, Graphics 512M, Bios version 210, VT-D doesn’t matter – ppl say it must be disabled but I have mine enabled and it works fine...

1. Yosemite is a free download from the Mac App Store. However, you need a working OS X already to access the app store... (Yeah, I know it doesn't make any sense). If you don't have a OS X already working, you might try either http://www.tonymacx86.com/yosemite-...oting-os-x-installer-laptops-clover-uefi.html or ... (I don’t vouch for that second link, but it is a convenient way to pop open an already set up os x environment to get to the app store with)
2. After running the createinstallmedia command, download Clover and install that on your USB
3. Now you have a decision to make.
a. You can use my premade files which will save you a lot of hassle. Just delete the BOOT and CLOVER folders on the USB and replace them with the ones I have in the attached EFI.zip. Everything should just work now, you can skip the rest of the guide.
b. Or you can follow the rest of the guide as I show you how to create these folders from scratch.
4. Put the attached config.plist into EFI/Clover
5. Put the following files into EFI/Clover/kexts/10.10: ACPIBatteryManager.kext, ApplePS2ElanTouchpad.kext, AsusNBFnKeys.kext, FakePCIId.kext, FakeSMC.kext, GenericUSBXHCI.kext, NullEthernet.kext
6. Do NOT put the FakePCID_HD4600_HD4400.kext in there or install that anywhere at all. Yes, I know this computer has a HD4400 in it but for some reason that kext makes the graphics flicker whereas it is buttery smooth without it.
7. Rename the ssdt here to ssdt-1.amp and put it in EFI/Clover/ACPI/Patched
8. That should be enough to install OS X for now. Reboot and use the USB to install OS X. Decide either to create an additional FAT32 partition to put clover on, or you can put it on your existing EFI partition that your windows boots from. Just don’t mess anything up.
9. Once installed, copy the EFI folder from your USB to the FAT32 partition you want to boot from. From here on out, we’ll be modifying the files in this partition, not the USB.
10. read through this DSDT guide.
11. Extract your DSDT using the Clover F4 method.
12. Disasemble your ACPI files using “iasl -da -dl *.aml” as stated in the guide. This is probably the most neglected step. Many ppl assume they don’t have to do this and then complain on the forums that their DSDT has errors. Then Rehabman smacks them.
13. Load the disassembled DSDT.dsl into maciasl and then go to Ramalams's github
14. Apply the following patches from the link above: “ADBG_Remove.txt”, “ALS Sensor (Haswell).txt”, “Batterypatch UX3xxxx.txt”, “Brightness Keys.txt”, “KeyBacklight 3LVL (Haswell).txt”
14. Compile the DSDT into an aml file and put it into EFI/Clover/ACPI/patched
15. Download a kext installer, such as “kext wizard”
16. Use kext wizard to install the ALC282_V2 kext. No need to install HDAEnabler (I have that value in the config.plist already)
17. Post any problems you have in the thread here. Only post questions about ASUS laptops, preferably the same or similar models only. Thanks.

Current problems that I've discovered:
1. Sleep doesn't fully sleep laptop
2. Hitting restart in OSX shuts down the computer
3. Clicking the Fullscreen icon on Youtube crashes you back to the login screen
4. I haven’t tested the Webcam, SD card reader, headphone port, Displayport, or the HDMI video/audio

Credits: Rehabman, Ramalama, EMlyDinEsH, Mirone, Clover, leukhin, others!

Post ioreg: http://www.tonymacx86.com/audio/58368-guide-how-make-copy-ioreg.html. Please, use the IORegistryExplorer v2.1 attached to the post! DO NOT reply with an ioreg from any other version of IORegistryExplorer.app.
 
IOReg attached
 

Attachments

  • IOReg UX302LA.ioreg
    9.6 MB · Views: 341
...
6. Do NOT put the FakePCID_HD4600_HD4400.kext in there or install that anywhere at all. Yes, I know this computer has a HD4400 in it but for some reason that kext makes the graphics flicker whereas it is buttery smooth without it.

You have patches in config.plist to enable HD4400. Using FakePCIID is a better method. But the two solutions cannot be used together as they will conflict/cancel each other.

It is described in detail here: http://www.tonymacx86.com/yosemite-...tel-hd4200-hd4400-hd4600-mobile-yosemite.html
 
You have patches in config.plist to enable HD4400. Using FakePCIID is a better method. But the two solutions cannot be used together as they will conflict/cancel each other.

It is described in detail here: http://www.tonymacx86.com/yosemite-...tel-hd4200-hd4400-hd4600-mobile-yosemite.html

Yes you're right. I removed the first 2 patched from my config.plist and now I can use the FakePCID_HD4600_HD4400.kext without problems. I will update the first post once it becomes available again.
Also, now my youtube works in fullscreen after the change. Thanks!
 
...I will update the first post once it becomes available again.

You should edit post #1 to get rid of the youtube link proposing OS X on VM.
 
You should edit post #1 to get rid of the youtube link proposing OS X on VM.
Done. I guess ppl will have to figure out how to get OS X
 
Done. I guess ppl will have to figure out how to get OS X

Also remove the comment/link regarding OneDrive. It is off-topic and reads as if it is spam. Paypal link to EMlyDynEsh is also not appropriate.
 
Also remove the comment/link regarding OneDrive. It is off-topic and reads as if it is spam. Paypal link to EMlyDynEsh is also not appropriate.
Updated
 
Status
Not open for further replies.
Back
Top