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.

tsialex

Contributor
Jun 13, 2016
13,457
13,607
  • Like
Reactions: m4v3r1ck

goodfidelity

macrumors regular
Nov 15, 2015
201
31
Thanks! 👍

Then I will revert to my GTX680 since the GTx780 didn’t work with the enable GOP.

Good to have the boot screen because with old systems like sierra the newer systems, or anything on a PCIE SSD will not show in the bootcamp assistant or the startup disc configuration of older OSX.

Huge problem when one wants to swap between :)
 

vworks

macrumors regular
Oct 21, 2017
153
16
A few members asked about any guide to flash the Mac Pro 5,1 with EnableGop. TBH, the readme file contain all the required info already, but it seems some users perfer a more detailed guidence. So, I would like to make a more "step by step" guide here about how to create the ROM, double check, and flash it etc.

This is not the only way to do it, and it's a bit over complicated. However, this procedure contain a lot of safety precausions and checking steps. Therefore, if you straightly follow this guide. The risk of bricking the cMP should be very low.

A)
Before start, the user is recommended to download all these
  1. ROMTool (credit to dosdude. Password to unzip is rom)
  2. UEFITool (credit to LongSoft)
  3. DXEInject (credit to dosdude)
  4. Hex Friend (credit to kainjow)
  5. RomDump Macschrauber (credit to Macschrauber)
  6. EnableGop.ffs (credit to Bmju, unzip the file, then go to Utilities/EnableGop)

B)
Prepare your Mac Pro 5,1's ROM image. Ideally, you already has a clean / reconstructed 144.0.0.0.0 ROM image to start with. Then you can skip this section, and jump to section C below. Otherwise, there are few ways to dump the existing ROM, but the recommended way in this post is to use RomDump Macschrauber.
  1. When you open the DMG file, you should see something like this. All we need is just run the app. View attachment 2196376
  2. When you run the app, you should see something like this, the default option should be backup firmware, just press "Enter" to continue
    View attachment 2196377
  3. It will show you a window about require admin password, please follow the onsreen instruction and enter your admin password. Depends on your Gatekeeper setting. macOS may ask you to restart your cMP.
    View attachment 2196378
  4. Then RomDump will read the ROM image from the chip, and save it in your Download folder
    View attachment 2196379
  5. Once it's done, you should see something like this
    View attachment 2196380
  6. As you can see, the file name is XXXXXXXXXXXX_144.0.0.0.0_Gop_SST25VF032B_DD.DD.DDDD_TT-TT-TT.bin in my case. Your dump will have a different name (XXXXXXXXXXXX is the full serial number of your Mac, DD.DD.DDDD is the date, TT-TT-TT is the time).

    In finder, right click the bin file, and select "Get Info", check the file size, it MUST be 4,194,304 bytes. If not, something is wrong. Stop here.

    Apart from that, please take some time to read the report.

    The firmware MUST be 144.0.0.0.0. If NOT, stop here, update your cMP's BootROM first.

    There should be zero Microsoft certificates. If NOT, stop here, fix the bootROM first. My suggestion is to request help in this thread.

    Similarly, check the BootROM's free space. In my case, 25190 avail. If that's lower than 20000, please perform a 4x NVRAM reset, then re-do step B1-B5 to dump the ROM, and check again. If the free space still low, then something is wrong, please go to this thread and ask for help.

    Since I've already flashed by cMP. Therefore, in my example, EnableGopDirect 1.2 is already there. In your case, it shouldn't be there yet.

C)
Once you have the original 144.0.0.0.0 BootROM ready, we can start to patch the ROM
  1. In Finder, we open a new folder inside the download folder, and name it EnableGopROM
  2. Move your 144.0.0.0.0 ROM image (e.g. the bin file dump from step B5) into the EnableGopROM folder
  3. Rename the bin file to 144.bin
  4. Move DXEInject to the EnableGopROM folder
  5. Move EnableGop.ffs (or EnableGopDirect.ffs if required) to the EnableGopROM folder
  6. The result should looks like this
    View attachment 2196473
  7. Open Terminal
  8. enter "cd " (cd with a space)
  9. drag the EnableGopROM folder into the terminal window
  10. It should looks like this
    View attachment 2196471
  11. Press enter
    View attachment 2196472
  12. Enter the following command into terminal (please enter the exact file name of EnableGop.ffs, e.g. including the version number if EnableGop.ffs is updated)
    Code:
    ./DXEInject 144.bin 144Gop.bin EnableGop.ffs
  13. Nothing will return in terminal. However, if you check your EnableGopROM folder now, you will see the new 144Gop.bin file is created
    View attachment 2196476

D)
Now we can varify if the 144Gop.bin is created correctly
  1. Open the UEFITool
  2. Drag the 144Gop.bin into the UEFITool window
    View attachment 2196485
  3. Press Command + F to bring up the search window
  4. Choose GUID
  5. Choose Header only
  6. enter BAE7599F-3C6B-43B7-BDF0-9CE07AA91AA6
    View attachment 2196487
  7. press OK
  8. Double-click on the search result (the blue line in the screen capture)
    View attachment 2196491
  9. As you can see from the above screen capture, the BAE7599F... entry will be highlighted automatically. This is NOT what we want. Instead, we expend the one BELOW it (3FBA58B1....), then you should able to see the User interface section. Click this line, and you should able to see the EnableGop version in the right hand side window. [The link in this post already updated to EnableGop 1.4]
    View attachment 2196495
  10. This is the first check. And now we can close UEFITool, and go for the second check
  11. Go back to the Macschrauber's CMP Rom Dump dmg, double click the test_nvram.app
    View attachment 2196502
  12. Drag 144Gop.bin into the window
    View attachment 2196503
  13. Click Choose, wait for a few seconds, then you should see the result
    View attachment 2196504
  14. In the above example, I inject the EnableGop 1.3 on top of my existing ROM dump that already has EnableGopDirect 1.2. Therefore, both entries show up. But in your case, there should be one and only one entry related to EnableGop(Direct). If not, delete the 144Gop.bin, do NOT use it. And start from the beginning again. If you start from a clean / reconstructed ROM, the final result should looks like this
    View attachment 2196511
  15. Last but not least, check the 144Gop.bin file size in Finder, it MUST be exactly 4,194,304 bytes
  16. With this triple checks, the 144Gop.bin should be safe to use.

E)
We can now flash the Mac.
  1. Shutdown the Mac
  2. Press and HOLD power button to turn on the Mac. Do NOT release the power button until the long beep (after the normal start up chime) is finished.
  3. Once the beep sound completed, you can release the power button, and let the cMP boot back to normal desktop again.
  4. Open ROMTool (RomDump Macschrauber should able to do the same thing. But we use ROMTool here).
  5. Select Dump System ROM, enter password as per on screen instruction, and save your existing ROM image (as backup)
    View attachment 2196515
  6. Select Flash System ROM
  7. Drag 144Gop.bin into the window
    View attachment 2196516
  8. Click Open
  9. It will ask you to put the Mac into firmware flashing mode, which should be done already
    View attachment 2196521
  10. Click Continue, and enter admin password as per onscreen instrcution, let it finish the job. Do NOT use your computer to do anything, do not browse the web, do not play video / music. Please just don't do anything and wait for a few seconds.
  11. Once it's done. Do NOT reboot your Mac. It's our last chance to fix the problem if we did anything wrong.

F)
Final check before reboot.
  1. Re-do steps B1-B5. Now, you should see EnableGop(Direct) is detected in step B5
  2. Open Hex Freind
  3. drag 144Gop.bin into the window
    View attachment 2196523
  4. Press Command + O
  5. Drag the latest dump from step F1 into the window
  6. Click Open
  7. Press Command + Shift + D
  8. You should see "Documents are identical"
    View attachment 2196528
  9. This should be good enough to confirm the ROM is correctly flashed
  10. If any of the steps above shows abnormal result (e.g. no EnableGop detected in step F1, or the documents are not identical in step F8), do NOT reboot. But flash the Untitled.bin (from step E5) back into the cMP. This is the last known good bootable ROM.

    [N.B. If you flash Untitled.bin back into the cMP, please use RomDump Macschrauber to dump the ROM, and use Hex Friend to compare this dump vs Untitled.bin. They should be identical]

    Never ever shutdown / reboot your Mac until you get this "Documents are identical". This is your final safety net.

F) Reboot. And now your cMP should able to give you native UEFI GOP boot screen
Hi guys
@Macschrauber @h9826790

I get this when I try to dump the rom with macschrauber romdump...

Any advice?
My SIP is disabled and user root is active as well on my mac. I'm the admin of course...

The user this App is running has no administrative permissions. So cannot dump nor flash.
capture ecran 2024-08-01 à 18.42.46.jpg
 

Macschrauber

macrumors 68030
Dec 27, 2015
2,985
1,494
Germany
Hi guys
@Macschrauber @h9826790

I get this when I try to dump the rom with macschrauber romdump...

Any advice?
My SIP is disabled and user root is active as well on my mac. I'm the admin of course...

The user this App is running has no administrative permissions. So cannot dump nor flash.
View attachment 2401908
Yes, double check if your user has the needed privileges.

we got that sorted. @vworks had somehow managed to get a user name with a space character in. I dont knew that this is even possible. So that needs quoting, what I added for the next release.
 
Last edited:

vworks

macrumors regular
Oct 21, 2017
153
16
Happy to report I flashed my ROM and enabled GOP support (on mac pro 4.1->5.1)
No glitches, bootscreen on GTX770 EVGA.



A big thank you to you all!!
Especially to macschrauber : Danke sehr:)!!
 
  • Like
Reactions: dataharvested

Kianes

macrumors newbie
Jun 7, 2024
4
0
Will this work with GTX 680 2gb, heres what I see testing my flashed rom. But still no boot picker :-(
Mac Pro 2009 (MP4,1)

-> This is a never booted rebuilt firmware <-

Firmware 144.0.0.0.0 (latest) built on Fri Apr 12 12:43:00 2019
(U)efi version: 1.10
MP41, serial from firmware:
MP41 backplane made in 2009
EnableGop 1.4 EFI module identified
CRC32 checksums: ok
Bootblock of 144.0.0.0.0 (rebuilt firmware)
Base_21 hardware descriptor, Fsys 0x0d
Fsys: 0 overrides, 1 override-version, 2 ssn, 3 hwc, 4 son, 5 EOF (ok)
65448 bytes free space of 65464

Note: Don't post or publish your serial number
 

tsialex

Contributor
Jun 13, 2016
13,457
13,607
Will this work with GTX 680 2gb, heres what I see testing my flashed rom. But still no boot picker :-(
Mac Pro 2009 (MP4,1)

-> This is a never booted rebuilt firmware <-

Firmware 144.0.0.0.0 (latest) built on Fri Apr 12 12:43:00 2019
(U)efi version: 1.10
MP41, serial from firmware:
MP41 backplane made in 2009
EnableGop 1.4 EFI module identified
CRC32 checksums: ok
Bootblock of 144.0.0.0.0 (rebuilt firmware)
Base_21 hardware descriptor, Fsys 0x0d
Fsys: 0 overrides, 1 override-version, 2 ssn, 3 hwc, 4 son, 5 EOF (ok)
65448 bytes free space of 65464

Note: Don't post or publish your serial number

NVIDIA GT 680 is not a UEFI GOP GPU, simply too old.

You can manually try adding GOP to it, see WinRaid thread, but is easier to just flash it with MacEFI from eVGA GTX 680 Mac Edition.
 

trifero

macrumors 68030
May 21, 2009
2,964
2,806
What Will happen if one puts one old GTX680 card that is flashed for Mac, after using this EFI (enable gop) mod?

Will the card display the boot screen?

Will old Mac native cards still show boot screen?
It will display the boot screen, and faster, if GOP is in the mac firmware. @tsialex can make a ROM recosntruction for you.
 

Macschrauber

macrumors 68030
Dec 27, 2015
2,985
1,494
Germany
Will this work with GTX 680 2gb, heres what I see testing my flashed rom. But still no boot picker :-(
Mac Pro 2009 (MP4,1)

-> This is a never booted rebuilt firmware <-

Firmware 144.0.0.0.0 (latest) built on Fri Apr 12 12:43:00 2019
(U)efi version: 1.10
MP41, serial from firmware:
MP41 backplane made in 2009
EnableGop 1.4 EFI module identified
CRC32 checksums: ok
Bootblock of 144.0.0.0.0 (rebuilt firmware)
Base_21 hardware descriptor, Fsys 0x0d
Fsys: 0 overrides, 1 override-version, 2 ssn, 3 hwc, 4 son, 5 EOF (ok)
65448 bytes free space of 65464

Note: Don't post or publish your serial number

Maybe you can update the GOP of your card:


As a role of thumb: if OpenCore presents a boot screen in standard settings, EnableGop in Mac firmware should do.

On a GTX680 in reference design (similar to EVGA GTX680 Mac Edition) you can flash that bios to get a boot screen the classic way: https://forums.macrumors.com/threads/confirmed-and-possible-flashable-gtx-680-models.1578255/
 

benmuetsch

macrumors member
Oct 10, 2020
75
25
For GTX 6XX nVidia cards there's an UEFI GOP Update application from Inno3D which works very easily.
 

Macschrauber

macrumors 68030
Dec 27, 2015
2,985
1,494
Germany
This, I guess: https://winraid.level1techs.com/t/kepler-uefi-updater/30574 - Can anyone confirm whether this is (or isn't) legit? It looks like it probably is ... but ...
at least the bios uefi part seems valid...
Screenshot 2024-08-07 at 15.05.58.png


and a list of GTX GPUs is also to find:
Code:
$ strings nvuefiupdate.exe | grep -i gtx
GK107-GTX
GeForce GTX 660M
GeForce GTX 650
GeForce GTX 650 Ti
GeForce GTX 680MX
GeForce GTX 675MX
GeForce GTX 670MX
GeForce GTX 680M
N14E-GTX
GeForce GTX 670
GeForce GTX 690
GeForce GTX 660
GeForce GTX 660 Ti
GeForce GTX 680
GeForce GTX 560M
GeForce GTX 550 Ti
GeForce GTX 460M
GeForce GTX 670M
GeForce GTX 675M
GeForce GTX 580M
GeForce GTX 570M
GeForce GTX 560 SE
GeForce  GTX 555
GeForce GTX 460 v2
GeForce GTX 460 SE v2
GeForce GTX 485M
GeForce GTX 470M
GeForce GTX 460 SE
GeForce GTX 460
GeForce GTX 560
GeForce GTX 590
GeForce GTX 560 Ti
GeForce GTX 570
GeForce GTX 580
GeForce GTX 470
GeForce GTX 480M
GeForce GTX 465
GeForce GTX 480
GeForce GTX 275
GeForce GTX 285
GeForce GTX 260
GeForce GTX 280
GeForce GTX 295
GeForce GTX 260M
GeForce 9800 GTX+
GeForce 9800 GTX/9800 GTX+
GeForce GTX 285M
GeForce 8800M GTX
GeForce GTX 280M
GeForce 9800M GTX
GeForce 8800 GTX
GeForce Go 7950 GTX
GeForce 7900 GTX
GeForce Go 7800 GTX
GeForce 7800 GTX
 
Last edited:

Woof Woof

macrumors member
Sep 15, 2004
94
17
Just flashed a GOP enabled 5,1 firmware (Thanks tsialex) and now have bootscreen. One thing I've noticed is brief random pink/purple junk on the screen and a black bar mid-boot. I thought I read somewhere that this was the driver doing some test and writing directly to the frame buffer, but I can't find the thread where I was reading about this.

Is it anything to be concerned about? I vaguely recall the same thing happening with an MVC flashed card in the past (I am NOT using an MVC card now or again in the future.)

I can now see what the heck I am doing on my RX580!
 
Last edited:
  • Like
Reactions: trifero

Macschrauber

macrumors 68030
Dec 27, 2015
2,985
1,494
Germany
Just flashed a GOP enabled 5,1 firmware (Thanks tsialex) and now have bootscreen. One thing I've noticed is brief random pink/purple junk on the screen and a black bar mid-boot. I thought I read somewhere that this was the driver doing some test and writing directly to the frame buffer, but I can't find the thread where I was reading about this.

Is it anything to be concerned about? I vaguely recall the same thing happening with an MVC flashed card in the past (I am NOT using an MVC card now or again in the future.)

I can now see what the heck I am doing on my RX580!

Even with Mac EFI flashed GPUs, and even sometimes with original Graphics, like in MacBook etc, we see this artefacts with GPUs when the driver kicks in. Sometime you will get a blackscreen, when driver loads, guess to hide these artefacts.
 
  • Like
Reactions: Woof Woof

Macschrauber

macrumors 68030
Dec 27, 2015
2,985
1,494
Germany
Hey guys, I see this awesome step-by-step by @h9826790, but it is over a year old and some of the downloadable tools look like older versions. Should we get current versions of the tools or stick with what is specified in the post?

Thanks!

I think, I can say that

the Dumper https://github.com/Macschrauber/Macschrauber-s-Rom-Dump
and
DosDudes DXEInject DXEInject.zip
is what one can use, to do the Mac Pro firmware.

The first version came in 2020, with a hidden flash option what I, and some guys in the same boat, tested about a year, before making it available.

We flashed hundreds of firmwares with it, before making it available.



...tho I respect what DosDude did, back in the day, with RomTool. This was the first GUI for RomTool we had. But it was a very basic GUI, sometimes even does not return user information when the Mac is not in firmware programming mode (FLOCKDN=0), and someone tries to flash.
This was the reason, I began to write my own GUI for Flashrom, and it escalated ;-)
 
Last edited:

smirk

macrumors 6502a
Jul 18, 2002
694
56
Orange County, CA
I think, I can say that

the Dumper https://github.com/Macschrauber/Macschrauber-s-Rom-Dump
and
DosDudes DXEInject DXEInject.zip
is what one can use, to do the Mac Pro firmware.
Thank you -- both for the info and for your amazing tool! Before you replied, I worked through the steps to add EnableGOP to my MP5,1, and when I got to the flashing stage I saw that Rom Dump could do it, so I just did it there, instead of using ROMTool. Everything worked great, and for the first time in years my old Mac Pro has a boot screen. :)

Next step: Install some new hardware and then try to install OCLP. 😅
 
  • Like
Reactions: trifero

trifero

macrumors 68030
May 21, 2009
2,964
2,806
Thank you -- both for the info and for your amazing tool! Before you replied, I worked through the steps to add EnableGOP to my MP5,1, and when I got to the flashing stage I saw that Rom Dump could do it, so I just did it there, instead of using ROMTool. Everything worked great, and for the first time in years my old Mac Pro has a boot screen. :)

Next step: Install some new hardware and then try to install OCLP. 😅
I have Sonoma last version installed in on of my Mac Pros 5,1. With updated Wifi/bluetooth module, pcie USB 3,1, ESATA, Nvme and Thuinderbolt. It´s still a very nice machine.
 

smirk

macrumors 6502a
Jul 18, 2002
694
56
Orange County, CA
I have Sonoma last version installed in on of my Mac Pros 5,1. With updated Wifi/bluetooth module, pcie USB 3,1, ESATA, Nvme and Thuinderbolt. It´s still a very nice machine.
That's great to hear! I've been researching this whole process, and feel a little scared to attempt anything higher than Monterey due to the AVX2 issues. I guess it depends what software you run, but I'm glad it's working for you.
 
  • Like
Reactions: trifero

trifero

macrumors 68030
May 21, 2009
2,964
2,806
That's great to hear! I've been researching this whole process, and feel a little scared to attempt anything higher than Monterey due to the AVX2 issues. I guess it depends what software you run, but I'm glad it's working for you.
Monterey running in the other Mac Pro, same hardware. I will keep it, even when it´s out of support, as no patches are needed.
 

Melbourne Park

macrumors 65816
About to install EnableGop and was watching a how to video by MacSoundSolutions "One More thing" youtube video.

He said check what mode one's RX580 is in, if it is a duel memory RX580. Mine is a duel memory, a Sapphire RX580 8 GB, but I have never fiddled with its two memories (which the box said it had).

Should I worry or just go ahead? Evidently its needs to be in "high power mode" and something else as well ...
 

sfalatko

macrumors 6502a
Sep 24, 2016
643
366
About to install EnableGop and was watching a how to video by MacSoundSolutions "One More thing" youtube video.

He said check what mode one's RX580 is in, if it is a duel memory RX580. Mine is a duel memory, a Sapphire RX580 8 GB, but I have never fiddled with its two memories (which the box said it had).

Should I worry or just go ahead? Evidently its needs to be in "high power mode" and something else as well ...
The dual bios gives you a safety net.

So my first choice - which I and many here did - was to add EnableGoP to my cMP5,1 bootrom. This enables the Apple Boot Manager for most PC compatible GPUs.

If you still want to add it to your RX580 instead then I would flip the small switch on the back of the card (computer powered down of course), start your computer and make sure you can boot with the secondary VBIOS, and then patch that VBIOS. If something goes wrong then you simply flip the switch back and you are still able to use your RX580.
 

Melbourne Park

macrumors 65816
The dual bios gives you a safety net.

So my first choice - which I and many here did - was to add EnableGoP to my cMP5,1 bootrom. This enables the Apple Boot Manager for most PC compatible GPUs.

If you still want to add it to your RX580 instead then I would flip the small switch on the back of the card (computer powered down of course), start your computer and make sure you can boot with the secondary VBIOS, and then patch that VBIOS. If something goes wrong then you simply flip the switch back and you are still able to use your RX580.
Thanks.

I have no intention of changing the card's BIOS. EnableGOP effectively provides what is needed anyway, and leaves the door open to changing the GPU (most of them) without a headache. The 5770 GPU is really no longer a safety item now.

I may look at the card and check if its starts though after finding the switch. My understanding though was that to change the card BIOS, I'd need two cards in the machine and to do so under Windows. No need for that with EnableGOP but I was unsure if my RX580 was operating in its full capacity. I presume it always has been.

I'm going to flash a new ROM provided by tsialex tsialex which includes the latest EnableGOP.

I can't use Macschrauber's dump tool though, as when I try to unzip it, a password windows pops up and a password is requested, and I cannot find out how to get one.

Cheers
MP
 
Last edited:

Melbourne Park

macrumors 65816
Will remove all my drives etc and then make a duplicate of my current drive (Mojave) and will use Superduper to do that. I think I'll put the drive into the DVD connection to start with. Then I'll copy that drive to a 1TB one, and put it on a shelf. I don't know which OSs are on which drives at the moment. Will be fun finding out. Some software I lost with Mojave will be useful.
 

Macschrauber

macrumors 68030
Dec 27, 2015
2,985
1,494
Germany
Thanks.

I have no intention of changing the card's BIOS. EnableGOP effectively provides what is needed anyway, and leaves the door open to changing the GPU (most of them) without a headache. The 5770 GPU is really no longer a safety item now.

I may look at the card and check if its starts though after finding the switch. My understanding though was that to change the card BIOS, I'd need two cards in the machine and to do so under Windows. No need for that with EnableGOP but I was unsure if my RX580 was operating in its full capacity. I presume it always has been.

I'm going to flash a new ROM provided by tsialex tsialex which includes the latest EnableGOP.

I can't use Macschrauber's dump tool though, as when I try to unzip it, a password windows pops up and a password is requested, and I cannot find out how to get one.

Cheers
MP

First google hit:

IMG_6610.jpeg


It is all written:

Use my Github Downloader to obtain a copy with no quarantine flag set:
You may need to right-click on the App and select open.

The password is rom. The problem is that included Flashrom and sometimes DirectHW.kext triggers malware protection. This is the reason I (and before, Dosdude) needed to encrypt the tool, to get it over.
 
  • Like
Reactions: trifero
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.