[指导]HP ProBook/EliteBook/Zbook系列笔记本clover安装黑苹果

本文提供HP笔记本如Elitebook/Probook/Zbook系列安装黑苹果的详细教程,涵盖BIOS设置、驱动安装、网络配置及常见问题解决,适合希望在HP笔记本上运行macOS的用户。
部署运行你感兴趣的模型镜像

原文链接:https://www.tonymacx86.com/threads/guide-hp-probook-elitebook-zbook-using-clover-uefi-hotpatch-10-11.189416/

原文作者:RehabMan

   

前提(摘自国外原版教程),这部分放在前面,是希望大家看一下,不要被吓到,后面的教程经过简化说明。

推荐大家阅读原版:https://www.tonymacx86.com/threads/guide-hp-probook-elitebook-zbook-using-clover-uefi-hotpatch-10-11.189416/,参照我的中文教程,应该不会有太多困难。

   

本教程适用于elitebook/probook/zbook下列机型:

- 6-series laptop (Sandy Bridge): HP Probook 4x30s, 6x60b, Elitebook 2x60p, 8x60p, 8x60w

- 7-series laptop (Ivy Bridge or Sandy Bridge): HP Probook 4x40s, 4x0 G0, 6x70b, Elitebook 8x70p, 2x70p, 9470m

- 8-series laptop (Haswell): HP 3x0 G1, Probook 4x0 G1/G2, Elitebook 8x0 G1, ZBook G1, Folio 1040 G1

- 9-series laptop (Broadwell): HP Probook 4x0/6x0/8x0/ZBook G2

- 100-series laptop (Skylake): HP ProBook 4x0 G3 is experimental (probably incomplete), but reported as working.

- 100-series laptop (Kabylake): HP ProBook 4x0 G4 is experimental (probably incomplete), supported with the 'beta' branch and is currently reported as working.

   

推荐兼容的无线网卡:

Here is the list of recommended compatible wifi cards:

- HP Probook 4x30s: the laptop has whitelist BIOS, so only usable card is HP-branded Atheros AR5B195 (HP part# 593127-001). You can also use a rebranded AR5BHB92 (AR9280).

- HP Probook 6x60b/5330m, HP Elitebook 8x60p/2x60p: the laptop has whitelist BIOS, so only usable card is HP-branded Broadcom 43224HMS (582564-001/582564-002)

- For laptops with NGFF/M.2 WiFi slot: BCM94352Z or BCM94350ZAE (? not tested/not recommended) or BCM943602BAED (works but may require additional antenna leads to be installed)

- Other laptop:

WIFI ONLY: Atheros AR9280/9285, Broadcom 4322/43224 (better OS X feature support)

WIFI+BT: AR5B195 (not recommended), Broadcom 43225HMB/4352HMB (better OS X feature support)

   

BIOS设置:

To start, set BIOS to defaults.

Then insure:

- UEFI boot is enabled (hybrid/with CSM for best result)

- secure boot is disabled

- disable fast boot

- IGPU graphics memory set to 64mb (Broadwell and Skylake)

- disable the serial port via BIOS option if available

- disable "LAN/WLAN switching" if available

- disable "Extended Idle Power States" if you find it under "Power Management Options"

- disable "Wake on LAN" and "Wake on USB"

- disable Firewire/IEEE 1394 if your laptop has it

   

特殊说明:

- Definitely copy RealtekRTL8111.kext and IntelMausiEthernet.kext to Clover/kexts/Other as having network support during post-install is required (the rest of this guide depends on it). An alternative is to copy FakePCIID.kext, FakePCIID_Broadcom_WiFi.kext, and ProBookAtheros.kext to Clover/kexts/Other. This will enable WiFi, provided you have compatible WiFi hardware already installed.

   

Note: FakePCIID.kext and FakePCIID_Broadcom_WiFi.kext are available here: https://github.com/RehabMan/OS-X-Fake-PCI-ID. ProBookAtheros.kext is available in the 4x30s DSDT patch github: https://github.com/RehabMan/HP-ProBook-4x30s-DSDT-Patch (download the ZIP of the entire github project).

   

- GenericUSBXHCI.kext is not necessary with most laptops covered by this guide since AppleUSBXCHI.kext appears to work well natively. The exception is those laptops with 6-series chipsets. For these laptops you should use a USB2 port and USB2 flash drive. There is no support in the BIOS for booting from the NEC/Renesas ports anyway.

   

- Also copy HPFanReset.efi to EFI/Clover/drivers64UEFI. HPFanReset.efi is available here: https://bitbucket.org/RehabMan/hp-probook-4x30s-fan-reset/downloads

   

- Use the 'createinstallmedia' approach. It works well, and there is little chance for pilot error. This method also gives you an OS X recovery partition.

   

- It is best to use a USB2 stick. USB3 on 6-series ProBook/EliteBook will have issues.

   

- Some laptops will need to use the alternate DropTables as mentioned in the guide. Likely required for Sandy Bridge models with turbo boost enabled CPUs (eg. Core i5-2xxx, Core i7-2xxx, but not Core i3-2xxx).

   

wifi和蓝牙修复:

   

Depends on having compatible hardware. Use DPCIManager->PCI List to find out what you have. Compatible chipsets and the procedures for making them work are covered here: http://www.tonymacx86.com/network/104850-guide-airport-pcie-half-mini-v2.html

   

Note: If the device is not listed in post #1 of the linked WiFi guide, it is not supported. Intel WiFi, RaLink WiFi, and Realtek PCIe WiFi are simply not supported and must be replaced with something compatible.

   

Best choice: BCM94352HMB (or BCM94352Z if your laptop needs NGFF/M.2 2230). Also, the NGFF BCM94350ZAE is a possibility.

   

Note: BCM94352HMB is easy to find and generally is $20-$30. For BCM94352Z, read here: http://www.tonymacx86.com/yosemite-laptop-support/160258-where-can-i-get-bcm94352z.html. It can be ordered from Dell (phone them) for approx. $20.

   

Another choice (with 802.11ac) is the BCM94360HMB. It is a bit more native (device-id is supported natively), but also uses 3 smaller antenna connectors than are typical. So a bit more work to install. Same goes for (NGFF) BCM943602BAED if you need an M.2 2230 card.

   

Be aware that some BIOS implement a so-called "whitelist". A whitelist prevents you from installing cards that the OEM has not deemed compatible. In many cases, you won't know whether your BIOS implements a whitelist until you attempt to replace the WiFi card.

   

If your laptop implements a whitelist, you may be able to rebrand a supported card to the IDs that your BIOS supports. You can then use FakePCIID.kext to convince OS X of the true identity of the device.

   

Note that newer laptops do not use half-mini PCIe as NGFF (now called M.2) is becoming more popular. In the case of NGFF, look for BCM94352Z.

   

BCM94352 requirements:

- FakePCIID.kext and FakePCIID_Broadcom_WiFi.kext (was FakePCIID_BCM94352Z_as_BCM94360CS2.kext): https://github.com/RehabMan/OS-X-Fake-PCI-ID. Install with Kext Wizard to /S/L/E.

- BrcmPatchRAM: https://github.com/RehabMan/OS-X-BrcmPatchRAM. Install with Kext Wizard to /S/L/E. Make sure you read the README as the kexts you install depend on OS X version and installation location.

- 5Ghz patch for WiFi documented here: http://www.tonymacx86.com/network/104850-guide-airport-pcie-half-mini-v2.html (Note: 10.12.x requires the 'fcvo' patch and NOT the 5ghz patch, but the fcvo patch is incorrectly referred to as a 5ghz patch at toleda's guide). The fcvo patch is clearly documented here: https://www.tonymacx86.com/threads/readme-common-some-unsolved-problems-in-10-12-sierra.202316/

- handoff patch for bluetooth documented here: http://www.tonymacx86.com/network/104850-guide-airport-pcie-half-mini-v2.html

   

If you only need WiFi, AR9280 (AR5BHB92) is a good choice and is supported natively.

   

Closely related to AR9280, is AR9285 (AR5B195). It is usually bundled with AR3011 bluetooth, which unforunately, is a poor bluetooth implementation for OS X. It also lacks 5Ghz as compared with AR9280.

   

AR9285/AR3011 requirements:

- toledaARPT.kext for WiFi: http://www.tonymacx86.com/network/104850-guide-airport-pcie-half-mini-v2.html. Direct link for those unable to click a few times: https://github.com/toleda/wireless_half-mini/raw/master/Deprecated Files/airport_kext_enabler/toledaARPT.kext.zip

- IOath3kfrmwr.kext for bluetooth: https://github.com/RehabMan/OS-X-Atheros-3k-Firmware

   

For AR9285/AR9287, you can also use ProBookAtheros.kext. It will even work on Snow Leopard. It is available from the ProBook repo: https://github.com/RehabMan/HP-ProBook-4x30s-DSDT-Patch (direct link to zip: https://github.com/RehabMan/HP-ProBook-4x30s-DSDT-Patch/archive/master.zip)

   

In some laptops, after installing supported WiFi hardware and enabling the driver as discussed above, the radio may refuse to power up. As a result, no networks are seen. Correct ACPI patches can sometimes help (eg. correct "OS Check Fix" patch). In other cases, even that is not enough (you will notice it affects both Windows, OS X and perhaps Linux). For half-mini PCIe, you can tape pin 20 to disable the "radio disable" function. For NGFF/M.2, tape pins 54 and 60.

   

Stay away from 'Android File Transfer'. It will interfere with correct operation of USB and badly affects BrcmPatchRAM if it is installed. This post has some information that might be useful if you think you need to use it: http://www.tonymacx86.com/el-capita...tooth-bcm20702a0-problem-usb.html#post1200910

   

Similar to the Android File Transfer problem, Google Chrome (evidently a problem specific to Google's engineers) will also hook all USB ports. Sometimes this causes a problem. Personally, I don't see why a web browser should be hooking USB ports at the kernel level, so I always disable this "feature". Visit chrome://flags/#enable-webusb, and you can disable it.

   

FakePCIID.kext and FakePCIID_Broadcom_WiFi.kext can also be used to enable other Broadcom WiFi hardware. It will inject the IOKitPersonality required (if needed) and provide Apple Airport branding.

   

Note: If you experience slow WiFi after a sleep/wake cycle, disable "Wake for network access" in SysPrefs->Energy Saver.

   

   

一.安装黑苹果的参考教程:

1.HP笔记本Clover+UEFI+GPT完美10.10.3+Windows8.1双系统

 链接:http://bbs.pcbeta.com/viewthread-1600572-1-1.html

 这个是UEFI+GPT教程基本上的形式,我的机子是HP elitebook 2570P,惠普的     Probook/Zbook/elitebook系列基本上都可以这样用。

2.[Guide] Install 10.11 on HP EliteBook/ProBook/others with Clover UEFI

https://www.tonymacx86.com/threads/guide-install-10-11-on-hp-elitebook-probook-others-with-clover-uefi.168236/

这个是原版,适用于10.11.4以下版本,原作者不维护了,这个很方便。

3.[Guide] HP ProBook/EliteBook/Zbook using Clover UEFI hotpatch (10.11)

链接:https://www.tonymacx86.com/threads/guide-hp-probook-elitebook-zbook-using-clover-uefi-hotpatch-10-11.189416/

这个是上面帖子的后续版,很多机型都能在这个论坛找到,按照类似机型找基本上都能找到。

4.黑苹果常用工具官网:http://bbs.pcbeta.com/viewthread-1713831-1-1.html

5.黑苹果论坛:

国内:bbs.pcbeta.com

         bbs.feng.com

国外:https://www.tonymacx86.com/

         http://www.insanelymac.com

         www.osxlatitude.com

二.制作安装盘:

note:看完上面的帖子,对基本安装的方法都有了一定的了解。

上面的方法有个前提,你得有制作苹果安装盘的环境,也就是苹果的安装环境,怎么做呢?

有苹果电脑的,直接制作就好了,没有苹果系统的,通过虚拟机安装苹果系统,提供安装盘制作环境。建议使用VMware安装MAC,用于制作安装盘。VMware太慢。

1.VMware 11安装Mac OS X 10.10

链接:http://jingyan.baidu.com/article/ff411625b9011212e48237b4.html

2.VMware 12安装Mac OS X 10.11

链接:http://jingyan.baidu.com/article/bea41d4388a8c4b4c51be6ab.html

这两个是VMware安装MAC的教程,请看明白教程再来做,需要解锁Vmware安装MAC的功能。

3.解锁Vmware功能(Workstation 11/12, Player 7/12, Fusion 7/8 and ESXi 6 Mac OS X Unlocker 2)

链接:http://www.insanelymac.com/forum/topic/303311-workstation-1112-player-712-fusion-78-and-esxi-6-mac-os-x-unlocker-2/

这个论坛也是国外做得比较好的黑苹果论坛,上面好东西很多。其他的大家自己翻啊。

4.通过VMware安装苹果系统,制作黑苹果安装盘。

教程参考:HP笔记本Clover+UEFI+GPT完美10.10.3+Windows8.1双系统http://bbs.pcbeta.com/viewthread-1600572-1-1.html

备选:UniBeast: Install macOS Sierra on Any Supported Intel-based PC

链接:https://www.tonymacx86.com/threads/unibeast-install-macos-sierra-on-any-supported-intel-based-pc.200564/

备选2:采用命令行:

sudo /Applications/Install\ OS\ X\ El\ Capitan.app/Contents/Resources/createinstallmedia --volume  /Volumes/MacUSB --applicationpath /Applications/Install\ OS\ X\ El\ Capitan.app --nointeraction

第三备选:利用硬盘写入助手,采用变色龙引导,这个我试验了一年,没成功过,泪流满面啊。

瞎说的:不需要苹果环境,直接用transMAC这个工具在windows下写入苹果原版安装镜像,用另一个U盘格式化为fat32,把efi引导文件写进去。或者是安装修改的带efi引导的,然后把efi引导更换为别人已经成功安装的。(个人原创的,用起来咋样就不说了)

第一个比较烦,成功率比较高,第二个用工具安装,比较方便,工具需要在英文环境下运行。

Note:至于苹果镜像嘛,网上老多老多了。

dp版:开发者预览版,不建议哈,尝鲜用。

修改版:添加一些驱动啥的,我们需要么,(AMD的CPU需要滴,这不是我的鄙视哈)

添加引导版,和修改版差不多,只添加引导的话,修改自己的引导还是不错的。

懒人版:后缀为CDR,和windows的GHO镜像差不多。

不说了,萝卜白菜,各有所爱哈。

上述教程适用于inter的CPU,AMD的CPU需要修改内核,另外显卡笔记本只能用核显。台式机看情况。

前面的几个都是普快或者特快,我自己瞎说的基本上就是高速动车了,飞机那是白苹果哈,开玩笑滴。

5.修改efi引导文件:感谢那些共享出自己的efi引导文件的大神哈,建议自己修改。

可以在网上搜索自己的机型已经安装成功的efi引导文件,放到自己U盘的efi分区,放到其他U盘也行哦。

这样我们的安装盘就做好了。

三.安装黑苹果(建议固态硬盘,速度挺快哈):

BIOS建议升级到最新版,恢复BIOS默认设置并进行如下操作:

a.启用UEFI引导,建议不带CSM兼容模式

b.禁用安全引导

c.禁用快速启动

d.IGPU图形模式设置为64M(Broadwell and Skylake)

e.禁用串口选项(如果有)

f.禁用LAN/WLAN切换

g.禁用局域网唤醒和USB唤醒

h.禁用Firewire/IEEE 1394(如果有)

还是参照别人的安装教程来:

前提:bios升级到最新版,恢复默认设置后,关闭因特尔虚拟化和IO虚拟化,关闭安全引导。

开机选择efi引导或是U盘引导,这个各个机型不一样。

正确进入clover后能够看到以前的系统(UEFI安装的,mbr安装的看不到)和安装苹果选项。至于-v -x参数,我不会,大家看别人的去。

上面没问题,你能进入到安装界面,左上角,实用工具磁盘工具。

如果是只安装MAC,全新安装,直接格式化guid,日志式即可。

如果有windows,且安装MAC在其中一个分区时,将需要安装的盘格式化成mac日志式,这样再回到安装界面,选择安装的分区的时候就能看到安装的分区了,如果看不到,你再进磁盘工具看看有没有问题。

note:提示磁盘空间不够是因为esp(efi)分区低于200m,或者格式不是fat32,出现这个问题,将esp(efi)分区扩大到200M以上就可解决。

其他问题请问百度啦、必应啦、谷歌啦、duckduckgo、360啦,问别人也行,我也是问它们的。

后面基本上就是顺丰(风)顺水了,一路进苹果界面了。

四:添加必要的驱动,保证机子正常运行。

从U盘引导进入到已成功安装的系统,安装clover,完善必要的驱动。

2570P 的教程参照(黑色部分):

[Guide] HP ProBook/EliteBook/Zbook using Clover UEFI hotpatch (10.11)

链接:https://www.tonymacx86.com/threads/guide-hp-probook-elitebook-zbook-using-clover-uefi-hotpatch-10-11.189416/

这个10.12也可以使用。大概说明一下:

安装CloverEFI或是ESP分区,要求分区大于200m,且分区格式为fat32.

1.下载Clover efi bootloader,来源:Clover UEFI Bootloader

2.安装时选择自定义安装,选择安装到ESP/EFI分区,Dirvers64UEFI > OsxAptioFixDrv-64。

3.复制 HFSPlus.efi 到 drivers64UEFI文件夹,HFSPlus.efi来源https://github.com/JrCs/CloverGrowerPro/blob/master/Files/HFSPlus/X64/HFSPlus.efi?raw=true.

在终端运行,可能需要输入管理员密码;

1.允许未知软件运行:

sudo spctl --master-disable

2.安装开发者工具xcode:

git

等待安装完成即可。

3.创建projects目录,转到目录,克隆RehabMan的源,只针对惠普elitebook/probook/zbook系列

mkdir ~/Projects

cd ~/Projects

git clone https://github.com/RehabMan/HP-ProBook-4x30s-DSDT-Patch probook.git

备选betagit clone -b beta https://github.com/RehabMan/HP-ProBook-4x30s-DSDT-Patch probook.git

4.克隆完成,转到probook.git目录,下载必要的kexts文件,解压时会自动安装到必要位置,(beta备选)。

cd ~/Projects/probook.git

git checkout beta

./download.sh

./install_downloads.sh

5.解压安装完成,构建相关文件,执行命令自动进行DSDT/SSDT修补,会在build文件夹构建ssdt和修补dsl文件,同时生成对应各机型的config.plist文件。

(本指南没有使用稳定的DSDT,而是使用热补丁和一组SSDT来构建,这样的好处,可以根据具体的硬件来生成ssdt、config.plist,更适合于本机硬件运行,也可以方便进行提取、修复、卸载补丁的操作,而且这一过程是按照规则自动进行的,基本上不需要人为干涉,RehabMan是黑苹果补丁的主要支撑人之一,这个教程由他构建并提供相关补丁,幸福吧)

cd ~/Projects/probook.git

./build.sh

6.列出构建文件,你可以看到构建成功的文件,但不是所有的文件都是必须的,这取决于你的笔记本型号。

cd ~/Projects/probook.git

ls build

7.挂载efi分区

cd ~/Projects/probook.git

sudo ./mount_efi.sh /

8.拷贝相关aml文件,不同的机型这个部分不错,具体使用见教程:https://www.tonymacx86.com/threads/guide-hp-probook-elitebook-zbook-using-clover-uefi-hotpatch-10-11.189416/

选择具体机型时,需要将部分补丁复制到efi分区EFI/Clover/ACPI/patched目录,这需要挂载efi分区。

如果没有你的机型,可以参照近似机型的配置文件,但不一定能正常运行,请看不支持的笔记本型号。

查看帮助:

./install_acpi.sh help

针对2x70p(2170p和2570p):仅有1366*768分辨率

./install_acpi.sh install_2x70

针对8x70p(8470p和8570p):1366*768分辨率

./install_acpi.sh install_8x70

针对8x70p(8470p和8570p):1600*900及以上分辨率

./install_acpi.sh install_8x70_hires

以此类推

9.生成电源管理,CPU变频文件:两次询问都选N,然后回车。

(使用Pike R. Alpha的ssdtPRGen.sh生成ssdt变频文件,详细介绍见:https://github.com/Piker-Alpha/ssdtPRGen.sh)

cd ~/Projects/probook.git

curl --fail -o ./ssdtPRGen.sh https://raw.githubusercontent.com/Piker-Alpha/ssdtPRGen.sh/master/ssdtPRGen.sh

备选beta(新机型)curl --fail -o ./ssdtPRGen.sh https://raw.githubusercontent.com/Piker-Alpha/ssdtPRGen.sh/Beta/ssdtPRGen.sh

chmod +x ./ssdtPRGen.sh

./ssdtPRGen.sh

如果无法获得正确的ssdt.aml,可能需要执行:

./ssdtPRGen.sh -w 3

10.拷贝上面生成的文件拷贝到/EFI/Clover/ACPI/patched/SSDT.aml目录。

cd ~/Projects/probook.git

sudo ./mount_efi.sh /

cp ~/Library/ssdtPRGen/ssdt.aml /Volumes/EFI/EFI/Clover/ACPI/patched/SSDT.aml

11.拷贝clover配置文件到clover目录:

cd ~/Projects/probook.git

ls config

sudo ./mount_efi.sh /

针对2x70p(2170p和2570p)

cp ./config/config_2x70p.plist /Volumes/EFI/EFI/Clover/config.plist

针对8x70p(8470p和8570p)

cp ./config/config_8x70p.plist /Volumes/EFI/EFI/Clover/config.plist

12.重建驱动缓存:

sudo touch /System/Library/Extensions && sudo kextcache -u /

到此重启即可正常使用,后面部分为可选项,自己确认是否需要,背光问题影响不大,建议新手先用上一段时间再说。

13.你应该根据你的机型定制SMBIOS和序列号,你可以选择使用Clover Configurator生成对应文件保存后,用plist editor或者xcode将生成的文件拷贝到你需要使用的plist文件的对应位置,不要在正常的config.plist文件使用Clover Configurator编辑,会改变config.plist文件内容,切记。

完成以上操作就可以正常运行你的mac系统了。不过还是请继续向下看。

14.阅读已经问题,黑苹果终究不是在Mac的专用硬件运行,有很多尚未修复或是无法修复的问题,请参考帖子看是否解决相关问题:10.12请看:https://www.tonymacx86.com/threads/readme-common-some-unsolved-problems-in-10-12-sierra.202316/

更新补丁库,需要执行下列命令,重新打新补丁,然后重复相关步骤,并更新你使用的config.plist文件:

cd ~/Projects/probook.git

git stash

git pull

./download.sh

./install_downloads.sh

./build.sh

关机,从clover启动即可。

   

15:其他的一些参考链接:

1)修复imessage:http://www.tonymacx86.com/general-help/110471-how-fix-imessage.html)

2)修复applehda:https://www.tonymacx86.com/threads/...i-hotpatch-10-11.189416/page-498#post-1410398

3)airport问题:http://www.tonymacx86.com/threads/s...oard-id-airport-behavior.198094/#post-1290781

16.如果nvram不工作,请在安装clover EFI bootloaders是选择安装EmuVariableUefi-64.efi 和 "RC scripts"

17.一些笔记本采用转接的USB3.0,包括NEC/Renasas控制芯片时,可以尝试使用GenericUSBXCHI.kext驱动。

18.问题反馈:提供问题报告附件,反馈到tonymacx86论坛,终端执行:

rm -Rf ~/Downloads/RehabMan

mkdir ~/Downloads/RehabMan

cd ~/Downloads/RehabMan

patchmatic -extract

同时请提供ioreg信息。

kextstat|grep -y acpiplat

kextstat|grep -y appleintelcpu

kextstat|grep -y applelpc

kextstat|grep -y applehda

F4提取相关文件后,上传clover附件,请删除theme目录,减少附件大小。

最后注意一点,反馈信息后,附带机型的详细信息。

   

   

note:如果无法启动,不用重装,直接再从U盘引导,进入系统重新配置efi文件即可。

如果卡进度条,进入recovery,修复磁盘权限就能进入系统。

这是我以前的一份帖子,供参考:

链接:http://forum.51nb.com/thread-1656107-1-1.html

最后祝大家安装成功。

常用文件附上onedrive:https://1drv.ms/f/s!AnZiqbrvoEVXiPgpEjp-rVq03W6Abg

                   MEGA.NZ:https://mega.nz/#F!TsgjVZDT!xqp-DbL1CIP3fsjzuQ_V-w

   

修复背光:

1.创建projects目录,转到目录下:

mkdir ~/Projects

cd ~/Projects

2.克隆软件源:

cd ~/Projects

git clone -b beta https://github.com/RehabMan/HP-ProBook-4x30s-DSDT-Patch probook.git

3.克隆guide.git:

cd ~/Projects

git clone https://github.com/RehabMan/OS-X-Clover-Laptop-Config.git guide.git

4.安装iasl:

cd ~/Downloads

curl --remote-name --progress-bar --location https://bitbucket.org/RehabMan/acpica/downloads/iasl.zip

unzip iasl.zip

sudo cp iasl /usr/bin

5.构建SSDT-PNLF.aml:

cd ~/Projects/guide.git

make

6.安装AppleBacklightInjector.kext到/L/E:

sudo cp -R ~/Projects/probook.git/kexts/AppleBacklightInjector.kext /Library/Extensions

7.执行:sudo kextcache -i /

重启

目前我执行以上步骤可以调节背光。

红色部分为原版:

1.创建projects目录,转到目录下:

mkdir ~/Projects

cd ~/Projects

2.克隆软件源:

cd ~/Projects

git clone -b beta https://github.com/RehabMan/HP-ProBook-4x30s-DSDT-Patch probook.git

3.克隆guide.git:

cd ~/Projects

git clone https://github.com/RehabMan/OS-X-Clover-Laptop-Config.git guide.git

4.构建SSDT-PNLF.aml

cd ~/Projects/guide.git

make

5.生成的文件所在目录:

SSDT-PNLF.aml ~/Projects/guide.git/build/SSDT-PNLF.aml.

AppleBacklightInjector.kext ~/Projects/probook.git/kexts/AppleBacklightInjector.kext.

And the patch required ~/Projects/guide/config_patches.plist.

6.使用方法:

1)拷贝SSDT-PNLF.aml 到ACPI/patched

sudo cp ~/Projects/guide.git/build/SSDT-PNLF.aml /Volumes/EFI/EFI/Clover/ACPI/patched/SSDT-PNLF.aml

2)安装AppleBacklightInjector.kext到/L/E

sudo cp -R ~/Projects/probook.git/kexts/AppleBacklightInjector.kext /Library/Extensions

3)使用plist editor将~/Projects/guide/config_patches.plist添加到config.plist/KernelAndKextPatches/KextsToPatch内

7.执行缓存;sudo kextcache -i /

8.重启

   

   

   

生成序列号,修复imessage,facetime等。

1.运行iMessageDebug,得到本机的相关代码并发送到桌面(拖到终端):

得到:

               Model: MacBookPro9,2

               Board-id: Mac-6F01561E16C75D06

         SerialNumber: C02HA041DTY3

      Hardware UUID: 7A4CF8FE-1756-5F24-AD48-3E18B83BAC83

   

          System-ID: DFDF37BD-DB02-E211-97E9-E288BF0CB036

                  ROM: e288bf0cb036

  BoardSerialNumber: C02140302D5DMT31M

   

         Gq3489ugfi: fba3dbe5121bc96f57ecf302be0bc84557

          Fyp98tpgj: ada3d3759be91937af7242266bcb702d98

         kbjfrfpoJU: 9f6befb3ffb09a7758783ed3e5a7e642fc

       oycqAZloTNDm: dc6361b725dc64ca5e9db9dd5c8cfd1542

       abKPld1EcMni: 5adb8f2e07e614f1f270749d444db84545

   

2.复制一份本机正常的config.plist,命名为config mod.plist,不要在原文件改。

3.用clover configisator打开复制的config mod.plist.

4.切换到smbios选项卡,点击魔术棒,选择对应的机型,如果选错,会有提示。

5.在右侧切换week of manufacturer和unit number,生成serial,点击OK。

6.切换到Rt Variables,rom填iMessagedebug生成的rom,mlb填:board serial number

7.切换到smbios,smuuid对应填hardware uuid,board serial number对应BoardSerialNumber。

8.切换到System Parameters中填入iMessage debug中的system id.勾选inject system id.

9.点击保存。

10.用plist editor或者xcode打开config.plist和刚才生成的config mod文件,不要用cloverconfigure打开。

11.复制config mod.plist的rt variables至最后,覆盖config.plist的rt variables部分到最后,保存并重启。

12.到此结束。

   

   

   

如果已经启用shadowsocks 本地代理为 socks5://127.0.0.1:1080

在终端下使用 export ALL_PROXY=socks5://127.0.0.1:1080

清除代理 unset ALL_PROXY

   

显示隐藏文件:defaults write com.apple.finder AppleShowAllFiles -boolean true ; killall Finder

不显示隐藏文件:defaults write com.apple.finder AppleShowAllFiles -boolean false ; killall Finder

   

转载于:https://my.oschina.net/y010204025/blog/896999

您可能感兴趣的与本文相关的镜像

ComfyUI

ComfyUI

AI应用
ComfyUI

ComfyUI是一款易于上手的工作流设计工具,具有以下特点:基于工作流节点设计,可视化工作流搭建,快速切换工作流,对显存占用小,速度快,支持多种插件,如ADetailer、Controlnet和AnimateDIFF等

评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符  | 博主筛选后可见
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值