Jump to content

[UEFIPatch] UEFI patching utility

BIOS patch power management UEFI

  • Please log in to reply
1968 replies to this topic

#1521
paulxandrei

paulxandrei

    InsanelyMac Protégé

  • Members
  • Pip
  • 5 posts

You need to flash S500CASS.204.patched file with AFU /GAN (it still has capsule header from original file).


OSX binaries for UEFIExtract and UEFIPatch are uploaded. 

 

C:\Users\paul\Downloads\amiflash\amiflash\Aptio\afuwin\64\afuwin64\AfuWin64>AFUW
INx64.EXE S500CAAS.204.patched /GAN
+---------------------------------------------------------------------------+
|                 AMI Firmware Update Utility  v3.05.04                     |
|      Copyright ©2013 American Megatrends Inc. All Rights Reserved.      |
+---------------------------------------------------------------------------+
 Reading flash ............... done
3 - Error: ROM file size does not match existing BIOS size.
 
C:\Users\paul\Downloads\amiflash\amiflash\Aptio\afuwin\64\afuwin64\AfuWin64>


#1522
CodeRush

CodeRush

    InsanelyMac Sage

  • Retired Developers
  • 439 posts
  • Gender:Male
  • Location:Deggendorf, Germany

Try patched afuwin dump then.



#1523
Mendescotta

Mendescotta

    InsanelyMac Protégé

  • Members
  • Pip
  • 5 posts

hi, im' reading everything related and havn't found the answers yet.

i just bought an Asus z77-a mobo, it does not have the flashback option so i need to rely on other techniques to get the modified bios to work. i'm aware of the afwin /gan method, but i didnt' see any report of success with it. also the regional lock introduced in asus z77 mobos, i'm not sure wthers this affect me or not and if pmapatch already takes care of it.

 

can someone please guide me here as i want to get my mobo with lthe latest bios version and patched so i can build a hackintosh in int

 



#1524
k3nny

k3nny

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 566 posts
  • Gender:Male
Hi, everything you need is in the first post. All methods described do work as long as you stick to the instructions. Besides, CodeRush wouldn't include an error-prone method, despite his name. :P

The regions locks are bypassed with /gan, as you can read in this topic.

#1525
Mendescotta

Mendescotta

    InsanelyMac Protégé

  • Members
  • Pip
  • 5 posts

so i just do this:

 

  1. backup: afuwinx64 bios.bin /o
  2. patch: pmpatch bios.bin bios-pmpatched.bin
  3. apply: afuwinx64 bios-pmpatched.bin /gan

regardless of region lock and other stuff?

simple as that?



#1526
CodeRush

CodeRush

    InsanelyMac Sage

  • Retired Developers
  • 439 posts
  • Gender:Male
  • Location:Deggendorf, Germany

k3nny, this "error-prone" method relays on AMI's SMIFlash code, that is nether error-prone, nor available on every AMI-based BIOS.

Most vendors have developed their own flash routines, and using SMIFlash may be compatible with them, and may be not, no one will test it.

So if this method works - cool, if not - you brick your PC and need a programmer and full SPI chip dump to bring it back to life. 

 

I must say thousand times: all BIOS flashes are risky, even "normal" "vendor-way-done" ones, and hardware SPI programmer is your only "95%-error-prone" option.



#1527
Mendescotta

Mendescotta

    InsanelyMac Protégé

  • Members
  • Pip
  • 5 posts

i did it, how do i check if all my bios info is ok?



#1528
CodeRush

CodeRush

    InsanelyMac Sage

  • Retired Developers
  • 439 posts
  • Gender:Male
  • Location:Deggendorf, Germany

It boots? It's ok. :)



#1529
The Real Deal

The Real Deal

    InsanelyMac Legend

  • Donators
  • 1,014 posts
  • Gender:Male
  • Location:France

Hi Coderush,

Problem to patch the UEFI BIOS of Maximus VII Gene (i don't know if it's locked by it does not hurt to patch i guess)

 

Please see the terminal logs :

Last login: Tue Jun 24 06:28:53 on console
pc10:~ Nico$ /Users/Nico/Desktop/PMPatch /Users/Nico/Desktop/MAXIMUS-VII-GENE-ASUS-0904.CAP /Users/Nico/Desktop/MAXIMUS-VII-GENE-ASUS-0904PATCHED.CAP 
PMPatch 0.5.14
PowerManagement modules not found.
PowerMgmtDxe/PowerManagement2.efi module at 00290C00 not patched: Repacked module can't be inserted.
AMI nest modules not found.
Phoenix nest modules not found.
CpuPei module at 0068D670 not patched: Patch pattern not found.
CpuPei module at 0078D670 not patched: Patch pattern not found.
pc10:~ Nico$ 


Thanks



#1530
CodeRush

CodeRush

    InsanelyMac Sage

  • Retired Developers
  • 439 posts
  • Gender:Male
  • Location:Deggendorf, Germany

Use UEFIPatch instead.



#1531
The Real Deal

The Real Deal

    InsanelyMac Legend

  • Donators
  • 1,014 posts
  • Gender:Male
  • Location:France

My bad :)

 

UEFI BIOS patched in W8 with UEFIPatch done.

 

Thanks.



#1532
magico75

magico75

    InsanelyMac Protégé

  • Members
  • Pip
  • 3 posts
  • Gender:Male
C:\>pmpatch bios.bin bios-pm.bin
PMPatch 0.5.14
PowerManagement module at 004054A0 patched.
PowerMgmtDxe/PowerManagement2.efi modules not found.
AMI nest modules not found.
Phoenix nest modules not found.
CpuPei module at 00790AA8 not patched: Patch pattern not found.
CpuPei module at 007D0AA8 not patched: Patch pattern not found.
Output file generated.
 
C:\>
 
 
hi could you tell me if everything was ok? 
Thank you very much 
greetings

 



#1533
Aigors

Aigors

    InsanelyMac Legend

  • Donators
  • 788 posts
  • Gender:Male
  • Location:Italy
  • Interests:RC Model, pc, networking, mechanic electronic

 

C:\>pmpatch bios.bin bios-pm.bin
PMPatch 0.5.14
PowerManagement module at 004054A0 patched.
PowerMgmtDxe/PowerManagement2.efi modules not found.
AMI nest modules not found.
Phoenix nest modules not found.
CpuPei module at 00790AA8 not patched: Patch pattern not found.
CpuPei module at 007D0AA8 not patched: Patch pattern not found.
Output file generated.
 
C:\>
 
 
hi could you tell me if everything was ok? 
Thank you very much 
greetings

 

When you see output file generated, everything is ok, read first post in thread



#1534
Izsakirobi

Izsakirobi

    InsanelyMac Protégé

  • Members
  • Pip
  • 16 posts

Hi!

 

I extract the dell 7240 biusupdate.exe in custom DellBiosExtract.py script.

This generate xxxxxx.hdr, rename to .bin

Then load this file in UEFITool and image save to dellbios.bin

Then run UEFIPatch and this output looks good.

 

C:\Users\Robi\Desktop\UEFIPatch>UEFIPatch.exe 7240.bin

Body of PE32+ image section patched, 75080fbae80f89442430 -> eb080fbae80f89442430
Image patched
 
This generate 7240.bin.patched file.
 
But my questíon:
How tu update my BIOS from this bin file?
 
Thanks for Help!


#1535
Mendescotta

Mendescotta

    InsanelyMac Protégé

  • Members
  • Pip
  • 5 posts

lol

 

i used pmpatch

is this reliable?

XD



#1536
StoneTemplePilots

StoneTemplePilots

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 371 posts
  • Gender:Male
  • Location:Mödling, Austria

lol

 

i used pmpatch

is this reliable?

XD

 

pmpatch is absolutely reliable, but afu / gan method isn't a safe method on asus boards

on asus z77 I recommend reading the red link in my signature, using the sce method to set bios lock to disabled.



#1537
Mendescotta

Mendescotta

    InsanelyMac Protégé

  • Members
  • Pip
  • 5 posts

thnaks.

i didn't know it was unsafe

 

it booted fine, everything seems to be okay

 

will try to install the osx next week



#1538
AMD Lover

AMD Lover

    InsanelyMac Protégé

  • Members
  • Pip
  • 1 posts

I have a MSI MPOWER MAX and I couldnt get OS X on it. I heard I needed to patch the BIOS however I have zero idea how to do this or how to get started. Could someone do it for me?

 

Specs:

4770K

MSI Mpower Max Z87

MSI 780 Lightning

Corsair Vengence 16GB (2x8GB) 1600, DDR3

 

I will attach my latest BIOS

 

Apparently I cant attach the file but if you could help me that would be great and this is the link to the BIOS



#1539
pmcnano

pmcnano

    Preguntaaame caom!

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,240 posts
  • Gender:Male
  • Location:Merida, Mexico

@CodeRush I tried patching a Z68XP-UD3 UEFI but I get 

MacPro:UEFIPatch_0.1.0_osx nano$ ./UEFIPatch z68-894-smc.rom 
parseInputFile: descriptor parsing failed, descriptor region has intersection with BIOS region
FFS file or search pattern not found in input file

I checked the patches.txt file to see the GUID's and I do have them:

|117|PowerManagement|8C783970-F02A-4A4D-AF09-8797A51EEC8D|003E87CE|004D1D|DRVR|

|013|CpuPei         |2BB5AFA9-FF33-417B-8497-CB773C2B93BF|003CBCE8|00160E|PEIM|

Any clue whats the problem?

 

Thanks



#1540
CodeRush

CodeRush

    InsanelyMac Sage

  • Retired Developers
  • 439 posts
  • Gender:Male
  • Location:Deggendorf, Germany

Nothing to patch on Gigabyte boards, most of them are factory unlocked. 







Also tagged with one or more of these keywords: BIOS, patch, power management, UEFI


2 user(s) are reading this topic

1 members, 1 guests, 0 anonymous users


© 2017 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy