Jump to content
xpamamadeus

Ozmosis

6,084 posts in this topic

Recommended Posts

Did you add the following NVRAM settings either per terminal or in your hopefully available Defaults.plist?

 

Terminal-Version:

Inject ATI
==========

sudo nvram 1F8E0C02-58A9-4E34-AE22-2B63745FA101:DisableAtiInjection=%00

Changing ATI Framebuffers
=========================

sudo nvram 1F8E0C02-58A9-4E34-AE22-2B63745FA101:AtiFramebuffer=Futomaki

Or based on VendorSubsystemId

sudo nvram 1F8E0C02-58A9-4E34-AE22-2B63745FA101:AtiFramebuffer10029440=Futomaki

Or based on pci addressing

sudo nvram 1F8E0C02-58A9-4E34-AE22-2B63745FA101:AtiFramebuffer00.01.00=Futomaki

Remark: The Framebuffer "Futomaki" is only an example and should not be used for your Card. Same goes for the "VendorSubsystemId" with the numbers "10029440"...

 

Defaults.plist-Version:

// If DisableAtiInjection NEEDS to be enabled, change second line bellow and set to true, then add both line in Defaults.plist
<key>DisableAtiInjection</key>
<false/>

// If AtiFramebuffer NEEDS to be changed, modify second line bellow and set to correct one, then add both line in Defaults.plist
<key>AtiFramebuffer</key>
<string>ReplaceMe</string>
!! WARNING DisableAtiInjection needs to be set to false to function !!

Share this post


Link to post
Share on other sites
Advertisement

Hi,

 

SmcEctract Update https://www.dropbox.com/s/eh65d1cs4p0pa4a/SmcExtract.zip?dl=0

 

For exemple ./SmcExtract Mac-FFE5EF870D7BA81A.smc

 

# Version: 2.32f20

SMC hidden keys

 

OSK0 ch8*

OSK1 ch8*

MSSN ui16

CRDP flag

FPOR ch8*

MOJC ui8 

MOJD ui8 

MOJE ui8 

MOJO ui8 

KPCT ui8 

KPPW ch8*

KPST ui8 

KPVR ui8 

zCRS ui8

 

Fred

Share this post


Link to post
Share on other sites

Try the clover way and use the IGPU as primary output.

If you have two monitors, connect one to each GPU...

Share this post


Link to post
Share on other sites

Hi,

 

SMCExtract update : https://www.dropbox....xtract.zip?dl=0

 

Extract RPit et RBr from SMC file.

 

Mac-7DF21CB3ED6977E5.smc MacbookAir6,2.

 

 

SMC Revision keys
 
REV          : 02 13 0f 00 15 00 
RBr          : 6a 34 31 6a 34 33 00 00 
RPit         : 6a 34 33 00 00 00 00 00 
End of buf ? : 00 00 75 95 86 08 00 00 00 00

 

Fred

Share this post


Link to post
Share on other sites

Did you try smaller *.smc files on your "/Volumes/EFI/EFI/APPLE/UPDATERS"? It will receive "Segmentation fault: 11" error.

And "RPit" should be "RPlt"? My best guess "End of buf" is "CRCA/CRCa". Here my hardcoded php code Fred:

 

 

<?
/*
FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0000000002200F0018006A393000000000006A3930000000000000008E98F90E00000000

REV          : 02 20 0f 00 18 00
RBr          : 6a 39 30 00 00 00 00 00
RPit         : 6a 39 30 00 00 00 00 00
End of buf ? : 00 00 8e 98 f9 0e 00 00 00 00 ==> CRCA/CRCa  [ui32]  142 (bytes 0e f9 98 8e)
*/

$f = "Mac-F60DEB81FF30ACF6.smc";
//$f = "flasher_update.smc";

$v = $vRev = $sRev = "";

if (!file_exists($f)) {
  exit;
}

$s = file_get_contents($f);

preg_match_all("#\[a-f0-9]{10,})\:#i", $s, $a);

if (!isset($a[1]) || !count($a[1])) {
  exit;
}

/*
print_r($a[1]);

foreach ($a[1] as $k => $v) {
  $s = hex2bin($v);
  if (preg_match("#REV#", $s)) {
    echo "$s\n";
  }
}
*/

$v = $a[1][count($a[1]) - 1];

preg_match("#f.0{8}(.{6}).{2}(.{2}).{2}(.{16}).{20}(.{8})#i", $v, $a);
//print_r($a);

if (count($a) < 5) {
  exit;
}

foreach ($a as $k => $v) {
  $key = "";

  switch ($k) {
    case 1:
      $vRev = $v;
      continue;
    case 2:
      $key = "REV/RVBF/RVUF";
      $v = "{$vRev}0000{$v}";
      break;
    case 3:
      $key = "RBr/RPlt";
      break;
    case 4:
      $key = "CRCA/CRCa";
      $v = implode("", array_reverse(str_split($v, 2)));
      break;
  }

  if ($key) {
    $v = implode(" ", str_split($v, 2));

    $sRev .= "{$key}: {$v}\n";
  }
}

if ($sRev) {
  echo <<<SMC
SMC Revision keys:

$sRev
SMC;
}

 

 

Share this post


Link to post
Share on other sites

cecekpawon thanks: I update code.

 

 

From my macbookpro6,1 smcfuzzer

  REV   [{rev]  (bytes 01 57 0f 00 00 18)

  RVBF  [{rev]  (bytes 01 57 0f 00 00 17)

  RVUF  [{rev]  (bytes 01 57 0f 00 00 17)

 
REV != RVBUF
 
From file
SMC Revision keys

 

REV          : 01 57 0f 00 00 18 

RBr          : 6b 31 37 00 00 00 00 00 

RPlt         : 6b 31 37 00 00 00 00 00 

 

Fred

Share this post


Link to post
Share on other sites

Hi, i'm a little bit ignorant, what is utility of smcextrac? and in which way is used? 

 

Many thanks 

Share this post


Link to post
Share on other sites

Hi, i'm a little bit ignorant, what is utility of smcextrac? and in which way is used? 

 

Many thanks 

 

It's just a little tool to extract name of smc key and some value. it use Apple smc update file.

 

Fred

Share this post


Link to post
Share on other sites

It's just a little tool to extract name of smc key and some value. it use Apple smc update file.

 

Fred

Thank you Fred,and in which way is used in ozmosis?

 

Send from my honor 7 via topatalk

Share this post


Link to post
Share on other sites

Hi @al6042 after injection and set FrameBuffer to Baffin I got following output:

 

photo3469553225eqfd72pyx1.jpg

 

GPU is set as primary output.

I beleive you can make it work like this ...

With BIOS to its Default value (will use GPU if one is found), monitors should be connected to the AMD card

Disable ATI Injection

MacOS Sierra should be able to boot (albeit without hardware acceleration)

To enable full acceleration and Metal support, you need to add the RX 480’s PCI ID to AMDRadeonX4100.kext.

add-rx-480-pci-id-0x67df1002-amdradeonx4

Share this post


Link to post
Share on other sites

@IronManJFF How to deactivate the ATI Injection?

Yes for sure I already test it, without the injected ID I can boot but as you said with VESA (no acceleration).

The curious fact is, when ID is injected into the kext, I cant boot (only with iGPU as primary)...

 

Maybe you should have a look at the clover section, I'm not sure but I think the problem is the same.

Share this post


Link to post
Share on other sites

 

Did you add the following NVRAM settings either per terminal or in your hopefully available Defaults.plist?

 

Terminal-Version:

Inject ATI
==========

sudo nvram 1F8E0C02-58A9-4E34-AE22-2B63745FA101:DisableAtiInjection=%00

Changing ATI Framebuffers
=========================

sudo nvram 1F8E0C02-58A9-4E34-AE22-2B63745FA101:AtiFramebuffer=Futomaki

Or based on VendorSubsystemId

sudo nvram 1F8E0C02-58A9-4E34-AE22-2B63745FA101:AtiFramebuffer10029440=Futomaki

Or based on pci addressing

sudo nvram 1F8E0C02-58A9-4E34-AE22-2B63745FA101:AtiFramebuffer00.01.00=Futomaki

Remark: The Framebuffer "Futomaki" is only an example and should not be used for your Card. Same goes for the "VendorSubsystemId" with the numbers "10029440"...

 

Defaults.plist-Version:

// If DisableAtiInjection NEEDS to be enabled, change second line bellow and set to true, then add both line in Defaults.plist
<key>DisableAtiInjection</key>
<false/>

// If AtiFramebuffer NEEDS to be changed, modify second line bellow and set to correct one, then add both line in Defaults.plist
<key>AtiFramebuffer</key>
<string>ReplaceMe</string>
!! WARNING DisableAtiInjection needs to be set to false to function !!

 

I'm now confused...

 

%00 or %01?

 

Please have a look here:

http://www.insanelymac.com/forum/topic/291655-ozmosis/?p=2318252

 

and here:

http://www.insanelymac.com/forum/topic/291655-ozmosis/?p=2318733

 

Thanks in advance!

Share this post


Link to post
Share on other sites

Anyone have a FakeSMC FFS file to share updated with black screen fixes? The one I have UEFITool complains it has an Invalid PE32 Dos signature. Not sure if that matters or not as it works regardless.

 

Thanks

Share this post


Link to post
Share on other sites

Anyone have a fix for my problem with iMac Smbios:

I have problem only with iMac, it make a big bip sound in every 20 second, after that the Audio goes to sleep, i have to click somewhere on the desktop to get Audio working again, Again and again i have to repeat this click each 20 seconds!

It's a headache, for sure   :hammer:


Anyone have a FakeSMC FFS file to share updated with black screen fixes? The one I have UEFITool complains it has an Invalid PE32 Dos signature. Not sure if that matters or not as it works regardless.

 

Thanks

 

Why not XMASS? I'm using the SmcEmulatorKext and it work well!

 

Otherwhise, you have to download it from HWSensorsofficial website and do an Kext2Ffs from your OS X or take a cecekpawon Kext2Ffs port from he's Git to do it from windows, you maybe have to edit the .bat with an text editor for HWSensors Kexts GUID Modules. You will not have the Invalid PE32 with UEFITool.

Share this post


Link to post
Share on other sites

Anyone have a fix for my problem with iMac Smbios:

I have problem only with iMac, it make a big bip sound in every 20 second, after that the Audio goes to sleep, i have to click somewhere on the desktop to get Audio working again, Again and again i have to repeat this click each 20 seconds!

It's a headache, for sure   :hammer:

 

Why not XMASS? I'm using the SmcEmulatorKext and it work well!

 

Otherwhise, you have to download it from HWSensorsofficial website and do an Kext2Ffs from your OS X or take a cecekpawon Kext2Ffs port from he's Git to do it from windows, you maybe have to edit the .bat with an text editor for HWSensors Kexts GUID Modules. You will not have the Invalid PE32 with UEFITool.

 

 

Why not XMass?? I have the Ozmosis Xmass version.  Thanks for the suggestion though. Might upgrade it next time I do a bios flash.

 

Thanks

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 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 Slice
      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 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
×