mathew2005in Posted July 17, 2016 Share Posted July 17, 2016 Hi When I trying to inject DSDT to Z97-A bios using OZMTool I am getting these errors: ERROR: AmiBoardInfo contains '.ROM' section => unpatchable atm! ERROR: Failed to patch AmiBoardInfo with new DSDT! ! Program exited with errors ! I have first extracted DSDT using OZMTool then modified it and try to inject but no success. the weird thing is even if try to inject unmodified DSDT still I am getting these errors.. Please help.. Thanks Link to comment Share on other sites More sharing options...
FredWst Posted July 17, 2016 Share Posted July 17, 2016 Hi, Currently we don't know include a new DSDT with ROM section inside BIOS. I've made many check but don't find the way. Fred Link to comment Share on other sites More sharing options...
mathew2005in Posted July 17, 2016 Share Posted July 17, 2016 But I have extracted DSDT from gigabyte motherboard using OZMTool then modified it and injected back and is working fine...but why isn't working with this motherboard BIOS is confusing...also I am not injecting new DSDT it is the same one extracted from the Bios, modified it and injecting back like I did for Gigabyte motherboard...thats it.. Sorry this is the actual error: * Injecting DSDT into AmiBoardInfo... ERROR: AmiBoardInfo contains '.ROM' section => unpatchable atm! ERROR: Failed to patch DSDT into AmiBoardInfo! ERROR: Injecting DSDT failed! ! Program exited with errors ! Thanks Link to comment Share on other sites More sharing options...
FredWst Posted July 17, 2016 Share Posted July 17, 2016 ERROR: AmiBoardInfo contains '.ROM' section => unpatchable atm! ERROR: Failed to patch AmiBoardInfo with new DSDT! ! Program exited with errors ! It says ERROR and unpatchable at the moment. Dsdt2Bios or OZMTool check if there is a section called .ROM in PE32 AmiBoardInfo. In this case and even with the same DSDT we don't allow to integrate. I think it could be possible using old trick and keep the same size of DSDT. Like that we don't need to change jump in code include in AmiBoardInfo, may be should work. What's your motherboard ? Fred Link to comment Share on other sites More sharing options...
mathew2005in Posted July 17, 2016 Share Posted July 17, 2016 it is Asus Z97-A what I want is just need to inject layout id 1 thats it and I have changed it and try to inject no success..... Fred Can you please explain how can I do it manually?? Link to comment Share on other sites More sharing options...
FredWst Posted July 17, 2016 Share Posted July 17, 2016 Can you put a link to your DSDT. Fred Link to comment Share on other sites More sharing options...
mathew2005in Posted July 17, 2016 Share Posted July 17, 2016 Here it is: https://www.dropbox.com/s/5x4327tsgplgsdk/DSDT.aml?dl=0 Link to comment Share on other sites More sharing options...
FredWst Posted July 17, 2016 Share Posted July 17, 2016 You just need to put DSDT.aml in EFI/Oz/Acpi/Load Fred Link to comment Share on other sites More sharing options...
mathew2005in Posted July 17, 2016 Share Posted July 17, 2016 Hi Fred, Yes it will work but my question is why isn't working for Asus BIOS and is ok with Gigabyte both are ami uefi bios?? Link to comment Share on other sites More sharing options...
FredWst Posted July 17, 2016 Share Posted July 17, 2016 Very simple, just because your bios has .rom section and we don't know how to patch. Fred Link to comment Share on other sites More sharing options...
mathew2005in Posted July 17, 2016 Share Posted July 17, 2016 Oh ok may be a stupid question...can I do it manually if so can you give me a brief method...please Thank you, Link to comment Share on other sites More sharing options...
FredWst Posted July 17, 2016 Share Posted July 17, 2016 Like i said some post below. I think should work, if we can keep same DSDT size. It can be done manually. (It was like this we updated bios DSDT 2 or 3 years ago) But not tested with bios which .rom section. I don't want to brick your MB except if u're able to recover bios with some recovery method. Fred Link to comment Share on other sites More sharing options...
mathew2005in Posted July 17, 2016 Share Posted July 17, 2016 Hi Fred, No issues I have EEPROM flasher with me so if anything goes wrong I can pull of the chip and flash it manually...also what about SSDT edit?? according to the instruction on fist page I can't find SSDT raw section for this Bios ! Link to comment Share on other sites More sharing options...
FredWst Posted July 17, 2016 Share Posted July 17, 2016 in GUID 8C8CE578-8A3D-4F1C-9935-896185C32DD3 the third beginning from the end. C38FB0E2-0C43-49C9-B544-9B17AA4DCBA3 ssdt cpu 22046D50-F390-498C-92E5-5BA4F8E7F8B6 Sata AAA99A23-13B6-4C31-BB8B-299E8EC04FA4 GFX0,PEG,etc. Fred 1 Link to comment Share on other sites More sharing options...
mathew2005in Posted July 17, 2016 Share Posted July 17, 2016 Thank you One more question..is there a way to inject layout id through SSDT ?? Link to comment Share on other sites More sharing options...
FredWst Posted July 17, 2016 Share Posted July 17, 2016 Yes possible. declare as external HDEF in one ssdt of you choice in your bios. and add code _DSM just like you do it in your DSDT. you'll find probably exemple here : https://github.com/toleda/audio_ALCInjection Fred 1 Link to comment Share on other sites More sharing options...
mathew2005in Posted July 17, 2016 Share Posted July 17, 2016 OK great Then how do I add this back to my Bios?? Link to comment Share on other sites More sharing options...
FredWst Posted July 17, 2016 Share Posted July 17, 2016 take a look on first page it explains how do that. http://www.insanelymac.com/forum/topic/291655-ozmosis/page-1 Fred Link to comment Share on other sites More sharing options...
mathew2005in Posted July 17, 2016 Share Posted July 17, 2016 HI Fred I gone through it but a confusion here as the extracted SSDT is for CPU speed so I am confused that where it should be add this SSDT for layout injection... Sorry for the pain..as I am not much familiar with these tables... Link to comment Share on other sites More sharing options...
FredWst Posted July 17, 2016 Share Posted July 17, 2016 I did it for you. in GUID 22046D50-F390-498C-92E5-5BA4F8E7F8B6 replace body first raw section with this one https://www.dropbox.com/s/zcgbwbwnqts83ly/220-1.aml.zip?dl=0 DefinitionBlock ("iASLpVpVYa.aml", "SSDT", 1, "SataRe", "SataTabl", 0x00001000) { External (_SB_.PCI0.HDEF, DeviceObj) External (_SB_.PCI0.SAT0, DeviceObj) External (DSSP, UnknownObj) External (FHPP, UnknownObj) Scope (\) { Name (STFE, Buffer (0x07) { 0x10, 0x06, 0x00, 0x00, 0x00, 0x00, 0xEF /* ....... */ }) Name (STFD, Buffer (0x07) { 0x90, 0x06, 0x00, 0x00, 0x00, 0x00, 0xEF /* ....... */ }) Name (FZTF, Buffer (0x07) { 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xF5 /* ....... */ }) Name (DCFL, Buffer (0x07) { 0xC1, 0x00, 0x00, 0x00, 0x00, 0x00, 0xB1 /* ....... */ }) Name (SCBF, Buffer (0x15) {}) Name (CMDC, Zero) Method (GTFB, 2, Serialized) { Multiply (CMDC, 0x38, Local0) CreateField (SCBF, Local0, 0x38, CMDX) Multiply (CMDC, 0x07, Local0) CreateByteField (SCBF, Add (Local0, One), A001) Store (Arg0, CMDX) /* \GTFB.CMDX */ Store (Arg1, A001) /* \GTFB.A001 */ Increment (CMDC) } } Scope (\_SB.PCI0.HDEF) { Method (_DSM, 4, NotSerialized) // _DSM: Device-Specific Method { If (LEqual (Arg2, Zero)) { Return (Buffer (One) { 0x03 /* . */ }) } Return (Package (0x04) { "layout-id", Buffer (0x04) { 0x01, 0x00, 0x00, 0x00 /* .... */ }, "PinConfigurations", Buffer (Zero) {} }) } } Scope (\_SB.PCI0.SAT0) { Link to comment Share on other sites More sharing options...
mathew2005in Posted July 17, 2016 Share Posted July 17, 2016 HI Fred, Thank you very much and will test it out and let you know.... Thank you once again, Link to comment Share on other sites More sharing options...
cecekpawon Posted July 20, 2016 Share Posted July 20, 2016 Got your sound now @mathew2005in? ** Oz patched ver boots fine here with 10.12 dp3 16A254g Link to comment Share on other sites More sharing options...
mathew2005in Posted July 20, 2016 Share Posted July 20, 2016 @cecekpawon I had several issues with Z97-A motherboard which I am using first time...I have try to flash modified ROM but no success so did with EEP programmer. now I am able to boot but stuck at Apple logo!! can't boot into Verbose mode or safe mode..no idea what may be the issue?? Link to comment Share on other sites More sharing options...
cecekpawon Posted July 20, 2016 Share Posted July 20, 2016 Uhm @mathew2005in maybe failed to load smcemulator? Link to comment Share on other sites More sharing options...
mhaeuser Posted July 20, 2016 Share Posted July 20, 2016 No, this sounds like an AptioFix issue... try loading AptioFix2 (from Clover installer or self-compiled) and boot boot.efi with "-norelocate" boot-arg. Link to comment Share on other sites More sharing options...
Recommended Posts