Jump to content
xpamamadeus

Ozmosis

6,140 posts in this topic

Recommended Posts

This commit by vit9696 helps me out with Clover not injecting kext from efi.

I didn't test this with Ozmosis and KernextPatcher, but it should work like that:

		<dict>
			<key>Comment</key>
			<string>KBEMojaKxldUnmap</string>
			<key>Disabled</key>
			<false/>
			<key>Find</key>
			<data>AA+FsgEAAEg=</data>
			<key>MatchOS</key>
			<string>10.14</string>
			<key>Replace</key>
			<data>AJDpsgEAAEg=</data>
		</dict>

 

Share this post


Link to post
Share on other sites
Advertisement

Just did some tests and it seems to be working

 _____ _____ _____ _____ _____
|| U ||| E ||| F ||| T ||| W ||  https://github.com/cecekpawon/UEFTW
||___|||___|||___|||___|||___||  KernextPatcher (r#NaN | 2018-04-21 15:39:05)
|/___\|/___\|/___\|/___\|/___\|  On 2019-02-10 12:48:12

00:100 (00:100) | Running from: PciRoot(0x0)/Pci(0x1F,0x2)/Sata(0x0,0xFFFF,0x0)/HD(1,GPT,DF9F014D-E07B-4CAE-A8B2-0B80F9F06600,0x28,0x64000)EFI\BOOT\drivers_x64\KernextPatcher.efi
00:100 (00:000) | SelfDirPath = EFI\BOOT\drivers_x64
00:107 (00:007) | Get Plist from: NVRAM ... Not Found
00:107 (00:000) | Get Plist from: ESP: PciRoot(0x0)/Pci(0x1F,0x2)/Sata(0x0,0xFFFF,0x0)/HD(1,GPT,DF9F014D-E07B-4CAE-A8B2-0B80F9F06600,0x28,0x64000)EFI\BOOT\drivers_x64\KernextPatcher.plist ... Success
00:107 (00:000) | Parsing plist: ... Success
00:107 (00:000) | KernelToPatch: 8 requested
00:107 (00:000) |  - [00]: KbepMLMav-EXT | MatchOS: 10.8,10.9 | Len: 11 | C6E830000000EB084889DF -> C6E83000000090904889DF
00:107 (00:000) |  - [01]: KbepYosECSieHS-EXT | MatchOS: 10.10-10.13 | Len: 8 | E825000000EB05E8 -> E8250000009090E8
00:107 (00:000) |  - [02]: KbepMoja-EXT | MatchOS: 10.14 | Len: 8 | E8AF000000EB05E8 -> E8AF0000009090E8
00:107 (00:000) |  - [03]: KbepEC-SIP | MatchOS: 10.11 | Len: 16 | C34885DB7470488B034889DFFF502848 -> C34885DBEB12488B034889DFFF502848
00:107 (00:000) |  - [04]: KbepSie-SIP | MatchOS: 10.12 | Len: 16 | C34885DB7471488B034889DFFF502848 -> C34885DBEB12488B034889DFFF502848
00:107 (00:000) |  - [05]: KbepHSMoja-SIP | MatchOS: 10.13,10.14 | Len: 16 | C34885DB7469488B034889DFFF502848 -> C34885DBEB12488B034889DFFF502848
00:107 (00:000) |  - [06]: KbepMoja14.4-SIP | MatchOS: 10.14.4-10.14.6 | Len: 18 | 4885C0746C4889C3488B004889DFFF502848 -> 4885C0EB154889C3488B004889DFFF502848
00:107 (00:000) |  - [07]: KBEMojaKxldUnmap | MatchOS: 10.14 | Len: 8 | 000F85B201000048 -> 0090E9B201000048
05:347 (05:239) | AllocatePages: Got RelocBase (0x9BEF4000) + valid KernelData (0x9C0F4000)
05:580 (00:233) | Found Booter (OS: 10.12 | Ver: 361.220.1)
05:580 (00:000) | Booter Path: PciRoot(0x0)/Pci(0x1F,0x2)/Sata(0x0,0xFFFF,0x0)/HD(2,GPT,0E24B55C-AC2B-4CBF-AADF-3A13409A3DDD,0x64028,0x1D161920)/VenMedia(BE74FCF7-0B7C-49F3-9147-01F4042E6842,A7131E144323EF30A4144E40632F276A)\\System\Library\CoreServices\boot.efi
05:599 (00:019) | OSVersion: 10.14.3 | BuildVersion: 18D109
05:599 (00:000) | KernelAndKextPatcherInit: Start
05:599 (00:000) | ScreenInfo: Base 0xE0000000 Width 2560 Height 1440 RowBytes 0x2800
05:599 (00:000) | RelocBase = 9BEF4000
05:604 (00:004) | Found BootArgs at 0x9F405000
05:604 (00:000) | Found 64Bit kernel at 0x9C0F4000
05:606 (00:001) | Loaded Darwin Kernel Version 18.2.0: Thu Dec 20 20:46:53 PST 2018; root:xnu-4903.241.1~1/RELEASE_X86_64 | VersionMajor: 18 | VersionMinor: 2 | Revision: 0
05:606 (00:000) | Cached: Yes
05:606 (00:000) | KernelAndKextPatcherInit: End
05:606 (00:000) | Filtering KernelPatches:
05:606 (00:000) |  - [00]: KbepMLMav-EXT | [MatchOS: 10.8,10.9 | MatchBuild: All] | Allowed: No
05:606 (00:000) |  - [01]: KbepYosECSieHS-EXT | [MatchOS: 10.10-10.13 | MatchBuild: All] | Allowed: No
05:606 (00:000) |  - [02]: KbepMoja-EXT | [MatchOS: 10.14 | MatchBuild: All] | Allowed: Yes
05:606 (00:000) |  - [03]: KbepEC-SIP | [MatchOS: 10.11 | MatchBuild: All] | Allowed: No
05:606 (00:000) |  - [04]: KbepSie-SIP | [MatchOS: 10.12 | MatchBuild: All] | Allowed: No
05:606 (00:000) |  - [05]: KbepHSMoja-SIP | [MatchOS: 10.13,10.14 | MatchBuild: All] | Allowed: Yes
05:606 (00:000) |  - [06]: KbepMoja14.4-SIP | [MatchOS: 10.14.4-10.14.6 | MatchBuild: All] | Allowed: No
05:606 (00:000) |  - [07]: KBEMojaKxldUnmap | [MatchOS: 10.14 | MatchBuild: All] | Allowed: Yes
05:606 (00:000) | Kernel patches to process: 3
05:606 (00:000) | KernelUserPatch: Start
05:606 (00:000) | - KbepMoja-EXT | Success: 1 replaces done
05:635 (00:029) | - KbepHSMoja-SIP | Success: 1 replaces done
05:663 (00:027) | - KBEMojaKxldUnmap | Success: 1 replaces done
05:711 (00:047) | KernelUserPatch: End
05:711 (00:000) | KernextPatcher: End

Share this post


Link to post
Share on other sites

I removed Ozmosis and all other stuff from my ROM and put it into the ESP.

For booting Mojave 10.14.3 with the Intel HD4600, I tested nearly all possible combinations with the different Aptio fixes.

  • OsxAptioFixDrv don't need the '-norelocate' boot argument
  • All other drivers need the '-norelocate' argument to work
  • '-norelocate' doesn't work from nvram or defaults.plist (I added it as a boot option with refind)

With Clover AptioMemoryFix, OsxAptioFix3Drv and OsxAptioFix2Drv are working fine.

With Ozmosis and loaded by refind:

  • AptioMemoryFix dosn't work
  • OsxAptioFix3Drv dosn't work
  • OsxAptioFix2Drv works with '-norelocate' but there is no boot.log, etc
  • OsxAptioFixDrv works but only if it was written to the ESP after the ozmosis file.

To make sure that the drivers are loading in the correct order, 'cd' to efi\boot\drivers_x64 and type 'ls'.

OsxAptioFixDrv should list after Ozmosis, if not you can solve this with  'mv OsxAptioFixDrv.efi OsxAptioFixDrv.ife' and 'mv OsxAptioFixDrv.ife OsxAptioFixDrv.efi'

00:678 00:193 StartImage: PciRoot(0x0)/Pci(0x1F,0x2)/Sata(0x0,0xFFFF,0x0)/HD(1,GPT,DF9F014D-E07B-4CAE-A8B2-0B80F9F06600,0x28,0x64000)/EFI\BOOT\drivers_x64\OsxAptioFixDrv-64.efi
01:672 00:993 StartImage: PciRoot(0x0)/Pci(0x1F,0x2)/Sata(0x0,0xFFFF,0x0)/HD(2,GPT,0E24B55C-AC2B-4CBF-AADF-3A13409A3DDD,0x64028,0x1D161920)/VenMedia(BE74FCF7-0B7C-49F3-9147-01F4042E6842,A7131E144323EF30A4144E40632F276A)/\System\Library\CoreServices\boot.efi
01:672 00:000 Found Current Graphics Mode 0 2560 x 1440
01:724 00:051 Setting Graphics Mode 0 2560 x 1440
01:776 00:051 Found 1F8E0C02-58A9-4E34-AE22-2B63745FA101:AcpiGeneratorMode 0x45 01000101 Enabled | Darwin | Update Legacy
01:776 00:000 Using AcpiGeneratorMask 0x04 00000100 Darwin
01:777 00:001 Found DMI Anchor 0xDCF3D498 v2.7 Table Address 0xDCD5A018 Length 0x0C54 - Success
01:778 00:001 Updated DMI Anchor 0xD7BC1000 v2.7 Table Address 0xD7BC1020 Length 0x092E
01:778 00:000 Found 7C436110-AB2A-4BBB-A880-FE41995C9F82:boot-args "igfxskipdp=3F-49ptal0" (12)
01:778 00:000 Found LoadedImage->LoadOptions "\\System\Library\CoreServices\boot.efi " (80)
01:778 00:000 LoadedImage->LoadOptions "\\System\Library\CoreServices\boot.efi  slide=0" (96)
01:778 00:000 Found Intel HD Graphics 4600 [8086:0412] PciRoot(0x0)/Pci(0x2,0x0)
01:778 00:000  Injected PciRoot(0x0)/Pci(0x2,0x0) - "model" = "Intel HD Graphics 4600" (22) - Success
01:778 00:000  Injected PciRoot(0x0)/Pci(0x2,0x0) - "built-in" = 00  (1) - Success
01:778 00:000  Injected PciRoot(0x0)/Pci(0x2,0x0) - "graphic-options" = 0C 00 00 00  (4) - Success
01:778 00:000  Injected PciRoot(0x0)/Pci(0x2,0x0) - "hda-gfx" = "onboard-1" (10) - Success
01:778 00:000  Injected PciRoot(0x0)/Pci(0x2,0x0) - "AAPL,ig-platform-id" = 03 00 22 0D  (4) - Success

Sadly, this isn't working from the ROM. So please: Make Ozmosis open source to make Ozmosis great again.

 

Share this post


Link to post
Share on other sites

Kudos,

 

1 hour ago, uglyJoe said:

01:778 00:000 Found 7C436110-AB2A-4BBB-A880-FE41995C9F82:boot-args "igfxskipdp=3F-49ptal0" (12)

 

I think you have broken boot-args there that may causing Oz to read that string improperly, it should be "igfxskipdp=3" right? Have you tried to manually restoring those value with something like "igfxskipdp=3 -norelocate slide=N"?

Share this post


Link to post
Share on other sites

Yes, I am aware of this but I think, this is only a cosmetic error because at the end of the log I get:

02:195 00:006 Shrinking Kernel Memory Map 0xA80 (56) -> 0x690 (35)
02:196 00:000 Found BootArgs 0x9F471000 Version 0x2 Revision 0x0
02:196 00:000 CommandLine "slide=0 igfxskipdp=3"
02:196 00:000 EfiMode             0x40 (64) DebugMode 0x0 Flags 0x49 01001001 (RebootOnPanic | CSRActiveConfig | BlackTheme)

Edit:

I also tried to add '-norelocate' via nvram but it only works if I pass it directly to the boot.efi

I can see the difference because if the option kicks in, the progress bar appears a short time before it crashed.

If not, it's simply stuck at the Apple logo

:tidE

 

By the way, there you can see that Ozmosis adds the slide option by it self.

If I put a custom slide value, I got it twice in the CommandLine -> "slide=0 igfxskipdp=3 -norelocate slide=N".

For this reason I have done some tests with a patched Ozmosis that stops adding any options.

And to be sure, I added some custom entries to my refind.conf, where I added all arguments as an option passed to boot.efi.

 

Edited by uglyJoe

Share this post


Link to post
Share on other sites

And something I forget to ask:

 

nvram -p

OsxAptioFixDrv-RelocBase	%00%d0%8a%bc%00%00%00%00  
OsxAptioFixDrv-RelocBase	%00%90%8b%bc%00%00%00%00
OsxAptioFixDrv-RelocBase	%00`%90%bc%00%00%00%00
OsxAptioFixDrv-RelocBase	%00P%8d%bc%00%00%00%00
OsxAptioFixDrv-RelocBase	%00%b0%b0%bc%00%00%00%00

Why are these values different on each boot?

 

 

00:678 00:193 StartImage: PciRoot(0x0)/Pci(0x1F,0x2)/Sata(0x0,0xFFFF,0x0)/HD(1,GPT,DF9F014D-E07B-4CAE-A8B2-0B80F9F06600,0x28,0x64000)/EFI\BOOT\drivers_x64\OsxAptioFixDrv-64.efi
01:672 00:993 StartImage: PciRoot(0x0)/Pci(0x1F,0x2)/Sata(0x0,0xFFFF,0x0)/HD(2,GPT,0E24B55C-AC2B-4CBF-AADF-3A13409A3DDD,0x64028,0x1D161920)/VenMedia(BE74FCF7-0B7C-49F3-9147-01F4042E6842,A7131E144323EF30A4144E40632F276A)/\System\Library\CoreServices\boot.efi

If we could find a way to make this happens from inside the bios and in the same order - the HD4600 would be back to the game ;) 

Edited by uglyJoe

Share this post


Link to post
Share on other sites

Below are my patches applied with DBounce. I use OsxAptioFix2 + DevProp as DeviceProperties inject replacement with the help of EfiDevicePathPropertyDatabase.efi, and without "-norelocate". 

 

<key>Patches</key>
<array>
  <dict>
    <key>Comment</key>
    <string>O - American FW name</string>
    <key>Disabled</key>
    <false/>
    <key>Find</key>
    <data>
    xgUMXQIAAQ==
    </data>
    <key>Name</key>
    <string>o1</string>
    <key>Replace</key>
    <data>
    xgUMXQIAAA==
    </data>
  </dict>
  <dict>
    <key>Comment</key>
    <string>O - DeviceInject Call Ret</string>
    <key>Disabled</key>
    <false/>
    <key>Find</key>
    <data>
    QFVTV0FXSI1sJME=
    </data>
    <key>Name</key>
    <string>o1</string>
    <key>Replace</key>
    <data>
    w5CQkJCQkJCQkJA=
    </data>
  </dict>
  <dict>
    <key>Comment</key>
    <string>O - Disable devprop install protocol</string>
    <key>Disabled</key>
    <false/>
    <key>Find</key>
    <data>
    6GFDAgDoyCQAAA==
    </data>
    <key>Name</key>
    <string>o1</string>
    <key>Replace</key>
    <data>
    kJCQkJDoyCQAAA==
    </data>
  </dict>
</array>

 

 _____ _____ _____ _____ _____
|| U ||| E ||| F ||| T ||| W ||  https://github.com/cecekpawon/UEFTW
||___|||___|||___|||___|||___||  DBounce (r#48 | 2019-02-13 11:34:02)
|/___\|/___\|/___\|/___\|/___\|  On 2019-02-15 10:16:11

00:100 (00:100) | Got Apple boot-args: 'darkwake=0 -v'
00:100 (00:000) | BootArgsOption ('-DBounceOff'): No
00:100 (00:000) | BootArgsOption ('-DBounceDebug'): No
00:100 (00:000) | BootArgsOption ('-DBounceSaveLogCompress'): No
00:100 (00:000) | BootArgsOption ('-DBounceSaveLogToFile'): No
00:100 (00:000) | BootArgsOption ('-DBounceSaveLogToNvram'): No
02:128 (02:028) | Running from: PciRoot(0x0)/Pci(0x1D,0x0)/USB(0x1,0x0)/USB(0x7,0x0)/HD(1,GPT,A4DF0709-A2A1-4493-85A4-2B56B7B78895,0x800,0xF3800)/\EFI\Driver\DBounce.efi
02:128 (00:000) | SelfDirPath = \EFI\Driver
02:669 (00:540) | Get Plist from: NVRAM ... Success
02:669 (00:000) | Parsing plist: ... Success
02:669 (00:000) | Preferences->Off: No
02:669 (00:000) | Preferences->Debug: Yes
02:669 (00:000) | Preferences->SaveLogCompress: No
02:669 (00:000) | Preferences->SaveLogToFile: Yes
02:669 (00:000) | Preferences->SaveLogToNvram: No
02:669 (00:000) | DriversListCount: 37

...

02:669 (00:000) | Patches: 4 requested
02:669 (00:000) |  - [00]: O - American FW name | o1 | Len: 7 | C6050C5D020001 -> C6050C5D020000
02:669 (00:000) |  - [01]: O - AllocatePages disable overrides | Disabled, skip
02:669 (00:000) |  - [02]: O - DeviceInject Call Ret | o1 | Len: 11 | 405553574157488D6C24C1 -> C390909090909090909090
02:669 (00:000) |  - [03]: O - Disable devprop install protocol | o1 | Len: 10 | E861430200E8C8240000 -> 9090909090E8C8240000
03:170 (00:500) | NoVerbose: No
03:170 (00:000) | DriversPath: NONE ... Ignored
03:183 (00:013) | PdbName: 'AE4C11C8-1D6C-F24E-A183-E1CA36D1A8A9'
03:183 (00:000) | Load Image: \EFI\CLOVER\Driver\Common\HfsPlus.efi ... Success
03:190 (00:006) | PdbName: 'ApfsDriverLoader.dll'
03:691 (00:500) | Load Image: \EFI\Driver\ApfsDriverLoader.efi ... Success
03:698 (00:007) | PdbName: '35628CFC-3CFF-444F-99C1-D5F06A069914'
03:749 (00:050) | Load Image: \EFI\CLOVER\Driver\Darwin\EfiDevicePathPropertyDatabase.efi ... Success
03:770 (00:020) | PdbName: NONE
05:206 (01:436) | Load Image: \EFI\Driver\AcpiPatcher.efi ... Success
05:227 (00:020) | PdbName: NONE
06:653 (01:426) | Load Image: \EFI\Driver\KernextPatcher.efi ... Success
06:660 (00:007) | PdbName: NONE
06:926 (00:266) | Load Image: \EFI\Driver\DevProp.efi ... Success
06:940 (00:013) | PdbName: 'AptioFix.dll'
06:940 (00:000) | Load Image: \EFI\CLOVER\Driver\Darwin\AptioFix2.efi ... Success
07:704 (00:763) | LoaderPath: \EFI\Driver\Oz\o1.efi
07:752 (00:048) | Patching: \EFI\Driver\Oz\o1.efi (o1 - O - American FW name) | Success: 1 replaces done
07:755 (00:002) | Patching: \EFI\Driver\Oz\o1.efi (o1 - O - DeviceInject Call Ret) | Success: 1 replaces done
07:757 (00:002) | Patching: \EFI\Driver\Oz\o1.efi (o1 - O - Disable devprop install protocol) | Success: 1 replaces done
07:757 (00:000) | PdbName: NONE
09:824 (02:067) | Load Image: \EFI\Driver\Oz\o1.efi ... Success
09:824 (00:000) | DBounce: End

 

Share this post


Link to post
Share on other sites

Could some one be so kind as to patch my DSDT File for me . i have extracted it from my running bios with the DSDT2Bois tool

                                                                                                                                                                                         Best Regards

                                                                                                                                                                                                       Baldy_man

DSDT-Original.aml

Share this post


Link to post
Share on other sites

Many thanks for sharing your patches.

To avoid the need of DBounce, I applied them against Ozmosis.efi directly.

Then I replaced OsxAptioFixDrv.efi with OsxAptioFix2Drv.efi and after a ozmosis reset, booting without "-norelocate" was possible.

Next was to replace Ozmosis from inside the rom and putting OsxAptioFix2Drv.ffs into it.

 

After flashing my new rom file, I start smiling and I didn't stop until now :)

My HD4600 is back!

With the help of DarBoot and ApfsLoader, the F12 boot menu selection for HighSierra and Mojave is working, too.

And with DevProb I get rid of "igfxskipdp=3" ;)

 

Again, many, many thanks!

Share this post


Link to post
Share on other sites

 

The only drawback I found until now - there is no log with bdmesg  :)

bdmesg

"boot-log" property not found.

 

Is there an easy way to fix that?

Share this post


Link to post
Share on other sites
1 hour ago, uglyJoe said:

Many thanks for sharing your patches.

To avoid the need of DBounceI applied them against Ozmosis.efi directly.

Then I replaced OsxAptioFixDrv.efi with OsxAptioFix2Drv.efi and after a ozmosis reset, booting without "-norelocate" was possible.

Next was to replace Ozmosis from inside the rom and putting OsxAptioFix2Drv.ffs into it.

 

After flashing my new rom file, I start smiling and I didn't stop until now :)

My HD4600 is back!

With the help of DarBoot and ApfsLoader, the F12 boot menu selection for HighSierra and Mojave is working, too.

And with DevProb I get rid of "igfxskipdp=3" ;)

 

Again, many, many thanks!

 

Would you be so kind to share you rom and your EFI? :whistle:

It will be very appreciated since I have the HD4600 :wink_anim:

Share this post


Link to post
Share on other sites
2 hours ago, BALDY_MAN said:

Could some one be so kind as to patch my DSDT File for me . i have extracted it from my running bios with the DSDT2Bois tool

                                                                                                                                                                                         Best Regards

                                                                                                                                                                                                       Baldy_man

DSDT-Original.aml

Wait MAN! :wink_anim:

Share this post


Link to post
Share on other sites
Quote
5 hours ago, BALDY_MAN said:

Could some one be so kind as to patch my DSDT File for me . i have extracted it from my running bios with the DSDT2Bois tool

                                                                                                                                                                                         Best Regards

                                                                                                                                                                                                       Baldy_man

DSDT-Original.aml

 

 

Patched, but doesn't contain HDEF + HDAU Layout ID, because it should be in OzmosisDefaults as boot-args, for the latest AppleALC!

 

DSDT-Original.aml

Share this post


Link to post
Share on other sites
19 minutes ago, BALDY_MAN said:

@ammoune78. Thank you so much for your help. i will add it to  my bios and test it

 

You're welcome my friend! This DSDT, is not intended to be inserted into the bios. Extaction procedure is the same, but it needs to be decompiled with the other ACPI files, such as, SaSsdt, Ther_rvp, Sata_Table, Ide_Table, Isct_Table CpuSsdt, and etc .... And, you have to use the AcpiPatcher, especially for GFX0 and PEGP. When i decide to put patched ACPI, i extract them all from the BIOS, so all of them will have the same Disassembler and Compiler version, which is a very important thing, because on the bios is not same as, read just by the OS from the ESP.

Share this post


Link to post
Share on other sites

@ammoune78. i have jumped the gun.(i added to  the bios before your post) and . and im now trying to re flash to a back up as it did boot up but it as stopped the graphics card ports working only DVI. working But it was my fault . some importent things i need to learn and understand better before my experimentation. thanks again for your help and interest

Share this post


Link to post
Share on other sites
13 minutes ago, BALDY_MAN said:

@ammoune78. i have jumped the gun.(i added to  the bios before your post) and . and im now trying to re flash to a back up as it did boot up but it as stopped the graphics card ports working only DVI. working But it was my fault . some importent things i need to learn and understand better before my experimentation. thanks again for your help and interest

 

Yes, but if the working graphics Card ports are only the DVI, you maybe have to put some details on the PEGP Device. Because as you can see, in the patched DSDT, i didn't added something into it, just the "AAPL, slot-name" and "hda-gfx" args. You have maybe to set, into the OzmosisDefaults: DisableAtiInjection : false, AtiFramebuffer : Your Working One. This patch i used for your DSDT, is excactly the same i used for my previous GA-Z97M-DS3H, coupled with the SAPPHIRE TOXIC R9 280X and the GIGABYTE AORUS RX 570. So, check your OzmosisDefaults settings, and use as i said, AcpiPatcher, to rename Devices. Remove the serials from the OzmosisDefaults and upload it. But, i think, the better is to try first a single or double SSDT's, one for Devices, and the other for CPU Power Management. After that all to be done, you can go for BIOS, now for sure, it will work.

Share this post


Link to post
Share on other sites
On 2/16/2019 at 1:23 AM, ammoune78 said:

 

Yes, but if the working graphics Card ports are only the DVI, you maybe have to put some details on the PEGP Device. Because as you can see, in the patched DSDT, i didn't added something into it, just the "AAPL, slot-name" and "hda-gfx" args. You have maybe to set, into the OzmosisDefaults: DisableAtiInjection : false, AtiFramebuffer : Your Working One. This patch i used for your DSDT, is excactly the same i used for my previous GA-Z97M-DS3H, coupled with the SAPPHIRE TOXIC R9 280X and the GIGABYTE AORUS RX 570. So, check your OzmosisDefaults settings, and use as i said, AcpiPatcher, to rename Devices. Remove the serials from the OzmosisDefaults and upload it. But, i think, the better is to try first a single or double SSDT's, one for Devices, and the other for CPU Power Management. After that all to be done, you can go for BIOS, now for sure, it will work.

@ammoune78. please for give my late reply. i had a problem with the desplay port cable it developed a fault. and would not talk to the monitor  i have now got a new one today. and the display port works.  so i will add the dstd to the bios as it is to try it out first.and see how it works first as a start point. ok   i tryed the bios again with the added Patched file  DSDT and Desplay ports do not work . i have added a folder with both bioses in for you to look at if you wish 

thanks again so much for you help and time

WORKING DP Port and not working dp port bios.zip

Edited by BALDY_MAN

Share this post


Link to post
Share on other sites
20 hours ago, BALDY_MAN said:

@ammoune78. please for give my late reply. i had a problem with the desplay port cable it developed a fault. and would not talk to the monitor  i have now got a new one today. and the display port works.  so i will add the dstd to the bios as it is to try it out first.and see how it works first as a start point. ok   i tryed the bios again with the added Patched file  DSDT and Desplay ports do not work . i have added a folder with both bioses in for you to look at if you wish 

thanks again so much for you help and time 

WORKING DP Port and not working dp port bios.zip

 

I don't know what you putted in the attachment above, but the size of the zip is 216 bytes, and it extract nothing :worried_anim: .

Share this post


Link to post
Share on other sites
On 2/8/2019 at 4:58 AM, cecekpawon said:

@witjojo

 

*) Theres another options to save the log besides SaveLogToFile (SaveLogToDeviceTree / SaveLogToNvram) that you can get it later from OS.
**) The driver will create a log file on first ESP found, in case you have more than one ESP installed. Or on same directory as driver was loaded from disk.
***) You are correct (1), it will create a log file when you are booting to Windows.
****) You are correct (2), you still have another kexts (IntelMausi etc) to load from EFI folder. And from your log, Ozmosis already done injecting em all flawlessly. KernextPatcher seems failed to patch the kernel for you.
*****) Sadly, I dont another OS / machine to do some test for you, only me here with 1 and only pc + macos ver. Perhaps someone can help you. The thing that you might want to try is to load the driver from ESP (with bcfg / DBounce) instead of FV as comparison.

 

I've used SaveLogToNvram and created a file with nvram -p (nvram_Yosemite.txt). I attached it.

I replaced the keys with XXX. So there are no personal parts in it. Nothing is found in the NVRam from the log.

Is it right that KernextPatcher failed to patch the kernel? Why is not Yosemite and El Capitan working?

Maybe others can help too?

 

nvram_Yosemite.txt

Edited by witjojo

Share this post


Link to post
Share on other sites
23 hours ago, ammoune78 said:

 

I don't know what you putted in the attachment above, but the size of the zip is 216 bytes, and it extract nothing :worried_anim: .

 sorry for the late reply i have re uploaded the file. for you to look at. i made a mistake i have edited the file in my post as well

WORKING DP Port and not working dp port bios.zip

Share this post


Link to post
Share on other sites
57 minutes ago, BALDY_MAN said:

 sorry for the late reply i have re uploaded the file. for you to look at. i made a mistake i have edited the file in my post as well

WORKING DP Port and not working dp port bios.zip

 

Insert this OzmosisDefaults as is in the Bios, and don't change something into it, with the patched DSDT i've made. Try and report back, but don't change any setting on the OzmosisDefaults. Because you have to use iMac 15,1, as you own AMD card. You can insert either raw as is from Insert Body, or, insert .plist as from insert body but use the selector to change insert raw to other then choose your plist file, UEFITool will convert the plist to raw itself. 

0zmosisDefaults.plist

0zmosisDefaults.raw

Share this post


Link to post
Share on other sites

@witjojo

 

The log would be on "nvram 99665243-5AED-4D57-92AF-8C785FBC7558:KernextPatcherLog".

#!/bin/bash

guid="99665243-5AED-4D57-92AF-8C785FBC7558"
label="KernextPatcherLog"

cdir=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)

VAR=$(nvram ${guid}:${label})

echo $VAR | php -R 'echo urldecode($argn);' > "${cdir}/${label}.txt"

Please give another try with attached file below.

I cant test it since I only have one and only 10.13.6 installed right now.

99665243-5AED-4D57-92AF-8C785FBC7558.ffs.zip

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By ciriousjoker
      TLDR:
      I'm trying to boot MacOS on a Chromebook without UEFI. I'm stuck at getting the bootloader (Chameleon/Clover) to work.  
      My setup / context:
      I have an Acer Chromebook Spin 13.
      Available ports:
      2 x USB-C 1 x USB-A 3.0 MicroSD Slot No USB A 2.0 (I've read that Clover has problems with USB 3.0) Firmware:
      There's no UEFI firmware available and by default, it doesn't even allow booting anything other than ChromeOS. Thanks to MrChromebox (big shoutouts!), I flashed a custom legacy bios that allows me to boot anything linux related. This bios is flashed into the RW_LEGACY section of the existing bootloader (coreboot afaik) and doesn't have any configuration options. If I have to change a setting, I could try compiling his bios payload myself with the specific setting enabled.  
      What I've tried so far:
      Chameleon attempts:
      Only selected setting was "Install chameleon on the chosen path", rest was unselected.
       
      1 - Install chameleon first without restoring the basesystem:
      Output:
      > boot0: GPT
      > boot0: done
      (hangs; pressing power button once shuts down
      Chameleon installation log is attached as "Chameleon_Installer_Log_BEFORE".
       
      2 - Install Chameleon after restoring the base system:
      Output:
      > boot0: GPT
      > boot0: GPT
      > boot0: doneboot1: /boot       <- Exactly like that, no line break in between
      (hangs; pressing power button once shuts down)
       
      I haven't been able to reproduce #2 after wiping the drive and doing the same thing again. Subsequent attempts have resulted in either #1 of either Chameleon or Clover.
      Chameleon installation log is attached as "Chameleon_Installer_Log_AFTER".
       
      Clover attempts:
      I tried multiple settings and configurations, but all of them boiled down to either one of these.
       
      1 - Doesn't do anything, just hangs at "Booting from usb..."
      2 - Boots into the blue/grey mode as shown in the attached images.
      According to MrChromebox, this could be an old Tianocore DUET It doesn't detect anything (cpu frequency, ram, partitions or disks)  
      I've read pretty much every article, github readme and other types of documentation for coreboot, tianocore, clover, chameleon and MrChromebox' rw_legacy payloads and right now, I'm totally clueless as to what to try next...
       
      A few questions that came up:
      Why does chameleon hang? What is it looking for, /boot was clearly written to the disk by the Chameleon installer? What exactly is the blue/grey image? According to MrChromebox, it could be Tianocore DUET Where does it come from? Clover? The mainboard itself? Why does the blue/grey thing not detect my processor frequency or any partitions/drives? Can I use some sort of DUET bootloader to chainload Clover?  
      If you guys could answer any of them or if you have any other guesses or information as to what's happening, I'd be really happy!
      Chameleon_Installer_Log_BEFORE.txt
      Chameleon_Installer_Log_AFTER.txt





    • By Slice
      Since rev 4844 Vector Themes are supported and there are ready-to-use Clovy by Clovy, cesium by Slice and BGM_SVG by Blackosx.
      You may see it's structure to create own theme
      -------------------------------------------------------------------------------------------------------------------------------------------------------
       
       
      Now I want to add vector graphics support in Clover. See rev 4560 and later.
      It is not working yet but designers may begin to create Vector Themes.
      It supposed to consist of SVG elements and has design size. It will be rendered to any screen size scaled from design size.
       
      What application in macOS can create SVG graphics?
      Inkscape is not working in macOS 10.11+. Pity.
      LibreOffice Draw works with SVG but buggy.
      Boxy SVG cost 10$ but looks good enough. It creates the best in simplicity files and have more then enough features.
      Illustrator is good but expensive.
       
      How to improve SVG file?
      Clover has restricted support for SVG. It is your job to make compatible file and as small as possible to speedup rendering.
      Some helps:
      Help:Inkscape – From invalid to valid SVG Inkscape files
      From invalid to valid SVG Adobe Illustrator files
      From invalid to valid SVG files of other editors: BKchem, ChemDraw and CorelDRAW
      Help:Illustrator – Assistance with creating and saving SVG images in Adobe Illustrator that will pass W3C validation
      User:Quibik/Cleaning up SVG files manually
      Later I will write own instructions specific to Clover abilities.
       
      How to create SVG fonts?
      You can google to find ready-to-use SVG fonts.  I found some problems with too beaty fonts: slow rendering and overflow crash. Be careful.
      You can get ttf or otf fonts and convert them into svg by using online WEB services. Not a problem to google.
      But then I want to find a way to simplify the font to reduce a size and speedup rendering.
      You can create own font by FontForge It is opensource and available for Windows, Mac and GNU+Linux. It creates otf font which you can convert to svg font.
       
      Pictures from Badruzeus
      https://www.insanelymac.com/forum/applications/core/interface/file/attachment.php?id=301597
    • By thomaspetersen
      Hi All
       
      I'm trying to start a Hackintosh High Sierra 10.13.5 installation:
      - MSI B350 PC Mate
      - Ryzen 5 - 2600
      - Radeon Pro 580 GPU
      - 4 x 8GB DDR4
      (Have a working clover bootloader for HS 10.13.3 - but for some reason, I can't use that setup with the 10.13.5) 
       
      Have tried different bootloader setup, with different outcomes...
      ATM. I get this error/hang - "Unknown CPU: family = 0x17, model = 0x8, Stepping = 0x2"
      Have search google, and can see that the threads ppl. are getting this, is when they look at "About this mac", I haven't yet installed the OSX.
       
      So can someone help...

      I'm running the newest Kexts: AppleALC, FakeSMC, Lilu, RealtekRTL8111, USBInjectAll and WhateverGreen.
      In Bootloader setup, i'm running: -v, -s, -f, -no_compat_check, busratio=34, PCIRootUID=1, npci=0x2000, dart=0 and nv_disable=1
      In SMBIOS i'm using the iMac18,2 and in RT i'm using BooterConfig: 0x28 and CsrActiveConfig: 0x67
      In installed drivers i'm using: AptioMemoryFix, EmuVariableUefi-64, OsxAptioFixDrv-64 (Have tried Fix2 as well)
       
      But i'm, keep getting the Unknown CPU hang/error, can someone help...
      Or do someone have a setup with the same CPU and GPU, that can show me his/her setup for Bootloader/Kexts...
    • By apianti
      Just so you all know I actually have done something. I have pushed the source to both my github and to sourceforge, please commit to the experimental branch and I will merge it into the stable branch once it is safe. Also, nothing meaningful happens yet so don't get too excited. Only the Visual studio build works right now. I haven't set up the Xcode or Makefile builds yet, I'm trying to do them now.
       
      https://github.com/apianti/Clover
      https://sourceforge.net/p/cloverefiboot/Clover
       
      IA32/X64/ARM/ARM64 testing ISO (6/7/2018): Clover-3.0-experimental.iso
×