定制Kexts 下面列出的清单的kexts都包含在zip压缩包内. 如果你想自己下载最新版本,下载后建议使用kext安装脚本复制kexts到/Library/Extensions 目录. • FakeSMC.kext (v6.25.1426)- 核心机制. 使用Kozlek's version + plugins+ custom FakeSMC Info.plist ◦ 2个定制SMC键添加到Kozlec's原始的FakeSMC- FNum (to find the Fan) and ACID (for AC power and eliminate powerd syslogmessages every 30 seconds). ◦ A Custom package is included in theUtilities folder so you can install HWMonitor.app -it just selects these 2 Plugins Sensors: ACPI and CPU. • ACPIBatteryManager.kext (v1.70.2) -RehabMan's kext configured for v3 ACPI instructions to show/track batteryinfo on menu bar(状态栏电池显示)
 • AppleALC.kext (v1.1.4) 保持原始/修改的AppleHDA.kextin /S/L/E 和使用CX20672提供完整的音频支持(same as CX20590). • Note: 有匹配DSDT部分ConexantCodec. 在dock端口还有Manwe150'sfix/additions. 有2个layout-id profiles: • (1) ID 12 正常的笔记本端口和(2) ID 13 扩展坞的端口. The "dock" version adds the second channel output called"Headphones" and a second Input which shows up as either "LineIn or Built-in Microphone" - these ports are physically on the DockingStation itself. - 如果你有一个dock,请设置inject AudioID 13在Clover config.plist
- 如果没有, 可以直接使用,无需做出任何改变) • Lilu.kext (v1.1.6) -一个kexts框架使AppleALCand NightShift etc正常运行.
 • Bluetooth_Injector_T420.kext (1.0.0) -增加ProductID 8575 改善BT(提供开/关功能)). 
 • AppleBackLightInjector.kext(0.9.0) - RehabMan's Injector method - 修改论坛联想T420水平增加亮度的规模为0到4882 (0x1312). • Note: 有两个模板文件:T420 和T460. 创建一个标准Injector,运行UtilitiescreateAppleBacklightInjector脚本创建一个适合你的屏幕的亮度控制,. 并使用_kext_install.bash脚本安装,使用如下命令:
cd~/Downloads/Lenovo-T420-Clover-YYYY.MM.DD/Utilities/Create_AppleBacklightInjector_kext/ • sudo./createAppleBacklightInjector.command
 • VoodooPS2Controller.kext (v1.8.25f) - 新定制的T420版本基于RehabMans'sPS2 Keyboad/TouchPad/TrackPoint
- 这个版本有T420的额外的定义信息. ◦ 调整启动帮助小红点 ◦ Jakibaki中间按钮+滚动的剪切/粘贴固定修复. ◦ 如果MiddeMouseScroll设置为true滚动指点杆的工作原理. ◦ Sierra PrefPane集成和其他修复(平滑和大写锁定)by usr-sse2 (see this post on GitHub) ◦ 修改Info.plist(s)添加联想T420覆盖设置. ◦ TrackPad pressure FingerZ value setto 47 - up from default of 30 - change to suite your touchin VoodooPS2Controller.kext/Contents/PlugIns/VoodooPS2TrackPad.kext/Contents/Info.plist ◦ Various Default overrides such asMouseMultiplier X and Y for TrackPoint. ◦ 注意:VoodooPS2Controller键盘映射有3或4个手指滑动左/右后退/前进为Safari浏览器配置和空间滑动 ◦ Optional Key Map: This map works in ElCapitan. Since the NX keys are in a state of flux for Sierra - it is disabledby default now. If you would want to use this new map, edit the Info.plistfile and rename the T420 key map entry. The F1-F15 key mappingsare VoodooPS2Controller.kext/Contents/PlugIns/VoodooPS2Keyboard.kext/Contents/Info.key.plist: ▪ F1 - LCD Brightness Down(亮度) ▪ F2 - LCD Brightness Up(亮度) ▪ F3 - Mission Control App Selector(任务控制程序选择器) ▪ F4 - Launchpad ▪ F5 - ▪ F6 - ▪ F7 - Mirror Displays ▪ F8 - Disable/Enable TouchPad(禁用/启用触摸板) ▪ F9 - ▪ F10 - Mute Volume(静音) ▪ F11 - Volume Down(音量) ▪ F12 - Volume Up(音量) ▪ PrtSc - Scan Previous Track ▪ ScrLck - iTunes Play/Pause ▪ Pause - Scan Next Track ▪ Insert - Eject • AppleIntelE1000e.kext (v2.4.14)- Ethernet (gigE) - can go in /System/Library/Extensions vs Pluginsso OSX re-installations or patch updates will not delete it. Optional: • IntelBacklight.kext (v1.0.10) - RehabMan'skext for smoother/enhanced LCD backlight (dimming) control. In 10.12.4 (orlater) this kext does communicate with Brightness keys or System PreferencesDisplay Slider. So remove this kext unless on a version older (less) than10.12.4
 • AppleHDA_20672.kext (v999.99) Keeporiginal/unmodified AppleHDA.kext and add this kext to /L/E for full audiosupport for CX20672 (same as CX20590). Note: requires matching DSDT sectionsfor Conexant Codec and layoutID 12. and Kext Patch via Clover. Also hasManwe150's fix/additions for dock ports. Credit and thanks to vladichimescu.There are 2 files in AppleHDA_20672.kext/Contents/Resources
Platforms.xml.zlib.dock and
Platforms.xml.zlib.nodock
The "dock" version adds the secondaudio output called "Headphones" and a second Input "LineIn" - both of which are on the Docking Station itself.
- IF you have a dock and want to use theseports - then just replace the Platforms.xml.zlib file withPlatforms.xml.zlib.dock
-IF you DO NOT have a dock, then use the new kext as is! (and not be confused bythe extra Input/Output options!!!)(这部分翻译太头疼了,完全没办法理解,大家自己理解去吧,晕) 一般笔记、修复和功能 InstallingClover: 如果你想直接使用Clover安装文件安装Clover_v2.4k_rxxxx.pkg, 你需要选择Clover以下几个选项. 
 仅安装UEFI启动版本 安装到ESP分区 主题默认 Driver64UEEFI—OsxAptioFIx2Drv-64 安装后按照步骤4替换ESP内容: • 2个clover的配置文件(config.plist) 使用自定义的DSDT和额外的Clover 修补。
 a) config.1600x900.plist - use for high-res LCD (rename to config.plist) 
 b) config.1368x768.plist - use for low-res LCD (rename toconfig.plist) • Model should be set to MacBookPro8,1 toget proper Graphics patching - DP/HDMI/DVI/VGA FrameBuffers • Clover 动态修补的 4Apple kexts: ◦ Patch AppleIntelSNBGraphicsFB.kext
- insertsa fix LCD brightness max level - now its the same brightness before and aftersleep. Thanks to Timewalker75a (again!)
- replaces the 4th port/buffer (DVIon dock) with VGA on left side. The 4 ports afterpatch are: LCD, DisplayPort on side, DisplayPort on dock, VGA on side. If youneed DVI on the dock - then disable this patch! Or modify the edit scheme tochange the 2nd or 3rd port (DP) to be the DVI if still want the VGA port. ◦ Patch AppleHDA.kext todefine the audio codec for the Conexant 20590/20672 chipset ◦ Patch IOGraphicsFamily.kext - logodisplay fixes for startup phases ◦ Patch IOAHCIBlockStorage.kext - addsSSD TRIM function for a 3rd Party SSD - one can use the trimforce command now • Zip包含Clover文件自定义DSDT的必须的kexts以及kext安装脚本: _kext-install.command • Gfx Parameter files for Displays/Overrides更自然的伽玛曲线和颜色选项 • Newer Thinkpad theme - adds Mavericks,Yosemite, El Capitan, Sierra Icons than in standard clover installer. • 特殊功能键可以使用 (without USB or Bluetoothkeyboard): ◦ LCD Brightness: These button pairs changebrightness up/down : Fn+Home/End, ScrLck/Pause ◦ Audio: The 3 buttons above F1-F3 controlvolume (except mic mute) ◦ Insert key is the CD/DVD eject. ◦ Blue ThinkVantage button - toggles fan tohighest speed. ◦ The Alt key is the Mac Command key andMicrosoft flag key is the Mac Option key. ◦ Fn+PgUp - turns on the light! DSDTNotes -Some of the DSDT tweaks (beyond manwe150's original version) are listedhere: • DSDT includes source and binary • The "EDID" version of dsdt.amlshould override removes infamous HD 3000 glitches and buffer hangs orso-called artifacts for 1600x.900 LCD. • Added MaxBeepBootVolume to DSDT to ridAppleHDA assertion on startup • Shutdown fixes in DSDT _PTS and _WAK(thanks to TimeWalker75, RehabMan and Manwe150) • Change/fixes to reset LEDs for propersleep/wake status • Battery fixes to usenative/current ACPIPlatform.kext withRehabman's ACPIBatteryManager.kext - no need to rollback orpatch AppleACPIPlatform.kext anymore. • PNLF additions from RehabMan providesmoother/wider LCD backlight control with IntelBacklight.kext • DSDT mods to KBD device - renamed to PS2K andadded LENOVO OEM-ids for VoodooPS2Controller to use. • The PS2 Keyboard is identified as id LENOVOtable-id T420 which will pickup the custom VoodooPS2Controller settings. • For El Capitan, removed the _PRW method fromsome of the devices in the DSDT
 • DSDT for "heat-step"(dsdt.heat-step.aml) has a modified method to control the fan speed vsautomatically by BIOS.

按照安装指导使用自动控制风扇转速:
1) 复制dsdt.heat-step.aml替换默认dsdt.aml在ESP分区
2) 安装Utilities文件夹下ACPIPoller.kext到/Library/Extensions目录
3) 重启
例如(自己根据命令理解,没有这么复杂): • mkdir/Volumes/ESP • sudomount -t msdos /dev/disk0s1 /Volumes/ESP • cp-a /Volumes/ESP/EFI/CLOVER/ACPI/dsdt.heat-step.aml/Volumes/ESP/EFI/CLOVER/ACPI/patched/dsdt.aml • cd~/Downloads/Lenovo-T420-Clover-YYYY.MM.DD/Utilities • sudocp -a ACPIPoller.kext /Library/Extensions • sudochown -R 0:0 /Library/Extensions/ACPIPoller.kext • sudochmod -R go-w /Library/Extensions/ACPIPoller.kext • sudokextcache -i /
 可选的:创建一个自定义SSDT Included is a revisedPike's SSDT generation script (sdtPRgen-clover.command) and a localcopy of iasl. running the script will end with making a copyof ssdt.aml into proper ESP location when mounted. Clovercan build a proper SSDT for power but if you want to play with the values thismay help. • Creates P and C states to match system CPU.One can hand-edit to modify values for lower power consumption. • Run thecustom ssdtPRgen-clover.command script in Zip Utilitiesfolder. It should ask you if you want copy ssdt.aml to yourESP ACPI/patched folder, otherwise copy/move ssdt.aml tothe same location as your custom dsdt.aml whichis: /Volumes/ESP/EFI/CLOVER/ACPI/patched
 • Note: the script willcopy the file iasl from the Utility folderto /usr/local/bin/iasl (身体不舒服,这段不翻译了,生成ssdt变频文件,使用在终端执行以下命令: cd ~/Downloads/Lenovo-T420-Clover-YYYY.MM.DD/Utilities ./ssdtPRGen-clover.command 需要输入管理员密码,会提示你是否复制到EFI/Clover/ACPI/Patch目录,选择Y同意,会继续询问是否打开ssdt.dsl,选N。 看看EFI/Clover/ACPI/Patch目录有没有ssdt.aml,关机重启后可以使用CPU-S查看变频是否正常)
翻译到此结束,如果对黑苹果比较熟悉的,直接用他的EFI文件就行了,不过帖子确实写得很好,偶尔翻译还是能学到很多东西的
|