Contribute
Register

[Guide] Patching LAPTOP DSDT/SSDTs

Im doing it step by step, unzipped it, I have a file called iasl with a black terminal window icon. Its there. But no matter what I do its not copying. It is in the Downloads dir.

Last login: Sun Feb 19 12:25:47 on ttys000
tests-Mac-mini:~ test$ cd ~/Downloads
tests-Mac-mini:Downloads test$ unzip iasl.zip
Archive: iasl.zip
inflating: iasl
tests-Mac-mini:Downloads test$ sudo cp iasl /usr/bin
Password:
cp: /usr/bin/iasl: Operation not permitted
tests-Mac-mini:Downloads test$
 
Last edited:
Im doing it step by step, unzipped it, I have a file called iasl with a black terminal window icon. Its there. But no matter what I do its not copying. It is in the Downloads dir.

Last login: Sun Feb 19 12:25:47 on ttys000
tests-Mac-mini:~ test$ cd ~/Downloads
tests-Mac-mini:Downloads test$ unzip iasl.zip
Archive: iasl.zip
inflating: iasl
tests-Mac-mini:Downloads test$ sudo cp iasl /usr/bin
Password:
cp: /usr/bin/iasl: Operation not permitted
tests-Mac-mini:Downloads test$

It is likely because you don't have SIP disabled properly.
The Clover guide linked from the FAQ has the correct settings in all the provided plists.

Follow the Clover guide linked from the FAQ.
http://www.tonymacx86.com/el-capita...faq-read-first-laptop-frequent-questions.html
 
I googled it and came across the csrutil disable command in Terminal (recovery mode). Got it fixed.

On hacks, we typically disable SIP with config.plist settings.
 
Well its not mentioned in the OP and last time I did a hackintosh SIP didnt exist.

Anyway is it ok to use MacOS Sierria in a VM to use MacIASL (yes I know you shouldnt use VMWARE to make a usb installer), but I've got a finely working install in VMWare Workstation and it'd be easier for me to use that to make edits to DSDT/patches opposed to having to dig out my mac mini and hook it up each time.
 
Well its not mentioned in the OP and last time I did a hackintosh SIP didnt exist.

Off-topic here (falls into basic installation procedures, which is covered in other guides).

Anyway is it ok to use MacOS Sierria in a VM to use MacIASL (yes I know you shouldnt use VMWARE to make a usb installer), but I've got a finely working install in VMWare Workstation and it'd be easier for me to use that to make edits to DSDT/patches opposed to having to dig out my mac mini and hook it up each time.

I would assume MaciASL might work fine in a macOS VM.
I have not tested it personally.
 
If you have some issue with patched ACPI, describe the problem clearly.
And provide all files requested in the ACPI patching guide, post #1, "Problem Reporting".
The main problem is that when my computer goes into sleep, it just reboot.
Here are what you need:
Code:
Jasons-MacBook-Air:~ jasonecstatic$ kextstat|grep -y acpiplat
   13    2 0xffffff7f82ecd000 0x60000    0x60000    com.apple.driver.AppleACPIPlatform (4.0) A29C7512-D3A8-3AED-9721-3A5FF1A32EB2 <12 11 7 6 5 4 3 1>
Jasons-MacBook-Air:~ jasonecstatic$ kextstat|grep -y appleintelcpu
Jasons-MacBook-Air:~ jasonecstatic$ kextstat|grep -y applelpc
  106    0 0xffffff7f828c9000 0x3000     0x3000     com.apple.driver.AppleLPC (3.1) 32BDCF9F-0473-32D4-9DAE-F523EFB2D244 <87 12 5 4 3>
Jasons-MacBook-Air:~ jasonecstatic$ kextstat|grep -y applehda
   95    1 0xffffff7f82baa000 0x1e000    0x1e000    com.apple.driver.AppleHDAController (274.12) 5F94D8E3-B1E5-35D7-AB7A-6419C3AAC3B5 <94 93 77 12 7 6 5 4 3 1>
  119    0 0xffffff7f82d16000 0xb3000    0xb3000    com.apple.driver.AppleHDA (274.12) 436B78B7-FA08-3C53-B97D-5C617CB7EB28 <118 95 94 93 86 77 12 11 6 5 4 3 1>
Jasons-MacBook-Air:~ jasonecstatic$ sudo touch /System/Library/Extensions && sudo kextcache -u /
Password:
Sorry, try again.
Password:
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext USBInjectAll.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext RealtekRTL8111.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext GenericUSBXHCI.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakeSMC_LPCSensors.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakeSMC_GPUSensors.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakeSMC_CPUSensors.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakeSMC_ACPISensors.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext AHCI_Intel_Generic_SATA.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext Soundflower.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext IntelBacklight.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakeSMC.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakePCIID_Broadcom_WiFi.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakePCIID.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext ACPIBacklight.kext
 

Attachments

  • G56JK.zip
    35.5 MB · Views: 149
The main problem is that when my computer goes into sleep, it just reboot.
Here are what you need:
Code:
Jasons-MacBook-Air:~ jasonecstatic$ kextstat|grep -y acpiplat
   13    2 0xffffff7f82ecd000 0x60000    0x60000    com.apple.driver.AppleACPIPlatform (4.0) A29C7512-D3A8-3AED-9721-3A5FF1A32EB2 <12 11 7 6 5 4 3 1>
Jasons-MacBook-Air:~ jasonecstatic$ kextstat|grep -y appleintelcpu
Jasons-MacBook-Air:~ jasonecstatic$ kextstat|grep -y applelpc
  106    0 0xffffff7f828c9000 0x3000     0x3000     com.apple.driver.AppleLPC (3.1) 32BDCF9F-0473-32D4-9DAE-F523EFB2D244 <87 12 5 4 3>
Jasons-MacBook-Air:~ jasonecstatic$ kextstat|grep -y applehda
   95    1 0xffffff7f82baa000 0x1e000    0x1e000    com.apple.driver.AppleHDAController (274.12) 5F94D8E3-B1E5-35D7-AB7A-6419C3AAC3B5 <94 93 77 12 7 6 5 4 3 1>
  119    0 0xffffff7f82d16000 0xb3000    0xb3000    com.apple.driver.AppleHDA (274.12) 436B78B7-FA08-3C53-B97D-5C617CB7EB28 <118 95 94 93 86 77 12 11 6 5 4 3 1>
Jasons-MacBook-Air:~ jasonecstatic$ sudo touch /System/Library/Extensions && sudo kextcache -u /
Password:
Sorry, try again.
Password:
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext USBInjectAll.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext RealtekRTL8111.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext GenericUSBXHCI.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakeSMC_LPCSensors.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakeSMC_GPUSensors.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakeSMC_CPUSensors.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakeSMC_ACPISensors.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext AHCI_Intel_Generic_SATA.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext Soundflower.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext IntelBacklight.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakeSMC.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakePCIID_Broadcom_WiFi.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext FakePCIID.kext
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext ACPIBacklight.kext

I only looked at EFI in SSD. I'm assuming that's the one you're booting from. I don't know why you would provide more than one. Also, in the future, provide only EFI/Clover, as per request.

ACPI is not patched correctly. Based on ACPI/origin, you should have in ACPI/patched:
DSDT.aml
SSDT.aml (ssdtPRgen.sh)
SSDT-0.aml
SSDT-1.aml
SSDT-2.aml
SSDT-6.aml
SSDT-7.aml
SSDT-8.aml
SSDT-9.aml

Also, your config.plist settings are wrong (DropOem must be true with patched SSDTs in ACPI/patched).
See ACPI guide linked from the FAQ.
 
I only looked at EFI in SSD. I'm assuming that's the one you're booting from. I don't know why you would provide more than one. Also, in the future, provide only EFI/Clover, as per request.

ACPI is not patched correctly. Based on ACPI/origin, you should have in ACPI/patched:
DSDT.aml
SSDT.aml (ssdtPRgen.sh)
SSDT-0.aml
SSDT-1.aml
SSDT-2.aml
SSDT-6.aml
SSDT-7.aml
SSDT-8.aml
SSDT-9.aml

Also, your config.plist settings are wrong (DropOem must be true with patched SSDTs in ACPI/patched).
See ACPI guide linked from the FAQ.
I forgot to tell you that I rename SSDT-6 to SSDT-9 into SSDT-3 to SSDT-6. I apologize to you for uploading more than one EFI. I just uploaded them on the wrong thread.
 
Back
Top