Jump to content

Ozmosis


xpamamadeus
6,231 posts in this topic

Recommended Posts

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

  • Like 2
Link to comment
Share on other sites

  • 2 weeks later...

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

  • Like 2
Link to comment
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;
}

 

 

  • Like 1
Link to comment
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
  • Like 2
Link to comment
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

Link to comment
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

Link to comment
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.

Link to comment
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!

Link to comment
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

Link to comment
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.

Link to comment
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

Link to comment
Share on other sites

Hello,

 

i have boot problems after Bios update from Z97D3H_F9_Sierra to manufacturer and back again.

I have a huge problems. My whole OS X versions (Yosemite, El Capitan & Sierra) do not boot anymore.

 

First of all my computer configuration:

Motherboard: Gigabyte GA-Z97-D3H

Bootloader: Ozmosis Z97D3H_F9_Sierra by Griven (Ozmosis 167X-MAS Support for Sierra)

CPU: i5 4670 3.4 GHz

GPU: Intel HD 4600

3 hard disks each with Yosemite, El Capitan and Sierra with its own EFI partition.

 

What happened:

I changed my bios from the version Ozmosis Z97D3H_F9_Sierra (Ozmosis 167X-MAS Support for Sierra) to manufacturer version Z97-D3H-F9.

Then changed from the standard manufacturer version back to the Ozmosis Z97D3H_F9_Sierra version.

Now, none of my OSX versions are booting - it stops at:

 

UNADJUSTEDNONRAW_thumb_524.jpg

 

busy timeout(0), (60s), kextd wait:(0) 'GFX0'

It is probably due to the missing inject for the HD4600.

 

Previously i had no OzmosisDefault.plis and no DSDT.aml, it ran OOB.

Now I have made an OzmosisDefault.plist.

 

But with the entry here

<Key> AAPL, ig-platform-id </ key>

<Integer> 220332035 </ integer>

also the error: busy timeout (0), (60s), kextd wait: (0) 'GFX0'

 

Now I have made the following entry:

<Key> AAPL, ig-platform-id </ key>

<Integer> 0D220003 </ integer>

So the error does not occur. He also boots, but the graphics card is somehow not recognized correctly.

Only 6 MB VRAM. Here is a picture:

 

1.jpg

 

 

Please Help

Link to comment
Share on other sites

×
×
  • Create New...