Contribute
Register

P5K-E WiFi from Yosemite to El Capitan, as (almost) a real Mac.

Status
Not open for further replies.
Joined
Oct 8, 2010
Messages
568
Motherboard
Z77E-ITX
CPU
Intel® Core™ i7-3770
Graphics
GTX650Ti
Mac
  1. iMac
Classic Mac
  1. 0
Mobile Phone
  1. iOS
Prerequisites:
- A working "Yosemite", build following this guide:
P5K-E WiFi Yosemite with Clover
- Recommended a bootable backup of your operating system.
- A patched DSDT is mandatory.
- EDIT: It 'may work with earlier versions of OS X, starting from Snow Leopard, but still working with Clover bootloader


DSDT extracting and patching:

Clean DSDT with Chameleon:
- Boot without DSDT or typing DSDT=Null at chameleon GUI
Download MaciASL, install and run the program, go to preferences and set, in the section iasl, ACPI 4.0, close and reopen the program. Go to "File" / "Save as", in the window that pops up, in "File format", choose "Disassembled ASL File" and in "Save as" write "Clean DSDT.dsl". Zip the resulting file and put it in safe place.

Clean DSDT with Clover:
- Mandatory Clover installed in the "ESP"
At the Clover GUI hit F4 sometimes, wait a bunch of seconds (you see nothing happen), then boot and mount the EFI partition. You should find you clean "DSDT.aml" in EFI/CLOVER/ACPI/origin. Open this DSDT with MaciASL (same settings as above), go to "File" / "Save as" and in the window that pops up, in "File format", choose "Disassembled ASL File" and in "Save as" write "Clean DSDT.dsl". Zip the resulting file and put it in safe place.

Patching the DSDT:
- Unzip the Patches linked at the bottom on the desktop, open the clean DSDT with MaciASL, click on "Patch" and in the window that pops up click "Open", go in the folder with the patches and chose "01 - P5K-E WiFi AP Patches", click "Apply" then "Close" and "Compile", (if you have a Graphics card with HDMI apply also the second patch, "02 - P5K HDMI Audio Patch").
To save the DSDT go in File/Save as and in "File format", choose "ACPI Machine Language Binary" and in "Save as" write "DSDT.aml".
Put the file in EFI/CLOVER/ACPI/patched

Clover:
Upgrade "Clover" to the latest version (at the moment 3280)from here:
http://sourceforge.net/projects/cloverefiboot/
and do the same with "Clover Configurator":
http://mackie100projects.altervista.org/download/

Kexts:
- The mandatory kexts for this platform are:

FakeSMC.kext
Marvell88E8056.kext
Added this "KextsToPatch" in config.plist,
<dict>
<key>Comment</key>
<string>Marvell 88E8056</string>
<key>Disabled</key>
<false/>
<key>Find</key>
<data>
NDM2MjExYWI=
</data>
<key>InfoPlistPatch</key>
<true/>
<key>Name</key>
<string>AppleYukon2</string>
<key>Replace</key>
<data>
NDM2NDExYWI=
</data>
</dict>
no more need of Marvell88E8056.kext

- Put the kexts in EFI/CLOVER/Kexts/10.11 (f you are still using the Marvell kext no need to copy it in FakeSMC as stated in the Yosemite guide)

If you need Jmicron add also this two kexts and enable it in the Bios

JMicron36xATA.kext
LegacyJMB36xSATA.kext

Config.plist:
- Open your "config.plist" in Clover Configurator", and in the section "Rt Variables" put
0x28 in "BooterConfig" and 0x3 in "CsrActiveConfig" (Sip partially disabled to permit kext patches). This won't harm the ability to boot Yosemite (with this configuration you can start booth OS). In the section "System Pameters" set "Inject Kexts" to "Yes"


EDIT:
Added a precompiled config.plist in "Attached Files". SMBIOS is already configured for MacPro3,1, you have to customize it with your S/N, a custom SmUUID (in terminal run the command "uuidgen" several time to create a unique SmUUID)and custom MLB for MacPro3,1. Chose the right settings for your graphics card (Inject nVidia/ATI Yes/No).
In this config I've added the kext to patch for Marvell88E8056, no more need of the Marvell88E8056.kext

-If all is working fine proceed

El Capitan:
- Download "El Capitan" from the Appstore, make a backup copy of the installer and launch the application, chose where to install and start. At first reboot select "Boot OS X Install from "Your HDD"". Let it work, it will take some time, depending on your hardware. In my case 40 min.
- At second reboot select your HDD and let finish the installation.
At this point You should have a fully working "El Capitan", apart audio.

Audio:
Unzip "AD1988b Patch", launch HDAWizard and install the patches for AD1988B; It will also backup a copy of the original AppleHDA on the desktop, put it in a safe place for every eventuality.

With the help of Micky1979 and Mirone's new "AppleHDA Patcher" I was able to build a "Dummy Kext" for AD1988b, so no more needs to patch AppleHDA at every Update. All You need is the orginal AppleHDA and to install the "aDummyHDA.kext" in S/L/E.
I've not tested if it is working from EFI/CLOVER/kexts/10.11 but you are free to try it.. It seems it is working only from S/L/E
At the bottom you find a original 10.11.2 AppleHDA.
EDIT: there is a new method to achieve audio, "AppleALC.kext", a omnycomprensive kext for all known codecs (Work in progress, ever more codec and variantes added). No need of injection or Clover patches, only download the latest release and copy the kext in kexts/10.11 and the right Layout-id injected. It is working fine with this MB, the actual layout-id is fine. Remember to remove aDummy/Dummy from S/L/E.
https://github.com/vit9696/AppleALC/releases


SIP:
- Be sure to have "CsrActiveConfig" 0x3 before updating

That's all

Enjoy your Hack and reports any errors.
 

Attachments

  • Original 10.11.2 AppleHDA.kext.zip
    1.7 MB · Views: 530
  • AD1988b aDummyHDA.kext.zip
    18.6 KB · Views: 553
  • Kext.zip
    199.9 KB · Views: 682
  • P5K-E DSDT Patches.zip
    3.9 KB · Views: 485
  • Config for P5K-E to customize.zip
    1.7 KB · Views: 478
To be clear, I think CsrActiveConfig of 0x3 should be sufficient for anything you want to do -- pretty sure there's no need to change to 0x67 and back.

You can actually enable SIP in between updates/changes to kexts if you like and then revert to 0x3 again for any changes, though that's a fair bit of remembering to do.
 
To be clear, I think CsrActiveConfig of 0x3 should be sufficient for anything you want to do -- pretty sure there's no need to change to 0x67 and back.

You can actually enable SIP in between updates/changes to kexts if you like and then revert to 0x3 again for any changes, though that's a fair bit of remembering to do.
To patch kext you need 0x67, the procedure for Applehda change the original. I thought it was the best parameter.

- 0x0 SIP Enabled
Configuration:
Apple Internal: enabled
Kext Signing: enabled
Filesystem Protections: enabled
Debugging Restrictions: enabled
DTrace Restrictions: enabled
NVRAM Protections: enabled

- 0x3 SIP Partially disabled
Configuration:
Apple Internal: disabled
Kext Signing: disabled
Filesystem Protections: disabled
Debugging Restrictions: enabled
DTrace Restrictions: enabled
NVRAM Protections: enabled

- 0x67 SIP Disabled
Configuration:
Apple Internal: disabled
Kext Signing: disabled
Filesystem Protections: disabled
Debugging Restrictions: disabled
DTrace Restrictions: disabled
NVRAM Protections: disabled


In all cases it reported to switch to 0x3
 
Again, I'll emphasize that CsrActiveConfig of 0x3 should be sufficient. No higher value is needed to run the audio script or anything else done on a typical install.

The RtVariables like CsrActiveConfig can be found in Clover Configurator (4.24.0) at... the Rt Variables screen. Maybe they were added after your older version of Clover Configurator.
 
Again, I'll emphasize that CsrActiveConfig of 0x3 should be sufficient. No higher value is needed to run the audio script or anything else done on a typical install.

The RtVariables like CsrActiveConfig can be found in Clover Configurator (4.24.0) at... the Rt Variables screen. Maybe they were added after your older version of Clover Configurator.
Changed the guide how you suggested
 
Hi, Flicka

Thank you for this guide. Just updated to El Capitan. Note: In your previous guide was written: "Inject Kexts" is set to "Detect" or "No", but this guide suggests (and required) "Inject Kexts" was set to "Detect" or "Yes". In my case I received an error with "No".

After I was set "Inject Kexts" to "Detect" updated was finished successful.

All working.

But I have some graphic artefacts in Google Chrome (tooltip in address/search string) and when displaying folders as fan view ("downloads" folder in the "Dock" - terrible bold font in filenames). I've tried native and nvidia web drivers - same result.
 
Hi, Flicka

Thank you for this guide. Just updated to El Capitan. Note: In your previous guide was written: "Inject Kexts" is set to "Detect" or "No", but this guide suggests (and required) "Inject Kexts" was set to "Detect" or "Yes". In my case I received an error with "No".

After I was set "Inject Kexts" to "Detect" updated was finished successful.

All working.

But I have some graphic artefacts in Google Chrome (tooltip in address/search string) and when displaying folders as fan view ("downloads" folder in the "Dock" - terrible bold font in filenames). I've tried native and nvidia web drivers - same result.
It will be usefull knowing your hardware, put it in your signature.
In every case it seems something related to your Graphics card.
Inject kexts Yes/No is related to where you put your kexts.
 
It will be usefull knowing your hardware, put it in your signature.
In every case it seems something related to your Graphics card.
Inject kexts Yes/No is related to where you put your kexts.

I understand. Just in this guide do you propose to move kext in Clover folder, so perhaps should specify the change of the flag "Inject kexts" (for beginners, and for not forget).

I can't add my hardware in signature because P5K-E WiFi (chipset P35)not present in the list.
H/W: P5K-E WiFi, Core 2 Quad Q6600, 4 Gb DDR2, NVIDIA GeForce GTX 560.
 
Status
Not open for further replies.
Back
Top