Skip to content

Commit

Permalink
add NVMeFix.kext and change SetApfsTrimTimeout value
Browse files Browse the repository at this point in the history
chnage SetApfsTrimTimeout value from -1 to 0 for fixing slow Samsung SSD 970 EVO Plus boot time
  • Loading branch information
Ray committed Nov 13, 2022
1 parent 6ca974f commit b0907d2
Show file tree
Hide file tree
Showing 3 changed files with 104 additions and 1 deletion.
85 changes: 85 additions & 0 deletions EFI/OC/Kexts/NVMeFix.kext/Contents/Info.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,85 @@
<?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>20G624</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.1.0</string>
<key>CFBundleSupportedPlatforms</key>
<array>
<string>MacOSX</string>
</array>
<key>CFBundleVersion</key>
<string>1.1.0</string>
<key>DTCompiler</key>
<string>com.apple.compilers.llvm.clang.1_0</string>
<key>DTPlatformBuild</key>
<string>13C100</string>
<key>DTPlatformName</key>
<string>macosx</string>
<key>DTPlatformVersion</key>
<string>12.1</string>
<key>DTSDKBuild</key>
<string>21C46</string>
<key>DTSDKName</key>
<string>macosx12.1</string>
<key>DTXcode</key>
<string>1321</string>
<key>DTXcodeBuild</key>
<string>13C100</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>LSMinimumSystemVersion</key>
<string>10.14</string>
<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.
20 changes: 19 additions & 1 deletion EFI/OC/config.plist
Original file line number Diff line number Diff line change
Expand Up @@ -322,6 +322,24 @@
<key>PlistPath</key>
<string>Contents/Info.plist</string>
</dict>
<dict>
<key>Arch</key>
<string>Any</string>
<key>BundlePath</key>
<string>NVMeFix.kext</string>
<key>Comment</key>
<string></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>
<dict>
<key>Arch</key>
<string>Any</string>
Expand Down Expand Up @@ -848,7 +866,7 @@
<key>ProvideCurrentCpuInfo</key>
<false/>
<key>SetApfsTrimTimeout</key>
<integer>-1</integer>
<integer>0</integer>
<key>ThirdPartyDrives</key>
<false/>
<key>XhciPortLimit</key>
Expand Down

0 comments on commit b0907d2

Please sign in to comment.