Jump to content

Ozmosis


xpamamadeus
6,231 posts in this topic

Recommended Posts

 

Ok you now have VoodooHDA in your ROM.

attachicon.gifZ77DS3H.11a_CRU_OZM1479_VHD.rom.zip

|185|PartitionDxe   |1FA1F39E-FEFF-4AAE-BD7B-38A070A3B609|00818313|0018CC|DRVR|
|186|HfsPlus        |4CF484CD-135F-4FDC-BAFB-1AA104B48D36|00819BDF|00379C|DRVR|
|187|EnhancedFat    |961578FE-B6B7-44C3-AF35-6BC705CD2B1F|0081D37B|003451|DRVR|
|188|OzmosisDefaults|99F2839C-57C3-411E-ABC3-ADE5267D960D|008207CC|0007B0|DRVR|
|189|Ozmosis        |AAE65279-0761-41D1-BA13-4A3C1383603F|00820F7C|030B56|DRVR|
|190|OzmosisBlackThe|AC255206-DCF9-4837-8353-72BBBC0AC849|00851AD2|02F692|FRFM|
|191|SmcEmulatorKext|DADE1001-1B31-4FE4-8557-26FCEFC78275|00881164|0133A3|FRFM|
|192|DisablerKext   |DADE1002-1B31-4FE4-8557-26FCEFC78275|00894507|00323B|FRFM|
|193|InjectorKext   |DADE1003-1B31-4FE4-8557-26FCEFC78275|00897742|00023F|FRFM|
|194|CpuSensorsKext |DADE1006-1B31-4FE4-8557-26FCEFC78275|00897981|0078D7|FRFM|
|195|LpcSensorsKext |DADE1007-1B31-4FE4-8557-26FCEFC78275|0089F258|00EC10|FRFM|
|196|GpuSensorsKext |DADE1008-1B31-4FE4-8557-26FCEFC78275|008ADE68|01A285|FRFM|
|197|VoodooHdaKext  |DADE1009-1B31-4FE4-8557-26FCEFC78275|008C80ED|027367|FRFM|

In general i understand and can add kext in rom, or make small changes, this is no problem for me.  I want ask: what mean InjectorKext?

Link to comment
Share on other sites

Reset NVRAM like this 

Win keyboard

ALT+START+P+R press on one second after PC restart alone after Gigabyte logo you have Hermitselllabs logo after Hermitsellabs logo you press F12 and use your OS X partition. Ok you use terminal and type this:

sudo nvram 4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102:test=OK

Restart PC again press F12 and use OS X again going on terminal and test NVRAM like this:

nvram 4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102:test

NVRAM work OK in this results

4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102:test OK

NVRAM does not ok write like this

nvram: Error getting variable - '4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102:test': (iokit/common) data was not found

In general i understand and can add kext in rom, or make small changes, this is no problem for me.  I want ask: what mean InjectorKext?

I mean for IntelHD graphics:::

  • Like 1
Link to comment
Share on other sites

gena$ nvram 4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102:test
4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102:test	OK

Good

 

Sorry but else one question: How Inject patching DSDT.aml into rom, if you can to show exemple.

Link to comment
Share on other sites

gena$ nvram 4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102:test
4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102:test	OK

Good

 

Sorry but else one question: How Inject patching DSDT.aml into rom, if you can to show exemple.

 

Via OZMTool or DSDT2bios app

 

  • Like 1
Link to comment
Share on other sites

gena$ nvram 4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102:test
4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102:test	OK

Good

 

Sorry but else one question: How Inject patching DSDT.aml into rom, if you can to show exemple.

 

 

If you do that better make sure the changes made in it are compatible with windows to use it for booting that OS. If not you are going to lose the device(s) changed or perhaps not even boot it.

  • Like 1
Link to comment
Share on other sites

Was looking at the Osmosis Readme on Github and they added:

 

UPDATED Intel RSTe SATA ROM and UEFI driver to V13.1.0.2030

 

I wonder why they updated the rst roms? You cant use it in osx. For multibooters?

Link to comment
Share on other sites

I know about this utility, but I have not  big experience. Picture in this topic is crash. That ask you more details. Thanks

You must first extract DSDT from bios rom file with OZMTool after patching your DSDT and later drag and drop DSDT and Amivoardinfo.bin on DSDT2bios.

Second open terminal and write

cd drag and drop OZMTool

press Enter

Later write this:

./OZMTool --ozmcreate -f drag and drop your ffs files -d drag and drop you DSDT.aml -i you bios file -o your bios file rom and add name
  • Like 1
Link to comment
Share on other sites

 

You must first extract DSDT from bios rom file with OZMTool after patching your DSDT and later drag and drop DSDT and Amivoardinfo.bin on DSDT2bios.

Second open terminal and write

cd drag and drop OZMTool

press Enter

Later write this:

./OZMTool --ozmcreate -f drag and drop your ffs files -d drag and drop you DSDT.aml -i you bios file -o your bios file rom and add name

 

 

you bios file

This is AmiBoardinfo ? Dsdt2bios what it do? After drag and drop my patched dsdt in this utility on my desktop create two original DSDT and AmiBordinfo. DSDT-Original clear from any patch.

 

Else: For example if I want include in bios only patched dsdt, can I use command ./OZMTool --dsdtinject ... ???

Link to comment
Share on other sites

Ok! For example if I want include in bios only patched dsdt, can I use command ./OZMTool --dsdtinject ... ???

 

Yes you use like this

 

 

 

 

./OZMTool --dsdtinject - i your bios rom -d your DSDT.aml file -o your bios outpu file rom
  • Like 1
Link to comment
Share on other sites

Good to be update topic with live link and pictures. 


iMac-Gennadiy:OZMTool_v0-3-OSX gena$ ./OZMTool --dsdtinject -i /Users/gena/Desktop/OP2/F11a\ testing/Z77DS3H.11a -d /Users/gena/Desktop/OP2/223/DSDT.aml -o /Users/gena/Desktop/OP2/223 
OZMTool - v0.3
Patching BIOS with supplied DSDT...
* Dumped AmiBoardInfo from BIOS...
* Injecting DSDT into AmiBoardInfo...
 * Patching header...
	SizeOfInitialzedData: A2A0 --> A840
	SizeOfImage: AB20 --> B0C0
 * Patching directory entries...
 - DataDirectory 05:
	VirtualAddress: AB00 --> B0A0
 * Patching sections...
 - Section: .text
	Nothing to do here...
 - Section: .rdata
	Nothing to do here...
 - Section: .data
	PhysicalAddress: A19E --> A73E
	SizeOfRawData: A1A0 --> A740
 - Section: .empty
	VirtualAddress: AAE0 --> B080
	PointerToRawData: AAE0 --> B080
 - Section: .reloc
	VirtualAddress: AB00 --> B0A0
	PointerToRawData: AB00 --> B0A0
 * Patching actual relocations...
 - Relocation Table 0:
	Nothing to do here - VirtualAddress < DSDTOffset (0 < 9D0)
 - Relocation Table 1:
 - VirtualAddress: A000 --> A000
 - Relocation: 0
	Offset: 9B8 --> F58
 - Relocation: 1
	Offset: A20 --> FC0
 - Relocation: 2
	Offset: A28 --> FC8
 * Patching addresses in code
offset: 0000006C: MOV RAX, [RIP+0xa770] [a770] --> [ad10]
offset: 000000A1: LEA R9, [RIP+0xa723] [a723] --> [acc3]
offset: 000000A8: LEA R8, [RIP+0xa714] [a714] --> [acb4]
offset: 000000AF: LEA RDX, [RIP+0xa185] [a185] --> [a725]
offset: 000000CC: MOV RDX, [RIP+0xa6f8] [a6f8] --> [ac98]
offset: 000000D3: MOV RCX, [RIP+0xa6e9] [a6e9] --> [ac89]
offset: 000000F8: MOV RDX, [RIP+0xa6cc] [a6cc] --> [ac6c]
offset: 0000011D: MOV RCX, [RIP+0xa69f] [a69f] --> [ac3f]
offset: 00000193: MOV RCX, [RIP+0xa629] [a629] --> [abc9]
offset: 000001A7: MOV RDX, [RIP+0xa61d] [a61d] --> [abbd]
offset: 0000021C: MOV RCX, [RIP+0xa5a0] [a5a0] --> [ab40]
offset: 0000022A: MOV RDX, [RIP+0xa59a] [a59a] --> [ab3a]
offset: 0000026B: LEA RCX, [RIP+0xa561] [a561] --> [ab01]
offset: 00000279: MOV RAX, [RIP+0xa563] [a563] --> [ab03]
offset: 00000297: CMP QWORD [RIP+0xa53c], 0x0 [a53c] --> [aadc]
offset: 000002A1: MOV [RIP+0xa533], RDX [a533] --> [aad3]
offset: 000002AC: MOV [RIP+0xa530], RAX [a530] --> [aad0]
offset: 000002B7: MOV [RIP+0xa535], RCX [a535] --> [aad5]
offset: 000002BE: MOV [RIP+0xa526], RAX [a526] --> [aac6]
offset: 000002EB: MOV RAX, [RIP+0xa4f1] [a4f1] --> [aa91]
offset: 000002F5: LEA RDX, [RIP+0xa4b7] [a4b7] --> [aa57]
offset: 00000320: MOV RAX, [RIP+0xa4bc] [a4bc] --> [aa5c]
offset: 00000330: LEA RDX, [RIP+0x9f14] [9f14] --> [a4b4]
offset: 000003B2: MOV RAX, [RIP+0xa42a] [a42a] --> [a9ca]
Patched 24 instructions
* Injected new DSDT into AmiBoardInfo
* Replaced AmiBoardInfo in BIOS with patched one
* Reconstructing the BIOS image...
* Writing patched BIOS to '/Users/gena/Desktop/OP2/223'...
Warning: File already exists! Overwriting it...
ERROR: Writing patched BIOS to '/Users/gena/Desktop/OP2/223' failed!
! Program exited with errors !

Status code: 5

I have this...   

UPDATE: Sory I find errors, now is good....


It posisble include into bios csm driver take and use from clover?

Link to comment
Share on other sites

I keep ssdt in Efi/Oz/Acpi/Load, but all the same in boot log I have 

 WARNING: IOPlatformPluginUtil : getCPUIDInfo: this is an unknown CPU model 0x3a
May 17 08:37:53 iMac-Gennadiy kernel[0]: ACPI_SMC_PlatformPlugin::pushCPU_CSTData - _CST evaluation failed
Link to comment
Share on other sites

Hi,

 

I do it, yes you can put ssdt into Bios.

ssdt are in raw mode, i don't remember id.

If you don't find them let me know. i'll look for you.

i remember they are just around power module.

 

Fred

Link to comment
Share on other sites

Why after when I added into DSDT "plugin-type One"

Scope (_PR)
    {
        Processor (CPU0, 0x01, 0x00000410, 0x06) {}
        Method (_DSM, 4, NotSerialized)
        {
            Store (Package (0x02)
                {
                    "plugin-type", 
                    One
                }, Local0)
            DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
            Return (Local0)
        }

        Processor (CPU1, 0x02, 0x00000410, 0x06) {}
        Processor (CPU2, 0x03, 0x00000410, 0x06) {}
        Processor (CPU3, 0x04, 0x00000410, 0x06) {}
        Processor (CPU4, 0x05, 0x00000410, 0x06) {}
        Processor (CPU5, 0x06, 0x00000410, 0x06) {}
        Processor (CPU6, 0x07, 0x00000410, 0x06) {}
        Processor (CPU7, 0x08, 0x00000410, 0x06) {}
    } 

 In preboot log I steel have

WARNING: IOPlatformPluginUtil : getCPUIDInfo: this is an unknown CPU model 0x3a

Where my failure?

Link to comment
Share on other sites

Hi,

 

Here're ssdts patched for i5-3570k with XPM, come from my Z77DS3H rev 1.1 bios ;)

They are in 299141-BB-211A-48A8-92C0-6F9A0A3006E. FreeForm) just after PowerManagement module.

Only 0 and 1 are modified if i remember.

 

ssdt 0 to 7.zip  

 

Take a look and adjust for you.

 

Fred

  • Like 2
Link to comment
Share on other sites

I edit cpu sections in dsdt, now success.

Scope (_PR)
    {
        Processor (CPU0, 0x01, 0x00000410, 0x06)
        {
            Name (APLF, 0x08)
            Name (APSN, One)
            Name (APSS, Package (0x1C)
            {
                Package (0x06)
                {
                    0x0D49, 
                    0xD6D8, 
                    0x0A, 
                    0x0A, 
                    0x2300, 
                    0x2300
                }, 

                Package (0x06)
                {
                    0x0D48, 
                    0xD6D8, 
                    0x0A, 
                    0x0A, 
                    0x2200, 
                    0x2200
                }, 

                Package (0x06)
                {
                    0x0CE4, 
                    0xCE29, 
                    0x0A, 
                    0x0A, 
                    0x2100, 
                    0x2100
                }, 

                Package (0x06)
                {
                    0x0C80, 
                    0xC5A2, 
                    0x0A, 
                    0x0A, 
                    0x2000, 
                    0x2000
                }, 

                Package (0x06)
                {
                    0x0C1C, 
                    0xBD43, 
                    0x0A, 
                    0x0A, 
                    0x1F00, 
                    0x1F00
                }, 

                Package (0x06)
                {
                    0x0BB8, 
                    0xB50C, 
                    0x0A, 
                    0x0A, 
                    0x1E00, 
                    0x1E00
                }, 

                Package (0x06)
                {
                    0x0B54, 
                    0xACFC, 
                    0x0A, 
                    0x0A, 
                    0x1D00, 
                    0x1D00
                }, 

                Package (0x06)
                {
                    0x0AF0, 
                    0xA512, 
                    0x0A, 
                    0x0A, 
                    0x1C00, 
                    0x1C00
                }, 

                Package (0x06)
                {
                    0x0A8C, 
                    0x9D4F, 
                    0x0A, 
                    0x0A, 
                    0x1B00, 
                    0x1B00
                }, 

                Package (0x06)
                {
                    0x0A28, 
                    0x95B2, 
                    0x0A, 
                    0x0A, 
                    0x1A00, 
                    0x1A00
                }, 

                Package (0x06)
                {
                    0x09C4, 
                    0x8E3A, 
                    0x0A, 
                    0x0A, 
                    0x1900, 
                    0x1900
                }, 

                Package (0x06)
                {
                    0x0960, 
                    0x86E8, 
                    0x0A, 
                    0x0A, 
                    0x1800, 
                    0x1800
                }, 

                Package (0x06)
                {
                    0x08FC, 
                    0x7FBC, 
                    0x0A, 
                    0x0A, 
                    0x1700, 
                    0x1700
                }, 

                Package (0x06)
                {
                    0x0898, 
                    0x78B4, 
                    0x0A, 
                    0x0A, 
                    0x1600, 
                    0x1600
                }, 

                Package (0x06)
                {
                    0x0834, 
                    0x71D1, 
                    0x0A, 
                    0x0A, 
                    0x1500, 
                    0x1500
                }, 

                Package (0x06)
                {
                    0x07D0, 
                    0x6B12, 
                    0x0A, 
                    0x0A, 
                    0x1400, 
                    0x1400
                }, 

                Package (0x06)
                {
                    0x076C, 
                    0x6477, 
                    0x0A, 
                    0x0A, 
                    0x1300, 
                    0x1300
                }, 

                Package (0x06)
                {
                    0x0708, 
                    0x5E00, 
                    0x0A, 
                    0x0A, 
                    0x1200, 
                    0x1200
                }, 

                Package (0x06)
                {
                    0x06A4, 
                    0x57AC, 
                    0x0A, 
                    0x0A, 
                    0x1100, 
                    0x1100
                }, 

                Package (0x06)
                {
                    0x0640, 
                    0x517A, 
                    0x0A, 
                    0x0A, 
                    0x1000, 
                    0x1000
                }, 

                Package (0x06)
                {
                    0x05DC, 
                    Zero, 
                    0x0A, 
                    0x0A, 
                    0x0F00, 
                    0x0F00
                }, 

                Package (0x06)
                {
                    0x0578, 
                    Zero, 
                    0x0A, 
                    0x0A, 
                    0x0E00, 
                    0x0E00
                }, 

                Package (0x06)
                {
                    0x0514, 
                    Zero, 
                    0x0A, 
                    0x0A, 
                    0x0D00, 
                    0x0D00
                }, 

                Package (0x06)
                {
                    0x04B0, 
                    Zero, 
                    0x0A, 
                    0x0A, 
                    0x0C00, 
                    0x0C00
                }, 

                Package (0x06)
                {
                    0x044C, 
                    Zero, 
                    0x0A, 
                    0x0A, 
                    0x0B00, 
                    0x0B00
                }, 

                Package (0x06)
                {
                    0x03E8, 
                    Zero, 
                    0x0A, 
                    0x0A, 
                    0x0A00, 
                    0x0A00
                }, 

                Package (0x06)
                {
                    0x0384, 
                    Zero, 
                    0x0A, 
                    0x0A, 
                    0x0900, 
                    0x0900
                }, 

                Package (0x06)
                {
                    0x0320, 
                    Zero, 
                    0x0A, 
                    0x0A, 
                    0x0800, 
                    0x0800
                }
            })
            Method (ACST, 0, NotSerialized)
            {
                Store ("Method CPU0.ACST Called", Debug)
                Store ("CPU0 C-States    : 13", Debug)
                Return (Package (0x05)
                {
                    One, 
                    0x03, 
                    Package (0x04)
                    {
                        ResourceTemplate ()
                        {
                            Register (FFixedHW, 
                                0x01,               // Bit Width
                                0x02,               // Bit Offset
                                0x0000000000000000, // Address
                                0x01,               // Access Size
                                )
                        }, 

                        One, 
                        Zero, 
                        0x03E8
                    }, 

                    Package (0x04)
                    {
                        ResourceTemplate ()
                        {
                            Register (FFixedHW, 
                                0x01,               // Bit Width
                                0x02,               // Bit Offset
                                0x0000000000000010, // Address
                                0x03,               // Access Size
                                )
                        }, 

                        0x03, 
                        0xCD, 
                        0x01F4
                    }, 

                    Package (0x04)
                    {
                        ResourceTemplate ()
                        {
                            Register (FFixedHW, 
                                0x01,               // Bit Width
                                0x02,               // Bit Offset
                                0x0000000000000020, // Address
                                0x03,               // Access Size
                                )
                        }, 

                        0x06, 
                        0xF5, 
                        0x015E
                    }
                })
            }

            Method (_DSM, 4, NotSerialized)
            {
                Store ("Method CPU0._DSM Called", Debug)
                If (LEqual (Arg2, Zero))
                {
                    Return (Buffer (One)
                    {
                        0x03
                    })
                }

                Return (Package (0x02)
                {
                    "plugin-type", 
                    One
                })
            }
        }

        Processor (CPU1, 0x02, 0x00000410, 0x06)
        {
            Method (APSS, 0, NotSerialized)
            {
                Return (^^CPU0.APSS)
            }

            Method (ACST, 0, NotSerialized)
            {
                Store ("Method CPU1.ACST Called", Debug)
                Store ("CPU1 C-States    : 7", Debug)
                Return (Package (0x05)
                {
                    One, 
                    0x03, 
                    Package (0x04)
                    {
                        ResourceTemplate ()
                        {
                            Register (FFixedHW, 
                                0x01,               // Bit Width
                                0x02,               // Bit Offset
                                0x0000000000000000, // Address
                                0x01,               // Access Size
                                )
                        }, 

                        One, 
                        0x03E8, 
                        0x03E8
                    }, 

                    Package (0x04)
                    {
                        ResourceTemplate ()
                        {
                            Register (FFixedHW, 
                                0x01,               // Bit Width
                                0x02,               // Bit Offset
                                0x0000000000000010, // Address
                                0x03,               // Access Size
                                )
                        }, 

                        0x02, 
                        0x94, 
                        0x01F4
                    }, 

                    Package (0x04)
                    {
                        ResourceTemplate ()
                        {
                            Register (FFixedHW, 
                                0x01,               // Bit Width
                                0x02,               // Bit Offset
                                0x0000000000000020, // Address
                                0x03,               // Access Size
                                )
                        }, 

                        0x03, 
                        0xA9, 
                        0x015E
                    }
                })
            }
        }

        Processor (CPU2, 0x03, 0x00000410, 0x06)
        {
            Method (APSS, 0, NotSerialized)
            {
                Return (^^CPU0.APSS)
            }

            Method (ACST, 0, NotSerialized)
            {
                Return (^^CPU1.ACST ())
            }
        }

        Processor (CPU3, 0x04, 0x00000410, 0x06)
        {
            Method (APSS, 0, NotSerialized)
            {
                Return (^^CPU0.APSS)
            }

            Method (ACST, 0, NotSerialized)
            {
                Return (^^CPU1.ACST ())
            }
        }

        Processor (CPU4, 0x05, 0x00000410, 0x06)
        {
            Method (APSS, 0, NotSerialized)
            {
                Return (^^CPU0.APSS)
            }

            Method (ACST, 0, NotSerialized)
            {
                Return (^^CPU1.ACST ())
            }
        }

        Processor (CPU5, 0x06, 0x00000410, 0x06)
        {
            Method (APSS, 0, NotSerialized)
            {
                Return (^^CPU0.APSS)
            }

            Method (ACST, 0, NotSerialized)
            {
                Return (^^CPU1.ACST ())
            }
        }

        Processor (CPU6, 0x07, 0x00000410, 0x06)
        {
            Method (APSS, 0, NotSerialized)
            {
                Return (^^CPU0.APSS)
            }

            Method (ACST, 0, NotSerialized)
            {
                Return (^^CPU1.ACST ())
            }
        }

        Processor (CPU7, 0x08, 0x00000410, 0x06)
        {
            Method (APSS, 0, NotSerialized)
            {
                Return (^^CPU0.APSS)
            }

            Method (ACST, 0, NotSerialized)
            {
                Return (^^CPU1.ACST ())
            }
        }
    }
Link to comment
Share on other sites

Anyone here have lastest version of AMIBCP?

I having AMIBCP4.55.0070 but it can't change/save new Bios. I have got Asus K555LD (Broadwell) (AMI Aptio Bios). Yep, i think i need to have newer version of AMIBCP.

Thank you :)

Link to comment
Share on other sites

Anyone here have lastest version of AMIBCP?

I having AMIBCP4.55.0070 but it can't change/save new Bios. I have got Asus K555LD (Broadwell) (AMI Aptio Bios). Yep, i think i need to have newer version of AMIBCP.

Thank you :)

have you extracted image without cap signature ?

Link to comment
Share on other sites

have you extracted image without cap signature ?

Sorry, i dont know how to extract image without cap signature. I tried with Bios that downloaded from Asus website (and extracted from AFUDOS).

Please tell me how to?

Link to comment
Share on other sites

Sorry, i dont know how to extract image without cap signature. I tried with Bios that downloaded from Asus website (and extracted from AFUDOS).

Please tell me how to?

so you are working on backup obtained with afudos? 

AMIBCP.zip

Link to comment
Share on other sites

so you are working on backup obtained with afudos? 

Yes, i backup the bios with Lastest AFUDOS (I just ran it from DOS USB).

Just syntax:

AFUDOS backup.rom /O

 

And then, how to change VRAM from 128 to 96 in bios? I dont know how :(

I sent message to you. If you have time, please help me.

Update: OMG, it worked! Now, i can save anything that i changed. But i still dont know how to change VRAM from 128 to 96, that in order to install Yosemite on Intel HD5500.

Link to comment
Share on other sites

×
×
  • Create New...