Jump to content
xpamamadeus

Ozmosis

6,119 posts in this topic

Recommended Posts

For some reason it doesn't detect kernel version. I ran Kext Utility to rebuild caches and permissions but to no avail.

 

Any suggestions?

 

Usually because of bad BootArgs / RelocBase. Rebuilding caches over and over will not help, instead of restart.

 

Hi Oz community.

 

I dont have Skype, and Im jealous :D

//
//   Copyright (c) 2012  Finnbarr P. Murphy.   All rights reserved.
//
//   Set or clear ShellOpt global variable
//

Here my ported of ShellOpt with EDKII. Could be useful to set ShellOpt var, ex: remove "-nostartup" value so we can run "startup.nsh" & do whatever you want there.

 

ShellOpt.efi.zip

Share this post


Link to post
Share on other sites
Advertisement

Usually because of bad BootArgs / RelocBase. Rebuilding caches over and over will not help, instead of restart.

 

I cleared bootargs. Now:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
	<key>LocationServicesEnabled</key>
	<data>
	AQ==
	</data>
	<key>boot-args</key>
	<string>darkwake=0 keepsyms=1 nvda_drv=1</string>
	<key>csr-active-config</key>
	<data>
	fwAAAA==
	</data>
	<key>fmm-computer-name</key>
	<data>
	aU1hYw==
	</data>
</dict>
</plist>

I also reset ozmosis with command-alt-P-R.

 

Still getting same error:

00:100 (00:100) | KernextPatcher (rev 93): Start at 2017.10.11, 7:24:31 (GMT+0)
00:100 (00:000) | Running from: MemoryMapped(0xB,0xC0CA3004,0xC163F003)/FvFile(99665243-5AED-4D57-92AF-8C785FBC7558)
00:102 (00:002) | Loaded Plist: PciRoot(0x0)/Pci(0x1F,0x2)/Sata(0x0,0xFFFF,0x0)/HD(1,GPT,5F340E7E-820E-4CF0-9D00-9F4449044B31,0x28,0x64000)\EFI\KernextPatcher.plist
00:102 (00:000) | KextsToPatch: 1 requested
00:102 (00:000) |  - [00]: AppleUSBXHCIPCI (remove usb limit) | BinPatch | len: 7
03:979 (03:877) | Found Booter (OS: 10.11 | Ver: 307.40.6)
03:979 (00:000) | Booter Path: PciRoot(0x0)/Pci(0x1F,0x2)/Sata(0x0,0xFFFF,0x0)/HD(2,GPT,49EE3CE2-09FE-4050-8C8B-EE91E3750340,0x64028,0xDDFAC40)\System\Library\CoreServices\boot.efi
03:982 (00:002) | OSVersion: 10.11.6 | BuildVersion: 15G1611
03:982 (00:000) | KernelAndKextPatcherInit: Start
03:982 (00:000) | Found BootArgs at 0x76AC000
03:982 (00:000) | RelocBase: 0x11C6000
03:982 (00:000) | Found 64Bit kernel at 0x13C6000
03:982 (00:000) | Unsupported kernel version (0.0.0)
03:982 (00:000) | KernelAndKextPatcherInit: End
03:982 (00:000) | KernextPatcher: End

Any advice how to fix it?

 

EDIT:

In bdmesg there are other addresses:

07:168 00:000 Found BootArgs 0xB30A4000 Version 0x2 Revision 0x0
07:168 00:000 Kernel Address      0x000100000 Length 0x0A55B000

Best regards,

Goran

Share this post


Link to post
Share on other sites

Hhhh, i'm jealous did you mean! Do you know, i can't do the magic like you

 

 

Sent from my iPhone using Tapatalk

Share this post


Link to post
Share on other sites

 

Download-Fritz we really shouldn't bother to reply on such people.

 

@ griven when I read what you are typing, the first sensation is vomit, I wont bother to say more except that AOS board has NO NVRAM issue, probably a dead brain on the other side...

 

Patience is a virtue, for those who have it, for the others I don't give a f***k.

00:360 00:000 ScanFileSystem: Started
00:360 00:000 PciRoot(0x0)/Pci(0x11,0x4)/Sata(0x0,0xFFFF,0x0)/HD(2,GPT,95193594-E380-4A16-9BA9-6E023F10FB3E,0x64028,0x6F68EE0)/VenMedia(BE74FCF7-0B7C-49F3-9147-01F4042E6842,4D29C09E3A1AAD41BB27AA5142D853CF)
00:361 00:001  Blessed File   \System\Library\CoreServices\boot.efi
00:362 00:000  Blessed Folder \System\Library\CoreServices
00:377 00:015  Version  \System\Library\CoreServices\SystemVersion.plist 477
00:378 00:000   Product Version   10.13
00:378 00:000   Product Build     17A405
00:380 00:002  Config     90
00:380 00:000  IsBootable 1 IsCoreStorage 0 IsRaid 0 IsRecovery 0
00:380 00:000 Convert 1F8E0C02-58A9-4E34-AE22-2B63745FA101:DarwinDiskTemplate="$label" -> "HighSierra"
00:380 00:000 Matched Boot0000 "HighSierra"
00:380 00:000  PciRoot(0x0)/Pci(0x11,0x4)/Sata(0x0,0xFFFF,0x0)/HD(2,GPT,95193594-E380-4A16-9BA9-6E023F10FB3E,0x64028,0x6F68EE0)/VenMedia(BE74FCF7-0B7C-49F3-9147-01F4042E6842,4D29C09E3A1AAD41BB27AA5142D853CF)/\System\Library\CoreServices\boot.efi (0xBE)
00:380 00:000  Options (0x00)
00:380 00:000  Attributes 1
00:380 00:000 ScanFileSystem: Finished

What do you mean but this screenshot? I come to this thread from time to time in hopes there will be an updated version oz.

Share this post


Link to post
Share on other sites

So, I fixed the mats issue with my Bios/DSDT, but now High Sierra is glitching with FakeSMC, is there a patch for that? and if so, where/what needs to be applied to resolve that glitch?

 

The system I am working on is the one listed in my sig.

GA-Z87X-UD5 TH, I7-4770K,

16 GIG DDR3, nvidia GTX 750 TI,

250 GB SSD, 1500 gb sata

and a spare 500GB drive for High Sierra until I get it stable enough for daily use.

current config is that the machine is an iMac 14,2

right now I can't get it to boot.

 

HBP

Share this post


Link to post
Share on other sites

So, I fixed the mats issue with my Bios/DSDT, but now High Sierra is glitching with FakeSMC, is there a patch for that? and if so, where/what needs to be applied to resolve that glitch?

 

The system I am working on is the one listed in my sig.

GA-Z87X-UD5 TH, I7-4770K,

16 GIG DDR3, nvidia GTX 750 TI,

250 GB SSD, 1500 gb sata

and a spare 500GB drive for High Sierra until I get it stable enough for daily use.

current config is that the machine is an iMac 14,2

right now I can't get it to boot.

 

HBP

 

Read this: #5039 post, use Clover Configurator to update your 14,2 date and S/N version for your OzmosisDefaults, and post screenshots before and after, to know if really FakeSMC make glitch

Edited by ammoune78

Share this post


Link to post
Share on other sites

Read this: #5039 post, use Clover Configurator to update your 14,2 date and S/N version for your OzmosisDefaults, and post screenshots before and after, to know if really FakeSMC make glitch

thx for the prompt reply and assistance. changed that and my SMBIOS to iMac 15,1 and now fully loading into 10.13 ;)

 

HBP

Share this post


Link to post
Share on other sites

Hi mate! tell me how to remove debug information apfs.efi at boot? I am using the latest patched version and still see extended output driver. My apfs driver were flashed in rom

Share this post


Link to post
Share on other sites

I cleared bootargs. Now:

 

After you have done comparing the values of (BootArgs '0xBB33B000' & kernel '0xB87D3000') in patcher & Ozmosis log and they are all matched but still pointing to the wrong address, I have no other words to say. Im no longer work with current project at repo ATM. Hope this man / other could help you.. by improving this 'bad' block?

 

Patcher log:

10:341 (00:000) | KernelAndKextPatcherInit: Start
10:347 (00:005) | Found BootArgs at 0xBB33B000
10:347 (00:000) | RelocBase: 0xB85D3000
10:347 (00:000) | Found 64Bit kernel at 0xB87D3000

Ozmosis log:

10:033 00:010 Found BootArgs 0xBB33B000 Version 0x2 Revision 0x0
10:037 00:004 Found Darwin Kernel Version 16.7.0: Thu Jun 15 17:36:27 PDT 2017; root:xnu-3789.70.16~2/RELEASE_X86_64 0xB87D3000 Kernelcache

Here I recompile it again with some extra infos & sample log.

Share this post


Link to post
Share on other sites

ammoune78, on 12 Oct 2017 - 3:53 PM, said:snapback.png

Read this: #5039 post, use Clover Configurator to update your 14,2 date and S/N version for your OzmosisDefaults, and post screenshots before and after, to know if really FakeSMC make glitch

 

thx for the prompt reply and assistance. changed that and my SMBIOS to iMac 15,1 and now fully loading into 10.13 ;)

 

HBP

so I have again run into an interesting error. this setup works on Clover (my backbootloader) but when I implement it onto my Ozmosis settings I get blank screen no signal problem. it still boots into the system (I can remote into it) but no screens.  I have NvidiaGraphicsFixup installed in the ROM, but that doesn't;'t seem to be effecting ether 10.12.5(my main drive) or 10.13 (my test bench). Would really love to get Oz working so that I don't have to rely on Clover to work right.

 

also, what file formate do I need to have the Extra Kexts(that don't fit in ROM) to have Oz see and parse them?thinking of striping my Oz rom to simply Oz, APFS, injector, and leaving the rest of the FakeSMC and other mods to the /EFI/Oz/Darwin/Extensions directory.

 

in that folder what file format does Oz expect? Kext or FFS or do I have to create an additional kext folder somewhere to get the kexts on disk to be usable by Ozmosis?

 

just updated to the Ozmosis version that has been floating around that said it was HS compliment, but can still run 894M osmosis as well.

 

the Softraid bootability from 894M makes it so that if the information (overides/kexts) are correct you can load APFS drives from it, they act like software raid disks and boot like CoreStorage containers.

 

lost in thought. I would like to get Ozmosis Rock solid before changing my Fusion main drive to 10.13.

 

HBP

Share this post


Link to post
Share on other sites

Thank you very much

the AcpiPatcher seems to work well.

 

two things:

 

1.unlike clover, it also patch the ssdt in /EFI/OZ/ACPI/LOAD

 

2.the AcpiPatcherLog.txt not showing anything related to acpi

00:100 (00:100) | KernextPatcher (rev 93): Start at 2017.10.14, 15:47:52 (GMT+0)00:100 (00:000) | Running from: MemoryMapped(0xB,0xC0672004,0xC14C8003)/FvFile(99665243-5AED-4D57-92AF-8C785FBC7558)
00:101 (00:001) | Loaded Plist: PciRoot(0x0)/Pci(0x1F,0x2)/Sata(0x0,0xFFFF,0x0)/HD(1,GPT,2F1C32E4-C0E8-4AA8-B446-9083BC297831,0x28,0x64000)\EFI\KernextPatcher.plist
00:101 (00:000) | KextsToPatch: 3 requested
00:101 (00:000) |  - [00]: AppleUSBXHCIPCI (Remove USB limit MacOS HighSierra) | MatchOS: 10.13.x | BinPatch | len: 4
00:101 (00:000) |  - [01]: AppleUSBXHCIPCI (Remove USB limit MacOS Sierra) | MatchOS: 10.12.x | BinPatch | len: 7
00:101 (00:000) |  - [02]: AirPortAtheros40 (Wi-Fi Region to 0x64) | BinPatch | len: 7

Share this post


Link to post
Share on other sites

Any way to boot Sierra/High Sierra with SIP enabled?

With clover I can boot with SIP enabled when using AptioFix2Drv.

 

Thanks

 

Sent from my ONEPLUS A5000 using Tapatalk

Share this post


Link to post
Share on other sites

 

Thank you very much

the AcpiPatcher seems to work well.

 

two things:

 

1.unlike clover, it also patch the ssdt in /EFI/OZ/ACPI/LOAD

 

2.the AcpiPatcherLog.txt not showing anything related to acpi

00:100 (00:100) | KernextPatcher (rev 93): Start at 2017.10.14, 15:47:52 (GMT+0)00:100 (00:000) | Running from: MemoryMapped(0xB,0xC0672004,0xC14C8003)/FvFile(99665243-5AED-4D57-92AF-8C785FBC7558)
00:101 (00:001) | Loaded Plist: PciRoot(0x0)/Pci(0x1F,0x2)/Sata(0x0,0xFFFF,0x0)/HD(1,GPT,2F1C32E4-C0E8-4AA8-B446-9083BC297831,0x28,0x64000)\EFI\KernextPatcher.plist
00:101 (00:000) | KextsToPatch: 3 requested
00:101 (00:000) |  - [00]: AppleUSBXHCIPCI (Remove USB limit MacOS HighSierra) | MatchOS: 10.13.x | BinPatch | len: 4
00:101 (00:000) |  - [01]: AppleUSBXHCIPCI (Remove USB limit MacOS Sierra) | MatchOS: 10.12.x | BinPatch | len: 7
00:101 (00:000) |  - [02]: AirPortAtheros40 (Wi-Fi Region to 0x64) | BinPatch | len: 7

Clover patches SSDT as well but in another folder.

Share this post


Link to post
Share on other sites
1.unlike clover, it also patch the ssdt in /EFI/OZ/ACPI/LOAD

 

Clover patches SSDT as well but in another folder.

 

Far as I know, isnt Clover will patch all loaded ssdts unless user decided to drop oem ssdt? >>>

Thats why Clover have this such of messages:

12:627 (00:000) | :: PatchAllSSDT
12:627 (00:000) | Patching Table ID: 'SataTabl' | Len: 0x877
12:627 (00:000) |  - [00]: (GFX0 [to] GFX2) (47465830 -> 47465832) bin not Found / already patched!

Im not sure what 'another folder' is :)

 

2.the AcpiPatcherLog.txt not showing anything related to acpi

 

You may try another build here. Prev it used same instance of Clover Memlog lib.

 

Any way to boot Sierra/High Sierra with SIP enabled?

 

With Oz, sorry I believe no.

 

Ok, whats the trick in getting Oz (my version) to work with High Sierra, 

:king:  :hammer:  :wallbash:  :boxing:  :geek:  :happymac:

Share this post


Link to post
Share on other sites

AcpiPatcher. Sample included.

Thank you very much! Did I correctly understand, that I should to insert AB6CE992-8D17-4C3A-A414-0FEAA3904504.ffs and AcpiPatcher.plist into the Ozmosis, then flash it and place AcpiPatcherLog.tht in the EFI folder for correct use of AcpiPatcher? Or AcpiPatcher.plist should olso be in the EFI folder?

Share this post


Link to post
Share on other sites

Hi cecekpawon,

is one of your extensions able to patch AppleIntelCPUPowerManagement (AsusAICPUPM) dynamically at boot?

With a new hack, I'm using ozmosis.efi from EFI. I got HS installed with the help of NullCPUPowerManagement.kext, then I patched AppleIntelCPUPowerManagement.kext and removed NullCPUPowerManagement.kext to get working PM.
But this way I can't start Recovery...

 

Any help?

Share this post


Link to post
Share on other sites

 

 

Far as I know, isnt Clover will patch all loaded ssdts unless user decided to drop oem ssdt?

 

Clover patches all SSDT's in firmware but not those which are loaded from EFI folder (from my experience).

Both approach are fine of course,

Just mean I can't share same ssdt between Clover and Oz.

 

 

Sent from my ONEPLUS A5000 using Tapatalk

Share this post


Link to post
Share on other sites

You can flash the ffs, but plist must be in one of your EFI folder. Patcher will start to looking its config from self dir / 1st founded ESP (like previously release). PatcherLog.txt will automatically created. I suggest to play safe first by bcfg the driver instead of flashing it. Please reload your current KernextPatcher (if any, due the MemLog problem mentioned above) to work with this AcpiPatcher. >>>

Share this post


Link to post
Share on other sites

is one of your extensions able to patch AppleIntelCPUPowerManagement (AsusAICPUPM) dynamically at boot?

But this way I can't start Recovery...

 

As long the kext is on prelinked, yes. About recovery >>> I dont have HS :)

 

Clover patches all SSDT's in firmware but not those which are loaded from EFI folder (from my experience).

Both approach are fine of course,

Just mean I can't share same ssdt between Clover and Oz.

 

I take a look the source again and yeah you are right. Clover will patch all ssdt and load user ssdt right after. Please take my beer..

I think it could be done, by start patching all loaded OEM tables (or just indexing em all as filters to patch later) immediately after successfully reading user config instead of after exitbootservices, but why?

If I start this proc on exitbootservices I can convinced the loaded image is valid darwin boot.efi to prevent applying patch to other OS, but with another problem Oz already done injecting all user tables.

Do you have any concrete example and its benefit to only patching OEM tables?

Im start thinking to add another plist entry (like drop table) as filters by each signatures to ignored. But man..

Share this post


Link to post
Share on other sites

It's doesn't really matter to me, just one drawback is I need different ssdt for clover and Oz.

 

I use (among others)

GFX0-->IGPU

PEGP-->GFX0

In clover my ssdt is already using the modified devices for injsction.

If I use the same ssdt with Oz I have two devices named IGPU.

So my ssdt with Oz still use PEGP and GFX0

 

Sent from my ONEPLUS A5000 using Tapatalk

Share this post


Link to post
Share on other sites

As long the kext is on prelinked, yes. About recovery >>> I dont have HS :)

 

 

...

 

Yes, I add a boot entry for the recovery with bcfg from shell.

But at boot I got a kernel panic because of the missing patch.

The mb has a locked msr.

Share this post


Link to post
Share on other sites

It's doesn't really matter to me, just one drawback is I need different ssdt for clover and Oz.

 

Yes as I expected. After we were done renaming device name with patcher, our custom ssdt should pointing to wrong device. Thats why I will stick to this way ATM since its make more sense for me to patch all loaded ssdts. But maybe I will find more convenience way later..

 

Yes, I add a boot entry for the recovery with bcfg from shell.

 

You can mount your recovery and check the targeted kext is on prelinkedkernel with LZVN decompressor or check your log with Debug ON to list all kexts. More..

/Volumes/Recovery HD/com.apple.recovery.boot/prelinkedkernel
<key>Preferences</key>
<dict>
  <key>Debug</key>
  <true/>
  <key>SaveLogToFile</key>
  <true/>
</dict>

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 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
    • By cvad
      Bootdisk Utility Make bootable USB Flash Disk for MAC OS X with Latest Clover bootloader revision fast and easy by one click! under OS Windows.
      Special utility from cvad & russian MAC community for new hackintosh users.
       
      BDU_v2.1.2018.023b.zip
      MakeCloverBDUReadyZip.bat.zip
      Enjoy...
       
       
       
      Feel free to "Rate File"
      Submitter cvad Submitted 04/28/2013 Category Bootloaders  
      BDU_v2.1.2015.016b.zip
      BDU_v2.1.2015.018b.zip
      BDU_v2.1.2016.019b.zip
      BDU_v2.1.2016.020b.zip
      BDU_v2.1.2017.021b.zip
      BDU_v2.1.2017.022b.zip
×