Skip to content

Commit

Permalink
驱动完美度优化
Browse files Browse the repository at this point in the history
  • Loading branch information
sqlsec committed Aug 4, 2023
1 parent 063dcd5 commit 3cda3ad
Show file tree
Hide file tree
Showing 5 changed files with 276 additions and 17 deletions.
108 changes: 108 additions & 0 deletions EFI/OC/Kexts/FakePCIID.kext/Contents/Info.plist
@@ -0,0 +1,108 @@
<?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>BuildMachineOSBuild</key>
<string>21G72</string>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
<string>FakePCIID</string>
<key>CFBundleIdentifier</key>
<string>org.rehabman.driver.FakePCIID</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>FakePCIID</string>
<key>CFBundlePackageType</key>
<string>KEXT</string>
<key>CFBundleShortVersionString</key>
<string>1.3.15</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleSupportedPlatforms</key>
<array>
<string>MacOSX</string>
</array>
<key>CFBundleVersion</key>
<string>1.3.15</string>
<key>DTCompiler</key>
<string>com.apple.compilers.llvm.clang.1_0</string>
<key>DTPlatformBuild</key>
<string>13F100</string>
<key>DTPlatformName</key>
<string>macosx</string>
<key>DTPlatformVersion</key>
<string>12.3</string>
<key>DTSDKBuild</key>
<string>21E226</string>
<key>DTSDKName</key>
<string>macosx12.3</string>
<key>DTXcode</key>
<string>1341</string>
<key>DTXcodeBuild</key>
<string>13F100</string>
<key>IOKitPersonalities</key>
<dict>
<key>Intel HDMI Audio - 100-series 0x9d74 0x9d71 0x9d70 0xa171</key>
<dict>
<key>CFBundleIdentifier</key>
<string>org.rehabman.driver.FakePCIID</string>
<key>FakeProperties</key>
<dict>
<key>RM,device-id</key>
<data>cKEAAA==</data>
</dict>
<key>IOClass</key>
<string>FakePCIID</string>
<key>IOMatchCategory</key>
<string>FakePCIID</string>
<key>IOPCIPrimaryMatch</key>
<string>0x9d748086 0x9d718086 0x9d708086 0xa1718086</string>
<key>IOProviderClass</key>
<string>IOPCIDevice</string>
</dict>
<key>Intel HDMI Audio - 100-series 0xa170</key>
<dict>
<key>CFBundleIdentifier</key>
<string>org.rehabman.driver.FakePCIID</string>
<key>FakeProperties</key>
<dict>
<key>RM,device-id</key>
<data>cJ0AAA==</data>
</dict>
<key>IOClass</key>
<string>FakePCIID</string>
<key>IOMatchCategory</key>
<string>FakePCIID</string>
<key>IOPCIPrimaryMatch</key>
<string>0xa1708086</string>
<key>IOProviderClass</key>
<string>IOPCIDevice</string>
</dict>
</dict>
<key>LSMinimumSystemVersion</key>
<string>12.3</string>
<key>OSBundleCompatibleVersion</key>
<string>1.3.15</string>
<key>OSBundleLibraries</key>
<dict>
<key>com.apple.iokit.IOPCIFamily</key>
<string>1.0.0b1</string>
<key>com.apple.kpi.bsd</key>
<string>8.0.0</string>
<key>com.apple.kpi.iokit</key>
<string>8.0.0</string>
<key>com.apple.kpi.libkern</key>
<string>8.0.0</string>
<key>com.apple.kpi.mach</key>
<string>8.0.0</string>
<key>com.apple.kpi.unsupported</key>
<string>8.0.0</string>
</dict>
<key>OSBundleRequired</key>
<string>Root</string>
<key>Source Code</key>
<string>https://github.com/RehabMan/FakePCIID</string>
</dict>
</plist>
Binary file not shown.
115 changes: 115 additions & 0 deletions EFI/OC/Kexts/FakePCIID.kext/Contents/_CodeSignature/CodeResources
@@ -0,0 +1,115 @@
<?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>files</key>
<dict/>
<key>files2</key>
<dict/>
<key>rules</key>
<dict>
<key>^Resources/</key>
<true/>
<key>^Resources/.*\.lproj/</key>
<dict>
<key>optional</key>
<true/>
<key>weight</key>
<real>1000</real>
</dict>
<key>^Resources/.*\.lproj/locversion.plist$</key>
<dict>
<key>omit</key>
<true/>
<key>weight</key>
<real>1100</real>
</dict>
<key>^Resources/Base\.lproj/</key>
<dict>
<key>weight</key>
<real>1010</real>
</dict>
<key>^version.plist$</key>
<true/>
</dict>
<key>rules2</key>
<dict>
<key>.*\.dSYM($|/)</key>
<dict>
<key>weight</key>
<real>11</real>
</dict>
<key>^(.*/)?\.DS_Store$</key>
<dict>
<key>omit</key>
<true/>
<key>weight</key>
<real>2000</real>
</dict>
<key>^(Frameworks|SharedFrameworks|PlugIns|Plug-ins|XPCServices|Helpers|MacOS|Library/(Automator|Spotlight|LoginItems))/</key>
<dict>
<key>nested</key>
<true/>
<key>weight</key>
<real>10</real>
</dict>
<key>^.*</key>
<true/>
<key>^Info\.plist$</key>
<dict>
<key>omit</key>
<true/>
<key>weight</key>
<real>20</real>
</dict>
<key>^PkgInfo$</key>
<dict>
<key>omit</key>
<true/>
<key>weight</key>
<real>20</real>
</dict>
<key>^Resources/</key>
<dict>
<key>weight</key>
<real>20</real>
</dict>
<key>^Resources/.*\.lproj/</key>
<dict>
<key>optional</key>
<true/>
<key>weight</key>
<real>1000</real>
</dict>
<key>^Resources/.*\.lproj/locversion.plist$</key>
<dict>
<key>omit</key>
<true/>
<key>weight</key>
<real>1100</real>
</dict>
<key>^Resources/Base\.lproj/</key>
<dict>
<key>weight</key>
<real>1010</real>
</dict>
<key>^[^/]+$</key>
<dict>
<key>nested</key>
<true/>
<key>weight</key>
<real>10</real>
</dict>
<key>^embedded\.provisionprofile$</key>
<dict>
<key>weight</key>
<real>20</real>
</dict>
<key>^version\.plist$</key>
<dict>
<key>weight</key>
<real>20</real>
</dict>
</dict>
</dict>
</plist>
2 changes: 1 addition & 1 deletion EFI/OC/Kexts/RealtekRTL8111.kext/Contents/Info.plist
Expand Up @@ -57,7 +57,7 @@
<key>enableTSO6</key>
<true/>
<key>fallbackMAC</key>
<string></string>
<string>48:F1:7F:E8:17:AF</string>
<key>intrMitigate</key>
<integer>53080</integer>
<key>rxPolling</key>
Expand Down
68 changes: 52 additions & 16 deletions EFI/OC/config.plist
Expand Up @@ -110,21 +110,21 @@
<key>AAPL,ig-platform-id</key>
<data>AAAWWQ==</data>
<key>AAPL00,override-no-connect</key>
<data>AP///////wAl4///AAAAAAcgAQOAPyR4Lta1rFFGniUOUFSlSwDRwLMAAQGBgAEBgcCBQKnACOgAMPJwWoCwWEoAeGghAAAaAAAA/QAwSyiEPAAKICAgICAgAAAA/AAyOEQxVQAgICAgICAgAAAA/wAwMDAwMDAwMDAwMDAwAfICAzPyTGFgXwSQERITHwECAyMJfweDAQAAagMMABAAOEIgAABn2F3EAXiAA+MF4wHiDwECOoAYcTgtQFgsRQBVUCEAAB5qXgCgoKApUDAgNQBVUCEAABoEdAAw8nBagLBYigBVUCEAABoAAAAAAAAAAAAAAAAAAAAAAAAAAAAAlQ==</data>
<data>AP///////wBKixobAAAAACseAQSFAAB4/mQ1pVRPnicSUFQhCADRwKnAgcABAQEBAQEBAQEBcucAoPBgRZAwIDUAYWMhAAAaP9AAoPBwPoAwIDUAYWMhAAAaAAAA/ABSVEsgVUhEIEhEUgogAAAA/QAoPR6HPAAKICAgICAgAdICAz/xUQRMXV5fYGEAAAAAAGdoaWpr4wXAACMJfweDAQAA5Q8AAAwAZwMMABAAOHhn2F3EAXiIAeYGBQFpaU8COoAYcTgtQFgsRQBhYyEAAB5WXgCgoKApUDAgNQBhYyEAAB4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAbg==</data>
<key>device-id</key>
<data>FlkAAA==</data>
<key>device_type</key>
<string>VGA compatible controller</string>
<key>framebuffer-con1-enable</key>
<data>AQAAAA==</data>
<key>framebuffer-con1-type</key>
<data>AAgAAA==</data>
<key>framebuffer-fbmem</key>
<data>AAAAAw==</data>
<data>AACQAA==</data>
<key>framebuffer-patch-enable</key>
<data>AQAAAA==</data>
<key>framebuffer-stolenmem</key>
<data>AAAwAQ==</data>
<key>framebuffer-unifiedmem</key>
<data>AAAAwA==</data>
<data>AAAAgA==</data>
<key>model</key>
<string>Intel HD Graphics 620</string>
</dict>
Expand All @@ -151,6 +151,24 @@
<key>model</key>
<string>Sunrise Point-LP HD Audio</string>
</dict>
<key>PciRoot(0x0)/Pci(0x1C,0x3)/Pci(0x0,0x0)</key>
<dict>
<key>AAPL,slot-name</key>
<string>Internal@0,28,3/0,0</string>
<key>device_type</key>
<string>Network controller</string>
<key>model</key>
<string>BCM4360 802.11ac Wireless Network Adapter</string>
</dict>
<key>PciRoot(0x0)/Pci(0x1C,0x0)/Pci(0x0,0x0)</key>
<dict>
<key>AAPL,slot-name</key>
<string>Internal@0,28,0/0,0</string>
<key>device_type</key>
<string>Ethernet controller</string>
<key>model</key>
<string>RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller</string>
</dict>
</dict>
<key>Delete</key>
<dict/>
Expand All @@ -177,6 +195,24 @@
<key>PlistPath</key>
<string>Contents/Info.plist</string>
</dict>
<dict>
<key>Arch</key>
<string>Any</string>
<key>BundlePath</key>
<string>FakePCIID.kext</string>
<key>Comment</key>
<string></string>
<key>Enabled</key>
<true/>
<key>ExecutablePath</key>
<string>Contents/MacOS/FakePCIID</string>
<key>MaxKernel</key>
<string></string>
<key>MinKernel</key>
<string></string>
<key>PlistPath</key>
<string>Contents/Info.plist</string>
</dict>
<dict>
<key>Arch</key>
<string>Any</string>
Expand Down Expand Up @@ -370,7 +406,7 @@
<key>AppleXcpmForceBoost</key>
<false/>
<key>CustomSMBIOSGuid</key>
<false/>
<true/>
<key>CustomPciSerialDevice</key>
<false/>
<key>DisableIoMapper</key>
Expand Down Expand Up @@ -433,7 +469,7 @@
<key>HibernateSkipsPicker</key>
<false/>
<key>HideAuxiliary</key>
<true/>
<false/>
<key>LauncherOption</key>
<string>Disabled</string>
<key>LauncherPath</key>
Expand Down Expand Up @@ -479,7 +515,7 @@
<key>Security</key>
<dict>
<key>AllowSetDefault</key>
<false/>
<true/>
<key>ApECID</key>
<integer>0</integer>
<key>AuthRestart</key>
Expand Down Expand Up @@ -654,7 +690,7 @@
<key>SystemAudioVolume</key>
<data>Rg==</data>
<key>boot-args</key>
<string>-igfxnotelemetryload -igfxdvmt -igfxhdmidivs -igfxmlr -igfxmpc -igfxtypec -igfxfw=2 igfxmetal=1 igfxonln=1</string>
<string>-igfxnotelemetryload igfxonln=1</string>
<key>csr-active-config</key>
<data>AAAAAA==</data>
<key>prev-lang:kbd</key>
Expand Down Expand Up @@ -725,21 +761,21 @@
<key>MaxBIOSVersion</key>
<false/>
<key>MLB</key>
<string>C07816310J9KXPG8C</string>
<string>C078164034NKXPGJA</string>
<key>ProcessorType</key>
<integer>1801</integer>
<key>ROM</key>
<data>ESIzRFVm</data>
<key>SpoofVendor</key>
<true/>
<false/>
<key>SystemMemoryStatus</key>
<string>Auto</string>
<key>SystemProductName</key>
<string>Macmini8,1</string>
<key>SystemSerialNumber</key>
<string>C07WLVZ6JYVX</string>
<string>C07WLBZUJYVX</string>
<key>SystemUUID</key>
<string>D191900E-3207-469B-8E3B-EBE752465FD4</string>
<string>3D0E9825-5159-41FE-87FA-6FF7E50C0374</string>
</dict>
<key>UpdateDataHub</key>
<true/>
Expand All @@ -748,7 +784,7 @@
<key>UpdateSMBIOS</key>
<true/>
<key>UpdateSMBIOSMode</key>
<string>Create</string>
<string>Custom</string>
<key>UseRawUuidEncoding</key>
<false/>
</dict>
Expand Down Expand Up @@ -893,7 +929,7 @@
<key>Comment</key>
<string></string>
<key>Enabled</key>
<false/>
<true/>
<key>LoadEarly</key>
<false/>
<key>Path</key>
Expand All @@ -905,7 +941,7 @@
<key>Comment</key>
<string></string>
<key>Enabled</key>
<false/>
<true/>
<key>LoadEarly</key>
<false/>
<key>Path</key>
Expand Down

0 comments on commit 3cda3ad

Please sign in to comment.