Contribute
Register

Apple Backlight Injector Brightness not saved

Status
Not open for further replies.
Joined
Sep 2, 2011
Messages
172
Motherboard
Dell XPS 9550
CPU
i7 6700
Graphics
HD 530, GTX 960M
Mobile Phone
  1. iOS
Hello,

I have successfully installed the AppleBacklightinjector.kext but when I change the Brightness and do an restart or Shutdown then the Brightness isn't save and set back to the default Value. I don't know if my NVRAM is working correctly or not. I have also tried in Clover to use the EmuVariableUEFI64 but this didn't work also. When I do in the Terminal an nvram -p then I see that the backlight value is changing when I switch the Brightness but then gone after reboot or Shutdown. The Kext is installed to /Library/Extensions. I also repaired the permission with Kext Utility.

Output of the command from the Problem Reporting:
Code:
matthiass-Air:untitled folder matthias$ kextstat|grep -y acpiplat

   13    2 0xffffff7f831fe000 0x66000    0x66000    com.apple.driver.AppleACPIPlatform (5.0) 65E05472-6AE7-3308-8CC8-FA6CB0DB2AEE <12 11 7 6 5 4 3 1>

matthiass-Air:untitled folder matthias$ kextstat|grep -y appleintelcpu

matthiass-Air:untitled folder matthias$ kextstat|grep -y applelpc

   91    0 0xffffff7f82962000 0x3000     0x3000     com.apple.driver.AppleLPC (3.1) F51595F0-F9B1-3B85-A1C3-F984DAD4107E <90 12 5 4 3>

matthiass-Air:untitled folder matthias$ kextstat|grep -y applehda

  108    1 0xffffff7f82eb3000 0x1d000    0x1d000    com.apple.driver.AppleHDAController (279.48) ED51F180-19C8-3DE1-AF81-0E389D98ADDE <107 106 92 12 7 6 5 4 3 1>

  129    0 0xffffff7f83035000 0xb5000    0xb5000    com.apple.driver.AppleHDA (279.48) 806B8C17-50CA-3C6B-90B3-195F38D8FB89 <128 113 108 107 106 92 6 5 4 3 1>

matthiass-Air:untitled folder matthias$ sudo touch /System/Library/Extensions && sudo kextcache -u /

Password:

kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext AppleBacklightInjector.kext

kext-dev-mode allowing invalid signature -67054 0xFFFFFFFFFFFEFA12 for kext X86PlatformPlugin.kext

kext-dev-mode allowing invalid signature -67013 0xFFFFFFFFFFFEFA3B for kext AppleMobileDevice.kext

kext-dev-mode allowing invalid signature -67030 0xFFFFFFFFFFFEFA2A for kext AppleGraphicsDevicePolicy.kext

KernelCache ID: 16AECAA8CBE5F561BF04DCE9049504D3

I hope someone can help me.

Thanks.
 

Attachments

  • CLOVER.zip
    4.6 MB · Views: 154
  • ioreg.zip
    817.1 KB · Views: 130
  • RehabMan.zip
    61.4 KB · Views: 167
Hello,

I have successfully installed the AppleBacklightinjector.kext but when I change the Brightness and do an restart or Shutdown then the Brightness isn't save and set back to the default Value. I don't know if my NVRAM is working correctly or not. I have also tried in Clover to use the EmuVariableUEFI64 but this didn't work also. When I do in the Terminal an nvram -p then I see that the backlight value is changing when I switch the Brightness but then gone after reboot or Shutdown. The Kext is installed to /Library/Extensions. I also repaired the permission with Kext Utility.

Output of the command from the Problem Reporting:
Code:
matthiass-Air:untitled folder matthias$ kextstat|grep -y acpiplat

   13    2 0xffffff7f831fe000 0x66000    0x66000    com.apple.driver.AppleACPIPlatform (5.0) 65E05472-6AE7-3308-8CC8-FA6CB0DB2AEE <12 11 7 6 5 4 3 1>

matthiass-Air:untitled folder matthias$ kextstat|grep -y appleintelcpu

matthiass-Air:untitled folder matthias$ kextstat|grep -y applelpc

   91    0 0xffffff7f82962000 0x3000     0x3000     com.apple.driver.AppleLPC (3.1) F51595F0-F9B1-3B85-A1C3-F984DAD4107E <90 12 5 4 3>

matthiass-Air:untitled folder matthias$ kextstat|grep -y applehda

  108    1 0xffffff7f82eb3000 0x1d000    0x1d000    com.apple.driver.AppleHDAController (279.48) ED51F180-19C8-3DE1-AF81-0E389D98ADDE <107 106 92 12 7 6 5 4 3 1>

  129    0 0xffffff7f83035000 0xb5000    0xb5000    com.apple.driver.AppleHDA (279.48) 806B8C17-50CA-3C6B-90B3-195F38D8FB89 <128 113 108 107 106 92 6 5 4 3 1>

matthiass-Air:untitled folder matthias$ sudo touch /System/Library/Extensions && sudo kextcache -u /

Password:

kext-dev-mode allowing invalid signature -67062 0xFFFFFFFFFFFEFA0A for kext AppleBacklightInjector.kext

kext-dev-mode allowing invalid signature -67054 0xFFFFFFFFFFFEFA12 for kext X86PlatformPlugin.kext

kext-dev-mode allowing invalid signature -67013 0xFFFFFFFFFFFEFA3B for kext AppleMobileDevice.kext

kext-dev-mode allowing invalid signature -67030 0xFFFFFFFFFFFEFA2A for kext AppleGraphicsDevicePolicy.kext

KernelCache ID: 16AECAA8CBE5F561BF04DCE9049504D3

I hope someone can help me.

Thanks.

Make sure you have "RC scripts" installed from Clover.
This is the backlight-level coming from nvram.plist on your EFI:
Code:
0:892  0:000   Adding Key: backlight-level: Size = 2, Data: 1A 00

Refer to your Clover bootlog...
 
I have now updated my Clover to v4077 and I also have selected to Install the RC Scripts on the target volume but it is still not saving. I will attach my new Clover Folder. Maybe you can see something what is not correct.
 

Attachments

  • CLOVER.zip
    4.6 MB · Views: 146
I have now updated my Clover to v4077 and I also have selected to Install the RC Scripts on the target volume but it is still not saving. I will attach my new Clover Folder. Maybe you can see something what is not correct.

You need to debug the problem. EFI/Clover simply isn't enough information...

Look at your nvram before reboot so you know what the value of backlight-level was. Then reboot... after rebooting, look at your Clover bootlog to see what was loaded from nvram.plist. Also, check the value in nvram.plist to verify.

Also, look at native NVRAM to see what is in there...
To switch to native NVRAM, requires:
- remove EmuVariableUefi-64.efi
- reboot
- remove nvram.plist from EFI
- reboot

Then, look at your Clover bootlog...
 
I have now done your steps but the Backlight is still reverted to the default Value. When I change the Value on the Brightness Slider with the EmuVariableUefi-64.efi then I have seen that the value gets written to the nvram.plist and also gets read by Clover but the Brightness isn't adjusted to the saved settings.

I have also changed to native NVRAM but there I find only in Clover Boot Log in the NVRAM Part found AppleSMC protocol.
 
I have now added the RT Variables and in the native NVRAM in the UEFI Shell I could find an entry Variable NV+RT+BS backlight-level Datasize=0x02. The part in which this Value is this looks like the nvram.plist in the native NVRAM. I tested it again with the nvram.plist and Clover loads the correct Value from nvram.plist but the Brightness is still set to default at every restart.
 
I have now added the RT Variables and in the native NVRAM in the UEFI Shell I could find an entry Variable NV+RT+BS backlight-level Datasize=0x02. The part in which this Value is this looks like the nvram.plist in the native NVRAM. I tested it again with the nvram.plist and Clover loads the correct Value from nvram.plist but the Brightness is still set to default at every restart.

I'm not certain how macOS NVRAM variables will look in the UEFI shell. You will need to do some research.
Or do CMOS reset (remove CMOS battery).
Probably you would not run into this had you used EmuVariableUefi from the start.
Or... you have something else setting the brightness level... you could always do a fresh install.
 
I have now cleared my native NVRAM and also the NVRAM of OS X itself. The I have rebooted with out EmuCariable and I have seen that the backlight-level has been written again to NVRAM but brightness is still not saved. Then I did the same again and added the EmuVariable but also no luck.
I think I will do an fresh reinstall of OS X with EmuVariable at the beginning and clear my native NVRAM before. Did you check my config.plist if maybe Clover set the Backlight somehwere which I didn't see?

Thank you.
 
Did you check my config.plist if maybe Clover set the Backlight somehwere which I didn't see?

Since config.plist/SystemParameters/BacklightLevel=0, Clover should not set it.
 
Status
Not open for further replies.
Back
Top