Boz Posted February 28, 2011 Share Posted February 28, 2011 This guide is deprecated.. Any ATI 5xxx series and I think even ATI 6xxxx series cards excluding the 6890/6990 will work out the box with OSX Lion.. I strongly encourage you guys to not use this guide and just upgrade to Lion. Then you can use most Nvidia and ATI cards these days right out of the box on your mac without the need to flash anything. Success! Flashed ATI 5770 (possible for 5870) to work in Macs.. I'm using it in Mac Pro 3.1 (early 2008). Apple upgrade is $280.. Newegg price for the card is $136. Saving $140.. PRICELESS This works on original Macs. Not for hackintoshes. These are the cards you want to use for the seemless flashing: 5870 - http://www.newegg.co...&Tpk=XFX%205870 5770 - http://www.newegg.co...0-447-_-Product Here's what needs to be done, not really a huge issue: GUIDE: 1) Get the ATI 5770 or 5870 card linked above. I got the 5770 one. 2) You need to have a working mac graphics card in your system in PCI-E slot 1 just so you can do all this without problems and so you don't need a PC. 3) Insert the 5770 in your mac in PCI-E slot 2 and connect the power cable. 4) If you have an addition hard drive in your mac, or you have an empty HDD or the one you can tinker with, go to Disk Utility and create a partition on it as FAT. You can do this on your main OSX drive too I just don't like messing with Disk Utility and my main drive. But it's possible to just create additional partition there as FAT too. 5) Make a DOS boot disc.. The easiest way to do this is to simply go here: http://www.allbootdi...wnload/iso.html . Download Win95B bootdisk ISO ( http://www.allbootdi...5b_bootdisk.iso ) . Burn the image to an EMPTY dvd with Disk Utility. 6) Download ATIFlash 3.79 or later from here: http://www.techpower...Flash_3.79.html 7) Unzip the ATIFlash 3.79 to the FAT partition you created on your mac. We do this so your hard drive will be visible when you boot in Win95 DOS mode with the DVD. 8) Put the DVD with Win95 boot disc in the drive and reboot your Mac. 9) Hold C to boot from the DVD disc. 10) Once DOS loads up and you see A:\ type C:\ to switch to FAT drive you created earlier. 11) Type DIR to list the contents of the drive to see if you see ATIFlash files. If yes, it's all good you are on the right drive, if no, you will need to double check if your hard drive is partitioned ok or if there's another drive letter available like D: or E: or G:. 12) Now, when you are at C: and you can see the ATIFlash.exe file on it after the DIR command, you type: atiflash.exe -i to list out all available ATI display adapters in your Mac (just in case you have something beside the 5770 you are flashing). The result should be something like a list view and it should tell you first the adapter number (usually the 5770 will be adapter 0) and the rom size (which should be 20000) and the GPU core will say Juniper.. if you see more then one adapter you have to make sure to note the adapter number for the 5770 Juniper card. 13) Okay, now we are going to backup your existing ROM.. in case something goes wrong. We do this by issuing the following command: atiflash -s 0 XFX5770.rom 20000 You would call the file XFX5870.rom if you were dealing with the 5870 card. Let me just explain what's going on here.. the -s switch means it will save the rom from the card. the number is the adapter number you would see which is mention one step above. Then we have the name of the rom file and the size (which again should be matching the rom size in the info list we did earlier, and with this card should be 20000). 14) That's about it. Now we have the original ROM saved. We should do another DIR command now and check out to make sure that the rom size in file is 128KB (131 072 B). If you used the cards listed above you should get this without problems. If you don't, well read the "IF SOMETHING WENT WRONG:" paragraph at the end of this post. 15) Now, reboot to OSX and we will do one small modification to our rom file to make it work with the OSX and then we will reflash the card with that new one and that's gonna be it. 16) Once you have rebooted, you will download the following file http://hotfile.com/d..._Tools.zip.html 17) Extract the content of the zip file in your home folder on your Mac. You should see 3 files: 5770_vervet_netkas.efi, 5870_vervet_netkas.efi and fixrom.py. These are the EFIs compatible with the Macs and the small utility tool that will fix your original card's EFI to work with Macs.. 18) Okay.. we are almost there.. Now copy the XFX5770.rom file you created with ATIFlash tool to the home folder as well (where the other 3 files you just download are) and make sure you still keep the original copy of the XFX5770.rom somewhere just in case something goes wrong and you need to re-flash your card to the original rom. 19) Mucho awesome! Now, in your home folder on your Mac (that's your username folder you click in Finder) you should have 4 files.. 3 of the flash helper files and 1 rom file. 20) Great, now all you have to do is run TERMINAL (you can start it up from Spotlight if you don't know where it's located) and copy paste these: If you are flashing ATI 5770 paste this: blocknum=`printf %d "'\`dd if=XFX5770.rom bs=1 skip=2 count=1 2>/dev/null\`"` size=$(($blocknum * 512)) dd if=5770_vervet_netkas.efi of=XFX5770.rom bs=$size seek=1 conv=notrunc If you are flashing ATI 5870 card, paste this: blocknum=`printf %d "'\`dd if=XFX5870.rom bs=1 skip=2 count=1 2>/dev/null\`"` size=$(($blocknum * 512)) dd if=5870_uakari_netkas.efi of=XFX5870.rom bs=$size seek=1 conv=notrunc Once you have pasted into terminal window hit ENTER. Let it do it's thing and you should be good. I used 5770 approach. 21) Now, let's check if everything is going smoothly. Now you will open the XFX5770.rom (or XFX5870.rom if your card is 5870) from your home folder, with the Text Edit and you will search for string instance "mcuc". If you find 2 instances, everything is AWESOME. If not (if it's only 1 or more than 2), you will need to skip to "IF SOMETHING WENT WRONG:" paragraph. 22) So far so good, you got 2 instances of "mcuc" and now you are ready for one small last step before you flash the rom back to your card. 23) Open terminal again and run: python fixrom.py XFX5770.rom XFX5770.rom (you would use XFX5870.rom if you were using 5870 card). After the small script finishes, you are READY TO FLASH again! 24) Before we do flash it, let's rename the XFX5770.rom in your home folder to something like MAC5770.rom. 25) Copy it back to that FAT partition where you placed the ATIFlash file. Remember you should also have the old rom there so that's why we are renaming this one, so when you flash you are 100% sure that you are using the modified rom. 26) Okay.. that's it.. now we gotta reboot into DOS again using that DVD and when you boot, you switch back to C:\ where the ATIFlash utility is and you run the following command: atiflash.exe -p 0 MAC5770.rom now let's analyze this again.. -p switch means that the BIOS should be written to the card. The is the adapter number of the 5770 card (or 5870) you have identified earlier when you used atiflash -i switch. And finally the name of the rom (MAC5870.rom would be the name if you are flashing 5870). 27) When the flash is done, you should see on the screen a message that says you need to reboot in order for VBios to be refreshed or something similar.. 28) Power down the Mac. When you hear the bing, hold ALT key to boot into OSX. 29) You should see your ATI card now working natively in OSX. You are done. This is guide was basically a more descriptive process recommeneded and outlined by jeanlain on netkas forums and thanks to the netkas and rominator efi mods to make sure you are working with your card's original EFI/BIOS and not using some custom ones that might cause issues and even kill your card. IF SOMETHING WENT WRONG: If something went wrong there are several issues that might have happened. You might not be using the card I recommended. Your cards are simply not as compatible as they should be and you will need to do some heavier modding to make them work. In order to find help and make things work, go here and read the steps that deal with your problem (if you have only 1 or more then 1 instances of mcuc in the modified rom file, or if your rom size is more or different than the 128k one mentioned in the tutorial. Link: http://forum.netkas....php?topic=692.0 In case your card is not powering up or you think you messed something up, reboot the mac with the boot DVD we created and flash the card with the original rom. So it would look something like this: atiflash -p 0 XFX5770.rom. Power down your computer, turn it back on again and your card should be operating with the old ROM as originally created. This guide is deprecated.. Any ATI 5xxx series and I think even ATI 6xxxx series cards excluding the 6890/6990 will work out the box with OSX Lion.. I strongly encourage you guys to not use this guide and just upgrade to Lion. Then you can use most Nvidia and ATI cards these days right out of the box on your mac without the need to flash anything. Link to comment https://www.neowin.net/forum/topic/978894-pc-ati-57705870-cards-flashed-to-work-with-mac-pro/ Share on other sites More sharing options...
XIII Posted February 28, 2011 Share Posted February 28, 2011 Awesome guide, bookmarked. Will check back here if I need to do the same thing in the future. Link to comment https://www.neowin.net/forum/topic/978894-pc-ati-57705870-cards-flashed-to-work-with-mac-pro/#findComment-593741818 Share on other sites More sharing options...
Lachlan Posted February 28, 2011 Share Posted February 28, 2011 oh man that seems like a lot of work to save 140 bucks.. they sure dont make it easy Link to comment https://www.neowin.net/forum/topic/978894-pc-ati-57705870-cards-flashed-to-work-with-mac-pro/#findComment-593741822 Share on other sites More sharing options...
XIII Posted February 28, 2011 Share Posted February 28, 2011 Would it be easier if you do it on PC instead ? I mean, boot the PC into DOS and execute ATI flash and boom you are done. Link to comment https://www.neowin.net/forum/topic/978894-pc-ati-57705870-cards-flashed-to-work-with-mac-pro/#findComment-593741848 Share on other sites More sharing options...
Miuku. Posted February 28, 2011 Share Posted February 28, 2011 oh man that seems like a lot of work to save 140 bucks.. they sure dont make it easy It looks much harder than it really is, essentially its just "Save your ROM, back it up, apply patch, flash a new ROM". That's it. I went the easier route, went to the store, bought a Fermi card and installed drivers :p Link to comment https://www.neowin.net/forum/topic/978894-pc-ati-57705870-cards-flashed-to-work-with-mac-pro/#findComment-593741854 Share on other sites More sharing options...
Boz Posted February 28, 2011 Author Share Posted February 28, 2011 oh man that seems like a lot of work to save 140 bucks.. they sure dont make it easy It takes like 5 mins.. Not sure what you mean it takes a lot of work.. I just explained it in a lot of detail.. but other than that.. yeah.. and it's a matter of principle.. I don't want to pay $140 more for something that's a pure ripoff. Link to comment https://www.neowin.net/forum/topic/978894-pc-ati-57705870-cards-flashed-to-work-with-mac-pro/#findComment-593741938 Share on other sites More sharing options...
Boz Posted February 28, 2011 Author Share Posted February 28, 2011 Would it be easier if you do it on PC instead ? I mean, boot the PC into DOS and execute ATI flash and boom you are done. you do need the Mac to patch the original rom with netkas one. So it's better you do it on a mac. It looks much harder than it really is, essentially its just "Save your ROM, back it up, apply patch, flash a new ROM". That's it. I went the easier route, went to the store, bought a Fermi card and installed drivers :p Which Nvidia card did you get? I had PC GeForce GTX275 for a while in my Mac but the problem is that injector drivers never really worked good.. Outline the thing (put links) to what you did.. I'm definitely interested if it works in your Mac Link to comment https://www.neowin.net/forum/topic/978894-pc-ati-57705870-cards-flashed-to-work-with-mac-pro/#findComment-593741974 Share on other sites More sharing options...
Pupik Posted February 28, 2011 Share Posted February 28, 2011 I don't want to pay $140 more for something that's a pure ripoff. Add a zero to that $140, and you're talking about Macs in general and not just a single hardware part in one. Link to comment https://www.neowin.net/forum/topic/978894-pc-ati-57705870-cards-flashed-to-work-with-mac-pro/#findComment-593741980 Share on other sites More sharing options...
bullydog Posted March 1, 2011 Share Posted March 1, 2011 You made my day this morning - literally. I've spent all day on pretty much step one, and now I've gotta run. I'm trying to get the burned iso of DOS to recognize the partition I made. Does the partition need to be formatted as Fat16? (Snow Leopard no longer offers that option in Disk Utility - you have to format it in Terminal). Do you have any alternative suggestions for this part of the install process? I'm pretty desperate to get this working asap. Thanks for ANY help. Link to comment https://www.neowin.net/forum/topic/978894-pc-ati-57705870-cards-flashed-to-work-with-mac-pro/#findComment-593744660 Share on other sites More sharing options...
Boz Posted March 1, 2011 Author Share Posted March 1, 2011 You made my day this morning - literally. I've spent all day on pretty much step one, and now I've gotta run. I'm trying to get the burned iso of DOS to recognize the partition I made. Does the partition need to be formatted as Fat16? (Snow Leopard no longer offers that option in Disk Utility - you have to format it in Terminal). Do you have any alternative suggestions for this part of the install process? I'm pretty desperate to get this working asap. Thanks for ANY help. Snow Leopard does have FAT option.. I have created a partition it's plain FAT in Disk Utility (see the screenshot at the very beginning of the post). Make sure your FAT partition is the first one in Disk Utility. Then just burn the ISO file I linked to and boot the Mac. You should automatically see the FAT partition as C: drive. Link to comment https://www.neowin.net/forum/topic/978894-pc-ati-57705870-cards-flashed-to-work-with-mac-pro/#findComment-593746100 Share on other sites More sharing options...
bullydog Posted March 1, 2011 Share Posted March 1, 2011 Snow Leopard does have FAT option.. I have created a partition it's plain FAT in Disk Utility (see the screenshot at the very beginning of the post). Make sure your FAT partition is the first one in Disk Utility. Then just burn the ISO file I linked to and boot the Mac. You should automatically see the FAT partition as C: drive. Yes, I know it has a FAT option, but if you check out the "More info" option when you right-click the new partition, it reveals the format as "MS-DOS (FAT32)" and further research indicates that the only way to format a volume to FAT16 in SL is to use Terminal. No matter - if you're using SL and it worked for you I'm fine with that. I think the issue is that my partition is the last one, rather than the first. However, I'm running into issues still - I can't rearrange the partitions without overwriting some of the existing info on the HDD. Suggestions? Link to comment https://www.neowin.net/forum/topic/978894-pc-ati-57705870-cards-flashed-to-work-with-mac-pro/#findComment-593746664 Share on other sites More sharing options...
Timan Veteran Posted March 1, 2011 Veteran Share Posted March 1, 2011 I've read though, you don't get the Apple logo screen, basically no video till you hit the blue/login screen. Link to comment https://www.neowin.net/forum/topic/978894-pc-ati-57705870-cards-flashed-to-work-with-mac-pro/#findComment-593746682 Share on other sites More sharing options...
giantpotato Posted March 1, 2011 Share Posted March 1, 2011 I did this with with an ATI 2600 about a year back. I was going to sell it on eBay, then I noticed The exact same model but for Macs was selling for $100 more. So I just flashed to the Mac firmware and made an instant $100 profit. Good 'ol Apple Tax :shifty: Link to comment https://www.neowin.net/forum/topic/978894-pc-ati-57705870-cards-flashed-to-work-with-mac-pro/#findComment-593746692 Share on other sites More sharing options...
Boz Posted March 1, 2011 Author Share Posted March 1, 2011 I've read though, you don't get the Apple logo screen, basically no video till you hit the blue/login screen. This is true.. but I think it would work on analog VGA connection to the monitor.. I haven't really tested this.. the card works as advertised though I do keep it in the SLOT 2 PCI-E and I have the flashed 8800GT in Slot 1. I don't think it's a huge problem.. still rocks that you save $140. Yes, I know it has a FAT option, but if you check out the "More info" option when you right-click the new partition, it reveals the format as "MS-DOS (FAT32)" and further research indicates that the only way to format a volume to FAT16 in SL is to use Terminal. No matter - if you're using SL and it worked for you I'm fine with that. I think the issue is that my partition is the last one, rather than the first. However, I'm running into issues still - I can't rearrange the partitions without overwriting some of the existing info on the HDD. Suggestions? Yes.. the problem is that the FAT partition is the last one. You will have to go beyond this guide and boot from the USB stick. That way you can write the rom you are backing up from your ATI card to it... The best thing for you would be to go and get the HP USB Format Utility (http://files.extremeoverclocking.com/file.php?f=197) and boot your mac with that USB drive. That way you will avoid the boot from the disk and DVD procedure completely. You will need to download a different set of boot files for USB (here: http://files.extremeoverclocking.com/file.php?f=196 ) Once you format the USB and make it bootable, you want to copy the ATIFlash 3.79 files onto it too. Link to comment https://www.neowin.net/forum/topic/978894-pc-ati-57705870-cards-flashed-to-work-with-mac-pro/#findComment-593746922 Share on other sites More sharing options...
Timan Veteran Posted March 1, 2011 Veteran Share Posted March 1, 2011 Question, what'd you do about the card where it requires power cables plugged into it? Link to comment https://www.neowin.net/forum/topic/978894-pc-ati-57705870-cards-flashed-to-work-with-mac-pro/#findComment-593747052 Share on other sites More sharing options...
bullydog Posted March 1, 2011 Share Posted March 1, 2011 This is true.. but I think it would work on analog VGA connection to the monitor.. I haven't really tested this.. the card works as advertised though I do keep it in the SLOT 2 PCI-E and I have the flashed 8800GT in Slot 1. I don't think it's a huge problem.. still rocks that you save $140. Yes.. the problem is that the FAT partition is the last one. You will have to go beyond this guide and boot from the USB stick. That way you can write the rom you are backing up from your ATI card to it... The best thing for you would be to go and get the HP USB Format Utility (http://files.extremeoverclocking.com/file.php?f=197) and boot your mac with that USB drive. That way you will avoid the boot from the disk and DVD procedure completely. You will need to download a different set of boot files for USB (here: http://files.extremeoverclocking.com/file.php?f=196 ) Once you format the USB and make it bootable, you want to copy the ATIFlash 3.79 files onto it too. Borrowed an extra HDD that was laying around, and I'm now SET! Have to say, you ROCK dude. Never reflashed a vid card before, and your process is just about as detailed as it could be. I owe you a beer or twelve! Gonna go celebrate now. Link to comment https://www.neowin.net/forum/topic/978894-pc-ati-57705870-cards-flashed-to-work-with-mac-pro/#findComment-593747356 Share on other sites More sharing options...
Boz Posted March 2, 2011 Author Share Posted March 2, 2011 Question, what'd you do about the card where it requires power cables plugged into it? You can buy an additional cable from OWC here: http://eshop.macsales.com/item/Apple/9227128/ Usually your Mac comes with one card.. you will see a power cable coming from the motherboard. There's another empy power connector there too.. So when you buy this new cable, you would plug it into that other jack on the motherboard and connect it to the new card. ATI 5770 card only requires one cable. So if you want to have 2 cards (like 8800GT and ATI 5770 or 2x 5770) you can use the existing power connectors on the motherboard for that.. If you however want to use a combo like ATI 5870 and ATI 5770.. you will need to use the 2 power connectors from the motherboard to power the 5870 and use the splitter for 6 to 8pin PCI-E power from the DVD drive to power the single power card. At least that's how it's on my Mac Pro 3.1... Early 2008.. don't know if there are more power connectors on the newer Mac Pros. Link to comment https://www.neowin.net/forum/topic/978894-pc-ati-57705870-cards-flashed-to-work-with-mac-pro/#findComment-593748812 Share on other sites More sharing options...
MachineShedFred Posted March 9, 2011 Share Posted March 9, 2011 I've been running a flashed 5870 in my Mac Pro for a bit now, but the one problem (other than no EFI video on boot) that I can't shake, is that it's only connecting at x8 speed (2.5GT/sec) rather than the full x16 (5.0GT/sec) that it should be, and the Apple-provided 5870 does. There's something in the ROM that tells the system that it's capable of the PCI-E 2.0 speed, that I don't have. If you take a look in Apple System Profiler and look at the PCI Cards section, does it list your link speed at 2.5 or 5.0? There's a guy selling flashed cards on eBay that has a working 5.0 ROM, and he's using it as his competitive advantage against other flashed cards. I don't care about that though, I just want the full speed link on mine :blink: Anyway, if you could post back if your EFI injection does the faster link speed, I'd appreciate it - I'll spin a new ROM for my card this weekend. Link to comment https://www.neowin.net/forum/topic/978894-pc-ati-57705870-cards-flashed-to-work-with-mac-pro/#findComment-593772428 Share on other sites More sharing options...
Boz Posted March 12, 2011 Author Share Posted March 12, 2011 I've been running a flashed 5870 in my Mac Pro for a bit now, but the one problem (other than no EFI video on boot) that I can't shake, is that it's only connecting at x8 speed (2.5GT/sec) rather than the full x16 (5.0GT/sec) that it should be, and the Apple-provided 5870 does. There's something in the ROM that tells the system that it's capable of the PCI-E 2.0 speed, that I don't have. If you take a look in Apple System Profiler and look at the PCI Cards section, does it list your link speed at 2.5 or 5.0? There's a guy selling flashed cards on eBay that has a working 5.0 ROM, and he's using it as his competitive advantage against other flashed cards. I don't care about that though, I just want the full speed link on mine :blink: Anyway, if you could post back if your EFI injection does the faster link speed, I'd appreciate it - I'll spin a new ROM for my card this weekend. i think it's misreading it.. Haven't run test or anything cause I don't game in OSX so it doesn't really matter to me.. but you can check it yourself: http://netkas.org/?p=115 Link to comment https://www.neowin.net/forum/topic/978894-pc-ati-57705870-cards-flashed-to-work-with-mac-pro/#findComment-593782914 Share on other sites More sharing options...
bitzie Posted April 13, 2011 Share Posted April 13, 2011 I just had to register to give some major thanks to Boz. I was able to patch the rom for my Gigabyte 5870 last night and it works perfectly in my early 08 Mac Pro! Well, other than not being able to adjust the fans at all (they stay at 55% according to GPU-z), but the card is pretty quiet in a Mac Pro case so it's not really a big deal. With mine it says the link width is x16, but the link speed is 2.5GT/s. Honestly though I don't really care. It's not like the few games I play in OSX are sluggish at all with this card. Link to comment https://www.neowin.net/forum/topic/978894-pc-ati-57705870-cards-flashed-to-work-with-mac-pro/#findComment-593887002 Share on other sites More sharing options...
Bryan Joseph Posted May 26, 2011 Share Posted May 26, 2011 Does anyone know if their cards support triple display or just dual display? Link to comment https://www.neowin.net/forum/topic/978894-pc-ati-57705870-cards-flashed-to-work-with-mac-pro/#findComment-594015758 Share on other sites More sharing options...
proxymus Posted June 1, 2011 Share Posted June 1, 2011 hey great tutorial, but what i have to do in part 20) ? i paste & copy this into the terminal, but this is the awnser from the pc: mac:~ user$ blocknum=`printf %d "'\`dd if=XFX5770.rom bs=1 skip=2 count=1 2>/dev/null\`"` mac:~ user$ size=$(($blocknum * 512)) mac:~ user$ dd if=5770_vervet_netkas.efi of=XFX5770.rom bs=$size seek=1 conv=notrunc dd: bs must be between 1 and -1 what i have to do now ? thanks!! dev21 1 Share Link to comment https://www.neowin.net/forum/topic/978894-pc-ati-57705870-cards-flashed-to-work-with-mac-pro/#findComment-594032358 Share on other sites More sharing options...
jatilford Posted June 21, 2011 Share Posted June 21, 2011 Hello all, I followed the guide and am reporting success with my 2006 Mac pro 1.1. The card I chose is a HIS 5770. http://www.hisdigital.com/un/product2-528.shtml I will post a screen grab of my system profile and an image of my working card in my system later this evening. Notes: apple doesn't show during start up. Any info on testing functionality of the modified card would be appreciated. Jatilford Link to comment https://www.neowin.net/forum/topic/978894-pc-ati-57705870-cards-flashed-to-work-with-mac-pro/#findComment-594089406 Share on other sites More sharing options...
Shaun N. Posted June 21, 2011 Share Posted June 21, 2011 5770's run natively after 10.6.6 anyway - My XFX 5770 needs no kexts to run full 1080p on my hackintosh. It's good to get a cheap upgrade for the existing Mac Pro's though - Good guide! Link to comment https://www.neowin.net/forum/topic/978894-pc-ati-57705870-cards-flashed-to-work-with-mac-pro/#findComment-594089418 Share on other sites More sharing options...
jatilford Posted June 21, 2011 Share Posted June 21, 2011 With the bios mod for a 5770' Is it possible to get the hdmi port to send video to a television? I followed the instructions and my card is working with an apple cinema display but will not send video to my television. Any help would be greatly appreciated. Jatilford Link to comment https://www.neowin.net/forum/topic/978894-pc-ati-57705870-cards-flashed-to-work-with-mac-pro/#findComment-594090590 Share on other sites More sharing options...
Recommended Posts