netkas.org forum
November 27, 2020, 12:54:06 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Information for registering users http://forum.netkas.org/index.php/topic,2246.0.html
 
   Home   Help Search Login Register  
Pages: 1 ... 3 4 [5] 6 7 ... 10
  Print  
Author Topic: Mac Mini Firmware Upgrade Utility Needed (help request).  (Read 734460 times)
lolof
Guest
« Reply #60 on: September 27, 2011, 01:54:50 PM »

@Sebinouse,

Of course for flashrom, I will send you the necessary files when I will be home.

During the midday pause, I have bought 2X2GB ram and put it in the mac. System information can see the 4GB and the mac can really use 3GB of it. I tested this with the top cmd line and also in monitor utility.

here about memory and MacMini :

http://forums.macnn.com/58/imac-emac-and-mac-mini/380349/a-guide-mac-mini-ram-upgrades/

The mm1,1 updated in mm2,1 run with 4GB... This mean that we have capacity of 3GB memory.

@Sebinouze : I have already closed my macmini with the 4GB inside, it means if I cannot do a downgrade because the macmini will not boot with the old firmware and 4 GB. It is what is said on the above link. I have done the downgrade firmware, please could you try it Huh?? It should be no problem as it is an official apple firmware .fd file.  I am too lazzy to open my mac again :-)

I just found in the efiupdateapp2.efi from the efi updater 1.2 some code left by apple. I think to have found the CRC32 of the firmware that was removed from apple "MM21.88Z.009A.B01". CRC 29 69 14 64  This is the key to the downgrade.
I hope Sebinouse will be able to test the package I prepared and report positive result.


If it is the good crc32, I will be able to tweak an officiel firmware updater to reinstall the m21 firmware without the need at first to downgrade to m11_B08, just usefull in case we want to play with some byte to optimise the screen problem, if you have it too! In this case I wont have to dismantle my mac again because no need to remove the extra ram.
« Last Edit: September 27, 2011, 09:56:59 PM by lolof » Logged
Sebinouse
Jr. Member
**
Offline Offline

Posts: 65



« Reply #61 on: September 27, 2011, 10:02:22 PM »

Same screen issue ... I will post pictures later ...

PRAM Reset and I now have a MM21 !

PERFECT  Upgrade OK   Shocked Shocked Shocked

Now downgrade ...  Huh
Quote
#!/bin/bash

updatesdir1="/System/Library/CoreServices/Firmware Updates"
updatesdir2="/System/Library/CoreServices/Firmware Updates/MacMiniEFIUpdate"
firmwaredir="path to your files"
firmware="EfiUpdaterApp.efi"
firmware2="LOCKED_MM11_0055_08B.fd"

rm -r "${updatesdir1}"
mkdir "${updatesdir1}"
mkdir "${updatesdir2}"

cp "${firmwaredir}/${firmware}" "${updatesdir2}"
cp "${firmwaredir}/${firmware2}" "${updatesdir2}"

/usr/sbin/bless -mount / -firmware "${updatesdir2}/${firmware}" -payload "${updatesdir2}/${firmware2}" -options "-x efi-apple-payload0-data" --verbose

exit 0

I think we have to copy everything in "/System/Library/CoreServices/Firmware Updates/MacMiniEFIUpdate" not in "/System/Library/CoreServices/Firmware Updates/" ? what do you think ?
« Last Edit: September 28, 2011, 01:29:22 AM by Sebinouse » Logged
Sebinouse
Jr. Member
**
Offline Offline

Posts: 65



« Reply #62 on: September 27, 2011, 10:15:48 PM »

didn't work !  Embarrassed

I saw briefly the status progress bar ... (1 second max) and reboot automatically !
Logged
lolof
Guest
« Reply #63 on: September 27, 2011, 10:18:31 PM »

Are you sure that you used MM21 MM11.zip package ?
I will recheck again the file.
It means probably a mistake withe crc.
Logged
Sebinouse
Jr. Member
**
Offline Offline

Posts: 65



« Reply #64 on: September 27, 2011, 10:19:29 PM »

Are you sure that you used MM21 MM11 ?
I will recheck again the file.
Yes : MM21_009A_01B.fd !

Edit: I tried

1) your files (EfiUpatedApp2.efi & LOCKED_MM21_009A_01B.fd)
2) my files (EfiUpatedApp2.efi & LOCKED_MM21_009A_00B.fd with the right crc32 mod)
3) added /MacMiniEFIUpdate/

FAIL !

« Last Edit: September 27, 2011, 10:49:21 PM by Sebinouse » Logged
Sebinouse
Jr. Member
**
Offline Offline

Posts: 65



« Reply #65 on: September 27, 2011, 11:24:31 PM »

Ah ... It seems to work when we replace IM52 and the four crc checks for this version ... (6 checks for IM51 ...)

Let's wait for the end of the status progress bar and the reboot !

Reboot OK

Downgrade OK  Grin Grin Grin
« Last Edit: September 28, 2011, 10:11:19 AM by Sebinouse » Logged
Sebinouse
Jr. Member
**
Offline Offline

Posts: 65



« Reply #66 on: September 28, 2011, 12:28:43 AM »

@MacEFIRom

Can you make one of your app with the following data ? ... one more time !  Wink )

Upgrade:
  • Get the "EFIUpdaterApp.efi" from Mac mini EFI Firmware Update 1.1
  • Change "MM11.88Z.0055.B03.0604071521" into "MM11.88Z.0055.B08.0610121326" (around offset 0x7449)
  • Change crc32 checks from "67 BC 27 43" to "1C 65 1E DD" (4 times around offset 0x73B0)
  • Get a compliant MM21.fd and rename it "LOCKED_MM11_0055_08B.fd"
  • Modify the script to flash it
  • Add a WARNING that
    • Screen will be blurred after upgrade.
    • Wait until boot sequence is complete
    • Reboot resetting PRAM (Cmd+Alt+p+r)

Downgrade:
  • Get the "EFIUpdaterApp2.efi" from iMac EFI Firmware Update 1.2
  • Change "IM52.88Z.0090.B00.0608101203" into "MM21.88Z.009A.B00.0706281359" (2 times)
  • Change crc32 checks from "27 DB 50 67" to "67 BC 27 43" (4 times)
  • Get a compliant MM11.fd and rename it "LOCKED_MM21_009A_00B.fd"
  • Modify the script to flash it

Thanks a lot !  Roll Eyes


* Boot.jpg (137.67 KB, 1380x808 - viewed 1202 times.)

* Desktop.jpg (141.93 KB, 1380x808 - viewed 1198 times.)
« Last Edit: September 28, 2011, 01:16:46 AM by Sebinouse » Logged
lolof
Guest
« Reply #67 on: September 28, 2011, 08:35:40 AM »

Well done @ Sebinouse

I forgot to send you the flashrom yesterday, grab it below. It must be run from Terminal in root / sudo. "sudo flashrom --help"

@macEfirom

It would be nice to have the rom backuped before the update the macmini as it is a bit more risky as a normal update due to the let say so "cfw".
Here is the flashrom compiled for 10.6
DirectHW package is not so well done, you will have to exctract it and install it manually.
The DirectHW kext must be load on osx, if it does not, flashrom wont run. Additionaly is the PCutil package that I needed to compile the flashrom app. I do not need if this must be installed to get flashrom working.
This package does not run on 10.5

Flashrom

If macEfirom agre to build us the app, we should find a beautiful macmini icon for it  Smiley




« Last Edit: September 28, 2011, 11:29:03 AM by lolof » Logged
Sebinouse
Jr. Member
**
Offline Offline

Posts: 65



« Reply #68 on: September 28, 2011, 11:36:18 AM »

If macEfirom agre to build us the app, we should find a beautiful macmini icon for it  Smiley

this one seems good !

It would be nice to have the rom backuped before the update the macmini as it is a bit more risky as a normal update due to the let say so "cfw".

The rEFIt dumps is enough for me ... don't you think ?

Quote
/usr/sbin/bless -mount / -firmware "${updatesdir2}/${firmware}" -payload "${updatesdir2}/${firmware2}" -options "-x efi-apple-payload0-data" --verbose
Is there a way to prevent the PRAM copy from this command line ?
« Last Edit: September 28, 2011, 11:52:35 AM by Sebinouse » Logged
lolof
Guest
« Reply #69 on: September 28, 2011, 12:25:57 PM »

Nice  icon.

For the rom. I think it is a plus but not a must! It was a must for us during test. But while the app is there, why not use it, many poeple do not know what  is refit for. Who knows, it could maybe help the one who will be in difficulty.

I think this is more important that the app will not allow to downgrade the firmware if the mini has 4gb ram. But also, who will come back from MM21 to MM11!

The PRAM reset was the first things I think about while testing the screen problem. Maybe a simple reboot is doing a good job too. Maybe pram reset is not a must.
Did you tryied once to boot without to reset the PRAM after the screen problem to see if it boots normally ?

Bad news, it is always not possible to install Lion from the Appstore after the firmware Update




« Last Edit: September 28, 2011, 06:58:10 PM by lolof » Logged
Sebinouse
Jr. Member
**
Offline Offline

Posts: 65



« Reply #70 on: September 28, 2011, 07:03:29 PM »

Bad news, it is always not possible to install Lion from the Appstore after the firmware Update

That was the reason why we decided to upgrade ... did you tried a MM21 SSN ? with SetSysSerSum
Logged
Sebinouse
Jr. Member
**
Offline Offline

Posts: 65



« Reply #71 on: September 28, 2011, 09:04:25 PM »

you just have to burn the dmg on a CD and boot on it ... there is a readme file in the package !
Logged
macminiuser
Not Newbie
*
Offline Offline

Posts: 5


« Reply #72 on: September 29, 2011, 08:17:56 AM »


Does the firmware upgrade change the ID from Mac-F4208EC8 to Mac-F4208EAA as well?

I am looking forward to the upgrade-app since the difference whether 2 GB or 3 GB RAM can be used is huge.

Thank you for your great R&D!
Logged
lolof
Guest
« Reply #73 on: September 29, 2011, 12:18:05 PM »

Hi,
I used SMBIOS Parser to check this. No, this App tells that the board is F4208EC.
It is maybe the raison why we cant buy Lion on Appstore Huh
Do you know how when this datas are loaded in osx or where it comes from Huh

For the memory, I can tell you that my upgraded mac works with 4GB inside now. As I saw on the net a normal MM11 cant start with 4GB.
The cmd TOP and monitor utility report 3GB working memory. It seems that this revision board number doesnt affect the use of 4GB.

This board number  is not written in the efi or it is well hide! I wonder where it comes from ?
« Last Edit: September 29, 2011, 04:02:07 PM by lolof » Logged
Sebinouse
Jr. Member
**
Offline Offline

Posts: 65



« Reply #74 on: September 29, 2011, 02:50:13 PM »

Another solution to install Lion : boot with chameleon ... Install Lion from MAS and add "Mac-F4208EC8" in /System/Library/CoreServices/PlatformSupport.plist ...
Logged
Pages: 1 ... 3 4 [5] 6 7 ... 10
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!