Contribute
Register

[Guide] Laptop backlight control using AppleBacklightFixup.kext

You cannot use Graphics/EDID with Devices/Properties. (EDID setting ignored). Must inject with Properties.
Ok, got it working with AppleBacklightInjector and edid in devices/properties/aapl00... So, its all working now, thank you.
 
Ok, got it working with AppleBacklightInjector and edid in devices/properties/aapl00... So, its all working now, thank you.

Note that the new recommendation in post #1 is AppleBacklightFixup.kext + SSDT-PNLF.aml (and no KextsToPatch entry).

Also, with my build of Clover, you can use config.plist/EDID/Inject=true, EDID=ProductID=0x9c7c, as long as you have AAPL00,override-no-connect=<> (eg. empty)
 
To use this technique requires three components:
- SSDT-PNLF.aml in ACPI/patched
- AppleBacklightFixup.kext installed to /L/E
now its only two components?
 
Note that the new recommendation in post #1 is AppleBacklightFixup.kext + SSDT-PNLF.aml (and no KextsToPatch entry).

Also, with my build of Clover, you can use config.plist/EDID/Inject=true, EDID=ProductID=0x9c7c, as long as you have AAPL00,override-no-connect=<> (eg. empty)
Yeah I'm using fixup now instead on injector and no kexts to pass. Nice about the the new build of clover, I'll have to update, I did it the hard way with passing the whole edid into the AAPL line.
 
Problems:
- MacBookPro13,2 not recommended. Use MacBookPro13,1 or MacBookPro11,1
- CPU PM not implemented. See guide for good starter plists:
https://www.tonymacx86.com/threads/guide-booting-the-os-x-installer-on-laptops-with-clover.148093/
- USB WiFi not recommended. Install recommended WiFi as per FAQ.
- Your USB configuration is wrong. See guides linked from FAQ.
- you're doing Skylake spoof. Try using native KBL kexts instead.

Also,
All kexts you need must be installed to the system volume (and config.plist/SystemParameters/InjectKexts should be "Detect")
Read post #2 of the Clover guide for details:
https://www.tonymacx86.com/threads/guide-booting-the-os-x-installer-on-laptops-with-clover.148093/

And...
ACPI is patched incorrectly. SystemMemory addresses are mismatched (no wonder you have instability).
Note:
Code:
NUC6i7KYK:origin rehabman$ diff ../origin/ ../patched/|grep SystemMemory
<     OperationRegion (GNVS, SystemMemory, 0xA8F33000, 0x0767)
>     OperationRegion (GNVS, SystemMemory, 0xA8EEB000, 0x0698)
<     OperationRegion (EXBU, SystemMemory, 0xA8F40000, 0x0012)
>     OperationRegion (EXBU, SystemMemory, 0xA8EF9000, 0x12)
<     OperationRegion (OGNV, SystemMemory, 0xA8F37000, 0x0002)
>     OperationRegion (OGNV, SystemMemory, 0xA8EEF000, 0x04)
<     OperationRegion (DEGA, SystemMemory, 0xA8F38000, 0x0011)
>     OperationRegion (DEGA, SystemMemory, 0xA8EF0000, 0x11)
<                         OperationRegion (PCF0, SystemMemory, 0xF0100000, 0x0200)
<                         OperationRegion (PCF1, SystemMemory, 0xF0200000, 0x0200)
<                         OperationRegion (PCF2, SystemMemory, 0xF00E0000, 0x0300)
<                         OperationRegion (PCF3, SystemMemory, 0xF00E2000, 0x0300)
>                 OperationRegion (CPSB, SystemMemory, 0xA85E9F18, 0x10)
>                 OperationRegion (GPPX, SystemMemory, Add (GADR (Arg0, 0x05), Multiply (Arg1, 0x04)), 0x04)
<                 OperationRegion (UPSC, SystemMemory, Add (XWMB, U3PS), 0x0100)
<                     OperationRegion (PCF0, SystemMemory, 0xF0100000, 0x0200)
<                     OperationRegion (PCF1, SystemMemory, 0xF0200000, 0x0200)
<                     OperationRegion (PCF2, SystemMemory, 0xF00E0000, 0x0300)
<                     OperationRegion (PCF3, SystemMemory, 0xF00E2000, 0x0300)
<     OperationRegion (ABNV, SystemMemory, 0xA87F1000, 0x0014)
>     OperationRegion (ABNV, SystemMemory, 0xA8BDA000, 0x13)

Other things you mention (and even some addressed above) are off-topic.
Trying to follow your advices to fix my system I lost the backlight control, I followed the updated guide but I still can't adjust the brightness even from settings.
I attach the problem reporting zip.
 

Attachments

  • debug_10086.zip
    2 MB · Views: 76
Trying to follow your advices to fix my system I lost the backlight control, I followed the updated guide but I still can't adjust the brightness even from settings.
I attach the problem reporting zip.

It appears you deleted kexts you should not have deleted... just look at your kextcache:
Code:
AppleMuxControl.kext - dependency 'com.apple.driver.AppleBacklightExpert' not found.
AppleMuxControl.kext is missing dependencies (including anyway; dependencies may be available from elsewhere)
AppleBacklight.kext - dependency 'com.apple.driver.AppleBacklightExpert' not found.
kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext AppleBacklightFixup.kext
AppleBacklight.kext - dependency 'com.apple.driver.AppleBacklightExpert' not found.
AppleBacklight.kext is missing dependencies (including anyway; dependencies may be available from elsewhere)
AppleMuxControl.kext - dependency 'com.apple.driver.AppleBacklightExpert' not found.
AppleBacklight.kext - dependency 'com.apple.driver.AppleBacklightExpert' not found.
AppleMuxControl.kext - dependency 'com.apple.driver.AppleBacklightExpert' not found.
Prelink failed for com.apple.driver.AppleMuxControl; omitting from prelinked kernel.
AppleBacklight.kext - dependency 'com.apple.driver.AppleBacklightExpert' not found.
Prelink failed for com.apple.driver.AppleBacklight; omitting from prelinked kernel.

Run the macOS installer to restore all system files.
 
Probably your kernel cache was not stable. Once you stop fiddling with kexts, you should have a stable kextcache.
Hi, again, it's not working anymore.. I can't get it to work again by rebooting and I haven't changed anything to my kexts in quite some time (post #1640). Any idea what I could do?
Thanks
 

Attachments

  • files.zip
    2.5 MB · Views: 73
Hi, again, it's not working anymore.. I can't get it to work again by rebooting and I haven't changed anything to my kexts in quite some time (post #1640). Any idea what I could do?
Thanks

Current guide uses AppleBacklightFixup.kext, no KextsToPatch entry for AppleBacklight.
Read post #1 and update to current recommendations.

Also current build of RehabMan Clover allows use of config.plist/EDID/Inject=true, EDID/ProductID. Read post #1 for details.
 
Hi,
I cannot get my backlight control to work.
It was working fine in High Sierra with the the old AppleBacklightInjector.kext + KextToPatch entry in Clover + the SSDT without any custom EDID injection in Clover. Right out of the box with your patch.
So I guess that my EDID is working fine with your patch.

Now, after I upgraded to Mojave, my Backlight control didn't show up (I my using the new method with AppleBacklightFixup.kext + SSDT) .
I also tried injecting the EDID with Clover /Graphics/EDID Inject=true + ProductID=0x9c7c and enabling AAPL00,override-no-connect in Properties, but this didn't change anything..
Lastly I tried manually injecting my whole EDID into AAPL00,override-no-connect with the script you referenced. But this script now says that it could not read my system EDID and that I might have not changed GFX0 to IGPU, which I did!

Any idea why it's not working? Is there some problem with the rename to IGPU?

Please find my problem reporting files below.

Thank you in advance!
 

Attachments

  • debug_jonsomi.zip
    5.7 MB · Views: 106
  • Screenshot 2018-10-13 at 14.24.34.png
    Screenshot 2018-10-13 at 14.24.34.png
    50.5 KB · Views: 128
Back
Top