Jump to content

[UEFIPatch] UEFI patching utility

BIOS patch power management UEFI

  • Please log in to reply
1657 replies to this topic

#281
CodeRush

CodeRush

    InsanelyMac Sage

  • Developers
  • 403 posts
  • Gender:Male
  • Location:Deggendorf, Germany
This is interesting, maybe some other code locks the 0xE2 register on your board.
Can you make BIOS region dump with FTK?
Please download FTK for Windows, unpack and run biosbck.bat from Win32 or Win64 folder as Administrator.
Attach produced biosbck.bin file to your reply. Thanks in advance.

And for all users of ASUS Z77 and X79 board. It seems, that new BIOSes are protected from flashing with FTK!
Check out my topic on MDL for possible solutions, that we may work out.

#282
maxihouston

maxihouston

    InsanelyMac Protégé

  • Members
  • Pip
  • 21 posts
Hello, could you help me? i download AD_FTK_4.2.I & FTK_INT_4.2.1 but i don't know how to....
Thanks

Is this that you needed?Posted Image

http://www.mediafire...090x0k3pfj702br

#283
guiba2

guiba2

    InsanelyMac Protégé

  • Members
  • Pip
  • 9 posts
Hi there CodeRush, I am having some trouble with your utility, every time I try to run it from Terminal I end up receiving a segmentation fault error (11) What am I doing wrong?
I followed all the steps on your tutorial, my board is a Asrock Z77 Extreme4 and the UEFI version is 2.80.
Please Help

#284
CodeRush

CodeRush

    InsanelyMac Sage

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

Is this that you needed?

Yes, thanks. Will look at possible lock as soon as I will be near my developer PC.
UPD: this BIOS file has no additional locks on 0xE2 register, as far as I see.
Are you sure your kernel panics are related to AppleIntelCPUPowerManagement.kext? Can you try running OS X installer from DVD or USB-drive and see if it passes AICPM.kext loading?

Hi there CodeRush, I am having some trouble with your utility, every time I try to run it from Terminal I end up receiving a segmentation fault error (11) What am I doing wrong?
I followed all the steps on your tutorial, my board is a Asrock Z77 Extreme4 and the UEFI version is 2.80.
Please Help

Maybe you are using OS X 10.7 or previous? The compile a compatible version using XCode or use Windows one.
This is your patched file:Attached File  Z77EXT42.80.zip   4.28MB   27 downloads

#285
maxihouston

maxihouston

    InsanelyMac Protégé

  • Members
  • Pip
  • 21 posts
i don't see that charge AICPM.kext. Here is the video of the error, now is rebooting in
"Starting Darwin x86"


http://www.mediafire...5crj5u252g4er4y

Really thanks!

#286
CodeRush

CodeRush

    InsanelyMac Sage

  • Developers
  • 403 posts
  • Gender:Male
  • Location:Deggendorf, Germany
maxihouston, use normal bootloader without so much {censored} at startup. Clover is good enough.
I can't provide any support in your case, because I don't know a thing about Chimera. Ask someone on TMX86, they may know more.
This is definitely not AICPM.kext related problem and I can't help you here, sorry.

#287
maxihouston

maxihouston

    InsanelyMac Protégé

  • Members
  • Pip
  • 21 posts
Ok, really thanks again. i don't know what happen, i'm crazy!!

#288
guiba2

guiba2

    InsanelyMac Protégé

  • Members
  • Pip
  • 9 posts

Maybe you are using OS X 10.7 or previous? The compile a compatible version using XCode or use Windows one.
This is your patched file:Attached File  Z77EXT42.80.zip   4.28MB   27 downloads


OK, thank you very much I'll try the 10.7 version when the next bios update comes out.

#289
zirkaiva

zirkaiva

    InsanelyMac Protégé

  • Members
  • Pip
  • 1 posts
C:\>pmpatch P8P67-LE-ASUS-3702.rom P8P67-LE-ASUS-3702_patched.rom
PMPatch 0.5.11
PowerManagement module at 0032CCA8 patched.
AMI nest modules not found.
Phoenix nest modules not found.
CpuPei module at 003DA1F8 not patched: Patch pattern not found.
Output file generated.

#290
kill_mark

kill_mark

    InsanelyMac Protégé

  • Members
  • Pip
  • 9 posts
  • Gender:Male
hi, i'm using an Asrock Z77 OC Formula and 3770k, now I used PMPatch to patche my 2.00 bios and the output generated is attached.. my question is, the powermanagement module is not found, is this fine? thank youPosted Image

#291
CodeRush

CodeRush

    InsanelyMac Sage

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

powermanagement module is not found, is this fine?

Yes. If output file is generated, then one of possible modules to patch was found. In your case, it was PowerManagement module inside AMI nest module.
This is very polular question, so I'm adding a note about it to the first post.

#292
kill_mark

kill_mark

    InsanelyMac Protégé

  • Members
  • Pip
  • 9 posts
  • Gender:Male
thank you for the quick response.. :)

#293
bdv

bdv

    InsanelyMac Protégé

  • Donators
  • 65 posts
  • Gender:Male
  • Location:France, Near Bordeaux
  • Interests:Italian motorcycles riding and fixing, computers, cats, pre-print design.
For info, patched 1805 bios (latest) for Asus P8Z77-VPro.
I use BRenamer tool downloaded from Asus site to convert patched bios to CAP format and flash it using Asus Bios Flashback procedure.
No problem, boots and works fine under 10.8.3

#294
CodeRush

CodeRush

    InsanelyMac Sage

  • Developers
  • 403 posts
  • Gender:Male
  • Location:Deggendorf, Germany
Version 0.5.12 is out. No significant code changes, just some refactoring of compression code taken from EDK2.
This is the last non-bugfix release of PMPatch, all new patches will be implemented in UUBP project coming soon.
Compiled binary for Windows is ready, OS X binary will be added later.

#295
tonydickinson

tonydickinson

    InsanelyMac Geek

  • Donators
  • 190 posts
  • Gender:Male
  • Location:Singapore
Hi CodeRush

Thanks for an excellent application. You might be aware that Asus has just released BIOS 1908 for their Z77 motherboards.

As previosly PMPATCH appeared to mod the BIOS correctly for power management.

I am a Clover user which has developed considerably in the past months. It is using Apple's nvram to write aspects of the configuration like a real mac to NVRAM.

However with the 1908 BIOS, one can modify the nvram in OSX, but it is NOT saved on a reboot, whereas with the previous version 1805 it works fine.

I have tried the new bios with Clover in modded and unmodded form and it is the same, it does not save the NVRAM in OSX after a reboot.

Asus in their wisdom have made changes preventing the NVRAM saving in 1908. With you expertise in modding BIOS have you any ideas what would be needed to make the changes to the 1908 bios so that it worked with a hackintosh booted with Clover.

Any thoughts or info would be appreciated.

#296
CodeRush

CodeRush

    InsanelyMac Sage

  • Developers
  • 403 posts
  • Gender:Male
  • Location:Deggendorf, Germany
I hope it's a bug in new BIOS versions. ASUS made changes to NVRAM-related modules because of old BIOS bug called "stuck turbo-multipliers", and they even introduced new NvramSmi.ffs EFI driver to make the work with NVRAM less buggy on their boards. Another part of this modification is a new protection of BIOS region introduced it the same 19xx versions, so now only USB BIOS Flashback and ASUS tools can write anything to BIOS region of the chip. This protection makes FTK/FPT/DPCIManager/flashrom unusable for BIOS flashing.
I don't have access to ASUS Z77 board, so I can't do anything about it now. The primary goal is to remove the write-protection, but I'll be aware of this NVRAM bug and will try to correct it, but only if I will have a board for testing.
Some other people from overclockers.ru are trying to remove protection now, but there is no success for now on.
In your case - use UBF to flash your modified 18xx back and stay there untill the bug will be corrected.

#297
tonydickinson

tonydickinson

    InsanelyMac Geek

  • Donators
  • 190 posts
  • Gender:Male
  • Location:Singapore
Thanks CodeRush - much appreciated. In days when home built PCs are becoming fewer and fewer as locally in Singapore a tech hot spot in the region dealers are lucky to sell 1/3 of the motherborads they did five years ago, It is really quite serious as laptops/tablets take over.

I really cannot understand why Asus are doing this as I am sure many sales are for either Gamers of hackintoshers. Gigabyte have not done this so far but who knows. Asus was always my preferred brand for reliability but why I have no idea they want to make it more difficult for customers who will look elsewhere. It cannot be considered a smart marketing tool in a failing economy where demand is falling rapidly. Strange as they will be the loosers. I have tried to talk to Asus here previously but they won't even consider looking at problems on unsupported platforms. I would hope that their motherboard firmware is not as ropy as that they produce for their routers, which is {censored} and open to others like DDRwt to make them work.

Thanks for your help and advice - much appreciated.

#298
tonydickinson

tonydickinson

    InsanelyMac Geek

  • Donators
  • 190 posts
  • Gender:Male
  • Location:Singapore
Hi CodeRush

Re Asus 19XX BIOS I have raised an error report with Asus regarding the issue. Hopefully it will be a bug and they will agree to fix it.

#299
vladichimescu

vladichimescu

    InsanelyMac Protégé

  • Members
  • Pip
  • 10 posts
  • Gender:Male
Lenovo Y500 UEFI based on InsydeH2O patched succesfully
[but still unable to boot installer because of black screen, then colling goes maximum speed for like 20sec, then shutdown -tried everything, DSDT, fixes, bootloader commands, vanilla files, hacked distros.. nothing, so waiting for a bootloader fix]

#300
mickey

mickey

    InsanelyMac Protégé

  • Members
  • Pip
  • 9 posts
Hello CodeRush,
I've been trying to get vanilla pm to work on my 10.8.2 installation to no avail.
I've used pre-modded on my Asus P8Z68-v lx bios found on the bios repo, I've used pmpatch to generate my own patched bios. the process did output a file and all seems to go rather well. I've used regular asus tools to flash the bios, it seems to hv flashed ok, both from the msg at the end of the flashing process and also from the info present at the uefi screen.

After all that I still need to use patched kext files to be able to boot into osx, thinking the flash process had somehow failed, despite all the success messages I tried flashing the bios once more using FTK, I followed your guide and the thing is, I still need nullcpupowermanagemnt.kext in order to avoid a aicpm.kext kp...

Any idea what could be causing this or how I could troubleshoot what's wrong?

Thx for the hard work btw, ur doing a very helpfull and usefull tool, and u still manage to provide great support for it...





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


11 user(s) are reading this topic

1 members, 10 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