** Credit to ryanmvc at https://pikeralpha.wordpress.com/2017/01/30/4398/#comment-9146
Here are step-by-step instructions that I created. You will need Xcode or any basic hex editor.
- Disable System Integrity Protection by booting into Recovery mode (hold down Command + R during boot-up), opening Terminal, and typing: csrutil disable
- Restart your Mac and open Finder. Navigate to System/Library/PrivateFrameworks/
- Make a copy of the entire CoreBrightness.framework folder (save it to your desktop or a similar place).
- In Xcode, open the copy of CoreBrightness.framework that you just created. File > Open; Browse to where you just saved CoreBrightness.framework; from within that .framework folder, choose the CoreBrightness icon at the top that looks like a shortcut.
- In Xcode, press Shift + Command + J on your keyboard. A navigation column will appear on the left-hand side. Secondary/right-click CoreBrightness at the top of that column and choose Open As > Hex.
- Once the hex code appears, press C