CodeRush Posted June 13, 2013 Author Share Posted June 13, 2013 Thanks for report. Try disabling the patch, if kernel goes to panic - there is a new locking code somewhere. If not - ASUS made us a gift. 1 Link to comment Share on other sites More sharing options...
the_root Posted June 13, 2013 Share Posted June 13, 2013 Hi guys, I have many successful installations on socket 775 motherboards, but recently I'm happy owner of ASUS Z87-DELUXE, so I'm try to patch my BIOS (Z87-DELUXE-ASUS-1007) with PMPatch but it fails: ----------------------------------------------------------------------------------------------- PMPatch 0.5.12PowerManagement modules not found.AMI nest modules not found.Phoenix nest modules not found.CpuPei module at 00670E20 not patched: Patch pattern not found.CpuPei module at 00770E20 not patched: Patch pattern not found. ----------------------------------------------------------------------------------------------- What can be made, help me out pls. ? Link to comment Share on other sites More sharing options...
CodeRush Posted June 13, 2013 Author Share Posted June 13, 2013 Not implemented yet, sorry. Will do in 1-3 days, no time for programming now. Will make you a modified BIOS tomorrow. Link to comment Share on other sites More sharing options...
the_root Posted June 13, 2013 Share Posted June 13, 2013 Not implemented yet, sorry. Will do in 1-3 days, no time for programming now. Will make you a modified BIOS tomorrow. Amazing, thank you friend. Link to comment Share on other sites More sharing options...
CodeRush Posted June 14, 2013 Author Share Posted June 14, 2013 I don't know if 10.9 support Haswell power management with vanilla kexts (10.8 has no such support, AFAIK), but you can try and report. Here is your patched BIOS: Z87-DELUXE-ASUS-1007_PM.zip Flash it using USB BIOS Flashback. Link to comment Share on other sites More sharing options...
the_root Posted June 14, 2013 Share Posted June 14, 2013 I don't know if 10.9 support Haswell power management with vanilla kexts (10.8 has no such support, AFAIK), but you can try and report. Here is your patched BIOS: Z87-DELUXE-ASUS-1007_PM.zip Flash it using USB BIOS Flashback. Hi, i just successfully complete the BIOS flashing using the "USB BIOS Flashback" function ( USB thumb, and the button on the back site ). All other attempts was ending with "Security Verification Failed", and now I am able to see the boot screen from the Flash Thumb. Thank you again for the file. Now I'll try the Mavericks ... Link to comment Share on other sites More sharing options...
donovan6000 Posted June 15, 2013 Share Posted June 15, 2013 Created a blog a while ago where I've posted a few bios modding tutorials. Just finished one where I went over how I found and patched the native power management lock in my own bios. Might be worth reading to help others create patches that don't currently exists in PMPatch. You can check It out here 1 Link to comment Share on other sites More sharing options...
FriedCPU Posted June 18, 2013 Share Posted June 18, 2013 Hi,I am trying to modify the bios on my ASUS ROG CG8565, it supposedly has a P8Z68-V-PRO, but the bios differs and is locked down, no overclock settings for my i7-2600k apart from the Turbo up to 4.2Ghz so if you know how to get another P8Z68-V-PRO to flash without failing signature verification, that would be awesome.But anyway, I am trying to modify the actual CG8565 bios 3508 with PMPatch for use with OS X 10.9. PMPatch produces the following results... C:\>PMPatch.exe P8Z68-V-PRO-ASUS-CG8565-3508.ROM P8Z68-CG8565-3508-PMPATCH.ROM PMPatch 0.5.12 PowerManagement module at 00422288 patched. AMI nest modules not found. Phoenix nest modules not found. CpuPei module at 0079FD88 not patched: Patch pattern not found. CpuPei module at 007DFD88 not patched: Patch pattern not found. Output file generated.all good, it flashes fine. but I still get a kernel panic (see attachment) after I remove NullCPUPowerManagement thanks for your time on such a great tool, can see it works for alot of people... hope I become one of them Link to comment Share on other sites More sharing options...
CodeRush Posted June 18, 2013 Author Share Posted June 18, 2013 if you know how to get another P8Z68-V-PRO to flash without failing signature verification, that would be awesome.Yes, I know one. Check out the link to FTK guide in my signature. Prepare DOS-bootable FTK-drive as I described there, boot from it and try backup command. If it doesn't fail, send me the resulting file "backup.bin", and I can prepare an unlocked BIOS for you. Then flash it with flashprp command and that's it. Link to comment Share on other sites More sharing options...
magnifico Posted June 18, 2013 Share Posted June 18, 2013 Hi Code rush ....you're working on x79? Link to comment Share on other sites More sharing options...
CodeRush Posted June 18, 2013 Author Share Posted June 18, 2013 Yes, I have found the locking code in CpuPei module of ASUS Rampage IV Extreme latest BIOS, and prepared modified BIOS file for Rampage Dev, but it looks like there is no way to use AICPM.kext even with patched BIOS and 10.9 DP. The locking code itself can be found in CpuPei modules and it's similar to the code for old P67/Z68 BIOSes with ME 7: fffdf6ad: 81 fb e0 06 03 00 cmp $0x306e0,%ebx // Compare EBX with 0x0306E0 fffdf6b3: 75 0c jne 0xfffdf6c1 // If not equal, jump over 3 next lines fffdf6b5: 0d 00 80 00 18 or $0x18008000,%eax // Setting bits 26, 27 and 15 <-- lock bit fffdf6ba: eb 05 jmp 0xfffdf6c1 // Jump over the next line fffdf6bc: 0d 00 80 00 00 or $0x8000,%eax // Setting bit 15 <-- lock bit fffdf6c1: 6a ff push $0xffffffff // And mask 1 fffdf6c3: 6a f8 push $0xfffffff8 // And mask 2 fffdf6c5: 6a 00 push $0x0 // Or mask 1 fffdf6c7: 50 push %eax // Or mask 2 fffdf6c8: 56 push %esi // 0xE2 stored here fffdf6c9: e8 c1 0f 00 00 call 0xfffe068f // WRMSR inside The patch itself is 0d00800018eb050d00800000 -> 0d00000018eb050d00000000, but I brings nothing, so I haven't integrated it to PMPatch yet. Link to comment Share on other sites More sharing options...
magnifico Posted June 18, 2013 Share Posted June 18, 2013 Yes, I have found the locking code in CpuPei module of ASUS Rampage IV Extreme latest BIOS, and prepared modified BIOS file for Rampage Dev, but it looks like there is no way to use AICPM.kext even with patched BIOS and 10.9 DP. The locking code itself can be found in CpuPei modules and it's similar to the code for old P67/Z68 BIOSes with ME 7: fffdf6ad: 81 fb e0 06 03 00 cmp $0x306e0,%ebx // Compare EBX with 0x0306E0 fffdf6b3: 75 0c jne 0xfffdf6c1 // If not equal, jump over 3 next lines fffdf6b5: 0d 00 80 00 18 or $0x18008000,%eax // Setting bits 26, 27 and 15 <-- lock bit fffdf6ba: eb 05 jmp 0xfffdf6c1 // Jump over the next line fffdf6bc: 0d 00 80 00 00 or $0x8000,%eax // Setting bit 15 <-- lock bit fffdf6c1: 6a ff push $0xffffffff // And mask 1 fffdf6c3: 6a f8 push $0xfffffff8 // And mask 2 fffdf6c5: 6a 00 push $0x0 // Or mask 1 fffdf6c7: 50 push %eax // Or mask 2 fffdf6c8: 56 push %esi // 0xE2 stored here fffdf6c9: e8 c1 0f 00 00 call 0xfffe068f // WRMSR inside The patch itself is 0d00800018eb050d00800000 -> 0d00000018eb050d00000000, but I brings nothing, so I haven't integrated it to PMPatch yet. so this is a a problem serius for future ? Link to comment Share on other sites More sharing options...
CodeRush Posted June 18, 2013 Author Share Posted June 18, 2013 I can't predict the future, but for now on it's impossible to use native AICPM.kext on X79/C602 even with unlocked 0xE2. Link to comment Share on other sites More sharing options...
mickey Posted June 18, 2013 Share Posted June 18, 2013 This seems like the exact same issue I'm having on the z68-v lx... bios is patched but I still need a patched AICPM.kext to actually boot... I wonder if there's some new protection we're missing? Link to comment Share on other sites More sharing options...
CodeRush Posted June 18, 2013 Author Share Posted June 18, 2013 mickey, probably. Can you send me full MSRDumper report from your board? Link to comment Share on other sites More sharing options...
magnifico Posted June 18, 2013 Share Posted June 18, 2013 I can't predict the future, but for now on it's impossible to use native AICPM.kext on X79/C602 even with unlocked 0xE2. mhmm ... I am very confident about yourself, I hope so much that you can do something positive for the future Link to comment Share on other sites More sharing options...
mickey Posted June 18, 2013 Share Posted June 18, 2013 mickey, probably. Can you send me full MSRDumper report from your board? yes I will, later when I get home 1 Link to comment Share on other sites More sharing options...
>Federico< Posted June 19, 2013 Share Posted June 19, 2013 I've a big problem with my laptop (Fujitsu AH532 Phoenix Secure Tiano Uefi Bios), because to update the bios it uses .exe file: http://www.mediafire.com/?gkk1gpga348h2oz How can I patch my bios? Link to comment Share on other sites More sharing options...
k3nny Posted June 19, 2013 Share Posted June 19, 2013 I've a big problem with my laptop (Fujitsu AH532 Phoenix Secure Tiano Uefi Bios), because to update the bios it uses .exe file: http://www.mediafire.com/?gkk1gpga348h2oz How can I patch my bios? Just patch the exe file. 1 Link to comment Share on other sites More sharing options...
>Federico< Posted June 19, 2013 Share Posted June 19, 2013 I've patched the exe file but when I went to update the bios it gave me error 234 secure verification fail. Link to comment Share on other sites More sharing options...
CodeRush Posted June 19, 2013 Author Share Posted June 19, 2013 Then you need to dump your BIOS with FTK biosbck command, patch the dumped biosbck.bin file abd then flash it using restore command. Read the guide about FTK in my signature. Link to comment Share on other sites More sharing options...
misterfrista Posted June 19, 2013 Share Posted June 19, 2013 Hey! I´m trying to patch my Gigabyte GA-Q77M-D2H lately but without success! I did the following things: Microsoft Windows [Version 6.1.7601]Copyright © 2009 Microsoft Corporation. Alle Rechte vorbehalten.C:\Windows\system32>cd C:\Users\Gerrit\Desktop\Win64C:\Users\Gerrit\Desktop\Win64>fpt -bios -d dump.binIntel ® Flash Programming Tool. Version: 8.1.10.1286Copyright © 2007 - 2012, Intel Corporation. All rights reserved.Platform: Intel® Q77 Express ChipsetReading HSFSTS register... Flash Descriptor: Valid --- Flash Devices Found --- MX25L6405D ID:0xC22017 Size: 8192KB (65536Kb)- Reading Flash [0x800000] 3072KB of 3072KB - 100% complete.Writing flash contents to file "dump.bin"...Memory Dump CompleteFPT Operation PassedC:\Users\Gerrit\Desktop\Win64>fpt -iIntel ® Flash Programming Tool. Version: 8.1.10.1286Copyright © 2007 - 2012, Intel Corporation. All rights reserved.Platform: Intel® Q77 Express ChipsetReading HSFSTS register... Flash Descriptor: Valid --- Flash Devices Found --- MX25L6405D ID:0xC22017 Size: 8192KB (65536Kb) --- Flash Image Information -- Signature: VALID Number of Flash Components: 1 Component 1 - 8192KB (65536Kb) Regions: Descriptor - Base: 0x000000, Limit: 0x000FFF BIOS - Base: 0x500000, Limit: 0x7FFFFF ME - Base: 0x003000, Limit: 0x4FFFFF GbE - Base: 0x001000, Limit: 0x002FFF PDR - Not present Master Region Access: CPU/BIOS - ID: 0x0000, Read: 0xFF, Write: 0xFF ME - ID: 0x0000, Read: 0xFF, Write: 0xFF GbE - ID: 0x0118, Read: 0xFF, Write: 0xFFTotal Accessable SPI Memory: 8192KB, Total Installed SPI Memory : 8192KBFPT Operation PassedC:\Users\Gerrit\Desktop\Win64>PMPatch.exe dump.bin mod.binPMPatch 0.5.11PowerManagement modules not found.Trying to apply patch #1Nested PowerManagement module at 003A59C4 not patched: Patch pattern not found.AMI nest module at 00040048 not patched: PowerManagement modules not found in nested module.Phoenix nest modules not found.CpuPei module at 002B4A90 not patched: Patch pattern not found. Here is my bios-dump: https://dl.dropboxusercontent.com/u/26565887/dump.zip I hope you can help me! Thanks!! Link to comment Share on other sites More sharing options...
CodeRush Posted June 19, 2013 Author Share Posted June 19, 2013 Is the patch needed on this Gigabyte board at all? I think it's already unlocked. Link to comment Share on other sites More sharing options...
>Federico< Posted June 19, 2013 Share Posted June 19, 2013 Then you need to dump your BIOS with FTK biosbck command, patch the dumped biosbck.bin file abd then flash it using restore command. Read the guide about FTK in my signature. Thank you patched and restored I hope it works Link to comment Share on other sites More sharing options...
misterfrista Posted June 19, 2013 Share Posted June 19, 2013 Thats a good question I´ll look it up with MSRDumper and post it here, just if someone else searches for the same topic! //Edit: You are absolutely right, I removed the Nullcpu from my installerstick and it simply boots up ! 1 Link to comment Share on other sites More sharing options...
Recommended Posts