51 posts in this topic

Posted

[color=#ff0000][size=4][b]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.[/b][/size][/color]

Success!

[img]http://farm6.static.flickr.com/5018/5484069577_be5c9e78b3_o.png[/img]

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 [img]http://www.neowin.net/forum/public/style_emoticons/default/smile.gif[/img]

This works on original Macs. Not for hackintoshes.

These are the cards you want to use for the seemless flashing:

5870 - [url="http://www.newegg.com/Product/Product.aspx?Item=N82E16814150476&Tpk=XFX%205870"]http://www.newegg.co...&Tpk=XFX%205870[/url]
5770 - [url="http://www.newegg.com/Product/Product.aspx?Item=N82E16814150447&cm_re=XFX_5770-_-14-150-447-_-Product"]http://www.newegg.co...0-447-_-Product[/url]


Here's what needs to be done, not really a huge issue:

[b]GUIDE:[/b]

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.

[img]http://farm6.static.flickr.com/5260/5484414683_1ccc3239ed_o.png[/img]

5) Make a DOS boot disc.. The easiest way to do this is to simply go here: [url="http://www.allbootdisks.com/download/iso.html"]http://www.allbootdi...wnload/iso.html[/url] . Download Win95B bootdisk ISO ( [url="http://www.allbootdisks.com/downloads/ISO/AllBootDisks_ISO_Image_Downloads25/Win95b_bootdisk.iso"]http://www.allbootdi...5b_bootdisk.iso[/url] ) . Burn the image to an EMPTY dvd with Disk Utility.

[img]http://farm6.static.flickr.com/5136/5484414761_8d290f5677_o.png[/img]
[img]http://farm6.static.flickr.com/5217/5485009840_8cd90c0a89_o.png[/img]

6) Download ATIFlash 3.79 or later from here: [url="http://www.techpowerup.com/downloads/1731/ATIFlash_3.79.html"]http://www.techpower...Flash_3.79.html[/url]

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.

[img]http://farm6.static.flickr.com/5218/5484425217_19252dbd7b_o.png[/img]

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:

[b][code]atiflash -s 0 XFX5770.rom 20000[/code][/b]

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 [b]-s[/b] switch means it will save the rom from the card. the [b]0[/b] 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 [b]128KB (131 072 B)[/b]. If you used the cards listed above you should get this without problems. If you don't, well read the "[b]IF SOMETHING WENT WRONG:[/b]" 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.

[img]http://farm6.static.flickr.com/5096/5485009756_151f0f08b3_o.png[/img]


16) Once you have rebooted, you will download the following file [url="http://hotfile.com/dl/107880900/aa0af33/5x70_ATI_Firmware_Tools.zip.html"]http://hotfile.com/d..._Tools.zip.html[/url]

17) Extract the content of the zip file in your home folder on your Mac. You should see 3 files: [b]5770_vervet_netkas.efi[/b], [b]5870_vervet_netkas.efi[/b] and[b] fixrom.py[/b]. 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..

[img]http://farm6.static.flickr.com/5299/5485009778_d71359fcf4_o.png[/img]

18) Okay.. we are almost there.. Now copy the [b]XFX5770.rom[/b] 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.

[img]http://farm6.static.flickr.com/5098/5484452181_05d858a20a_o.png[/img]

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:

[i]If you are flashing ATI 5770 paste this:[/i]
[b][code]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[/code][/b]

[i]If you are flashing ATI 5870 card, paste this:[/i]
[b][code]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[/code][/b]


Once you have pasted into terminal window hit ENTER. Let it do it's thing and you should be good. I used 5770 approach.

[img]http://farm6.static.flickr.com/5257/5484458349_a066a7e466_o.png[/img]

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.

[img]http://farm6.static.flickr.com/5055/5485060024_4c16fefaa5_o.png[/img]
[img]http://farm6.static.flickr.com/5012/5485060068_99b15b2e66_o.png[/img]

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:

[b][code]python fixrom.py XFX5770.rom XFX5770.rom[/code][/b]

(you would use XFX5870.rom if you were using 5870 card). After the small script finishes, you are READY TO FLASH again!

[img]http://farm6.static.flickr.com/5017/5485063138_5c0c4c4a82_o.png[/img]

24) Before we do flash it, let's rename the XFX5770.rom in your home folder to something like MAC5770.rom.

[img]http://farm6.static.flickr.com/5253/5485009800_78676de0ce_o.png[/img]

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.

[img]http://farm6.static.flickr.com/5055/5484414747_fe05c6b746_o.png[/img]

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:

[b][code]atiflash.exe -p 0 MAC5770.rom[/code][/b]

now let's analyze this again.. [b]-p[/b] switch means that the BIOS should be written to the card. The [b]0[/b] 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.

[img]http://farm6.static.flickr.com/5018/5484069577_be5c9e78b3_o.png[/img]

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.


[b]IF SOMETHING WENT WRONG:[/b]
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: [url="http://forum.netkas.org/index.php?topic=692.0"]http://forum.netkas....php?topic=692.0[/url]

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.


[b]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.[/b]

Share this post


Link to post
Share on other sites

Posted

Awesome guide, bookmarked. Will check back here if I need to do the same thing in the future.

Share this post


Link to post
Share on other sites

Posted

oh man that seems like a lot of work to save 140 bucks.. they sure dont make it easy

Share this post


Link to post
Share on other sites

Posted

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.

Share this post


Link to post
Share on other sites

Posted

[quote name='Lachlan' timestamp='1298879721' post='593741822']
oh man that seems like a lot of work to save 140 bucks.. they sure dont make it easy
[/quote]
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

Share this post


Link to post
Share on other sites

Posted

[quote name='Lachlan' timestamp='1298879721' post='593741822']
oh man that seems like a lot of work to save 140 bucks.. they sure dont make it easy
[/quote]

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.

Share this post


Link to post
Share on other sites

Posted

[quote name='XIII' timestamp='1298880183' post='593741848']
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.
[/quote]

you do need the Mac to patch the original rom with netkas one. So it's better you do it on a mac.

[quote name='daPhoenix' timestamp='1298880376' post='593741854']
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
[/quote]

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

Share this post


Link to post
Share on other sites

Posted

[quote name='Boz' timestamp='1298882676' post='593741938']
I don't want to pay $140 more for something that's a pure ripoff.
[/quote]
Add a zero to that $140, and you're talking about Macs in general and not just a single hardware part in one.

Share this post


Link to post
Share on other sites

Posted

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.

Share this post


Link to post
Share on other sites

Posted

[quote name='bullydog' timestamp='1298937700' post='593744660']
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.
[/quote]

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.

Share this post


Link to post
Share on other sites

Posted

[quote name='Boz' timestamp='1298981792' post='593746100']
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.
[/quote]
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?
[attachment=284852:partitionlocation.jpg]

Share this post


Link to post
Share on other sites

Posted

I've read though, you don't get the Apple logo screen, basically no video till you hit the blue/login screen.

Share this post


Link to post
Share on other sites

Posted

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:

Share this post


Link to post
Share on other sites

Posted

[quote name='Timan' timestamp='1298993751' post='593746682']
I've read though, you don't get the Apple logo screen, basically no video till you hit the blue/login screen.
[/quote]

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.

[quote name='bullydog' timestamp='1298993403' post='593746664']
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?
[attachment=284852:partitionlocation.jpg]
[/quote]

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.

Share this post


Link to post
Share on other sites

Posted

Question, what'd you do about the card where it requires power cables plugged into it?

Share this post


Link to post
Share on other sites

Posted

[quote name='Boz' timestamp='1298998308' post='593746922']
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.
[/quote]

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.
[attachment=284872:Screen shot 2011-03-01 at 11.30.18 AM.png]

Share this post


Link to post
Share on other sites

Posted

[quote name='Timan' timestamp='1298999969' post='593747052']
Question, what'd you do about the card where it requires power cables plugged into it?
[/quote]

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.

Share this post


Link to post
Share on other sites

Posted

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.

Share this post


Link to post
Share on other sites

Posted

[quote name='MachineShedFred' timestamp='1299681959' post='593772428']
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.
[/quote]

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

Share this post


Link to post
Share on other sites

Posted

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.

Share this post


Link to post
Share on other sites

Posted

Does anyone know if their cards support triple display or just dual display?

Share this post


Link to post
Share on other sites

Posted

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!!
1 person likes this

Share this post


Link to post
Share on other sites

Posted

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

Share this post


Link to post
Share on other sites

Posted

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!

Share this post


Link to post
Share on other sites

Posted

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

Share this post


Link to post
Share on other sites
This topic is now closed to further replies.
Sign in to follow this  
Followers 0

  • Recently Browsing   0 members

    No registered users viewing this page.