Skip to content
This repository has been archived by the owner on Jun 20, 2020. It is now read-only.

Commit

Permalink
重新定制USB
Browse files Browse the repository at this point in the history
添加NVMeFix
NVRAM修正
  • Loading branch information
leogcry22 committed Apr 2, 2020
1 parent 965d9c7 commit 000f3f0
Show file tree
Hide file tree
Showing 18 changed files with 143 additions and 72 deletions.
Empty file modified EFI/BOOT/BOOTx64.efi
100644 → 100755
Empty file.
Empty file modified EFI/OC/ACPI/SSDT-PMC.aml
100644 → 100755
Empty file.
Empty file modified EFI/OC/Drivers/ApfsDriverLoader.efi
100644 → 100755
Empty file.
Empty file modified EFI/OC/Drivers/FwRuntimeServices.efi
100644 → 100755
Empty file.
Empty file modified EFI/OC/Kexts/AppleALC.kext/Contents/Info.plist
100644 → 100755
Empty file.
Empty file modified EFI/OC/Kexts/IntelMausi.kext/Contents/Info.plist
100644 → 100755
Empty file.
Empty file modified EFI/OC/Kexts/Lilu.kext/Contents/Info.plist
100644 → 100755
Empty file.
81 changes: 81 additions & 0 deletions EFI/OC/Kexts/NVMeFix.kext/Contents/Info.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
<?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>18E226</string>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
<string>NVMeFix</string>
<key>CFBundleIdentifier</key>
<string>org.acidanthera.NVMeFix</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>NVMeFix</string>
<key>CFBundlePackageType</key>
<string>KEXT</string>
<key>CFBundleShortVersionString</key>
<string>1.0.1</string>
<key>CFBundleSupportedPlatforms</key>
<array>
<string>MacOSX</string>
</array>
<key>CFBundleVersion</key>
<string>1.0.1</string>
<key>DTCompiler</key>
<string>com.apple.compilers.llvm.clang.1_0</string>
<key>DTPlatformBuild</key>
<string>10E1001</string>
<key>DTPlatformVersion</key>
<string>GM</string>
<key>DTSDKBuild</key>
<string>18E219</string>
<key>DTSDKName</key>
<string>macosx10.14</string>
<key>DTXcode</key>
<string>1020</string>
<key>DTXcodeBuild</key>
<string>10E1001</string>
<key>IOKitPersonalities</key>
<dict>
<key>org.acidanthera.NVMeFix</key>
<dict>
<key>CFBundleIdentifier</key>
<string>org.acidanthera.NVMeFix</string>
<key>IOClass</key>
<string>NVMeFix</string>
<key>IOMatchCategory</key>
<string>NVMeFix</string>
<key>IOProviderClass</key>
<string>IOResources</string>
<key>IOResourceMatch</key>
<string>IOKit</string>
</dict>
</dict>
<key>NSHumanReadableCopyright</key>
<string>Copyright © 2019 acidanthera. All rights reserved.</string>
<key>OSBundleCompatibleVersion</key>
<string>1.0</string>
<key>OSBundleLibraries</key>
<dict>
<key>as.vit9696.Lilu</key>
<string>1.4.1</string>
<key>com.apple.kpi.bsd</key>
<string>12.0.0</string>
<key>com.apple.kpi.dsep</key>
<string>12.0.0</string>
<key>com.apple.kpi.iokit</key>
<string>12.0.0</string>
<key>com.apple.kpi.libkern</key>
<string>12.0.0</string>
<key>com.apple.kpi.mach</key>
<string>12.0.0</string>
<key>com.apple.kpi.unsupported</key>
<string>12.0.0</string>
</dict>
<key>OSBundleRequired</key>
<string>Root</string>
</dict>
</plist>
Binary file added EFI/OC/Kexts/NVMeFix.kext/Contents/MacOS/NVMeFix
Binary file not shown.
Empty file modified EFI/OC/Kexts/SMCProcessor.kext/Contents/Info.plist
100644 → 100755
Empty file.
Empty file modified EFI/OC/Kexts/SMCSuperIO.kext/Contents/Info.plist
100644 → 100755
Empty file.
114 changes: 44 additions & 70 deletions EFI/OC/Kexts/USBPorts.kext/Contents/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
<key>CFBundleGetInfoString</key>
<string>1.0 Copyright © 2018 Headsoft. All rights reserved.</string>
<string>1.0 Copyright © 2018-2020 Headsoft. All rights reserved.</string>
<key>CFBundleIdentifier</key>
<string>com.Headsoft.USBPorts</string>
<key>CFBundleInfoDictionaryVersion</key>
Expand All @@ -22,111 +22,64 @@
<string>1.0</string>
<key>IOKitPersonalities</key>
<dict>
<key>iMac19,1-XHC</key>
<key>iMacPro1,1-XHC</key>
<dict>
<key>CFBundleIdentifier</key>
<string>com.apple.driver.AppleUSBMergeNub</string>
<key>IOClass</key>
<string>AppleUSBMergeNub</string>
<key>IONameMatch</key>
<string>XHC</string>
<key>IOPCIPrimaryMatch</key>
<string>0xa36d8086</string>
<key>IOProbeScore</key>
<integer>5000</integer>
<key>IOProviderClass</key>
<string>AppleUSBXHCIPCI</string>
<string>AppleIntelCNLUSBXHCI</string>
<key>IOProviderMergeProperties</key>
<dict>
<key>kUSBSleepPortCurrentLimit</key>
<integer>2100</integer>
<key>kUSBSleepPowerSupply</key>
<integer>5100</integer>
<key>kUSBWakePortCurrentLimit</key>
<integer>2100</integer>
<key>kUSBWakePowerSupply</key>
<integer>5100</integer>
<key>port-count</key>
<data>
GAAAAA==
</data>
<key>ports</key>
<dict>
<key>HS01</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
AQAAAA==
</data>
</dict>
<key>HS02</key>
<dict>
<key>UsbConnector</key>
<integer>10</integer>
<key>port</key>
<data>
AgAAAA==
</data>
</dict>
<key>HS03</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
AwAAAA==
</data>
</dict>
<key>HS04</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
BAAAAA==
</data>
</dict>
<key>HS05</key>
<dict>
<key>UsbConnector</key>
<integer>0</integer>
<integer>255</integer>
<key>name</key>
<string>HS05</string>
<key>port</key>
<data>
BQAAAA==
</data>
</dict>
<key>HS06</key>
<dict>
<key>UsbConnector</key>
<integer>0</integer>
<key>port</key>
<data>
BgAAAA==
</data>
</dict>
<key>HS07</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
BwAAAA==
</data>
</dict>
<key>HS08</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>port</key>
<data>
CAAAAA==
</data>
</dict>
<key>HS10</key>
<dict>
<key>UsbConnector</key>
<integer>255</integer>
<key>name</key>
<string>HS06</string>
<key>port</key>
<data>
CgAAAA==
BgAAAA==
</data>
</dict>
<key>SS01</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>name</key>
<string>SS01</string>
<key>port</key>
<data>
EQAAAA==
Expand All @@ -135,7 +88,9 @@
<key>SS02</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<integer>9</integer>
<key>name</key>
<string>SS02</string>
<key>port</key>
<data>
EgAAAA==
Expand All @@ -145,6 +100,8 @@
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>name</key>
<string>SS03</string>
<key>port</key>
<data>
EwAAAA==
Expand All @@ -154,15 +111,30 @@
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>name</key>
<string>SS04</string>
<key>port</key>
<data>
FAAAAA==
</data>
</dict>
<key>SS06</key>
<dict>
<key>UsbConnector</key>
<integer>255</integer>
<key>name</key>
<string>SS06</string>
<key>port</key>
<data>
FgAAAA==
</data>
</dict>
<key>SS07</key>
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>name</key>
<string>SS07</string>
<key>port</key>
<data>
FwAAAA==
Expand All @@ -172,6 +144,8 @@
<dict>
<key>UsbConnector</key>
<integer>3</integer>
<key>name</key>
<string>SS08</string>
<key>port</key>
<data>
GAAAAA==
Expand All @@ -180,7 +154,7 @@
</dict>
</dict>
<key>model</key>
<string>iMac19,1</string>
<string>iMacPro1,1</string>
</dict>
</dict>
<key>OSBundleRequired</key>
Expand Down
Empty file modified EFI/OC/Kexts/VirtualSMC.kext/Contents/Info.plist
100644 → 100755
Empty file.
Empty file modified EFI/OC/Kexts/WhateverGreen.kext/Contents/Info.plist
100644 → 100755
Empty file.
Empty file modified EFI/OC/OpenCore.efi
100644 → 100755
Empty file.
Empty file modified EFI/OC/Tools/CleanNvram.efi
100644 → 100755
Empty file.
Empty file modified EFI/OC/Tools/VerifyMsrE2.efi
100644 → 100755
Empty file.
20 changes: 18 additions & 2 deletions EFI/OC/config.plist
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -344,6 +344,22 @@
<key>PlistPath</key>
<string>Contents/Info.plist</string>
</dict>
<dict>
<key>BundlePath</key>
<string>NVMeFix.kext</string>
<key>Comment</key>
<string>NVMeFix</string>
<key>Enabled</key>
<true/>
<key>ExecutablePath</key>
<string>Contents/MacOS/NVMeFix</string>
<key>MaxKernel</key>
<string></string>
<key>MinKernel</key>
<string></string>
<key>PlistPath</key>
<string>Contents/Info.plist</string>
</dict>
</array>
<key>Block</key>
<array>
Expand Down Expand Up @@ -579,7 +595,7 @@
<key>AuthRestart</key>
<false/>
<key>ExposeSensitiveData</key>
<integer>2</integer>
<integer>3</integer>
<key>HaltLevel</key>
<integer>2147483648</integer>
<key>Vault</key>
Expand Down Expand Up @@ -633,7 +649,7 @@
<key>7C436110-AB2A-4BBB-A880-FE41995C9F82</key>
<dict>
<key>boot-args</key>
<string>slide=1 darkwake=0 agdpmod=pikera -v</string>
<string>slide=1 darkwake=0 agdpmod=pikera</string>
<key>csr-active-config</key>
<data>5wMAAA==</data>
<key>nvda_drv</key>
Expand Down

0 comments on commit 000f3f0

Please sign in to comment.