Contribute
Register

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

Status
Not open for further replies.
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.
请遵循安装程序的说明。注意安装程序,因为它将在安装过程中重启一次。发生这种情况时,您必须以完全相同的方式启动。然后安装程序将继续并完成。
在下次重新引导时,当选择USB引导并进入Clover时,应该会看到2个与您的安装和恢复分区相对应的新条目。
引导至全新安装,然后按照向导初始化会话。

3-安装后

3.1-用于电源管理的SSDT生成
启动您的全新优胜美地安装程序。
使用ssdtPRGen.sh为您的CPU生成正确的SSDT。
该脚本必须是可执行的(chmod 755 ssdtPRGen.sh)
从终端运行它而无需任何其他参数:./ssdtPRGen.sh
SSDT.aml应该位于您的主库路径内:〜/ Library / ssdtPRGen / SSDT.aml。

3.2-在HDD上安装三叶草
打开“三叶草配置器”并选择工具“ Mount EFI”,然后单击“ Mount EFI分区”。一个EFI分区应该出现在Finder中。
使用Clover安装程序以与1.3相同的选项将Clover安装到EFI分区。
像在1.8中一样,将修补的ACPI,config.plist和kexts传输到Clover EFI分区。
将新的SSDT.aml转移到EFI / CLOVER / ACPI / patched /

3.3-配置UEFI引导以加载三叶草
重新启动并在启动开始时按F2进入BIOS。
在[启动]选项中,选择“安全启动”,然后选择“启用”。
转到[安全性]选项,然后选择“将UEFI文件选择为可信任的执行文件:”。然后,您应该在EFI分区内导航。转到“ EFI”,然后转到“ BOOT”,然后选择“ BOOTX64.efi”文件,然后按Enter。将其命名为“ Clover”并进行验证。
返回[启动]选项,选择“安全启动”,然后选择“禁用”。
保存更改并重新启动。
重新启动时,按F12键选择启动程序。现在,您应该在列表中看到“三叶草”。选择它以查看是否可以先启动Clover然后再启动优胜美地。
如果要将其设置为第一个引导选项,请在引导启动时按F2键再次进入BIOS,然后转到[Boot]选项,并将“ Clover”作为列表中的第一项,然后保存并退出。

3.4-为音频HDA安装kexts
使用Kext向导将这两个kexts安装到音频HDA到S / L / E:
CodecCommander.kext​
AppleHDA_ALC283.kext​
修复权限并在安装后重建缓存。

3.5-测试安装
重新启动进入优胜美地,并检查是否一切正常。进入系统信息。检查是否有音频,电池状态,亮度变化,带工作音频的HDMI,千兆以太网,Wifi(如果您更换了本地卡),睡眠/唤醒,…

3.6-睡眠/唤醒后触摸板问题
如果睡眠/唤醒后触摸板松动,可以通过更改VoodooPS2驱动程序中的WakeDelay来修复它。
修改VoodooPS2Controller.kext / Contents / Info.plist中的“ WakeDelay”参数的值
默认值为10。我必须将其设置为2500才能在笔记本电脑上解决此问题。

3.7-Optionnal:如果安装了SSD驱动器,则应启用修整支持:
sudo trimforce启用

3.8-在osx卷上安装kext
最后,一切正常后,您应该将所有kexts安装到OSX卷(在S / L / E目录中)。您可以使用Kext向导来执行此操作。
从Clover到S / L / E安装所有kext。

修复权限并在安装后重建缓存。


鸣谢:感谢Rehabman的帮助以及他为hackintosh社区所做的所有工作。

下载链接:
View attachment 146683
 
I appreciate this is an old guide however, I am trying to Hack an Acer Aspire E5-571-52GR HD4400 Gfx and Haswell CPU. This guide is the nearest I can find.
I am also using El Capitan.

When it comes to patching the DSDT and SSDT files, In the COVER/ACPI/ORIGIN folder (extracted from the machine to be hacked by pressing F4 I guess) I have a DSDT.aml but have several SSDT files:
SSDT-0-ACRPRDCT.aml
SSDT-1-ACRPRDCT.aml
SSDT-2-ACRPRDCT.aml
SSDT-3-ACRPRDCT.aml
SSDT-x2_0-Apist.aml
SSDT-2_0-Cpu0Cst.aml
SSDT-2_1-ApCst.aml

Which SSDT file do I patch and do I keep them all?
 
Status
Not open for further replies.
Back
Top