Here is a quick guide to enable Night Shift on unsupported Macs if you want to try it.
- First you will need to navigate to /System/Library/PrivateFrameworks
- Once you are there, look for the framework named CoreBrightness.framework
- Right click on CoreBrightness.framework and 'Open in New Tab'
- Next, navigate to /Versions/A
- Now that we are here we need to make a copy of your CoreBrightness just in case something goes wrong. So right click on CoreBrightness and choose 'Copy "CoreBrightness"' and then paste it to the Desktop or somewhere that you will be able to find it later incase you need it.
- Now right click on coreBrightness again and this time choose 'Open With' and choose 'Other...'
- That will open up a window that takes you to your Applications folder. You will choose 0xED
Once it opens we will be ready to edit the file.
This can look intimidating, but if you follow along you will be fine
You should now be looking at this
- First thing we need to do is navigate to the Offset so we can find the Hex that we need to change. To do that just look in the top right corner and you will see 'Go To Offset' and in the box above it will say 'Hex'. Click in that box and type 1D490 and then hit Enter on your keyboard. You should now see a blue cursor like this
The cursor will be on a 09 and that is the start of the string that has all the different Mac models that support Night Shift.
The Mac models and corresponding hex number is as followed.
0900 0000 0D00 0000 0600 0000 0500 0000 0600 0000 0800 0000
- MacBookPro 09
- iMac 0D
- Macmini 06
- MacBookAir 05
- MacPro 06
- MacBook 08
These number correspond to the Mac identifier number i.e. 7,1 or 13,1. And these identifiers correspond to the year of the Mac. So this is telling the software what the earliest Mac is that it wants to see that will give you the Night Shift option
So as an example lets look at the iMac in the list. Its position is 0D. If you look up D as a hex number and convert it to a decimal you will see that it corresponds to 13. So the earliest identifier for iMac that the software wants to see is 13,x. Now, if you look up 'iMac 13,1" you will see that that identifier corresponds to the late 2012 iMac. Meaning that the only iMacs that officially support Night Shift are from late 2012 to the most recent. Got it? Ok, lets do one more. Look at MacBook Pro. The hex number is 09. This DOES NOT mean that Night Shift is supported on 2009 MacBook Pros. Rather, the 09 hex corresponds to the identifier 9,x. If you look up MacBook Pro 9,1 you will notice that corresponds to the model year mid 2012. See how it works now?
NOTE: Notice that the Mac mini and the Mac Pro have the same number. If you are editing for either of these platforms make sure you edit the right location. Also note that I have listed each model in order that it appears so it is easier for you to follow.
You need to know the identifier of your Mac for this next part. If you don't know it just look it up in 'About This Mac' 'System Report'
Now that you have the identifier you need to go to this http://www.binaryhexconverter.com/decima... and type the first number of your identifier and convert it. Now that you have the hex number just add a zero in front of it and we are ready to change it in CoreBrightness.
As an example, the identifier of my iMac is 7,1. So I type in 7 in the converter and I get 7 as the hex number. Now I just add a zero to it and I have 07 now. Now I look at the list of Macs and see that the hex number I need to edit is 0D. So I highlight 0D in the file like this
And then type 07, like this
Now just make sure you save it before you close the application. To make sure you changed it you can reopen it and navigate back to the location and see that the change you made is still there.
NOTE: You need to make sure you highlight it like I did or you won't actually change it, you will instead just be adding your hex number to the string and that will cause it to not work. To check and make sure you changed it right just go back and match up the string of numbers that I provided above and it should be exactly the same EXCEPT for the hex number you changed for your Mac.
The last thing we need to do is re-sign the patched framework binary with:
sudo codesign -f -s - /S*/L*/PrivateFrameworks/CoreBrightness.framework/Versions/Current/CoreBrightness
in Terminal. Since we are using 'sudo' you will have to type in your password after you enter this.
Once you do this all you need to do now is restart your Mac and you will have the Night Shift option in Display in System Preferences.
IF when you click on Display, System Preferences crashes, that means that you didn't edit it right OR you didn't type the command into terminal properly. This is why you must have a backup of the CoreBrightness file like I told you to make at the beginning of this write up.
As always, If you have any questions just leave them here and I am always more that happy to help. I will eventually be making a video on how to do this to go along with my hackintosh videos on youtube.
Questa risposta è stata utile?
@nandor690 - I'm very impressed with your efforts here.
Not to be a downer but you do have one problem you can't overcome here which is the systems memory limit of 6 GB. While you got the system too run it will be limited to simple tasks as it just won't have the needed memory to run many of todays Apps and it will be dog slow.
You might be able to off set the slowness of the system constantly using virtual RAM (disk) by upgrading the HD to a SSD. But you'll then hit the next bump here on the size of the SSD. You'll need to get at least a 512 GB unit if not larger and the SATA port speed of this series is SATA II (3.0 Gb/s).
As to it being worth it? I would say most people wouldn't have the skills to pull it off and at the end it might be more cost effective to buy even a used system which has better bones. I do realize in some countries this system still has value (like India) as its just to costly to get a replacement system for most.
Hi, Dan. I have done it last week, and it's worth it. I already installed a 256 Gb SSD 3 years ago, and I have 6 Gb of ram. Here we are talking about people, like me, that was already using this iMac every day for work. Upgrading to T9300 and new Airport card made it compatible with Sierra and faster. That's it. Every function of Sierra works (apart from Night Shift, that I don't care) and 6 Gb and a fast SSD are enough to make the system feel snappy in almost every operation (also, remember that the minimum official ram requirement for Sierra is 2 Gb, and 6 is theee times that).
My job is translation work, not graphic design or video editing (even if I can use Photos and iMovie without any problem).
The money spent on this was 50 dollars, so FOR ME it was worth it!
While I do agree with Dan and do appreciate his input, I do also agree that the people that actually find this thread are going to mostly be people like kautame that are looking to do an upgrade like this to begin with.
I have 6 GB ram and a 256 ssd that I installed almost 4 years ago. With the cpu and airport combo card this platform still feels pretty good while running on macOS Sierra.
While I use my i5 3750k hackintosh to do most of my work, the 2007 iMac still handles transcoding from Plex, and video editing with final cut pro well.
Mostly, this is just a hobby for me but I have found a small niche of people that what to do this. So I decided to get as much info out there that I could
hi, any updates for this, re: bluetooth, usb, isight?
Hi, Mark, this is already and old thread. Nandor had problems because he made his Mac think that it was a 2012 model, just to activate Night Shift. But that's not necessary anymore. After you make the hardware upgrade as Nandor explains in the following answer, you install Sierra on the 2007 iMac using macOS Sierra Patch Tool, from here:
Everything should work EXCEPT for the brightness control, that on this Mac is broken from 10.12.4 on. To enable Night Shift you can just use an app called NightEnabler that you can find in this thread from MacRumors:
If you need more details you can just read that thread.
Mostra altri 27 commenti