Jump to content

[UEFIPatch] UEFI patching utility

BIOS patch power management UEFI

  • Please log in to reply
1710 replies to this topic

#1101
BlackSheep VS RustyNail

BlackSheep VS RustyNail

    InsanelyMac Sage

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

Thanks dude, flashed and rebooted back to Windows and flash was successfull.. Will try now my mavericks install..

 

Also is there anyway that I can add the Advanced options to this bios ? my bios settings are very limited. would be nice to disable optimuse etc to save power..

 

Thanks once again, Badaxe2

If it's possible then you can unlock hidden options with AMIBCP for Aptio, but however I don't know a lot about it.

Search at bios-mods.com or mdl forum for unlocking help, please. That's way beyond pmpatch/offtopic.



#1102
CodeRush

CodeRush

    InsanelyMac Sage

  • Developers
  • 412 posts
  • Gender:Male
  • Location:Deggendorf, Germany

badaxe2, try modifying that hidden options using AMIBCP, they will remain hidden, but will set to your settings by default. 



#1103
badaxe2

badaxe2

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 148 posts
  • Gender:Male

Thanks guys, sorry to go of topic with the last Q...

 

I seem to be having a problem booting with and have a kernel panic telling me unable to find driver for this platform ACPI.

 

Attached File  IMG_20140110_134927.jpg   159.04KB   6 downloads

 

I have had to roll back my AppleACPIPlatform.kext to mountain lion, any ideas what may be causing this ?

 

Attached is my ssdt dsdt and ioreg and my chameleon plist

 

Attached File  dsdt.zip   18.83KB   1 downloads

Attached File  ioreg.zip   400.6KB   0 downloads

Attached File  ssdt.aml.zip   933bytes   0 downloads

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>DSDT</key>
	<string>/Extra/dsdt.aml</string>
	<key>DropSSDT</key>
	<string>Yes</string>
	<key>Graphics Mode</key>
	<string>1366x768x32</string>
	<key>GraphicsEnabler</key>
	<string>Yes</string>
	<key>InjectIntel-ig</key>
	<string>03006601</string>
	<key>Instant Menu</key>
	<string>Yes</string>
	<key>Kernel Flags</key>
	<string>-v -f npci=0x2000</string>
	<key>KeyLayout</key>
	<string>pc-fr</string>
	<key>Legacy Logo</key>
	<string>Yes</string>
	<key>SMBIOS</key>
	<string>/Extra/SMBios.plist</string>
	<key>SkipAtiGfx</key>
	<string>Yes</string>
	<key>SkipNvidiaGfx</key>
	<string>Yes</string>
</dict>
</plist>



#1104
BlackSheep VS RustyNail

BlackSheep VS RustyNail

    InsanelyMac Sage

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

 

Thanks guys, sorry to go of topic with the last Q...

 

I seem to be having a problem booting with and have a kernel panic telling me unable to find driver for this platform ACPI.

 

attachicon.gifIMG_20140110_134927.jpg

 

I have had to roll back my AppleACPIPlatform.kext to mountain lion, any ideas what may be causing this ?

 

Attached is my ssdt dsdt and ioreg and my chameleon plist

 

attachicon.gifdsdt.zip

attachicon.gifioreg.zip

attachicon.gifssdt.aml.zip

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>DSDT</key>
	<string>/Extra/dsdt.aml</string>
	<key>DropSSDT</key>
	<string>Yes</string>
	<key>Graphics Mode</key>
	<string>1366x768x32</string>
	<key>GraphicsEnabler</key>
	<string>Yes</string>
	<key>InjectIntel-ig</key>
	<string>03006601</string>
	<key>Instant Menu</key>
	<string>Yes</string>
	<key>Kernel Flags</key>
	<string>-v -f npci=0x2000</string>
	<key>KeyLayout</key>
	<string>pc-fr</string>
	<key>Legacy Logo</key>
	<string>Yes</string>
	<key>SMBIOS</key>
	<string>/Extra/SMBios.plist</string>
	<key>SkipAtiGfx</key>
	<string>Yes</string>
	<key>SkipNvidiaGfx</key>
	<string>Yes</string>
</dict>
</plist>

 

I patched your DSDT with Maciasl, maybe it helps. ZIP attached.

 

Attached Files

  • Attached File  dsdt.zip   16.27KB   2 downloads


#1105
Magiczne

Magiczne

    InsanelyMac Protégé

  • Members
  • Pip
  • 9 posts
  • Gender:Male
  • Interests:Guitar, Keyboard, Linux, Music realisation

Hi! 

I have ASUS P8B75-V Motherboard with UEFI BIOS. I knew i had to patch my bios, so i did it with that result:

C:\Users\Magiczne\Desktop\AfuWin64>pmpatch bios_bkp.cap bios_pmp.cap
PMPatch 0.5.14
PowerManagement module at 00409808 patched.
PowerMgmtDxe/PowerManagement2.efi modules not found.
AMI nest modules not found.
Phoenix nest modules not found.
CpuPei module at 00790748 not patched: Patch pattern not found.
CpuPei module at 007D0748 not patched: Patch pattern not found.
Output file generated.

I have flashed bios with afuwinx64 next, it went good, but when i rebooted pc and checked bios, it still wasn't patched. 

Any solution?

 

Thanks :)



#1106
BlackSheep VS RustyNail

BlackSheep VS RustyNail

    InsanelyMac Sage

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

Hi! 

I have ASUS P8B75-V Motherboard with UEFI BIOS. I knew i had to patch my bios, so i did it with that result:

C:\Users\Magiczne\Desktop\AfuWin64>pmpatch bios_bkp.cap bios_pmp.cap
PMPatch 0.5.14
PowerManagement module at 00409808 patched.
PowerMgmtDxe/PowerManagement2.efi modules not found.
AMI nest modules not found.
Phoenix nest modules not found.
CpuPei module at 00790748 not patched: Patch pattern not found.
CpuPei module at 007D0748 not patched: Patch pattern not found.
Output file generated.

I have flashed bios with afuwinx64 next, it went good, but when i rebooted pc and checked bios, it still wasn't patched. 

Any solution?

 

Thanks :)

You can downgrade with an earlier capsule ROM from AFU for Aptio, but first you should dump the variables with FD44Editor.

Upload as ZIP attached if you need help.

It's known, that ASUS does not flash all regions with /gan.



#1107
Magiczne

Magiczne

    InsanelyMac Protégé

  • Members
  • Pip
  • 9 posts
  • Gender:Male
  • Interests:Guitar, Keyboard, Linux, Music realisation

That's the information generated by FD44Editor:

Motherboard name: P8B75-V
BIOS date: 11/26/2013
BIOS version: 1604
ME version: Not present
GbE version: Not present
Primary LAN MAC: 3085A9977EF4
DTS key: Not present
UUID: 0080D342DAD7DD11A2053085A9977EF4
MBSN: 120700703806592

So do you mean to try with earlier version of Bios?



#1108
BlackSheep VS RustyNail

BlackSheep VS RustyNail

    InsanelyMac Sage

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

That's the information generated by FD44Editor:

Motherboard name: P8B75-V
BIOS date: 11/26/2013
BIOS version: 1604
ME version: Not present
GbE version: Not present
Primary LAN MAC: 3085A9977EF4
DTS key: Not present
UUID: 0080D342DAD7DD11A2053085A9977EF4
MBSN: 120700703806592

So do you mean to try with earlier version of Bios?

yes, it's easy, downgrade for example with

 

afudos 0212.CAP /p /b /n /k

 

or use afuwinx64.exe to do it from windows, same switched.

Then you're back on an status where flashlock wasn't activated.

Anyway an uploaded ROM dump makes sense, so I'll see at which adress the capsule ends and the

bios code starts. A dump can be done with afuwinx64.exe bios.rom /o - do the dump from running up2date ROM which is 1604.



#1109
Magiczne

Magiczne

    InsanelyMac Protégé

  • Members
  • Pip
  • 9 posts
  • Gender:Male
  • Interests:Guitar, Keyboard, Linux, Music realisation

Ok. Here it is.

 

Attached File  bios.zip   3.43MB   3 downloads



#1110
josepi09

josepi09

    InsanelyMac Protégé

  • Members
  • Pip
  • 12 posts

josepi09,

MAC: AC:22:0B:85:37:B0

UUID: any 10 random bytes

MBSN: MT70214160801054

MAC storage: ASCII string and system UUID

MAC magic byte: 2D

DTS key type: None

 

 

I was not able to type all MBSN string, I can´t type the last number in, field is full.

 

Here is my bios

 

BACKUP MADE WITH INTEL FPT - PMPATCHED WITHOUT SYSTEM UUID, MAC, OR DST VERSION 0701

 

BACKUP MADE WITH INTEL FPT - PMPATCHED WITH SYSTEM UUID, MAC, AND DST VERSION 0701

 

thanks for your help



#1111
BlackSheep VS RustyNail

BlackSheep VS RustyNail

    InsanelyMac Sage

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

Ok. Here it is.

 

attachicon.gifbios.zip

 

P8B75-V 1604 Flashlock removed, pmpatched.

Flashlock removed means you'll be able to flash this ROM without capsule with fpt.exe.

ZIP attached, now downgrade with afu for aptio to 0212.cap as explained above.

After downgrade flash back biosUL.rom with Intel FPT for series 7 using command

 

fpt -rewrite -f biosUL.rom

 

for safety reboot with fpt -greset (does an Intel ME reset).

 

 

That's the information generated by FD44Editor:

Motherboard name: P8B75-V
BIOS date: 11/26/2013
BIOS version: 1604
ME version: Not present
GbE version: Not present
Primary LAN MAC: 3085A9977EF4
DTS key: Not present
UUID: 0080D342DAD7DD11A2053085A9977EF4
MBSN: 120700703806592

So do you mean to try with earlier version of Bios?

 

earlier version has no flashlock, so it's possible to downgrade and flash a modified ROM ;)

That's the clue about the downgrade from afu with an earlier capsule, it enables flashing modified ROM binaries.

The capsule is just required for establishing a secure flash session.

Attached Files



#1112
Magiczne

Magiczne

    InsanelyMac Protégé

  • Members
  • Pip
  • 9 posts
  • Gender:Male
  • Interests:Guitar, Keyboard, Linux, Music realisation

Ok, i downgraded bios, but when trying to flash back bios by FPT it says:

C:\Users\Magiczne\Desktop\Intel FPT>fptw64.exe -rewrite -f biosUL.rom

Intel (R) Flash Programming Tool. Version:  8.1.10.1286
Copyright (c) 2007 - 2012, Intel Corporation. All rights reserved.

Platform: Intel(R) B75 Express Chipset
Reading HSFSTS register... Flash Descriptor: Valid

    --- Flash Devices Found ---
    W25Q64BV    ID:0xEF4017    Size: 8192KB (65536Kb)
    W25Q64BV    ID:0xEF4017    Size: 8192KB (65536Kb)

PDR Region does not exist.
GBE Region does not exist.

Error 25: The host CPU does not have write access to the target flash area.  To
enable write access for this operation you must modify the descriptor settings t
o give host access to this region.



#1113
BlackSheep VS RustyNail

BlackSheep VS RustyNail

    InsanelyMac Sage

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

 

Ok, i downgraded bios, but when trying to flash back bios by FPT it says:

C:\Users\Magiczne\Desktop\Intel FPT>fptw64.exe -rewrite -f biosUL.rom

Intel (R) Flash Programming Tool. Version:  8.1.10.1286
Copyright (c) 2007 - 2012, Intel Corporation. All rights reserved.

Platform: Intel(R) B75 Express Chipset
Reading HSFSTS register... Flash Descriptor: Valid

    --- Flash Devices Found ---
    W25Q64BV    ID:0xEF4017    Size: 8192KB (65536Kb)
    W25Q64BV    ID:0xEF4017    Size: 8192KB (65536Kb)

PDR Region does not exist.
GBE Region does not exist.

Error 25: The host CPU does not have write access to the target flash area.  To
enable write access for this operation you must modify the descriptor settings t
o give host access to this region.

did you downgrade to 0212 ???

cause this is exactly what happens when you

  • didn't flash all blocks by downgrade, use /p /b /n /k
  • SMM register locked bios write
  • ASUS ROMs earlier than Q2/2013 had lock implemented but it wasn't activated

at least try to downgrade from EZFlash in UEFI Apllications. I suggest that not all areas have been downgraded now.



#1114
BlackSheep VS RustyNail

BlackSheep VS RustyNail

    InsanelyMac Sage

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

Yes, sure.

you'll have to use meset.exe to unlock the flash area ;)

found here (source) which will unlock

the flash area for just once on reboot.



#1115
Magiczne

Magiczne

    InsanelyMac Protégé

  • Members
  • Pip
  • 9 posts
  • Gender:Male
  • Interests:Guitar, Keyboard, Linux, Music realisation

So i have to boot from that CD, then use the FPT if i understand propertly?

And sorry, but i dont know german so good, i need to do flash from the EZFlash utility?



#1116
BlackSheep VS RustyNail

BlackSheep VS RustyNail

    InsanelyMac Sage

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

So i have to boot from that CD, then use the FPT if i understand propertly?

Hm, this cd doesnt have meset.exe.

I prepared one including meset, ISO zipped attached.

Flash from Intel FPT, best was DOS.

Added DOS-MESET-FPT.iso

Attached Files



#1117
Magiczne

Magiczne

    InsanelyMac Protégé

  • Members
  • Pip
  • 9 posts
  • Gender:Male
  • Interests:Guitar, Keyboard, Linux, Music realisation

Problems going on...

I successfully boot on that cd with meset, but if I type meset.exe/meset it just holds on that state, only the underscore blinks. Nothing is happening.



#1118
BlackSheep VS RustyNail

BlackSheep VS RustyNail

    InsanelyMac Sage

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

Problems going on...

I successfully boot on that cd with meset, but if I type meset.exe/meset it just holds on that state, only the underscore blinks. Nothing is happening.

ok, let's do it another way, dump the descriptor with

 

fpt -desc -d desc.bin

 

and upload.



#1119
Magiczne

Magiczne

    InsanelyMac Protégé

  • Members
  • Pip
  • 9 posts
  • Gender:Male
  • Interests:Guitar, Keyboard, Linux, Music realisation

I'm so problematic :D

 

Here it is:

Attached Files

  • Attached File  desc.zip   270bytes   2 downloads


#1120
CodeRush

CodeRush

    InsanelyMac Sage

  • Developers
  • 412 posts
  • Gender:Male
  • Location:Deggendorf, Germany

josepi09, correct MBSN: MT7014160801054
I forgot about trailing 0x00 for MBSN string.







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


4 user(s) are reading this topic

1 members, 3 guests, 0 anonymous users


© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   PHP hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy