I was able to upgrade it manually. Got the answer from forum.Netkas.org. Instruction below.
Started by
MacEFIRom, Message by
verveguy
Relevance: 63.9%
I could not get the firmware updater tool to work.
Error 5570 then
Error 5530.
So I hacked the scripts within the tool and ran them directly. I now have a MacPro 2009 which reports Model Identifier: MacPro5,1
Root problem: you need to have BOTH the 2010 and 2009 EFI upgrader disk images available so this tool can prepare both the upgrade and downgrade paths. And the tool no longer seems to be capable of downloading them (or at least not for me and anyone else getting the
5530 error). Digging into the compiled .scpt file inside the tool, it's pretty clear what is wrong. But the script is run-only compiled and I can't fix it directly.
So I manually downloaded them and then had to hack the subsidiary shell scripts embedded in the Firmware Tool app and run them directly by hand.
Here's what I did:
0/ Reboot in recovery mode and disable SIP (Recovery mode, Terminal, csrutil disable ). Reboot again.
1/ Download *both* EFI updater packages from Apple
https://support.apple.com/kb/DL989?locale=en_US
https://support.apple.com/kb/DL1321?locale=en_US
2/ Use DiskUtility to convert each disk image to a new read/write image
3/ Mount the first image for the 2009 firmware. Rename the mounted disk to Mac Pro EFI Update 2009
4/ Mount the second image for the 2010 firmware. Rename the mounted disk to Mac Pro EFI Update 2010
5/ Run the netkas forum Mac Pro 2009-2010 Firmware Tool.app
(it will fail, but it will create the RamDisk)
6/ Hack the ExtractAndPatchEFIFiles.sh script buried in my ~/Downloads/Mac Pro 2009-2010 Firmware Tool.app/Contents/Resources/ directory with this new version:
Code:
#!/bin/sh
pushd /Volumes/RamDisk
# we mounted the EFI update disk image manually
# hdiutil attach -nobrowse EFI2010.dmg
pkgutil --expand '/Volumes/Mac Pro EFI Update 2010/MacProEFIUpdate.pkg' Expanded
cp Expanded/MacProEFIUpdate.pkg/Payload Payload
tar -xf Payload
mkdir MacProEFI2010-2009
mkdir MacProEFI2009-2010
cp 'System/Library/CoreServices/Firmware Updates/MacProEFIUpdate15/EFIUpdaterApp2.efi' MacProEFI2010-2009
cp 'System/Library/CoreServices/Firmware Updates/MacProEFIUpdate15/MP51_007F_03B_LOCKED.fd' MacProEFI2009-2010/MP41_0081_07B_LOCKED.fd
rm -R Applications
rm -R Expanded
rm -R System
rm Payload
hdiutil detach '/Volumes/Mac Pro EFI Update/'
# we mounted the EFI update disk image manually
# hdiutil attach -nobrowse EFI2009.dmg
pkgutil --expand '/Volumes/Mac Pro EFI Update 2009/MacProEFIUpdate.pkg' Expanded
cp Expanded/MacProEFIUpdate.pkg/Payload Payload
tar -xf Payload
cp 'Applications/Utilities/Mac Pro EFI Firmware Update.app/Contents/Resources/EfiUpdaterApp2.efi' MacProEFI2009-2010
cp 'Applications/Utilities/Mac Pro EFI Firmware Update.app/Contents/Resources/MP41_0081_07B_LOCKED.fd' MacProEFI2010-2009/MP51_007F_03B_LOCKED.fd
rm -R Applications
rm -R Expanded
rm -R System
rm Payload
hdiutil detach '/Volumes/Mac Pro EFI Update/'
popd
patch /Volumes/RamDisk/MacProEFI2009-2010/EfiUpdaterApp2.efi EfiUpdater2009.patch
patch /Volumes/RamDisk/MacProEFI2010-2009/EfiUpdaterApp2.efi EfiUpdater2010.patch
7/ Then run the script directly. Using terminal:
Code:
cd ~/Downloads/Mac\ Pro\ 2009-2010\ Firmware\ Tool.app/Contents/Resources/
./ExtractAndPatchEFIFile.sh
sudo UpgradeEFI2009-2010.sh
8/ Shutdown then power on and hold down the power button. Don't let it go. You'll hear the beep indicating EFI update, then it will reboot again. Keep the button down. In my case, the CD drive popped out. I waited a while, then pushed the CD drive back in. Eventually, I got bored and let the power button go. A little while later it rebooted again. Maybe even one more time.
9/ Login, check all is well with System Info.
10/ Reboot into Recovery mode again, enable SIP (Terminal, csrutil enable). Reboot
I'm pretty sure I captured all of that correctly. Hope this helps others.
(If anyone knows how to contact the original author of the update tool or can get the source, I'd happily fix it)