Contribute
Register

[Guide] Acer Aspire E5-571 using Clover with optional Windows dual-boot

Joined
Jun 8, 2015
Messages
15
Motherboard
Acer Aspire E5-571-30AB
CPU
i3 4005U / Haswell-ULT Rev. 0B
Graphics
HD4400 @ 1366x768
Mac
Classic Mac
Mobile Phone
Installing Yosemite on Acer E5-571 laptop

First guide is for single OS installation. Second guide is for OSX + Windows dual boot.

These guides have been tested on Acer E5-571-30AB with Yosemite 10.10.4.
It should work for other E5-571 models with Haswell CPUs.

Specifications :
Core i3 4005u
Intel HD4400
Audio Realtek ALC283
Wifi Atheros AR9565 -> not compatible, replace it or get a Wlan USB stick
Lan Realtek 8411B

Recommended hardware modifications (for those who don’t fear opening their laptop) :
Change Wifi card for an AR9280
Add 4GB RAM
Change HDD for SSD

Installation method : Clover UEFI with patched DSDT & SSDT

What works :
- CPU Speedstep
- Sleep/wake
- Camera
- Audio including HDMI
- Gigabit LAN

What doesn’t work :
- Wifi *
- Bluetooth
- Card reader

* For wifi you can either replace the PCI card or use external USB Wifi. I chose to replace it by an AR9280 which is natively supported by OSX. It works very well for this laptop. It doesn’t have Bluetooth but I don’t need it.

Steps :
1 - Preparation of clover installer
2 - Installation
3 - Post-installation

What you need :
- A ready-to-use mac or hackintosh
- Yosemite installer on your mac (download it from Apple Store if not)
- An 8 GB USB Stick
- Clover
- Clover configurator
- ssdtPRGen.sh
- Kext Wizard or alternative kext installation tool
- Additional kexts :
ACPIBatteryManager.kext
FakePCIID_HD4600_HD4400.kext
FakePCIID.kext
FakeSMC.kext
RealtekRTL8111.kext
VoodooPS2Controller.kext
CodecCommander.kext
AppleHDA_ALC283.kext
These tools are easy to find and download. A zip file with all kexts needed is available at the end of the post.

1 - Preparation of clover installer

1.1 - USB preparation
Format USB stick in MBR mode with 2 partitions :
- First partition named “CLOVER”, size 500 MB, FAT
- Second partition named “USB”, Journaled HFS+

1.2 - Transfer Yosemite installer to USB stick with terminal command :
Code:
sudo /Applications/Install OS X Yosemite.app/Contents/Resources/createinstallmedia --volume /Volumes/USB --applicationpath /Applications/Install OS X Yosemite.app --no interaction
1.3 – Clover installation
Use Clover Installer to Install clover on CLOVER partition selecting these options :
- Install in UEFI mode
- Drivers64UEFI :
- [OsxAptioFix2Drv-64]
- [PartitionDxe-64]

1.4 - UEFI / Bios configuration
Boot in UEFI pressing F2 at boot start.
Got to [Main] options. Ensure that you have “F12 Boot Menu” enabled and “SATA Mode” set to “AHCI Mode”.
Go to [Boot] options. Set “Boot Mode” to “UEFI” and disable “Secure Boot”.

1.5 - Extract native ACPI files
Plug the USB stick. Reboot and press F12 at boot start.
Select USB boot.
You should now get into clover bootloader.
Press F4 and wait until you get the cursor back (try to move the selection to check it's ok). It may take some minutes.
Shutdown and unplug USB stick.

1.6 - DSDT/SSDT patching
Plug the stick inside your Mac.
Take the native DSDT and SSDTs from EFI/CLOVER/ACPI/native
Apply Rehabman's guide to select and patch your files : http://www.tonymacx86.com/yosemite-laptop-support/152573-guide-patching-laptop-dsdt-ssdts.html
Files kept for my specific laptop : DSDT.aml & SSDT-6.aml

1.6.1 - Patches on DSDT.aml
"Fix _WAK Arg0 v2"
"HPET Fix"
"SMBUS Fix"
"IRQ Fix"
"RTC Fix"
"OS Check Fix"
"Fix Mutex with non-zero SyncLevel"
"Fix PNOT/PPNT"
"Add IMEI"
"7-series/8-series USB"
"Haswell LPC"
"Rename GFX0 to IGPU"
"Rename B0D3 to HDAU"
"[bat] Acer Aspire E1-571"
"Audio Layout 12"
+ manually change 12 for 86 on "layout-id"
+ manual patch for brightness key mapping :
Add this inside Method (_Q11) :
Notify(\_SB.PCI0.LPCB.KBC0, 0x0205)
Notify(\_SB.PCI0.LPCB.KBC0, 0x0285)
Add this inside Method (_Q12) :
Notify(\_SB.PCI0.LPCB.KBC0, 0x0206)
Notify(\_SB.PCI0.LPCB.KBC0, 0x0286)

1.6.2 - Patches on SSDT-6.aml
"Rename GFX0 to IGPU"
"Brightness fix (Haswell)"
"Rename B0D3 to HDAU"
"Haswell HD4600 Yosemite" + manually rename "HD 4600" to "HD 4400"
+ manually change 12 for 86 on "layout-id"

1.7 - Config.plist
You can take clover default config.plist and apply the needed modifications. You can also use mine (see at the end of the post) but you will have to change the SerialNumber value (replace the XXXX…).
I used SMBIOS type MBP11,2. MBA 6,2 should also be fine, but I didn’t test it.

Main needed modifications are listed hereafter :

1.7.1 - Boot arguments
<key>Arguments</key>
<string>dart=0 kext-dev-mode=1</string>

1.7.2 - SSDT drop
<key>SSDT</key>
<dict>
<key>DropOem</key>
<true/>

</dict>

1.7.3 - Kernel patching
<key>AppleRTC</key>
<true/>
<key>KernelPm</key>
<true/>

1.7.4 - Audio patching
<dict>
<key>Comment</key>
<string>AppleHDA ALC283 (2 of 3)</string>
<key>Find</key>
<data>
PYUI7BA=
</data>
<key>Name</key>
<string>AppleHDA</string>
<key>Replace</key>
<data>
PQAAAAA=
</data>
</dict>
<dict>
<key>Comment</key>
<string>HDMI-audio, port 0204, 0x0a260005 0x0a260006</string>
<key>Find</key>
<data>
AgQJAAAEAACHAAAA
</data>
<key>Name</key>
<string>AppleIntelFramebufferAzul</string>
<key>Replace</key>
<data>
AgQJAAAIAACHAAAA
</data>
</dict>
<dict>
<key>Comment</key>
<string>AppleHDA ALC283 (3 of 3)</string>
<key>Find</key>
<data>
PYQZ1BE=
</data>
<key>Name</key>
<string>AppleHDA</string>
<key>Replace</key>
<data>
PYMC7BA=
</data>
</dict>
<dict>
<key>Comment</key>
<string>AppleHDA ALC283 (1 of 3)</string>
<key>Find</key>
<data>
PYQI7BA=
</data>
<key>Name</key>
<string>AppleHDA</string>
<key>Replace</key>
<data>
PQAAAAA=
</data>
</dict>

1.7.5 - Graphics patching
<dict>
<key>Comment</key>
<string>Bootloader Graphics - Second Stage Patch</string>
<key>Find</key>
<data>QYjE6xE=</data>
<key>Name</key>
<string>IOGraphicsFamily</string>
<key>Replace</key>
<data>QYjE6zE=</data>
</dict>

1.8 - Finalise Clover installation
Copy your patched ACPI (DSDT.aml and SSDT-6.aml) to EFI/CLOVER/ACPI/patched/
Copy your config.plist to EFI/CLOVER/
Remove all directories inside EFI/CLOVER/kexts/ except “Other”
Copy these kexts to EFI/CLOVER/kexts/Other/ :
ACPIBatteryManager.kext
FakePCIID_HD4600_HD4400.kext
FakePCIID.kext
FakeSMC.kext
RealtekRTL8111.kext
VoodooPS2Controller.kext​

2 - Installation

2.1 - Boot on installer
Plug the USB stick. Reboot and press F12 at boot start.
Select USB boot.
You should now get into clover bootloader and see “Install OS X Yosemite”.
Select installer and press space bar to choose boot options. Choose verbose mode and press space bar.
Yosemite installer should load. If not you should see informations on your screen that might help understanding why.

2.2 - Proceed with installation
If needed go into Disk utility to manage your partitions. You must choose GUID partitioning, and create a “Journaled HFS+” partition for OSX.
Follow installer instructions. Keep in front of the installer as it will reboot once during installation. When this occurs you have to boot exactly the same way. The installer will then go on and finish.
On next reboot, when you select USB boot and get into Clover, you should see 2 new entries corresponding to your installation and a recovery partition.
Boot into your fresh install and follow the wizard to initialise your session.

3 - Post-installation

3.1 - SSDT generation for Power Management
Boot into your fresh Yosemite installation.
Use ssdtPRGen.sh to generate a proper SSDT for your CPU.
The script must be executable (chmod 755 ssdtPRGen.sh)
Run it from terminal without any additional argument : ./ssdtPRGen.sh
SSDT.aml should be located inside your home library path : ~/Library/ssdtPRGen/SSDT.aml.

3.2 - Clover installation on HDD
Open “Clover configurator” and select tool “Mount EFI”, then click on “Mount EFI partition”. An EFI partition should appear in the Finder.
Use Clover installer to install Clover to EFI partition with the same options as 1.3.
Transfer patched ACPI, config.plist and kexts to Clover EFI partition as you did it in 1.8.
Transfer your new SSDT.aml to EFI/CLOVER/ACPI/patched/

3.3 - Configuring UEFI boot to load clover
Reboot and go into BIOS by pressing F2 at boot start.
In [Boot] options select “Secure Boot” and choose Enabled.
Go to [Security] options, and select “Select an UEFI file as trusted for executing:”. You should then navigate inside EFI partition. Go to “EFI”, then “BOOT”, then select “BOOTX64.efi” file and hit Enter. Name it “Clover” and validate.
Go back to [Boot] options, select “Secure Boot” and choose Disabled.
Save your changes and reboot.
On reboot press F12 to select bootloader. You should now see “Clover” in the list. Select it to see if you can boot into Clover and then to Yosemite.
If you want to set it as first boot option, go again into BIOS by pressing F2 at boot start, then go to [Boot] options and put “Clover” as first item in the list, then Save and exit.

3.4 - Install kexts for Audio HDA
Install these 2 kexts for audio HDA to S/L/E, using Kext Wizard :
CodecCommander.kext
AppleHDA_ALC283.kext​
Repair permissions and rebuild cache after installation.

3.5 - Test your installation
Reboot into Yosemite and check if all works fine. Go into System information. Check if you have audio, battery status, brightness change, HDMI with working audio, Gigabit Ethernet, Wifi (if you replaced the native card), Sleep/Wake, …

3.6 - Touchpad issue after sleep/wake
If you experience loosing touchpad after sleep/wake you can fix it by changing the WakeDelay inside VoodooPS2 driver.
Modify the value of “WakeDelay” parameter inside VoodooPS2Controller.kext/Contents/Info.plist
Default value is 10. I had to put it to 2500 to fix this issue on my laptop.

3.7 - Optionnal : if you installed an SSD drive, you should enable trim support :
sudo trimforce enable

3.8 - kext installation on osx volume
Finally, once all is working fine, you should install all kexts to your OSX volume (in S/L/E directory). You can use Kext Wizard to do this.
Install all kexts from Clover to S/L/E.

Repair permissions and rebuild cache after installation.


Credits : thanks to Rehabman for his help and all the work he has done for the hackintosh community.

Download links :
View attachment config.plist
View attachment kexts Acer E5-571.zip
 
Last edited:
Joined
Jun 8, 2015
Messages
15
Motherboard
Acer Aspire E5-571-30AB
CPU
i3 4005U / Haswell-ULT Rev. 0B
Graphics
HD4400 @ 1366x768
Mac
Classic Mac
Mobile Phone
[Guide] Acer Aspire E5-571 using Clover with optionnal Windows dual-boot

Guide 2 : dual boot Windows 8.1 / Yosemite

This guide corresponds to a clean install of both OS. It is also possible to keep your Windows vanilla install and add Yosemite on a second partition. This option is not covered here because I didn’t keep notes on how to do.

Steps :
1 - Install Yosemite
2 - Install Windows 8.1
3 - Post-installation

1 - Install Yosemite

1.1 - Preparation and installation start
Follow steps 1 to 2.1 from preceding guide.

1.2 - HDD preparation
You should be into the installer.
Select Disk Utility and create 3 GPT partitions as follows :
Partition 1 : OSX, type : HFS journalised
Partition 2 : WIN, type : exFAT
Partition 3 : DATA, type : exFAT
Choose partition sizes depending on your total drive size and how you expect to use both systems. You could create only the first 2 partitions. I recommend a DATA partition that can be used by both systems.
You have to choose GUID partition table and not MBR (check options).
Note : as an alternative you can create only OSX partition in this step and keep free space for next partitions. This way you should not have to fix partition table (step 2.1). You will have to create the missing partitions at the beginning of Windows installation process.

1.3 - Yosemite installation
Follow installation procedure as explained in point 2.2 from preceding guide.

2 - Install Windows 8.1
It is supposed that you already have an installation media (USB or DVD).

2.1 - Fix partition table (not needed if you only created OSX partition on step 1.2)
Boot into Yosemite.
Download GPT fdisk from its Sourceforge page and install it. (Versions are available for Linux, OS X, and Windows. Choose OS X version).
Launch gdisk on your disk by typing sudo gdisk /dev/disk0 in a Terminal window.
Type p to view the partition table to verify you're working on the correct disk. If not, type q to quit without saving your changes and try again with another device.
Type x to enter the experts' menu.
Type n to create a fresh protective MBR. Note that gdisk won't confirm a change; it'll just show you a new experts' prompt.
Type w to save your changes. You'll be asked to confirm this action. Do so.

2.2 - Windows installation
Reboot and press F12 at boot start.
Select your Windows installation media.
Windows installer should load.
Select your “WIN” partition (or create it if needed) and format it to NTFS.
Install windows to this partition.

3 - Post-installation
Same procedure as preceding guide. The only difference is that you will already have boot files for Windows inside your EFI partition and you will have the corresponding EFI boot choice “Windows Boot Manager” inside BIOS UEFI options.
You will be able to boot windows via Clover EFI or via Windows EFI bootloader.
Only Clover will let you boot into both systems. So I recommend to put “Clover” before “Windows Boot Manager” in boot order. You could still boot windows by default with clover if you want to do so.

3.1 - Sync time between Windows and OSX
If you get time difference between both systems, this is how to fix :
Boot into OS X, set the timezone and time correctly
Boot into Windows. Open Registry Editor
Add a new DWORD (32-bit) key named “RealTimeIsUniversal” under HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\TimeZoneInformation. Set its value to 1. Save and reboot into OS X.
Wait 2 minutes, then reboot into Windows. Now you should have correct time information inside both OS.
 
Joined
Aug 27, 2015
Messages
24
Mac
Classic Mac
Mobile Phone
[Guide] Acer Aspire E5-571 using Clover with optionnal Windows dual-boot

that's great, i will have soon this laptop, thank you for your effort
thx
 
Joined
Sep 10, 2015
Messages
29
Motherboard
ASUSTeK Computer INC
CPU
Intel Core m3-6Y30 0.9 GHz
Graphics
Intel HD Graphics 515
Mac
MacBook
Mobile Phone
Android
[Guide] Acer Aspire E5-571 using Clover with optionnal Windows dual-boot

Hey, I have the same laptop, but the i5 version with 6gb of ram, however once i get to the part where i have to install clover in the mounted EFI... Clover does not show that partition but i can see it in Finder
 

RehabMan

Moderator
Joined
May 3, 2012
Messages
191,415
Motherboard
Intel DH67BL
CPU
Core i7-2600K
Graphics
Intel HD 3000
Mac
MacBook Air
Mobile Phone
iOS
[Guide] Acer Aspire E5-571 using Clover with optionnal Windows dual-boot

Hey, I have the same laptop, but the i5 version with 6gb of ram, however once i get to the part where i have to install clover in the mounted EFI... Clover does not show that partition but i can see it in Finder
Are you installing Clover to the HDD or USB?

If installing to HDD, you choose your system partition, not the EFI partition. Clover automatically finds the associated EFI partition and mounts it if needed.
 
Joined
Sep 10, 2015
Messages
29
Motherboard
ASUSTeK Computer INC
CPU
Intel Core m3-6Y30 0.9 GHz
Graphics
Intel HD Graphics 515
Mac
MacBook
Mobile Phone
Android
[Guide] Acer Aspire E5-571 using Clover with optionnal Windows dual-boot

aah no wonder noob moments.lol...

one more question.. I was trying to follow the SSDT/DST guide for my system but im not sure if i am doing it right.
 

RehabMan

Moderator
Joined
May 3, 2012
Messages
191,415
Motherboard
Intel DH67BL
CPU
Core i7-2600K
Graphics
Intel HD 3000
Mac
MacBook Air
Mobile Phone
iOS
Joined
Sep 10, 2015
Messages
29
Motherboard
ASUSTeK Computer INC
CPU
Intel Core m3-6Y30 0.9 GHz
Graphics
Intel HD Graphics 515
Mac
MacBook
Mobile Phone
Android
[Guide] Acer Aspire E5-571 using Clover with optionnal Windows dual-boot

For some reason i still cant get this to work, I able to run the installer and install Yosemite without a problem i cant boot into it with clover from the USB, However once I Install clover into the HDD and try to boot from in I just get a black screen, only way for me to boot into the system is with the usb
 

RehabMan

Moderator
Joined
May 3, 2012
Messages
191,415
Motherboard
Intel DH67BL
CPU
Core i7-2600K
Graphics
Intel HD 3000
Mac
MacBook Air
Mobile Phone
iOS
[Guide] Acer Aspire E5-571 using Clover with optionnal Windows dual-boot

For some reason i still cant get this to work, I able to run the installer and install Yosemite without a problem i cant boot into it with clover from the USB, However once I Install clover into the HDD and try to boot from in I just get a black screen, only way for me to boot into the system is with the usb
Not an ACPI problem. Likely problem with your config.plist, or Clover/kexts setup. Make sure you setup EFI/Clover exactly as you did for USB. With identical files on EFI/Clover on HDD EFI as for USB, identical results.
 
Joined
Sep 10, 2015
Messages
29
Motherboard
ASUSTeK Computer INC
CPU
Intel Core m3-6Y30 0.9 GHz
Graphics
Intel HD Graphics 515
Mac
MacBook
Mobile Phone
Android
[Guide] Acer Aspire E5-571 using Clover with optionnal Windows dual-boot

I gave up for now..lol... cloundt get it to boot with out usb, and for some reason it was sluggish, like it would freeze for a second or so even do i install the hd4400 kext.. time to take a break :D
 
Top