MP51.0084.B00 Rom Dump Request

Discussion in 'Mac Pro' started by HaypurTiryading, May 20, 2018.

  1. HaypurTiryading thread starter macrumors newbie

    HaypurTiryading

    Joined:
    May 20, 2018
    Location:
    Turkey
    #101
    @mikeboss or if you have time will you prepare a youtube video for non experienced user?

    Thanks.
     
  2. mikeboss macrumors 65816

    mikeboss

    Joined:
    Aug 13, 2009
    Location:
    switzerland
    #102
    I just followed gilles's how-to. unfortunately I don't own a cMP anymore. I dumped the ROM of my MacPro6,1 and extracted the NVMe DXE. afterwards I injected the NVMe DXE into the ROM file I received from @zozomester and sent it back to him. indeed it seems that he was successful in booting from his NVMe SSD after flashing the ROM to his cMP.
     
  3. zozomester, May 30, 2018
    Last edited: May 30, 2018

    zozomester macrumors regular

    zozomester

    Joined:
    Apr 26, 2017
    Location:
    Hungary
    #103
    Yes, this work. My cMP is 4.1 to 5.1. I do not know if it works with 3.1 ...
    - read the instructions from gilles here -> #13
    - download dosdude's flash tool
    - write the modded EFI to your EEPROM
    @mikeboss helped me change my rom.
     
  4. mikeboss macrumors 65816

    mikeboss

    Joined:
    Aug 13, 2009
    Location:
    switzerland
    #104
    I'd rather modify your ROM than creating a YT tutorial (takes too much time).
     
  5. gilles_polysoft macrumors regular

    gilles_polysoft

    Joined:
    Jul 7, 2017
    Location:
    Tours (France)
    #105
    Hi dosdude1,
    Whoo, thanks a lot for your Romtool... I've tested it and it works perfectly !
    Everything will be far most easy now !

    There is so much Rom patchs to test now :
    - updates of Intel ME
    - NVMe DXE drive (ok so far for me for a MacPro 4.1 and rMBP 11.1, will test on an Xserve and MacPro 3.1)
    - USB 3 FL1100 driver
    - Xeon microcode for MacPro 3.1 and Xserve 3.1

    I will try to update a mini tutorial with screen captures now...
     
  6. MisterAndrew macrumors 6502a

    MisterAndrew

    Joined:
    Sep 15, 2015
    Location:
    Portland, Oregon
    #106
    Could we not inject these drivers into the stock firmware (which has no serial), flash that to the EEPROM, and then use the blank board serializer CD to write the serial? Then someone could host the modded firmware somewhere.
     
  7. dosdude1 macrumors 68000

    dosdude1

    Joined:
    Feb 16, 2012
    #107
    I'm currently working on an application that will allow you to easily inject DXE drivers into any system ROM. Should be done within the next few days.
     
  8. zozomester macrumors regular

    zozomester

    Joined:
    Apr 26, 2017
    Location:
    Hungary
    #108
    My 4x Toshiba XG5 on Raid0, Native Boot and good Work.
     

    Attached Files:

  9. MIKX, May 30, 2018
    Last edited: May 30, 2018

    MIKX macrumors 6502a

    MIKX

    Joined:
    Dec 16, 2004
    Location:
    Japan
    #109
    WOW ! indeed ! a profoundly historic day for the cMP.

    My hat off to Gilles, dosdude1, mikeboss & ba##s of steel zozomester
    I'm looking forward to Gilles getting FL1100 USB 3.0 at bootup time
     
  10. DearthnVader macrumors 6502a

    DearthnVader

    Joined:
    Dec 17, 2015
    Location:
    Red Springs, NC
    #110
    PPC?:p
     
  11. dosdude1 macrumors 68000

    dosdude1

    Joined:
    Feb 16, 2012
    #111
    Any Intel Mac I should say.. LOL
     
  12. MIKX, May 30, 2018
    Last edited: May 30, 2018

    MIKX macrumors 6502a

    MIKX

    Joined:
    Dec 16, 2004
    Location:
    Japan
    #112
    OK I have my NVMe DXE rom.

    I'm still very cautious as I need my Mac Pro for work. I would appreciate any assistance prior to flashing my cMP 4,1>5,1 bootROM for my Samsung 960 EVO M.2

    I did the " Enable NVMe M.2 /SSD to be seen in Sierra 10,12,6.

    This involves DELETING the " IONVMeFamily.kext " and replacing it with the" HackrNVMeFamily-10_12_3.kext". After which the 960 EVO shows up.

    Should I keep the "HackrNVMeFamily-10_12_3.kext " in my Sierra instal or replace the original IONVMeFamily.kext?

    I'm totally confused on this point

    I DO have a working High Sierra 10.13.4 on a spinner HDD. It sees the 960 EVO M.2 OK.

    I would much prefer to have NVMe M.2 booting in Sierra but High Sierra would also be OK.

    Thanks in advance.
     
  13. dosdude1 macrumors 68000

    dosdude1

    Joined:
    Feb 16, 2012
    #113
    ALWAYS use stock kexts on a real Mac, when you have a firmware workaround. Restore stock kext/set perms/rebuild kextcache before flashing your firmware.
     
  14. crjackson2134 macrumors 68040

    crjackson2134

    Joined:
    Mar 6, 2013
    Location:
    Charlotte, NC
    #114
    Please excuse my ignorance on this subject but, if we end up with an easy method to inject this driver, what would happen if another firmware/OS update comes along and tries to modify it? Would it be a simple matter of injecting again, or would the Apple update be blocked by a hash change?
     
  15. dosdude1 macrumors 68000

    dosdude1

    Joined:
    Feb 16, 2012
    #115
    If a new firmware update is applied, there is a chance it could be overwritten. But, you can simply dump, modify, and re-flash your ROM to once again have an nVME supported system on the latest firmware. The likeliness of a new firmware update is practically non-existent, though, and OS updates will not affect it, so I doubt you'll have anything to worry about.
     
  16. MIKX, May 30, 2018
    Last edited: May 30, 2018

    MIKX macrumors 6502a

    MIKX

    Joined:
    Dec 16, 2004
    Location:
    Japan
    #116
    placing it with
    Thanks for your swift reply dosdude1 ..

    Just so I can be 100%clear on this

    1.
    If I put my "standard" Sierra 10.12.6 ( no " HackrNVMeFamily,kext ) SATA SSD 2.5" with the stock "IONVMeFamily.kext" ) re-installed ( caches rebuilt ) back in the cMP . . . .
    .
    2.
    . . Sierra will recognize the Samsung 960 EVO M.2 in the Finder / Disk Drive Utility ?

    3.
    Then if ( after the flash ) my cMP actually boots up in Sierra ( 2.5" SSD ) and can see the 960 EVO I can then go ahead and replace the original " IONVMeFamily.kext" in the 960 EVO and remove the " HackrNVMeFamily,kext " . . . . rebuild caches ..

    4.
    . . . then it SHOULD show the Sierra 960 as a boot drive in the next cold startup ?

    =================================================

    Sorry for the convoluted explanation . .. I'm actually a bit terrified as I absolutely need a working cMP for my English school yet I'm dying to be able to boot my Ms2 960 EVO natively

    =================================================

    I guess my question is this ..

    After the bootROM flash BOTH Sierra & High Sierra ( not-hacked installs ) should be able to SEE the M.2 960 EVO ?

    EDIT : I certainly do not expect a a definite "YES" answer andhold myself responsible if I brick my cMP

    Apprehensively Yours,

    MIKX
     
  17. crjackson2134 macrumors 68040

    crjackson2134

    Joined:
    Mar 6, 2013
    Location:
    Charlotte, NC
    #117
    Thank you for explaining. I wonder if this tool you are making would also allow flashing back to the original firmware if you save a copy from the dump.
     
  18. MIKX macrumors 6502a

    MIKX

    Joined:
    Dec 16, 2004
    Location:
    Japan
    #118
    Maybe dosdude1 can come up with his own version of "Apple Firmware Restore CD".

    That would be inspirational and would remove all fear of flashing for me. :D
     
  19. dosdude1 macrumors 68000

    dosdude1

    Joined:
    Feb 16, 2012
    #119
    I have just finished writing a command-line tool that will allow you to inject a DXE driver (in FFS format) into your system ROM. Just run the program as follows:

    Code:
    DXEInject <input ROM path> <ROM save path> <list of paths to FFS files to inject>
    An example input would be this (assuming you're CD'd into the directory containing the files):

    Code:
    DXEInject MacPro5,1.bin MacPro5,1_modified.bin nVME.ffs USB3.ffs
    ...Which would inject nVME.ffs and USB3.ffs into the ROM "MacPro5,1.bin" and save it to a file named "MacPro5,1_modified.bin".

    Download here.

    Note: ONLY use this to inject FFS files containing DXE drivers. Injecting other kinds of UEFI files will cause issues.
     
  20. flowrider macrumors 601

    flowrider

    Joined:
    Nov 23, 2012
    #120
    Why would you say that? There have been two FW updates now with HS.

    Lou
     
  21. MIKX macrumors 6502a

    MIKX

    Joined:
    Dec 16, 2004
    Location:
    Japan
    #121
    We really need to see some success stories with different branded M.2 & 2.5" NVMe SSD drives to give us some confidence.

    eg : Anyone with a SPARE 4,1 or 5,1 cMP :D

    Or .. we need a foolproof way of " slightly damaging" an existing bootROM . . just enough so that the Apple Restore CD's will allow original bootROM restoration to a 4,1 or 5,1 cMP..

    Note : Catch 22 : The Apple FW restore CD's will not restore to an un-damaged, working bootROM
     
  22. crjackson2134 macrumors 68040

    crjackson2134

    Joined:
    Mar 6, 2013
    Location:
    Charlotte, NC
    #122
    Just to complicate matters, if you damage the on-chip bootrom, it’s not likely a restore CD will help. How would you boot it... ;)
     
  23. rippiedoos macrumors member

    Joined:
    Nov 9, 2013
    #123
    Using native kext-drivers on Sierra will certainly cause issues with the Samsung SSD, as it is not a 4K-capable SSD. The success-stories are all on Toshiba XG5-SSD's that are 4K capable, but if they are actually 4K formatted isn't clear. The one from gilles is I suppose, but from zozomester probably isn't, but that is just a guess. So booting without hacked drivers from a Samsung SSD isn't likely. In Sierra you should use a 4K-native drive with stock kext or use the patched NVMe-driver. But if it actually can boot with the patched driver I don't know, because booting from it and using it are 2 different things.

    Booting requires the drivers in a really early stage and using it will depend on drivers that are loaded afterwards. The same thing happens with a RX580 and nVidia-cards. The image is only available in a later state, because those drivers are loaded much later, otherwise you would see the progress bar much earlier. I wouldn't count on booting from the Samsung SSD with Sierra. My best guess is that booting from the Samung SSD only works in High Sierra as the native drivers are probably in the kernel and the native drivers support 512b SSD's.

    But the real test would be to use the patched bootROM and see if the NVMe-drive shows up in the boot-selector. And then test a Samsung (512b) SSD and a Toshiba SSD formatted in 4K with Sierra (and High Sierra of course). Simply test what combination works.
     
  24. crjackson2134 macrumors 68040

    crjackson2134

    Joined:
    Mar 6, 2013
    Location:
    Charlotte, NC
    #124
    Just for my own clarity (because post #13 gave me a brain-fog), let me see if I’ve got a grip on this...

    I can make a folder on my desktop (let’s call it injection), then...

    * download the new tool zip file and place the extracted contents in th injection folder

    * using pacifist, find the NVMe FFS and copy it into the injection folder

    * boot machine to recovery mode terminal and disable SIP, then reboot to desktop

    * open a terminal session and cd into the injection folder

    * run the posted terminal command (w/o usb3 instruction on end)

    * when tool is finished, it will have dumped, injected, and flashed new file to boot rom

    * reboot and enjoy native NVMe boot support

    No doubt I probably got something wrong, so please correct me so I can understand exactly what needs to be done here.

    Also, has anyone actually tried adding the usb3 support yet?
     
  25. rippiedoos macrumors member

    Joined:
    Nov 9, 2013
    #125
    You forgot dumping your bootrom and writing it back after injecting it into to saved bootrom file.
     

Share This Page