Contribute
Register

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

Status
Not open for further replies.
Ok i have now patchet ssdt-7 again and added the sortedOrder to the ACPI. Here i attach you the EFI/CLOVER + IoReg

Thanks for your time,

View attachment 174270
View attachment 174271

One of your DSDT/SSDT has duplicate _DSM method. You will note that you cannot disassemble your files in ACPI/patched with 'iasl -da -dl *.aml' due to this duplicate. It is why the guide says to remove all _DSM methods from each file before patching ("Remove _DSM methods" patch).

But your graphics problem is due to an incorrect device-id injection in SSDT-6.

You have this:
Code:
            Method (_DSM, 4, NotSerialized)  // _DSM: Device-Specific Method
            {
                If (LEqual (Arg2, Zero))
                {
                    Return (Buffer (One)
                    {
                         0x03                                           
                    })
                }

                Return (Package (0x08)
                {
                    "device-id", 
                    Buffer (0x04)
                    {
[B]                         0x86, 0x04, 0x00, 0x00                         
[/B]                    }, 

                    "AAPL,ig-platform-id", 
                    Buffer (0x04)
                    {
                         0x06, 0x00, 0x26, 0x0A                         
                    }, 

                    "hda-gfx", 
                    Buffer (0x0A)
                    {
                        "onboard-1"
                    }, 

                    "model", 
                    Buffer (0x0E)
                    {
                        "Intel HD 4400"
                    }
                })
            }

The device-id injection 0x0486 (as highlighted in bold) is not needed, makes no sense, and is disabling the graphics drivers.
 
One of your DSDT/SSDT has duplicate _DSM method. You will note that you cannot disassemble your files in ACPI/patched with 'iasl -da -dl *.aml' due to this duplicate. It is why the guide says to remove all _DSM methods from each file before patching ("Remove _DSM methods" patch).

But your graphics problem is due to an incorrect device-id injection in SSDT-6.

You have this:
Code:
            Method (_DSM, 4, NotSerialized)  // _DSM: Device-Specific Method
            {
                If (LEqual (Arg2, Zero))
                {
                    Return (Buffer (One)
                    {
                         0x03                                           
                    })
                }

                Return (Package (0x08)
                {
                    "device-id", 
                    Buffer (0x04)
                    {
[B]                         0x86, 0x04, 0x00, 0x00                         
[/B]                    }, 

                    "AAPL,ig-platform-id", 
                    Buffer (0x04)
                    {
                         0x06, 0x00, 0x26, 0x0A                         
                    }, 

                    "hda-gfx", 
                    Buffer (0x0A)
                    {
                        "onboard-1"
                    }, 

                    "model", 
                    Buffer (0x0E)
                    {
                        "Intel HD 4400"
                    }
                })
            }

The device-id injection 0x0486 (as highlighted in bold) is not needed, makes no sense, and is disabling the graphics drivers.

Thanks a lot, i got confused because on the first post it says to change 12 for 86 so i thougt it was that, now the graphics are working fine, ill keep working on the next things i have to do.

Really apreciate your time mate, really thank you a lot
 
Thanks a lot, i got confused because on the first post it says to change 12 for 86 so i thougt it was that,

That is regarding the "Audio Layout 12" patch. Nothing to do with graphics.

now the graphics are working fine, ill keep working on the next things i have to do.

OK. Have fun...
 
Hi, i would like to know if now that i have all working full if i can update to 10.11 el capitan????
Thanks for your attention
 
Hi, i would like to know if now that i have all working full if i can update to 10.11 el capitan????
Thanks for your attention

I don't see why not...

There are some slight differences in 10.11 though, so plan on doing some work after...
 
I don't see why not...

There are some slight differences in 10.11 though, so plan on doing some work after...

Thats what i wanted to know, to make it work will ihave to do many things??
 
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 146683
View attachment 146684

Hey, nickostar. Thank you very much for your tutorial on how to install mac os x on our E5-571 laptop. I know maybe this maybe too much to ask for, but do you still happen to have the DSDT.aml file you used for this tutorial? I mean...the one you use with your computer. If you do have it, could you upload it, please?

Again, thanks for your great work. :D
 

Hey, nickostar. Thank you very much for your tutorial on how to install mac os x on our E5-571 laptop. I know maybe this maybe too much to ask for, but do you still happen to have the DSDT.aml file you used for this tutorial? I mean...the one you use with your computer. If you do have it, could you upload it, please?

Again, thanks for your great work. :D

Keep in mind it is always a bad idea to use ACPI files from another computer. Always patch your own instead.
 
Status
Not open for further replies.
Back
Top