Contribute
Register

[Guide] Laptop backlight control using AppleBacklightFixup.kext

Joined
Apr 2, 2017
Messages
1
Motherboard
Lenovo ideapad 310-15IKB
CPU
Intel Core i7-7500U 2.7G
Graphics
Intel HD620
Hello I am trying to up backlight on my Lenovo ideapad with Kaby Lake processor from scratch. I have made all steps but display tab is not working correctly and no keys work for backlight control.
Do I need some other guide, like EDID injection? Could you please advise how to make it works?
 

Attachments

  • RehabMan.zip
    47.5 KB · Views: 50
  • ioreg.ioreg
    6.8 MB · Views: 73
  • CLOVER.zip
    8.9 MB · Views: 57
  • kextstat.txt
    2.4 KB · Views: 92
Joined
Nov 12, 2012
Messages
219
Motherboard
Lenovo G570
CPU
2.4 GHz Intel Core i5
Graphics
Intel HD 3000
Mac
  1. MacBook Pro
Mobile Phone
  1. iOS
Not working After installing everything rebuild cache but didn't work. I attached all Files you need for helping.
there is No brightness Slider in Display panel.
 

Attachments

  • Screen Shot 2017-04-02 at 5.07.15 PM.png
    Screen Shot 2017-04-02 at 5.07.15 PM.png
    46.6 KB · Views: 128
  • TestFolder.zip
    2 MB · Views: 88

RehabMan

Moderator
Joined
May 3, 2012
Messages
188,247
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
the kext isn't getting patched

If true, then something is corrupt/changed in your AppleBacklight.kext.
Likely not vanilla.
Or for some other reason, not in kernel cache.
You need to determine the difference. Check for the pattern using a hex editor.
If you find the pattern, but Clover kext debug still shows it is not being patched, then it is a kernel cache issue (kext not in cache).
If you don't find the pattern, run the macOS installer to restore your AppleBacklight.kext to vanilla.
Also, it is possible you're not reading the debug output correctly, and it is actually being patched...
In that case, try the attached injector (remove AppleBacklightInjector.kext when using it). Reply with "Problem Reporting" files.
 

Attachments

  • AppleBacklightInjector_0534.kext.zip
    2.4 KB · Views: 95
Last edited:

RehabMan

Moderator
Joined
May 3, 2012
Messages
188,247
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
Hello I am trying to up backlight on my Lenovo ideapad with Kaby Lake processor from scratch. I have made all steps but display tab is not working correctly and no keys work for backlight control.
Do I need some other guide, like EDID injection? Could you please advise how to make it works?

See here for SysPrefs->Displays related topic/link:
https://www.tonymacx86.com/threads/readme-common-some-unsolved-problems-in-10-12-sierra.202316/

See main backlight guide for how to implement keyboard control... it is linked from the FAQ.
http://www.tonymacx86.com/el-capita...faq-read-first-laptop-frequent-questions.html
 

RehabMan

Moderator
Joined
May 3, 2012
Messages
188,247
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
Not working After installing everything rebuild cache but didn't work. I attached all Files you need for helping.
there is No brightness Slider in Display panel.

You did not enter the patch for AppleBacklight correctly into your config.plist.
It is obvious from your Clover bootlog (extracted from ioreg):
Code:
2:063  0:000   - [01]: com.apple.driver.AppleBacklight (change F%uT%04x to F%uTxxxx for AppleBacklightInjector.kext (credit RehabMan))[ERROR] bin2hex '<46257554 78787878 00>' syntax error
2:063  0:000   - invalid Find/Replace data - skipping!

Do not attempt to enter the patch manually. Use copy/paste with a plist editor.
Your mistake is trying to use "string" data type instead of "data" for Replace.
Your mistake is obvious if you look closely at your config.plist with a plist editor...
 
Joined
Aug 10, 2015
Messages
4
Hello Rehabman,

I put Sierra on this Probook 6470b using your probook guide and then followed this guide to the letter but cannot get the brightness slider to work. I've attached the problem reporting files, any help would be awesome!
 

RehabMan

Moderator
Joined
May 3, 2012
Messages
188,247
Motherboard
Intel DH67BL
CPU
i7-2600K
Graphics
HD 3000
Mac
  1. MacBook Air
Mobile Phone
  1. iOS
Hello Rehabman,

I put Sierra on this Probook 6470b using your probook guide and then followed this guide to the letter but cannot get the brightness slider to work. I've attached the problem reporting files, any help would be awesome!

The ProBook guide has already been updated to use this method.
Undo what you did, and follow the ProBook guide as written. Use the 'beta' branch as per guide.

Note: Your main mistake was that you didn't set BKLT to 1 in SSDT-HACK.aml.
 
Joined
Nov 12, 2012
Messages
219
Motherboard
Lenovo G570
CPU
2.4 GHz Intel Core i5
Graphics
Intel HD 3000
Mac
  1. MacBook Pro
Mobile Phone
  1. iOS
You did not enter the patch for AppleBacklight correctly into your config.plist.
It is obvious from your Clover bootlog (extracted from ioreg):
Code:
2:063  0:000   - [01]: com.apple.driver.AppleBacklight (change F%uT%04x to F%uTxxxx for AppleBacklightInjector.kext (credit RehabMan))[ERROR] bin2hex '<46257554 78787878 00>' syntax error
2:063  0:000   - invalid Find/Replace data - skipping!

Do not attempt to enter the patch manually. Use copy/paste with a plist editor.
Your mistake is trying to use "string" data type instead of "data" for Replace.
Your mistake is obvious if you look closely at your config.plist with a plist editor...
can I edit config.plist form Xcode.
 
Joined
Nov 12, 2012
Messages
219
Motherboard
Lenovo G570
CPU
2.4 GHz Intel Core i5
Graphics
Intel HD 3000
Mac
  1. MacBook Pro
Mobile Phone
  1. iOS
Now backlight control working again like charm thanks a lot.:clap::headbang:
 

Attachments

  • Screen Shot 2017-04-02 at 10.31.45 PM.png
    Screen Shot 2017-04-02 at 10.31.45 PM.png
    217.4 KB · Views: 233
Top