Jump to content

Ozmosis


xpamamadeus
6,231 posts in this topic

Recommended Posts

Just found out if I load my 11.6 or 12.0 partition with Clover from within Oz xmass menu and reboot the system and pull my Clover usb key out with this time NO Clover running at all OZMOSIS successfully loads my installations!!

 

WTH?!?!

 

Clover must be either be altering NVRam to a proper working state or loading some driver. Goes away if I reset Oz's nvram..

 

Not sure whats going on.  Fritz do you know or can help please?

 

Thanks.

Link to comment
Share on other sites

Clover disables SIP by default and for some unknown reason activated SIP may cause more memory to be allocated. Disable SIP in Oz' Defaults.plist (csr-active-config) and you should be fine.

 

Where exactly do I add that key? In the  18FE0C02 volume or the 7C436110 volume?

 

Thanks

Link to comment
Share on other sites

Yes. You can disable SIP in terminal.

sudo nvram 7C436110-AB2A-4BBB-A880-FE41995C9F82:csr-active-config=%67%00%00%00

Or in config OzmosisDefault

attachicon.gif2.png

    <key>Defaults:7C436110-AB2A-4BBB-A880-FE41995C9F82</key>
    <dict>
        <key>csr-active-config</key>
        <data>
        ZwAAAA==
        </data>
    </dict>

CsrActiveConfig bits.

#define CSR_ALLOW_UNTRUSTED_KEXTS (1 << 0)

#define CSR_ALLOW_UNRESTRICTED_FS (1 << 1)

#define CSR_ALLOW_TASK_FOR_PID (1 << 2)

#define CSR_ALLOW_KERNEL_DEBUGGER (1 << 3)

#define CSR_ALLOW_APPLE_INTERNAL (1 << 4)

#define CSR_ALLOW_DESTRUCTIVE_DTRACE (1 << 5) /* name deprecated */

#define CSR_ALLOW_UNRESTRICTED_DTRACE (1 << 5)

#define CSR_ALLOW_UNRESTRICTED_NVRAM (1 << 6)

 

 

Hi,

 

I get an error in Terminal when I type:

 

 sudo nvram 7C436110-AB2A-4BBB-A880-FE41995C9F82:csr-active-config=%67%00%00%00

 

I get an 'Error setting Variable' message.

 

Thanks

Link to comment
Share on other sites

Clover disables SIP by default and for some unknown reason activated SIP may cause more memory to be allocated. Disable SIP in Oz' Defaults.plist (csr-active-config) and you should be fine.

i use SIP with oz only nvram disables [40000000] instead of [67000000] everything works like a real mac.

 

I don't recommend anyone to use it [40 00 00 00] Never do it.

Link to comment
Share on other sites

i use SIP with oz only nvram disables [40000000] instead of [67000000] everything works like a real mac.

 

I don't recommend anyone to use it [40 00 00 00] Never do it.

Heres the thing I added 'csr-active-config' key of type 'data' with value of '<67000000>' in defaults.plist but not sure its even being loaded because I cant get '-v' to work when added to boot-args key in Defaults.plist unless in terminal I do a sudo nvram boot-args "-v". Kind of weird. Even with a four finger salute. But your saying use '40000000' instead?

 

Ill try inserting those values into ozmosisdefaults into the firmware directly and see what happens,

 

Thanks

 

EDIT: Anyone know why I get this error in terminal: nvram: Error getting variable - '7C436110-AB2A-4BBB-A880-FE41995C9F82:csr-active-config' ??

 

None of the variables are present in the 7C43110 volume though I can pull the Oz GUID  volume variables from terminal no problem.

Link to comment
Share on other sites

Search this thread for an example of how to set csr-active-config from defaults.plist. It's been discussed before.

 

I have been searching and for some reason all the examples I have found didn't work within terminal and even the hermitshell setvar command was not right but I figured it out. On my own.

 

Thanks

Link to comment
Share on other sites

Then you used the wrong GUID.

 

 

Amazing...

 

 

Fritz I love your sense of humor..

 

Anyhow I had to run this within HermitShell to get either 11.6 or 12.0 running:

setvar csr-active-config -guid 7C436110-AB2A-4BBB-A880-FE41995C9F82 -nv ="67000000"

Messing with terminal within Osx did not work for me thus this never worked no matter what value  I plugged in:

(I tried %67%00%00%00 or 103 or whatever)

sudo nvram 7C436110-AB2A-4BBB-A880-FE41995C9F82:csr-active-config ="fwAAAA=="
nvram: Error getting variable - '7C436110-AB2A-4BBB-A880-FE41995C9F82:csr-active-config': (iokit/common) data was not found

I don't know why that didn't work but at least I have confirmation that my issue going back a whole month was related to sip. Guess now I'll

try inserting a new OzmosisDefaults.plist into the firmware because on my system it seems like my Defaults.plist is getting ignored.

 

Thanks

Link to comment
Share on other sites

Fritz I love your sense of humor..

 

Thanks, I try...

 

 

Anyhow I had to run this within HermitShell to get either 11.6 or 12.0 running:

setvar csr-active-config -guid 7C436110-AB2A-4BBB-A880-FE41995C9F82 -nv ="67000000"

Messing with terminal within Osx did not work for me thus this never worked no matter what value  I plugged in:

(I tried %67%00%00%00 or 103 or whatever)

sudo nvram 7C436110-AB2A-4BBB-A880-FE41995C9F82:csr-active-config ="fwAAAA=="
nvram: Error getting variable - '7C436110-AB2A-4BBB-A880-FE41995C9F82:csr-active-config': (iokit/common) data was not found

I don't know why that didn't work but at least I have confirmation that my issue going back a whole month was related to sip. Guess now I'll

try inserting a new OzmosisDefaults.plist into the firmware because on my system it seems like my Defaults.plist is getting ignored.

 

Thanks

 

if it works set via HermitShell, you either had the wrong GUID in Defaults.plist or a typo.

You cannot write to the CSR var from within OS X because that would kind of defeat the purpose... it only works from Recovery HD or UEFI (e.g. Shell).

Set it correctly in Defaults.plist (as al suggested) and you will be fine.

 

EDIT: Saying it is impossible from within OS X might be wrong as last time I checked an IOReg, OS X exposed the address of the UEFI Runtime Services. Has anyone tried using SetVariable directly to set the CSR var? Sounds like a security issue tbh

Link to comment
Share on other sites

Thanks Crusher for posting it but it crashed upon launch. Failure to load core services.

 

Anyhow want to report that I was finally able to disable sip via Defaults.plist. The correct working format that worked

was shared by Stehor. Goes like this:

<key>Defaults:7C436110-AB2A-4BBB-A880-FE41995C9F82</key>
	<dict>
		<key>boot-args</key>
		<string></string>
		<key>csr-active-config</key>
		<integer>67</integer>
	</dict>

Link to comment
Share on other sites

Lots of debate on TextEdit. Some say don't use it. Got to be a better text editor out there for OS X. Anyhow tried blackosx and bsods technique but not work for me.

 

 

Sent from my iPhone using Tapatalk

Link to comment
Share on other sites

My Defaults.plist but 14,2 this is 3,1

<?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>Version</key>
  <string>1.0.1</string>
  <key>Timestamp</key>
  <integer>0</integer>
  <key>Defaults:4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102</key>
  <dict>
    <key>BiosVersion</key>
    <string>MP31.88Z.006C.B05.0802291410</string>
    <key>BiosDate</key>
    <string>02/29/08</string>
    <key>ProductName</key>
    <string>MacPro3,1</string>
    <key>ProductFamily</key>
    <string>MacPro</string>
    <key>SystemVersion</key>
    <string>1.0</string>
    <key>SystemSerial</key>
    <string>CK84593EXYL</string>
    <key>ProductId</key>
    <string>Mac-F42C88C8</string>
    <key>BoardVersion</key>
    <string>Proto1</string>
    <key>BaseBoardSerial</key>
    <string>CK84593EXYL</string>
    <key>Manufacturer</key>
    <string>Apple Inc.</string>
    <key>ProcessorSerial</key>
    <string>CK0020DZE1D</string>
    <key>HardwareAddress</key>
    <string>40:0b:23:1c:35:10</string>
    <key>HardwareSignature</key>
    <string>B5D37D4E-90EC-4DE6-B8D7-6373D34EFE31</string>
    <key>SystemSKU</key>
    <string>System SKU#</string>
    <key>BaseBoardAssetTag</key>
    <string>Base Board Asset Tag#</string>
    <key>ChassisAssetTag</key>
    <string>Asset Tag#</string>
    <key>EnclosureType</key>
    <integer>7</integer>
    <key>FirmwareFeatures</key>
    <integer>0x80001417</integer>
    <key>FirmwareFeaturesMask</key>
    <integer>0xC003ff37</integer>
    <key>FirmwareRevision</key>
    <integer>0x0001000A</integer>
    <key>FirmwareVendor</key>
    <string>Apple</string>
  </dict>
  <key>Defaults:1F8E0C02-58A9-4E34-AE22-2B63745FA101</key>
  <dict>
    <key>BootEntryTemplate</key>
    <string>$label</string>
    <key>DarwinDiskTemplate</key>
    <string>$label</string>
    <key>DarwinRecoveryDiskTemplate</key>
    <string>$label ($platform.$major.$minor)</string>
    <key>DarwinCoreStorageTemplate</key>
    <string>$label</string>
    <key>AndroidDiskTemplate</key>
    <string>$label</string>
    <key>AndroidDiskOptionTemplate</key>
    <string>initrd=$initfs root=UUID=$uuid androidboot.hardware=android_x86 ro SRC=$path</string>
    <key>LinuxDiskTemplate</key>
    <string>$label $build</string>
    <key>LinuxDiskOptionTemplate</key>
    <string>initrd=$initfs root=UUID=$uuid ro</string>
    <key>LinuxRescueDiskTemplate</key>
    <string>$label Rescue</string>
    <key>LinuxRescueOptionTemplate</key>
    <string>initrd=$initfs root=UUID=$uuid ro</string>
    <key>EnableKextPatcher</key>
    <true/>
  </dict>
  <key>Defaults:7C436110-AB2A-4BBB-A880-FE41995C9F82</key>
  <dict>
    <key>boot-args</key>
    <string>darkwake=0 kext-dev-mode=1</string>
    <key>csr-active-config</key>
    <integer size=32>0x7F</integer>
  </dict>
</dict>
</plist>
 
Link to comment
Share on other sites

Lots of debate on TextEdit. Some say don't use it. Got to be a better text editor out there for OS X. Anyhow tried blackosx and bsods technique but not work for me.

 

 

Sent from my iPhone using Tapatalk

There are many plist editors which will do better job than TextEdit.
Link to comment
Share on other sites

My Defaults.plist but 14,2 this is 3,1

 

Version  1.0.1  Timestamp  0  Defaults:4D1FDA02-38C7-4A6A-9CC6-4BCCA8B30102      BiosVersion    MP31.88Z.006C.B05.0802291410    BiosDate    02/29/08    ProductName    MacPro3,1    ProductFamily    MacPro    SystemVersion    1.0    SystemSerial    CK84593EXYL    ProductId    Mac-F42C88C8    BoardVersion    Proto1    BaseBoardSerial    CK84593EXYL    Manufacturer    Apple Inc.    ProcessorSerial    CK0020DZE1D    HardwareAddress    40:0b:23:1c:35:10    HardwareSignature    B5D37D4E-90EC-4DE6-B8D7-6373D34EFE31    SystemSKU    System SKU#    BaseBoardAssetTag    Base Board Asset Tag#    ChassisAssetTag    Asset Tag#    EnclosureType    7    FirmwareFeatures    0x80001417    FirmwareFeaturesMask    0xC003ff37    FirmwareRevision    0x0001000A    FirmwareVendor    Apple    Defaults:1F8E0C02-58A9-4E34-AE22-2B63745FA101      BootEntryTemplate    $label    DarwinDiskTemplate    $label    DarwinRecoveryDiskTemplate    $label ($platform.$major.$minor)    DarwinCoreStorageTemplate    $label    AndroidDiskTemplate    $label    AndroidDiskOptionTemplate    initrd=$initfs root=UUID=$uuid androidboot.hardware=android_x86 ro SRC=$path    LinuxDiskTemplate    $label $build    LinuxDiskOptionTemplate    initrd=$initfs root=UUID=$uuid ro    LinuxRescueDiskTemplate    $label Rescue    LinuxRescueOptionTemplate    initrd=$initfs root=UUID=$uuid ro    EnableKextPatcher        Defaults:7C436110-AB2A-4BBB-A880-FE41995C9F82      boot-args    darkwake=0 kext-dev-mode=1    csr-active-config    0x7F   

I must have used incorrect values I guess. Was wondering Crusher whats your 'firmwarerevision' values for a 14,2? Was finetuning mine but couldnt generate one. Thanks

Link to comment
Share on other sites

×
×
  • Create New...