Jump to content

Clover General discussion


ErmaC
30,155 posts in this topic

Recommended Posts

Hmm might be pointless to ask but any chance of building intel mausi and both Realtek next work kexts into clover since they are the most used or isn’t it possible

 

 

Sent from my iPhone using Tapatalk

Compare byte sizes of Clover and of these kexts.

  • Like 1
Link to comment
Share on other sites

Users preference. If you want to disable all csr flags, use 0x3FF. 0x3E7 has some enabled csr flags. At least need 0x67 or over for hack.

 

My case, use 0x67, i dont need to disable all csr flags. It means miniminzed 0x67 for hack. I tested Sierra/High Sierra.

 

EDIT1.

Ofc, According to users system, can use more less csrconfigactive values than 0x67.

 

EDIT2.

Clover used 0x67 in yos/elc/sie. There was problem before.

Actually to disabled all csr flags on each osx

Yos/ElC 0xFF <--- not remember correctly whether both or not. i dont have time to check this. Im in mobile.

Sie 0x1FF

HS 0x3FF

 

 

나의 LG-F800S 의 Tapatalk에서 보냄

There's no complete SIP in place with Yosemite. (But yes, there had been some related restrictions inside AppleEFINVRAM since 10.10.4 IIRC.)

Apple has started using 0x77 as "disabled SIP" since certain beta version of 10.11.1.

(I suggest Clover set 0x77 by default to follow Apple's change, although "Apple Internal" is currently still somehow "doing nothing"...)

 

Also take a glance on my previous reply: http://www.insanelymac.com/forum/topic/284656-clover-general-discussion/page-690?do=findComment&comment=2466799

Edited by PMheart
  • Like 1
Link to comment
Share on other sites

Updated to Clover 4200, all working perfectly. Full backlight range, save/restore across reboots -- working natively with stock Apple kexts :D

 

Thanks Slice, syscl, and everyone else.

  • Like 1
Link to comment
Share on other sites

Users preference. If you want to disable all csr flags, use 0x3FF. 0x3E7 has some enabled csr flags. At least need 0x67 or over for hack.

 

My case, use 0x67, i dont need to disable all csr flags. It means miniminzed 0x67 for hack. I tested Sierra/High Sierra.

 

EDIT1.

Ofc, According to users system, can use more less csrconfigactive values than 0x67.

 

EDIT2.

Clover used 0x67 in yos/elc/sie. There was problem before.

Actually to disabled all csr flags on each osx

Yos/ElC 0xFF

Sie 0x1FF

HS 0x3FF

 

 

나의 LG-F800S 의 Tapatalk에서 보냄

Those keys are not magic. Just take XNU sources and found how they used.

CSR_ALLOW_APPLE_INTERNAL is used only for debugging kernel by dtrace. No other usage.

	if (csr_check(CSR_ALLOW_KERNEL_DEBUGGER) != 0 &&
	    csr_check(CSR_ALLOW_APPLE_INTERNAL) != 0) {
		if (debug_flags)
			*debug_flags = 0;
		return FALSE;
	}

  • Like 2
Link to comment
Share on other sites

RE: SIP ... this seems to be bit  map for SIP aka CsrActiveConfig

 

3FF means all 10 bits are set to 1.

 

/* Rootless configuration flags */
#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_UNRESTRICTED_DTRACE   (1 << 5)
#define CSR_ALLOW_UNRESTRICTED_NVRAM    (1 << 6)
#define CSR_ALLOW_DEVICE_CONFIGURATION  (1 << 7)
#define CSR_ALLOW_ANY_RECOVERY_OS       (1 << 8)    //added in 10.12
#define CSR_DISABLE_KEXT_CONSENT        (1 << 9)    //added in 10.13, name unknown yet

 

so 0x77 = 01110111 -> bits 0,1,2, 4,5,6 so then you get:

 

#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_APPLE_INTERNAL        (1 << 4)
#define CSR_ALLOW_UNRESTRICTED_DTRACE   (1 << 5)
#define CSR_ALLOW_UNRESTRICTED_NVRAM    (1 << 6)

  • Like 2
Link to comment
Share on other sites

 

I have a problem with clover. At boot in options-graphics injector I find the string "Use Nvidia Web Driver" selected.
I tried in all ways to disable it, but every time I restart it is always there.
How can I fix it?
thanks

 

 

Config.plist->SystemParameters->NvidiaWeb=false

post-1069282-0-92081800-1504942568_thumb.png

Link to comment
Share on other sites

I also think about this menu. Should be made.

Temporary you can use Shell provided with Clover to delete or move kexts from Clover folders.

fs0:>rm -r EFI\CLOVER\kexts\Other\Bad.kext

As @gujiangjiang and @Slice think about Custom Kext Injection, I added a new function with sub menu section name "Kext Inject Management" under Options menu for users to choose what kext(s) they want to inject(for easy debugging). 

post-950366-0-95953600-1505077892_thumb.png

 

Here's a prebuilt r4205(updated) and please let me know if there has bug and I will polish it. Enjoy ;)

r4205.zip

 

Thank you in advance,

syscl

  • Like 8
Link to comment
Share on other sites

 

Either you have another config.plist somewhere or you did something wrong... Also try clear NVRAM 

sudo nvram -c

 

I deleted all config.plist from the system, except that on the efi partition.
I removed the nvram.plist files and executed the sudo nvram -c command but did not get any effect.
 
Config.plist:
<?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>ACPI</key>
	<dict>
		<key>DSDT</key>
		<dict>
			<key>Debug</key>
			<false/>
			<key>DropOEM_DSM</key>
			<false/>
			<key>Name</key>
			<string>DSDT.aml</string>
			<key>Patches</key>
			<array>
				<dict>
					<key>Comment</key>
					<string>change _OSI to XOSI</string>
					<key>Disabled</key>
					<false/>
					<key>Find</key>
					<data>
					X09TSQ==
					</data>
					<key>Replace</key>
					<data>
					WE9TSQ==
					</data>
				</dict>
				<dict>
					<key>Comment</key>
					<string>change EHC1 to EH01</string>
					<key>Disabled</key>
					<true/>
					<key>Find</key>
					<data>
					RUhDMQ==
					</data>
					<key>Replace</key>
					<data>
					RUgwMQ==
					</data>
				</dict>
				<dict>
					<key>Comment</key>
					<string>change EHC2 to EH02</string>
					<key>Disabled</key>
					<true/>
					<key>Find</key>
					<data>
					RUhDMg==
					</data>
					<key>Replace</key>
					<data>
					RUgwMg==
					</data>
				</dict>
				<dict>
					<key>Comment</key>
					<string>Change XHCI to XHC</string>
					<key>Disabled</key>
					<true/>
					<key>Find</key>
					<data>
					WEhDSQ==
					</data>
					<key>Replace</key>
					<data>
					WEhDXw==
					</data>
				</dict>
			</array>
			<key>ReuseFFFF</key>
			<false/>
		</dict>
		<key>DropTables</key>
		<array>
			<dict>
				<key>Signature</key>
				<string>SSDT</string>
				<key>TableId</key>
				<string>CpuPm</string>
			</dict>
			<dict>
				<key>Signature</key>
				<string>SSDT</string>
				<key>TableId</key>
				<string>xh_rvp10</string>
			</dict>
			<dict>
				<key>Signature</key>
				<string>DMAR</string>
			</dict>
			<dict>
				<key>Signature</key>
				<string>SSDT</string>
				<key>TableId</key>
				<string>Cpu0Ist</string>
			</dict>
		</array>
		<key>HaltEnabler</key>
		<true/>
		<key>SSDT</key>
		<dict>
			<key>DropOem</key>
			<false/>
			<key>Generate</key>
			<dict>
				<key>CStates</key>
				<false/>
				<key>PStates</key>
				<false/>
			</dict>
		</dict>
		<key>smartUPS</key>
		<true/>
	</dict>
	<key>Boot</key>
	<dict>
		<key>Arguments</key>
		<string>dart=0 darkwake=0 npci=0x3000</string>
		<key>CustomLogo</key>
		<false/>
		<key>Debug</key>
		<false/>
		<key>DefaultVolume</key>
		<string>LastBootedVolume</string>
		<key>Legacy</key>
		<string>PBR</string>
		<key>Secure</key>
		<false/>
		<key>Timeout</key>
		<integer>5</integer>
		<key>XMPDetection</key>
		<string>Yes</string>
	</dict>
	<key>CPU</key>
	<dict>
		<key>QPI</key>
		<integer>100</integer>
		<key>UseARTFrequency</key>
		<false/>
	</dict>
	<key>CPU </key>
	<dict>
		<key>QPI</key>
		<integer>100</integer>
		<key>Type</key>
		<string>2561</string>
		<key>UseARTFrequency</key>
		<false/>
	</dict>
	<key>Devices</key>
	<dict>
		<key>Audio</key>
		<dict>
			<key>Inject</key>
			<string>1</string>
		</dict>
		<key>FakeID</key>
		<dict>
			<key>ATI</key>
			<string>0x0</string>
			<key>IMEI</key>
			<string>0x0</string>
			<key>IntelGFX</key>
			<string>0x0</string>
			<key>LAN</key>
			<string>0x0</string>
			<key>NVidia</key>
			<string>0x0</string>
			<key>SATA</key>
			<string>0x0</string>
			<key>WIFI</key>
			<string>0x0</string>
			<key>XHCI</key>
			<string>0x0</string>
		</dict>
		<key>Inject</key>
		<true/>
		<key>USB</key>
		<dict>
			<key>AddClockID</key>
			<true/>
			<key>FixOwnership</key>
			<true/>
			<key>Inject</key>
			<true/>
		</dict>
	</dict>
	<key>GUI</key>
	<dict>
		<key>Hide</key>
		<array>
			<string>BOOTX64.EFI</string>
		</array>
		<key>Language</key>
		<string>it:0</string>
		<key>Mouse</key>
		<dict>
			<key>DoubleClick</key>
			<integer>500</integer>
			<key>Enabled</key>
			<true/>
			<key>Mirror</key>
			<false/>
			<key>Speed</key>
			<integer>8</integer>
		</dict>
		<key>Scan</key>
		<dict>
			<key>Entries</key>
			<true/>
			<key>Legacy</key>
			<false/>
			<key>Linux</key>
			<false/>
			<key>Tool</key>
			<true/>
		</dict>
		<key>ScreenResolution</key>
		<string>1920x1200</string>
		<key>Theme</key>
		<string>embedded</string>
	</dict>
	<key>Graphics</key>
	<dict>
		<key>Inject</key>
		<dict>
			<key>ATI</key>
			<false/>
			<key>Intel</key>
			<false/>
			<key>NVidia</key>
			<false/>
		</dict>
		<key>NvidiaSingle</key>
		<false/>
	</dict>
	<key>KernelAndKextPatches</key>
	<dict>
		<key>AppleIntelCPUPM</key>
		<false/>
		<key>AppleRTC</key>
		<true/>
		<key>Debug</key>
		<false/>
		<key>DellSMBIOSPatch</key>
		<false/>
		<key>KernelCpu</key>
		<false/>
		<key>KernelHaswellE</key>
		<false/>
		<key>KernelLapic</key>
		<false/>
		<key>KernelPm</key>
		<false/>
		<key>KernelToPatch</key>
		<array>
			<dict>
				<key>Comment</key>
				<string>SammlerG Sierra xcpm MSR Patch 3 / xcpm support Pike R. Alpha/0x82D390/MSR_PP0_POLICY 0x63a</string>
				<key>Disabled</key>
				<false/>
				<key>Find</key>
				<data>
				OgYAANwzAAAAAAAAAAAAAB8=
				</data>
				<key>MatchOS</key>
				<string>10.12.x</string>
				<key>Replace</key>
				<data>
				OgYAAAAAAAAAAAAAAAAAAAA=
				</data>
			</dict>
			<dict>
				<key>Comment</key>
				<string>xcpm performance fix 1 (wrsmr fix to get CPU max) © okrasit/0x199</string>
				<key>Disabled</key>
				<false/>
				<key>Find</key>
				<data>
				idjB4Ai5mQE=
				</data>
				<key>MatchOS</key>
				<string>10.12.x</string>
				<key>Replace</key>
				<data>
				uAD/AAC5mQE=
				</data>
			</dict>
			<dict>
				<key>Comment</key>
				<string>xcpm_bootstrap Sierra (c) Pike R. Alpha</string>
				<key>Disabled</key>
				<false/>
				<key>Find</key>
				<data>
				g8PEg/si
				</data>
				<key>MatchOS</key>
				<string>10.12.x</string>
				<key>Replace</key>
				<data>
				jUPBg/gi
				</data>
			</dict>
			<dict>
				<key>Comment</key>
				<string>C6/C7_If=E2-Enabled=0x7E000403</string>
				<key>Disabled</key>
				<false/>
				<key>Find</key>
				<data>
				4gAAAEwAAAAAAAAAAAAAAA8EAAAAAAAABQAAHg==
				</data>
				<key>MatchOS</key>
				<string>10.12.x</string>
				<key>Replace</key>
				<data>
				4gAAAEwAAAAAAAAAAAAAAA8EAAAAAAAAAwQAfg==
				</data>
			</dict>
			<dict>
				<key>Comment</key>
				<string>XCPM PKG SCOPE MSR © Pike R. Alpha</string>
				<key>Disabled</key>
				<false/>
				<key>Find</key>
				<data>
				vgcAAAAx0uiU/P//
				</data>
				<key>MatchOS</key>
				<string>10.12.x</string>
				<key>Replace</key>
				<data>
				vgcAAAAx0pCQkJCQ
				</data>
			</dict>
			<dict>
				<key>Comment</key>
				<string>XCPM Core Scope MSRs © Pike R. Alpha</string>
				<key>Disabled</key>
				<false/>
				<key>Find</key>
				<data>
				vgIAAAAx0uhs/P//
				</data>
				<key>MatchOS</key>
				<string>10.12.x</string>
				<key>Replace</key>
				<data>
				vgIAAAAx0pCQkJCQ
				</data>
			</dict>
			<dict>
				<key>Comment</key>
				<string>SammlerG Sierra xcpm MSR Patch 4 / xcpm support Pike R. Alpha</string>
				<key>Disabled</key>
				<false/>
				<key>Find</key>
				<data>
				QgYAANwzAAAAAAAAAAAAAB8AAAAAAAAAGAAAAAAAAAAA
				AAAAAAAAAAAAAAAAAAAA
				</data>
				<key>MatchOS</key>
				<string>10.12.x</string>
				<key>Replace</key>
				<data>
				QgYAAAAAAAAAAAAAAAAAAB8AAAAAAAAAGAAAAAAAAAAA
				AAAAAAAAAAAAAAAAAAAA
				</data>
			</dict>
			<dict>
				<key>Comment</key>
				<string>SammlerG Sierra xcpm MSR Patch 1 / xcpm support Pike R. Alpha/0x82D300/MSR_MISC_PWR_MGMT/0x1AA/EIST_IF=Enabled=0x400000</string>
				<key>Disabled</key>
				<false/>
				<key>Find</key>
				<data>
				qgEAANwzAAAAAAAAAAAAAAAAAAAAAAAAAQAAAA==
				</data>
				<key>MatchOS</key>
				<string>10.12.x</string>
				<key>Replace</key>
				<data>
				qgEAANwzAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==
				</data>
			</dict>
			<dict>
				<key>Comment</key>
				<string>N.Mano / xcpm support Pike R. Alpha/MSR_POWER_CTL/0x1FC/0x21040059/If C1E-Disabled</string>
				<key>Disabled</key>
				<false/>
				<key>Find</key>
				<data>
				/AEAANwzAAAAAAAAAAAAAAAAEAAAAAAAGgAEAA==
				</data>
				<key>MatchOS</key>
				<string>10.12.x</string>
				<key>Replace</key>
				<data>
				/AEAANwzAAAAAAAAAAAAAAAAAAAAAAAAWQAEIQ==
				</data>
			</dict>
			<dict>
				<key>Comment</key>
				<string>xcpm_bootstrap_HASwell_E © Pike R. Alpha</string>
				<key>Disabled</key>
				<false/>
				<key>Find</key>
				<data>
				idgExDwidyI=
				</data>
				<key>MatchOS</key>
				<string>10.13</string>
				<key>Replace</key>
				<data>
				idgEwTwidyI=
				</data>
			</dict>
			<dict>
				<key>Comment</key>
				<string>xcpm performance fix 1 (wrsmr fix to get CPU max) © okrasit/0x199</string>
				<key>Disabled</key>
				<false/>
				<key>Find</key>
				<data>
				idjB4AhIY9A=
				</data>
				<key>MatchOS</key>
				<string>10.13</string>
				<key>Replace</key>
				<data>
				uAD/AABIY9A=
				</data>
			</dict>
			<dict>
				<key>Comment</key>
				<string>C6/C7_If=E2-Enabled=0x7E000403 BY N.Mano/Pike R. Alpha</string>
				<key>Disabled</key>
				<false/>
				<key>Find</key>
				<data>
				4gAAAEwAAAAAAAAAAAAAAA8EAAAAAAAABQAAHg==
				</data>
				<key>MatchOS</key>
				<string>10.13</string>
				<key>Replace</key>
				<data>
				4gAAAEwAAAAAAAAAAAAAAA8EAAAAAAAAAwQAfg==
				</data>
			</dict>
			<dict>
				<key>Comment</key>
				<string>BY N.Mano/Pike R. Alpha / xcpm support Pike R. Alpha/MSR_POWER_CTL/0x1FC/0x21040059/If C1E-Disabled</string>
				<key>Disabled</key>
				<false/>
				<key>Find</key>
				<data>
				/AEAANxzAAAAAAAAAAAAAAAAAAAAAAAAGgAEAA==
				</data>
				<key>MatchOS</key>
				<string>10.13</string>
				<key>Replace</key>
				<data>
				/AEAANxzAAAAAAAAAAAAAAAAAAAAAAAAWQAEIQ==
				</data>
			</dict>
			<dict>
				<key>Comment</key>
				<string>BY N.Mano/Pike R. Alpha Sierra xcpm MSR Patch 1 / xcpm support Pike R. Alpha/0x82D300/MSR_MISC_PWR_MGMT/0x1AA/EIST_IF=Enabled=0x400000</string>
				<key>Disabled</key>
				<false/>
				<key>Find</key>
				<data>
				qgEAANxzAAAAAAAAAAAAAAAAAAAAAAAAAQAAAA==
				</data>
				<key>MatchOS</key>
				<string>10.13</string>
				<key>Replace</key>
				<data>
				qgEAANxzAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==
				</data>
			</dict>
			<dict>
				<key>Comment</key>
				<string>BY N.Mano/Pike R. Alpha Sierra xcpm MSR Patch 4 / xcpm support Pike R. Alpha</string>
				<key>Disabled</key>
				<false/>
				<key>Find</key>
				<data>
				QgYAANwzAAAAAAAAAAAAAB8AAAAAAAAAGAAAAAAAAAAA
				AAAAAAAAAAAAAAAAAAAA
				</data>
				<key>MatchOS</key>
				<string>10.13</string>
				<key>Replace</key>
				<data>
				QgYAAAAAAAAAAAAAAAAAAB8AAAAAAAAAGAAAAAAAAAAA
				AAAAAAAAAAAAAAAAAAAA
				</data>
			</dict>
			<dict>
				<key>Comment</key>
				<string>SammlerG Sierra xcpm MSR Patch 3 / xcpm support Pike R. Alpha/0x82D390/MSR_PP0_POLICY 0x63a</string>
				<key>Disabled</key>
				<false/>
				<key>Find</key>
				<data>
				OgYAANwzAAAAAAAAAAAAAB8=
				</data>
				<key>MatchOS</key>
				<string>10.13</string>
				<key>Replace</key>
				<data>
				OgYAAAAAAAAAAAAAAAAAAAA=
				</data>
			</dict>
		</array>
		<key>KextsToPatch</key>
		<array>
			<dict>
				<key>Comment</key>
				<string>External icons patch</string>
				<key>Disabled</key>
				<false/>
				<key>Find</key>
				<data>
				RXh0ZXJuYWw=
				</data>
				<key>Name</key>
				<string>AppleAHCIPort</string>
				<key>Replace</key>
				<data>
				SW50ZXJuYWw=
				</data>
			</dict>
			<dict>
				<key>Comment</key>
				<string>IONVMeFamily Pike R. Alpha Patch#1</string>
				<key>Disabled</key>
				<false/>
				<key>Find</key>
				<data>
				weAJBQAQAACJgw==
				</data>
				<key>Name</key>
				<string>IONVMeFamily</string>
				<key>Replace</key>
				<data>
				weAJBQAQAACJgw==
				</data>
			</dict>
			<dict>
				<key>Comment</key>
				<string>IONVMeFamily Pike R. Alpha Patch#2</string>
				<key>Disabled</key>
				<false/>
				<key>Find</key>
				<data>
				D7aMiIIAAACD+QwPhTIBAA==
				</data>
				<key>Name</key>
				<string>IONVMeFamily</string>
				<key>Replace</key>
				<data>
				D7aMiIIAAACD+QkPhTIBAA==
				</data>
			</dict>
			<dict>
				<key>Comment</key>
				<string>IONVMeFamily Pike R. Alpha Patch#3</string>
				<key>Disabled</key>
				<false/>
				<key>Find</key>
				<data>
				AMeDpAAAAAAQAABIi0gISA==
				</data>
				<key>Name</key>
				<string>IONVMeFamily</string>
				<key>Replace</key>
				<data>
				AMeDpAAAAAACAABIi0gISA==
				</data>
			</dict>
			<dict>
				<key>Comment</key>
				<string>IONVMeFamily Pike R. Alpha Patch#4</string>
				<key>Disabled</key>
				<false/>
				<key>Find</key>
				<data>
				SYnGTYX2dGFBwecMSWP/vg==
				</data>
				<key>Name</key>
				<string>IONVMeFamily</string>
				<key>Replace</key>
				<data>
				SYnGTYX2dGFBwecJSWP/vg==
				</data>
			</dict>
			<dict>
				<key>Comment</key>
				<string>IONVMeFamily Pike R. Alpha Patch#5</string>
				<key>Disabled</key>
				<false/>
				<key>Find</key>
				<data>
				hv8PAABIwegMD7cPgeH/Dw==
				</data>
				<key>Name</key>
				<string>IONVMeFamily</string>
				<key>Replace</key>
				<data>
				hv8PAABIwegJD7cPgeH/Dw==
				</data>
			</dict>
			<dict>
				<key>Comment</key>
				<string>IONVMeFamily Pike R. Alpha Patch#6_7</string>
				<key>Disabled</key>
				<false/>
				<key>Find</key>
				<data>
				icGB4f8PAABIAdFIgfn/DwAAdzs=
				</data>
				<key>Name</key>
				<string>IONVMeFamily</string>
				<key>Replace</key>
				<data>
				icGB4f8BAABIAdFIgfn/AQAAdzs=
				</data>
			</dict>
			<dict>
				<key>Comment</key>
				<string>IONVMeFamily Pike R. Alpha Patch#8</string>
				<key>Disabled</key>
				<false/>
				<key>Find</key>
				<data>
				SYHF/w8AAEnB7QxJiwQkSA==
				</data>
				<key>Name</key>
				<string>IONVMeFamily</string>
				<key>Replace</key>
				<data>
				SYHF/w8AAEnB7QlJiwQkSA==
				</data>
			</dict>
			<dict>
				<key>Comment</key>
				<string>IONVMeFamily Pike R. Alpha Patch#9_10</string>
				<key>Disabled</key>
				<false/>
				<key>Find</key>
				<data>
				BgIAAEyNuAAQAABMiflIgeEA8P//SYmGGgEAAEmJjiIB
				AABBvAAQAABJKfQ=
				</data>
				<key>Name</key>
				<string>IONVMeFamily</string>
				<key>Replace</key>
				<data>
				BgIAAEyNuAACAABMiflIgeEA8P//SYmGGgEAAEmJjiIB
				AABBvAACAABJKfQ=
				</data>
			</dict>
			<dict>
				<key>Comment</key>
				<string>IONVMeFamily Pike R. Alpha Patch#11</string>
				<key>Disabled</key>
				<false/>
				<key>Find</key>
				<data>
				AABJiY4iAQAAugAQAABIKQ==
				</data>
				<key>Name</key>
				<string>IONVMeFamily</string>
				<key>Replace</key>
				<data>
				AABJiY4iAQAAugACAABIKQ==
				</data>
			</dict>
			<dict>
				<key>Comment</key>
				<string>IONVMeFamily Pike R. Alpha Patch#12</string>
				<key>Disabled</key>
				<false/>
				<key>Find</key>
				<data>
				yAAAAEkp17gAEAAATYskJA==
				</data>
				<key>Name</key>
				<string>IONVMeFamily</string>
				<key>Replace</key>
				<data>
				yAAAAEkp17gAAgAATYskJA==
				</data>
			</dict>
			<dict>
				<key>Comment</key>
				<string>IONVMeFamily Pike R. Alpha Patch#13</string>
				<key>Disabled</key>
				<false/>
				<key>Find</key>
				<data>
				4b+AQBUGTYnWugAQAABFMQ==
				</data>
				<key>Name</key>
				<string>IONVMeFamily</string>
				<key>Replace</key>
				<data>
				4b+AQBUGTYnWugACAABFMQ==
				</data>
			</dict>
			<dict>
				<key>Comment</key>
				<string>IONVMeFamily Pike R. Alpha Patch#14</string>
				<key>Disabled</key>
				<false/>
				<key>Find</key>
				<data>
				iWTY+EmBxAAQAABJgccA8A==
				</data>
				<key>Name</key>
				<string>IONVMeFamily</string>
				<key>Replace</key>
				<data>
				iWTY+EmBxAACAABJgccA8A==
				</data>
			</dict>
			<dict>
				<key>Comment</key>
				<string>IONVMeFamily Pike R. Alpha Patch#15</string>
				<key>Disabled</key>
				<false/>
				<key>Find</key>
				<data>
				Bf8PAABIwegMZvfB/w8PlQ==
				</data>
				<key>Name</key>
				<string>IONVMeFamily</string>
				<key>Replace</key>
				<data>
				Bf8PAABIwegJZvfB/w8PlQ==
				</data>
			</dict>
			<dict>
				<key>Comment</key>
				<string>IONVMeFamily Pike R. Alpha Patch#16</string>
				<key>Disabled</key>
				<false/>
				<key>Find</key>
				<data>
				weIIQQ+2wcHgDEQJ0EQJwA==
				</data>
				<key>Name</key>
				<string>IONVMeFamily</string>
				<key>Replace</key>
				<data>
				weIIQQ+2wcHgCUQJ0EQJwA==
				</data>
			</dict>
			<dict>
				<key>Comment</key>
				<string>IONVMeFamily Pike R. Alpha Patch#17</string>
				<key>Disabled</key>
				<false/>
				<key>Find</key>
				<data>
				RYTJD5XAD7bAweAMRAnYRA==
				</data>
				<key>Name</key>
				<string>IONVMeFamily</string>
				<key>Replace</key>
				<data>
				RYTJD5XAD7bAweAJRAnYRA==
				</data>
			</dict>
			<dict>
				<key>Comment</key>
				<string>IONVMeFamily Pike R. Alpha Patch#External</string>
				<key>Disabled</key>
				<true/>
				<key>Find</key>
				<data>
				SIXAdAeAiwgBAAAQ
				</data>
				<key>Name</key>
				<string>IONVMeFamily</string>
				<key>Replace</key>
				<data>
				kJCQkJCAiwgBAAAQ
				</data>
			</dict>
			<dict>
				<key>Comment</key>
				<string>IONVMeFamily IONameMatch</string>
				<key>Disabled</key>
				<true/>
				<key>Find</key>
				<data>
				PHN0cmluZz5wY2kxNDRkLGE4MDQ8L3N0cmluZz4=
				</data>
				<key>Name</key>
				<string>IONVMeFamily</string>
				<key>Replace</key>
				<data>
				PHN0cmluZz5wY2kxNDRkLGE4MDI8L3N0cmluZz4=
				</data>
			</dict>
			<dict>
				<key>Comment</key>
				<string>5960XPatch 10.11by Brumbaer</string>
				<key>Disabled</key>
				<false/>
				<key>Find</key>
				<data>
				SIH5AQAAQA==
				</data>
				<key>MatchOS</key>
				<string>10.11.6,10.12.x</string>
				<key>Name</key>
				<string>IOPCIFamily</string>
				<key>Replace</key>
				<data>
				SIH5AQAAgA==
				</data>
			</dict>
			<dict>
				<key>Comment</key>
				<string>5960XPatch 10.12 by mano</string>
				<key>Disabled</key>
				<false/>
				<key>Find</key>
				<data>
				SIH7AAAAQA==
				</data>
				<key>MatchOS</key>
				<string>10.11.6,10.12.x</string>
				<key>Name</key>
				<string>IOPCIFamily</string>
				<key>Replace</key>
				<data>
				SIH7AAAAgA==
				</data>
			</dict>
			<dict>
				<key>Comment</key>
				<string>5960XPatch 10.12 by mano</string>
				<key>Disabled</key>
				<false/>
				<key>Find</key>
				<data>
				SIH7AAAAQA==
				</data>
				<key>MatchOS</key>
				<string>10.13</string>
				<key>Name</key>
				<string>IOPCIFamily</string>
				<key>Replace</key>
				<data>
				SIH7AAAAgA==
				</data>
			</dict>
		</array>
	</dict>
	<key>RtVariables</key>
	<dict>
		<key>BooterConfig</key>
		<string>0x28</string>
		<key>CsrActiveConfig</key>
		<string>0x67</string>
		<key>ROM</key>
		<string>UseMacAddr0</string>
	</dict>
	<key>SMBIOS</key>
	<dict>
		<key>BiosReleaseDate</key>
		<string>06/26/2017</string>
		<key>BiosVendor</key>
		<string>Apple Inc.</string>
		<key>BiosVersion</key>
		<string>IM142.88Z.0119.B01.1706261827</string>
		<key>Board-ID</key>
		<string>Mac-27ADBB7B4CEE8E61</string>
		<key>BoardManufacturer</key>
		<string>Apple Inc.</string>
		<key>BoardType</key>
		<integer>10</integer>
		<key>ChassisAssetTag</key>
		<string>iMac-Aluminum</string>
		<key>ChassisManufacturer</key>
		<string>Apple Inc.</string>
		<key>ChassisType</key>
		<string>0x13</string>
		<key>Family</key>
		<string>iMac</string>
		<key>LocationInChassis</key>
		<string>Part Component</string>
		<key>Manufacturer</key>
		<string>Apple Inc.</string>
		<key>ProductName</key>
		<string>iMac14,2</string>
		<key>SerialNumber</key>
		<string>C02KNVUMF693</string>
		<key>Version</key>
		<string>1.0</string>
	</dict>
	<key>SystemParameters</key>
	<dict>
		<key>InjectKexts</key>
		<string>Yes</string>
		<key>NvidiaWeb</key>
		<false/>
		<key>InjectSystemID</key>
		<true/>
	</dict>
</dict>
</plist>

nvram:

flagstate	%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00%00
fakesmc-key-MSWr-ui8	%00
fakesmc-key-RBr -ch8*	j16j17%00%00
fakesmc-key-EPCI-ui32	%07%a0%07%00
fakesmc-key-MSAc-ui16	%00%00
efi-boot-device	<array><dict><key>IOMatch</key><dict><key>IOProviderClass</key><string>IOMedia</string><key>IOPropertyMatch</key><dict><key>UUID</key><string>*********-*****-*****-*****-***********</string></dict></dict></dict></array>
bootercfg	(%00
fakesmc-key-BATP-flag	%00
fakesmc-key-$Num-ui8	%01
fakesmc-key-REV -ch8*	%02%15%0f%00%00%07
bluetoothActiveControllerInfo	j%01%0d%05%00%00%003q%14%00%19%0e%03nt
fakesmc-key-MSLD-ui8	%00
fmm-computer-name	***************
fakesmc-key-MSTc-ui8	%00
fakesmc-key-MSPS-ui16	%00%03
OsxAptioFixDrv-RelocBase	%00%90%8e%95%00%00%00%00
fakesmc-key-RMde-char	A
csr-active-config	g%00%00%00
fakesmc-key-RPlt-ch8*	j17%00%00%00%00%00
fakesmc-key-BEMB-flag	%00
fakesmc-key-#KEY-ui32	%00%00%00%00
SystemAudioVolume	A
EFIBluetoothDelay	%b8%0b
fakesmc-key-MSFW-ui8	%01%00
security-mode	none
specialbootdevice	%02%01%0c%00%d0A%03%0a%00%00%00%00%01%01%06%00%01%01%01%01%06%00%00%00%03%11%05%00%01%04%01*%00%02%00%00%00(@%06%00%00%00%00%00@%93%b5%1d%00%00%00%00%90K%95%d4O%8eZI%9a%c5%c8%ed%ac}X%12%02%02%7f%ff%04%00
EmuVariableUefiPresent	Yes
fakesmc-key-$Adr-ui32	%00%00%03%00
EFILoginHiDPI	%00%00%00%00
fakesmc-key-BNum-ui8	%00
SystemAudioVolumeDB	%f0
efi-boot-device-data	%02%01%0c%00%d0A%03%0a%00%00%00%00%01%01%06%00%01%01%01%01%06%00%00%00%03%11%05%00%01%04%01*%00%02%00%00%00(@%06%00%00%00%00%00@%93%b5%1d%00%00%00%00%90K%95%d4O%8eZI%9a%c5%c8%ed%ac}X%12%02%02%7f%ff%04%00
prev-lang:kbd	it:0

nvram -xp:

<?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>EFIBluetoothDelay</key>
	<data>
	uAs=
	</data>
	<key>EFILoginHiDPI</key>
	<data>
	AAAAAA==
	</data>
	<key>EmuVariableUefiPresent</key>
	<data>
	WWVz
	</data>
	<key>OsxAptioFixDrv-RelocBase</key>
	<data>
	AJCOlQAAAAA=
	</data>
	<key>SystemAudioVolume</key>
	<data>
	QQ==
	</data>
	<key>SystemAudioVolumeDB</key>
	<data>
	8A==
	</data>
	<key>bluetoothActiveControllerInfo</key>
	<data>
	agENBQAAADNxFAAZDgNudA==
	</data>
	<key>bootercfg</key>
	<data>
	KAA=
	</data>
	<key>csr-active-config</key>
	<data>
	ZwAAAA==
	</data>
	<key>efi-boot-device</key>
	<data>
	PGFycmF5PjxkaWN0PjxrZXk+SU9NYXRjaDwva2V5PjxkaWN0PjxrZXk+SU9Qcm92aWRl
	ckNsYXNzPC9rZXk+PHN0cmluZz5JT01lZGlhPC9zdHJpbmc+PGtleT5JT1Byb3BlcnR5
	TWF0Y2g8L2tleT48ZGljdD48a2V5PlVVSUQ8L2tleT48c3RyaW5nPkQ0OTU0QjkwLThF
	NEYtNDk1QS05QUM1LUM4RURBQzdENTgxMjwvc3RyaW5nPjwvZGljdD48L2RpY3Q+PC9k
	aWN0PjwvYXJyYXk+
	</data>
	<key>efi-boot-device-data</key>
	<data>
	AgEMANBBAwoAAAAAAQEGAAEBAQEGAAAAAxEFAAEEASoAAgAAAChABgAAAAAAQJO1HQAA
	AACQS5XUT45aSZrFyO2sfVgSAgJ//wQA
	</data>
	<key>fakesmc-key-#KEY-ui32</key>
	<data>
	AAAAAA==
	</data>
	<key>fakesmc-key-$Adr-ui32</key>
	<data>
	AAADAA==
	</data>
	<key>fakesmc-key-$Num-ui8</key>
	<data>
	AQ==
	</data>
	<key>fakesmc-key-BATP-flag</key>
	<data>
	AA==
	</data>
	<key>fakesmc-key-BEMB-flag</key>
	<data>
	AA==
	</data>
	<key>fakesmc-key-BNum-ui8</key>
	<data>
	AA==
	</data>
	<key>fakesmc-key-EPCI-ui32</key>
	<data>
	B6AHAA==
	</data>
	<key>fakesmc-key-MSAc-ui16</key>
	<data>
	AAA=
	</data>
	<key>fakesmc-key-MSFW-ui8</key>
	<data>
	AQA=
	</data>
	<key>fakesmc-key-MSLD-ui8</key>
	<data>
	AA==
	</data>
	<key>fakesmc-key-MSPS-ui16</key>
	<data>
	AAM=
	</data>
	<key>fakesmc-key-MSTc-ui8</key>
	<data>
	AA==
	</data>
	<key>fakesmc-key-MSWr-ui8</key>
	<data>
	AA==
	</data>
	<key>fakesmc-key-RBr -ch8*</key>
	<data>
	ajE2ajE3AAA=
	</data>
	<key>fakesmc-key-REV -ch8*</key>
	<data>
	AhUPAAAH
	</data>
	<key>fakesmc-key-RMde-char</key>
	<data>
	QQ==
	</data>
	<key>fakesmc-key-RPlt-ch8*</key>
	<data>
	ajE3AAAAAAA=
	</data>
	<key>flagstate</key>
	<data>
	AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=
	</data>
	<key>fmm-computer-name</key>
	<data>
	**********
	</data>
	<key>prev-lang:kbd</key>
	<data>
	aXQ6MA==
	</data>
	<key>security-mode</key>
	<string>none</string>
	<key>specialbootdevice</key>
	<data>
	AgEMANBBAwoAAAAAAQEGAAEBAQEGAAAAAxEFAAEEASoAAgAAAChABgAAAAAAQJO1HQAA
	AACQS5XUT45aSZrFyO2sfVgSAgJ//wQA
	</data>
</dict>
</plist>
Link to comment
Share on other sites

As @gujiangjiang and @Slice think about Custom Kext Injection, I added a new function with sub menu section name "Kext Inject Management" under Options menu for users to choose what kext(s) they want to inject(to avoid panic and easy debuting).

 

Here's a prebuilt r4022 and please let me know if there has bug and I will polish it. Enjoy ;)

attachicon.gifr4202.zip

 

Thank you in advance,

syscl

Test it just now and work well with disable one or more kexts injection.

 

Thanks for your work.

 

PS:It is better to add some DBG message with this disable process.

 

 

从我的 iPhone 发送,使用 Tapatalk

  • Like 1
Link to comment
Share on other sites

Test it just now and work well with disable one or more kexts injection.

 

Thanks for your work.

 

PS:It is better to add some DBG message with this disable process.

 

 

从我的 iPhone 发送,使用 Tapatalk

Thank you for your information, I will add debug log as of disabling kext(s). But it's 4:00 AM in my time zone, need sleep  :hysterical:

 

syscl

  • Like 2
Link to comment
Share on other sites

I just tested it, and it worked reasonably ok. Kudos.

 

Some suggestions:

1. Better to add PlugIns-only kext exclusion. (e.g. Only excluding AppleALC.kext\\Contents\\PinConfigs.kext instead of the whole AppleALC.kext)

2. There could even be some kexts without "Contents" directory, and in case they have PlugIns folder which also contains kext (i.e. SomeKext.kext\\PlugIns\\SomePlugin.kext ==> lacking of "Contents" directory but this is actually legal), your code (https://sourceforge.net/p/cloverefiboot/code/4202/tree//rEFIt_UEFI/Platform/kext_inject.c#l337) may simply ignore it/them.

Link to comment
Share on other sites

Guest ricoc90

As @gujiangjiang and @Slice think about Custom Kext Injection, I added a new function with sub menu section name "Kext Inject Management" under Options menu for users to choose what kext(s) they want to inject(to avoid panic and easy debuting). 

 

Here's a prebuilt r4022 and please let me know if there has bug and I will polish it. Enjoy ;)

attachicon.gifr4202.zip

 

Edit: There's still room to improve, e.g. prevent duplicate kexts being added to list while call same sub menu multiple times, ... Will improve it tomorrow ...

 

Thank you in advance,

syscl

 

Does Clover recognize if you're booting the actual OS, or the Recovery HD / Install (or update) media?

If so, would it also be possible to block the injection of certain kexts based on that condition?

 

For example:

Lilu+NightShiftUnlocker.kext always gives me a kernel panic when booting from Recovery HD or the macOS (update) installer.

I just tested r4202 and of course I can just block the kext injection for NightShiftUnlocker now, but it would be great if I could put it in my config.plist with a condition saying that the injection shouldn't take place when booting from the Recovery HD or install (or update) media

Link to comment
Share on other sites

Does Clover recognize if you're booting the actual OS, or the Recovery HD / Install (or update) media?

If so, would it also be possible to block the injection of certain kexts based on that condition?

 

For example:

Lilu+NightShiftUnlocker.kext always gives me a kernel panic when booting from Recovery HD or the macOS (update) installer.

I just tested r4202 and of course I can just block the kext injection for NightShiftUnlocker now, but it would be great if I could put it in my config.plist with a condition saying that the injection shouldn't take place when booting from the Recovery HD or install (or update) media

I think Custom Entries under GUI in config.plist could help you by adding -nsuoff for installer/recovery.

Link to comment
Share on other sites

Guest ricoc90

I think Custom Entries under GUI in config.plist could help you by adding -nsuoff for installer/recovery.

True, that's how I have it. I just used NightShift Unlocker as an example

Link to comment
Share on other sites

Does Clover recognize if you're booting the actual OS, or the Recovery HD / Install (or update) media?

If so, would it also be possible to block the injection of certain kexts based on that condition?

 

For example:

Lilu+NightShiftUnlocker.kext always gives me a kernel panic when booting from Recovery HD or the macOS (update) installer.

I just tested r4202 and of course I can just block the kext injection for NightShiftUnlocker now, but it would be great if I could put it in my config.plist with a condition saying that the injection shouldn't take place when booting from the Recovery HD or install (or update) media

 

 

Thank you I will implement this function as well(homework, exams these days T_T).

 

I just tested it, and it worked reasonably ok. Kudos.

 

Some suggestions:

1. Better to add PlugIns-only kext exclusion. (e.g. Only excluding AppleALC.kext\\Contents\\PinConfigs.kext instead of the whole AppleALC.kext)

2. There could even be some kexts without "Contents" directory, and in case they have PlugIns folder which also contains kext (i.e. SomeKext.kext\\PlugIns\\SomePlugin.kext ==> lacking of "Contents" directory but this is actually legal), your code (https://sourceforge.net/p/cloverefiboot/code/4202/tree//rEFIt_UEFI/Platform/kext_inject.c#l337) may simply ignore it/them.

 

I have implemented plugin management function as well in r4024. Thank you for the advice. 

 

syscl

  • Like 2
Link to comment
Share on other sites

r4204 works great, blocking the kext injection too.  :yes:

The only problem I seem to have since r4202 is that nvidia injection does not work in both Sierra as High Sierra DP9 anymore (black screen, display not recognized).
It's not a big deal because I don't actually need graphics injection, other than proper memory report (2047MB without injection, 2048MB with injection thanks to Sherlocks)

27:625  0:000  read_nVidia_ROM
27:625  0:000  Using PRAMIN fixups
27:681  0:055  PROM
27:736  0:055  ERROR: Unable to locate nVidia Video BIOS
27:736  0:000   there are no ROM loaded and no VBIOS read from hardware
27:736  0:000  nVidia Gigabyte GeForce GT 710  -1MB NV1FF [10DE:128B] :: PcieRoot(0x0)\Pci(0x1,0x0)\Pci(0x0,0x0) => device #1
27:736  0:000  Nvidia: VideoPorts: undefined, default to: 2
27:736  0:000  default NVCAP: 04000000-00000300-0C000000-00000007-00000000
Link to comment
Share on other sites

Does LoadVBios support integrated graphics like HD3000?

 

My HD3000 have glitches after 10.11.4 and set slide=0 have no use since 10.11.4,I tred many times also tred to inject all the graphic properties to the card but also glitch.

 

So i want to load HD3000 VBIOS which from the real MacBookPro8,1 but the log doesn't show the vbios load log so i dont sure if thie loadbios support intergrated graphics.

 

Thanks.

  • Like 1
Link to comment
Share on other sites

In r4205 nvidia injection is fine:
 

41:850  0:000  mem_detected 2048Mb
41:850  0:000  read_nVidia_ROM
41:850  0:000  Using PRAMIN fixups
41:947  0:096  PROM
42:150  0:202  version 80.28.A6.00.4B
42:150  0:000  nVidia Gigabyte GeForce GT 710  2048MB NV106 [10DE:128B] :: PcieRoot(0x0)\Pci(0x1,0x0)\Pci(0x0,0x0) => device #1
42:150  0:000  Nvidia: VideoPorts: undefined, default to: 2
42:150  0:000  default NVCAP: 04000000-00000200-3D000000-00000007-00000000
42:150  0:000   detected codec: 10EC:0269
42:150  0:000  stringlength = 3178
42:150  0:000  CurrentMode: Width=1920 Height=1080

Weird.

Link to comment
Share on other sites

×
×
  • Create New...