thegmanosx Posted June 3, 2014 Share Posted June 3, 2014 ok thanks i will see how i go Link to comment Share on other sites More sharing options...
Aigors Posted June 3, 2014 Share Posted June 3, 2014 Check release note of bios Link to comment Share on other sites More sharing options...
cruzin_cruzing Posted June 4, 2014 Share Posted June 4, 2014 How do I run the patch on the bios file if PMPatch says the files too big after compression? EDIT: I pulled my bios using afudos, ran the patch on that file, and it's still saying that the file is too big after compression. I thought it would be different if I did it this way but I got the same result. PowerManagement modules not found. PowerMgmtDxe/PowerManagement2.efi modules not found. Trying to apply patch #1 Nested PowerMgmtDxe/PowerManagement2.efi module at 001D0224 patched. Patched module too big after compression. Trying to apply patch #2 Nested PowerMgmtDxe/PowerManagement2.efi module at 001D0224 patched. Patched module too big after compression. Trying to apply patch #3 Nested PowerMgmtDxe/PowerManagement2.efi module at 001D0224 patched. Patched module too big after compression. Trying to apply patch #4 Nested PowerMgmtDxe/PowerManagement2.efi module at 001D0224 patched. Patched module too big after compression. Trying to apply patch #5 Nested PowerMgmtDxe/PowerManagement2.efi module at 001D0224 patched. Patched module too big after compression. AMI nest module at 00080048 not patched: Repacked module can't be inserted. Phoenix nest modules not found. CpuPei module at 005AD200 not patched: Patch pattern not found. I've attached the file I pulled using afudos below. Please, help? MYBOOT.zip Link to comment Share on other sites More sharing options...
Colask8 Posted June 5, 2014 Share Posted June 5, 2014 Guys, where do i get my bios file to patch? Do i download it from MSI website? Trying to install Mac on MSI H87-G43. Link to comment Share on other sites More sharing options...
TimeWalker75a Posted June 6, 2014 Share Posted June 6, 2014 Continuing the story started HEREI've stumbled upon a similar procedure related to bit setting at LPC interface bridge BIOS_CNTL register (see intel chipset spec) on boards which implement nvram write protection. Namely, the board under exam was GA-Z77X-UD5H. The module has GUID of 7B8DB049-C7C7-4D3B-809F-926DEE47CCA2 (SBSMI - Southbridge SMI ?). Since the address of BIOS_CNTL was first mentioned by CodeRush in the aforementioned post, this code snippet looks to be very closely related to the SMI handler which implies the lock we are so desperately trying to get rid of: 00000001800008fe E8410C0000 call 0x180001544 0000000180000903 41B9DC000000 mov r9d, 0xdc 0000000180000909 4533C0 xor r8d, r8d 000000018000090c 24FE and al, 0xfe 000000018000090e B21F mov dl, 0x1f 0000000180000910 33C9 xor ecx, ecx 0000000180000912 88442420 mov byte [ss:rsp+0x20], al 0000000180000916 E8CD0D0000 call 0x1800016e8 The crucial byte here with the analogy to aforementioned research is 0xfe (NOT 0x01), which has to be inverted, hence changed to 0xff. I have no way to personally test this myself as my board doesn't incorporate the lock (yet, lol). This will remove all BIOS region related write restrictions, meaning it would allow to reprogram on ASUS boards. If this fails in regards to nvram lock, there's a good chance that deleting the NvramSmi module completely from the firmware image will lift all the write-related restrictions. 2 Link to comment Share on other sites More sharing options...
CodeRush Posted June 6, 2014 Author Share Posted June 6, 2014 I must also add that SMM_BWP bit of BIOS_CNTL register must also be set to 0 for the metod above to work properly, as I have previously described, other way the system will hang up after the first try to write something in the SPI chip, but all other things including possible solution of good old NVRAM problem appears to be correct. I can't test it myself because of lack of locked hardware, but you have one - you are wellcome. Link to comment Share on other sites More sharing options...
Aigors Posted June 12, 2014 Share Posted June 12, 2014 Hi, i have a little problem, i'm playing with a laptop asus p551c i would like pmpatch bios, but it seem that i cant flash it with internal software, the software included in bios, someone knows some way to flash avoiding desoldering bios chip? Many thanks Link to comment Share on other sites More sharing options...
ranza Posted June 13, 2014 Share Posted June 13, 2014 @ CodeRush I need help to patch the bios of my motherboard MSI X79A-GD45 (8d) Question how can I check if I locked MSR 0xE2 Thanks 7760vC6.zip Link to comment Share on other sites More sharing options...
tuxuser Posted June 13, 2014 Share Posted June 13, 2014 Are there news regarding Disabling the NVRam protection by any chance? Link to comment Share on other sites More sharing options...
cruzin_cruzing Posted June 13, 2014 Share Posted June 13, 2014 Hi, i have a little problem, i'm playing with a laptop asus p551c i would like pmpatch bios, but it seem that i cant flash it with internal software, the software included in bios, someone knows some way to flash avoiding desoldering bios chip? Many thanks If your Asus laptop is like mine, you have to use afudos to pull a BIOS backup, patch the backup, and then use the afudos /gan method to flash it as mentioned somewhere in this thread. Unfortunately, this is not working for me as PMPatch is saying that the resulting file after patching is too large after compression. I've heard of others with the same laptop who have used this method with success, however. Link to comment Share on other sites More sharing options...
The Jamice Posted June 15, 2014 Share Posted June 15, 2014 I have a MSI GE70 2PE 012US laptop. I got a modded bios and disabled the MSR X02 or what ever it is called. I have mavericks installed on my laptop. But I get a lot of error when I try to compile a dsdt file is it because of my bios or after market hardware like ssd, upgraded memory, upgraded wifi card, if so what can I do about it. I system is awesome but my hdmi port doesn't work, audio ports don't work but I can load kext files, ethernet port doesn't work and won't see kext files, camera doesn't work or see kext files, screen brightness doesn't work so my battery is draining like crazy but, mostly everything else works. I even have full graphics acceleration. I just want to be able to compile a dsdt file without 70 errors. Link to comment Share on other sites More sharing options...
Gringo Vermelho Posted June 15, 2014 Share Posted June 15, 2014 Your post is off topic. We have a whole section here dedicated to DSDT, please post there instead. Link to comment Share on other sites More sharing options...
AlexKms Posted June 15, 2014 Share Posted June 15, 2014 Hi ! I have asrock z87 exreme4 mb with 2.70 bios version. And i can't get output file when run PMPatch. C:\bios>AFUWINx64 bios.bin /o+---------------------------------------------------------------------------+| AMI Firmware Update Utility v3.05.04 || Copyright ©2013 American Megatrends Inc. All Rights Reserved. |+---------------------------------------------------------------------------+Saving current BIOS into file: bios.binReading flash ............... doneC:\bios>PMPatch bios.bin c:\bios\pmbios.binPMPatch 0.5.14PowerManagement modules not found.PowerMgmtDxe/PowerManagement2.efi modules not found.Trying to apply patch #1Nested PowerMgmtDxe/PowerManagement2.efi module at 001DB704 not patched: Patch pattern not found.AMI nest module at 000571C0 not patched: PowerManagement modules not found in nested module.Phoenix nest modules not found.CpuPei module at 00560200 not patched: Patch pattern not found.C:\bios> Update: Solved! Downgrade to 2.60 version which able to patch. Thanks CodeRush Link to comment Share on other sites More sharing options...
tuxuser Posted June 16, 2014 Share Posted June 16, 2014 Some news regarding the nvram "so called" write protection: Not sure if its valid for all mentioned BIOSes http://www.insanelymac.com/forum/topic/291655-ozmosis/?p=2030922 1 Link to comment Share on other sites More sharing options...
CodeRush Posted June 16, 2014 Author Share Posted June 16, 2014 Thanks. I knew it's an OSX issue, but it will not be corrected until Apple implements UEFI 2.3.1C requirement level (i.e. SecureBoot tech support). You can also use UEFI shell to read and write runtime variables, it's easier then using Linux and special software. Link to comment Share on other sites More sharing options...
cruzin_cruzing Posted June 16, 2014 Share Posted June 16, 2014 So I manually patched using UEFITool, no compression errors. 1 Link to comment Share on other sites More sharing options...
ranza Posted June 17, 2014 Share Posted June 17, 2014 Hello CodeRush could you help me post 1485 Thanks Link to comment Share on other sites More sharing options...
CodeRush Posted June 17, 2014 Author Share Posted June 17, 2014 Patch tour BIOS manually, link to the guide is in my signature. Link to comment Share on other sites More sharing options...
ranza Posted June 17, 2014 Share Posted June 17, 2014 Patch tour BIOS manually, link to the guide is in my signature.Thank you for your replycan I ask what your signature Wonder too if you can show it to you, I am a beginner Link to comment Share on other sites More sharing options...
CodeRush Posted June 17, 2014 Author Share Posted June 17, 2014 Here is the link. Link to comment Share on other sites More sharing options...
ranza Posted June 17, 2014 Share Posted June 17, 2014 Here is the link.Can I ask you if you can show you this.Thank you Question how can I check if I locked MSR 0xE2 Link to comment Share on other sites More sharing options...
ranza Posted June 17, 2014 Share Posted June 17, 2014 I tried to use UEFI tool but when I open it I get this error. advice Thanks Link to comment Share on other sites More sharing options...
CodeRush Posted June 17, 2014 Author Share Posted June 17, 2014 This is not a BIOS file, this is install package. Link to comment Share on other sites More sharing options...
oSxFr33k Posted June 18, 2014 Share Posted June 18, 2014 Hello coderush, I am trying to patch an Asus G750JX Laptop. C:\Users\osxfr33k\Desktop\G750JX>PMPatch_0.5.14 C:\Users\osxfr33k\Desktop\G7 \G750JXAS208\G750JXAS.208 C:\Users\osxfr33k\Desktop\G750JX\208_P\ PMPatch 0.5.14 PowerManagement modules not found. PowerMgmtDxe/PowerManagement2.efi modules not found. Trying to apply patch #1 Nested PowerMgmtDxe/PowerManagement2.efi module at 001D0224 patched. Patched module too big after compression. Trying to apply patch #2 Nested PowerMgmtDxe/PowerManagement2.efi module at 001D0224 patched. Patched module too big after compression. Trying to apply patch #3 Nested PowerMgmtDxe/PowerManagement2.efi module at 001D0224 patched. Patched module too big after compression. Trying to apply patch #4 Nested PowerMgmtDxe/PowerManagement2.efi module at 001D0224 patched. Patched module too big after compression. Trying to apply patch #5 Nested PowerMgmtDxe/PowerManagement2.efi module at 001D0224 patched. Patched module too big after compression. AMI nest module at 00080848 not patched: Repacked module can't be inserted. Phoenix nest modules not found. CpuPei module at 005ADA00 not patched: Patch pattern not found. C:\Users\osxfr33k\Desktop\G750JX> I want to patch both the 208 and 209 bios. both Bios attached. Thanks EDITED A FEW MINUTES LATER: I used your EFItool its great and followed your directions and was able to patch 208 but wondering if you can patch 209 so I can compare and make sure I did it correctly. What do you mean press RMB? I see P32+ image do I right click on that one and extract body or press the keys simultaneously RMB? I don't see a button RMB and when I press RMB together I end up on a file starting name B. Thanks G750JXAS208.zip G750JXAS209.zip Link to comment Share on other sites More sharing options...
ranza Posted June 18, 2014 Share Posted June 18, 2014 This is not a BIOS file, this is install package.Exact but from msi site as I find the bios image.How to extract the bios from the image. Link to comment Share on other sites More sharing options...
Recommended Posts