Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
Status
The first post of this thread is a WikiPost and can be edited by anyone with the appropiate permissions. Your edits will be public.
@Verlis

Hi, First of all, I'm no expert when it comes to this, but I have managed to get all the information needed to do the patching from the excellent people in this forum.
The following is a rough guide I wrote for myself and wasn't intended to be a comprehensive how 'How to Guide'... But I hope it might help fill in some details for yourself and maybe some others.

Step 1A
Use GRML tool (https://github.com/Ausdauersportler/GRML-FLASH) to read UEFI BIOS using the command line.
or
Or use CH341a to directly read BIOS from chip on MOBO (This requires some disassembly of the machine to gain access to the mother board)
** A good resource for all thing CH341A chip readers is (https://github.com/YTEC-info/CH341A-Softwares)
** I’ve had good success using NeoProgrammer and Windows10

Step 1B Make multiple copies of your BIOS and store them in multiple locations…. Just in case 😉

Step 1C Make sure to use a verify function to validate reads.

Step 2
Download Ver. 0.28.0 of UEFIPatch (https://github.com/LongSoft/UEFITool/releases/tag/0.28.0) to suit the OS you’ll be using to patch the the files on.

Step 3
Once the download has finished, extract the folder and move to a location of your choosing. (Or leave in downloads if you wish)

Step 4
Open a new text document so we can copy and paste some paths and other items.

Step 5
Run the ‘UEFIPatch’ executable. (You may need to allow permission if on Mac in your System Preferences / Security & Privacy)

Step 6
Make a note of the path mentioned when the command line window opens
ie. /Users/andrew/Documents/UEFI/UEFIPatch_0.28.0_mac
Copy your path into that .txt document you just created. We’ll use that later.

Step 7
Download the patches you want to apply from
(https://github.com/m0bil/imac-uefi-patches)
They’re just a simple .txt file eg. flash-protection-bypass.txt

Step 8
Move those txt files to the same directory/folder where your UEFIPatch is located. (Refer step 6)

Step 9
Make a *COPY* of your original unpatched BIOS.bin and place it in the same folder as your UEFIPatch Executable is located.

Step 10
Open a new terminal or Command Prompt window and change working directory to the one that showed up in Step 6.
Ie. /Users/andrew/Documents/UEFI/UEFIPatch_0.28.0_mac
Would end up being
$ cd Documents/iMac/UEFI/UEFIPatch_0.28.0_mac

Step 11
Patching the .bin
At this stage you must have your BIOS.bin and your PATCH.txt in the same directory/folder as your UEFIpatch Executable.
Then in Terminal or cmd you would use the following command frame and insert your own details.

$ ./UEFIPatch <BIN_To_be_Patched.bin> <TXT_file_containing_patch.txt> -o <NEW_bin_name.bin>

Ie. ./UEFIPatch ORIGINAL.bin flash-protection-bypass.txt -o Patched.bin

Step 11
Your newly patched .bin will be in the same directory as we’ve just been using and will have the new file name used when applying the patch.
Flashing BIOS back to chip.
You MUST flash your modified .bin back using your chip programmer, unless you have already applied the ‘flash-protection-bypass.txt’ previously, in which case you can use GRML and FlashROM.

DONE.

Screenshot 2026-05-29 at 9.55.35 am.png
 
Last edited:
No way to flash the .bin without a hardware flasher?
I'm fairly certain you must physically flash the the 'flash-protection-bypass' by way of a hardware flasher first. Once this patch is applied it opens the ability of software flashing.

You may want to read post #63 by m0bil regarding the reasons why.
He also gives some more description on his GitHub Patch Repository.
 
Last edited:
@StephN999 i am curious, would bios mod's like these be possible for a late 2013 imac too?

the late 2013 27 inch imac will not boot with a 4790k cpu, i suspect it's missing microcode/some block,

2014 can boot 4790k, so maybe fixable with some merging of the 2 firmwares?

also unsure if the 2013 has any ram speed limits too, 2133 seems neat to have,


i am more of a hardware modding guy, software/efi modding bit less of my jam XD,

Much thanks for your input
 
@StephN999 i am curious, would bios mod's like these be possible for a late 2013 imac too?

the late 2013 27 inch imac will not boot with a 4790k cpu, i suspect it's missing microcode/some block,

2014 can boot 4790k, so maybe fixable with some merging of the 2 firmwares?

also unsure if the 2013 has any ram speed limits too, 2133 seems neat to have,


i am more of a hardware modding guy, software/efi modding bit less of my jam XD,

Much thanks for your input
There was never a successful Apple EFI BIOS mod which allowed to run a new - and formerly unsupported - CPU generation on a stock Mac. The only successful way to achieve this was creating a new Coreboot BIOS converting the Mac basically into an PC. If you are interested watch this really great dosdude1 video. Running even High Sierra macOS would need OpenCore.
For a short time a few guys thought about going this way on 2011 iMacs, but plans never realized.
 
Last edited:
There was never a successful Apple EFI BIOS mod which allowed to run a new - and formerly unsupported - CPU generation on a stock Mac. The only successful way to achieve this was creating a new Coreboot BIOS converting the Mac basically into an PC. If you are interested watch this really great dosdude1 video. Running even High Sierra macOS would need OpenCore.
For a short time seem guys thought about going this way on 2011 iMacs, but plans never realized.
aye i love dosdude, he is why i got into learning BGA reworking so i can do fun swaps for my projects,


But this situation is different, 2013 and 2014 are both haswel, they are not really a different generation...

2nd and 3rd gen are *the same* but it's different,




i did a small rudementary dig into the 27 inch late 2013, and 27 inch 2014 bios dump files i got here,


both the 2013 and 2014 have the same microcode, so the blocker must be smc or something other,



i dug into the schematics for both motherboards, and both have the socket wired up the same, vrm is the same,

one interesting thing i found is that in both schematics for the socket pinouts, the following message is displayed,

"NC FOR NOW BUT NEEDED FOR 2014 CPUS
Y7,K9 FOR FUTURE CPU COMPATIBILITY"

But this note is on both the 2013 and 2014 schematics, and for both machines are wired the same,


But this reminds me of core 2 quad mobile cpu's, remember how they don't work in a lot of laptops? it's because there were a few pins that needed to be connected for it to work, you can retroactively hack this onto existing machines to add core 2 quad support,

*that might be why dosdude1 could not get a quad working right on a macbook and probably same story for the 08 imac's*



it should work, it just has to be apple's firmware purposely blocking it,
 
@StephN999 i am curious, would bios mod's like these be possible for a late 2013 imac too?
Hello, It’s been quite a while since I put my project on hold after my 2011 iMac broke down for good.
I would have liked it if dosdude had looked into this back then—I think that was a time when he wasn’t very active. It would be nice to hear his opinion; I love this kind of modification and would really like to know whether or not I could have pulled it off!
I appreciate seeing questions on this topic even today—thank you.😉

It really makes me want to buy a few more 2011 iMacs—or at least their motherboards—to continue my research. 😁😅
 
  • Like
Reactions: Sebasboy
Hello, It’s been quite a while since I put my project on hold after my 2011 iMac broke down for good.
I would have liked it if dosdude had looked into this back then—I think that was a time when he wasn’t very active. It would be nice to hear his opinion; I love this kind of modification and would really like to know whether or not I could have pulled it off!
I appreciate seeing questions on this topic even today—thank you.😉

It really makes me want to buy a few more 2011 iMacs—or at least their motherboards—to continue my research. 😁😅
Dosdude has done a video of putting a 3rd gen cpu in a 2nd gen macbook, and he had to use a custom bios for it to work...


i am currently working on a 2013 to see if i can backport 4790k support,

although i gotta admit most of it will be with help of AI, i am more of a hardware modding guy than soft/firmware..

i got a 780m variant here, and might do a 8gb vram swap on it later,



but 2013 and 2014 are the same z87 platform and such, it's just smc/firmware lockout... so i hope i can fix it.. i will not be able to just port a full bios like Dosdude1 did 😂😅
 
Dosdude has done a video of putting a 3rd gen cpu in a 2nd gen macbook, and he had to use a custom bios for it to work...


i am currently working on a 2013 to see if i can backport 4790k support,

although i gotta admit most of it will be with help of AI, i am more of a hardware modding guy than soft/firmware..

i got a 780m variant here, and might do a 8gb vram swap on it later,



but 2013 and 2014 are the same z87 platform and such, it's just smc/firmware lockout... so i hope i can fix it.. i will not be able to just port a full bios like Dosdude1 did 😂😅
there ya go, custom bios and we got a 4790k on the 2013,
 

Attachments

  • IMG_3852.jpg
    IMG_3852.jpg
    609.1 KB · Views: 28
  • Like
Reactions: StephN999
Would you like to describe your changes to the Apple EFI in all details?
Ngl i ran it trough a local AI, i fed it schematics + extracted bios files and instructed it specifically what to do to it,

took over an hour but it booted first try,


but it is not 100% working yet. powerlimit0 triggers too early, but with throttlestop you can disable the powerlimit and test,



i will still see if i can fix that issue, along with unlocking overclocking, apparantly apple specifically writes a disable MSR before it continues boot,


buut sadly had an accident and now my 780m subjet no longer boots...

so will continue on with my 775 and 755 model (i can just transplant the vram+780m to the 775 and it should work tbh)
 
Last edited:
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.