肇鑫的日常博客

日常

More Details On Installing macOS Monterey 12 Beta On Unsupported Macs

If you want to install macOS Monterey on your Mac and you Macs are not officially supported by Apple. I suggest you to follow this video.

Monterey on Unsupported Mac - OpenCore Legacy Patcher! Install the Latest Beta on 2012-2014 Macs!!!

I installed two of my Macs to macOS Monterey 12 beta 2 today, and I found for beginners that video was not enough. There were also something important that were missing. That was this article for.

Foundation Knowledges

Before installing the system, it is better to know how the booting process works.

Normal Boot With a Internal SSD

normal booting

When a user presses the power button, a Mac searches all disk partitions. The EFI partitions normal are hidden and load first by default. So If a user chooses to boot from the internal SSD, the EFI are loaded first and then the APFS partition.

There are hardware related drivers on the EFI and this affects the macOS that loads after EFI. This is very important. So keep the EFI of you internal SSD and don't override them unless you are 100% certain.

Booting With Installing USB Disk

booting with usb disk

After a user presses the power button, the user hold the Options button of the keyboard until a list shows. The list shows the Internal SSD, the EFI and macOS Monterey Installer on the USB Disk as well.

The user has to choose the EFI first then choose the macOS Monterey Installer. If the user chooses the Installer first, the system will show no disk error as the driver is not ready.

Installing macOS To External SSDinstalling to external SSD

Installing to external SSD is as easy as to choose the external SSD. However, after installing, you should install the EFI by OpenCore Legacy Patcher to the external SSD as well.

dual booting

Conclusion

Installing macOS on an unsupported Mac means installing both EFI and macOS on the Mac. Without the EFI, the Mac won't boot properly with the new macOS.

Others

You will need at least 35GB free space to install macOS Monterey 12 beta 2.

For your USB disk, partition it in GUID format. It is request to use EFI with GUID.

For iMac 5K users, DO NOT install EFI on your internal SSD. Or your screen will only get resolution at 3840x2160 most, even on macOS Big Sur 11.4. That is because currently the EFI by third-party can't do as well as Apple's.

ClashX配置Trojan

更新说明

  • 将ClashXR,因为Clash核心支持SSR之后,ClashXR宣布放弃后续开发。(更新日期2020年9月17日)

安装

brew cask install clashx

配置

  1. 打开ClashX。
  2. 点击菜单栏的图标,配置->打开本地配置文件夹
  3. 复制config.yaml,修改为trojan.yaml
  4. 使用编辑器打开trojan.yaml

Proxy:下,添加新内容:

Proxy::
-   name: "tro"
    type: trojan
    server: server # 服务器的IP地址
    port: 443
    password: yourpsk #密码
    # udp: true
    sni: tro.example.com # 用于trojan识别的二级域名
    # alpn:
    #   - h2
    #   - http/1.1
    # skip-cert-verify: true

修改服务器ip,密码和二级域名。保存,切换配置到新配置。出站规则选全局连接,然后选择设置为系统代理

ClashXR的配置对于tab十分敏感。如果tab不对,即便配置是对的,也不会生效。
选全局代理的原因是因为ClashXR本身不自带任何规则。选全局之后,可以上几个网站尝试一下看看是不是生效了。
https://github.com/paradiseduo/ClashXR

添加规则

https://github.com/Hackl0us/SS-Rule-Snippet/blob/master/LAZY_RULES/clash.yaml

上面的是其它人提供的一个Clash的模板,需要规则的,可以从上面复制规则到你自己的配置中。规则从Rule:开始一直到结尾。复制粘贴规则时,同样要注意到tab。

它的规则中定义了Proxy,我们原本的配置里没有。因此我们需要添加。找到Proxy Group:,添加如下的内容。

Proxy Group:
# select 用来允许用户手动选择 代理服务器 或 服务器组
# 您也可以使用 RESTful API 去切换服务器,这种方式推荐在 GUI 中使用
  - name: Proxy
    type: select
    proxies:
      - tro

添加好规则后,重新加载配置,我们就可以将全局连接改成规则判断了。

https://lancellc.gitbook.io/clash/clash-config-file/proxies/config-a-torjan-proxy

其它

Ubuntu 18.04下将Apache2多站点改为Nginx多站点,同时开启Trojan

不建议购买混合多口的PD快充

由于之前的事情,iPad Pro 9.7无法充电之后发生的事,这段时间我使用过多款混合多口(1A1C,2A1C)PD快充充电器。最终,我把混合多口的充电器都退货了,选择了单口的充电器。

充电器的选择,多口VS单口

选择多口的充电器,不仅可以在插排上节约多个接口,并且旅行时,也可以少带几个充电器,减轻重量,这也是为什么大家都喜欢选择多口的充电器。

我以前也买过多口的充电器,比如紫米的18W双A口充电器,就很好用。因此,在选择C口PD快充充电器的时候,我最初也是选择了多口的。结果2A1C的63W绿巨能充电器和1A1C的30W omthing充电器,都让我失望了。

我们先来了解一个概念——打嗝。

打嗝是支持多协议的充电器,在与设备连接,匹配最佳协议时,不能第一时间获得最佳协议的而产生的多次匹配充电协议的状态。其表现是充电设备显示瞬间断电并再次充电。

比如,一款充电器,支持5V1A,5V2A,Apple 2.4A,PD快充18W,那么它在与苹果的iPhone连接时,可能一开始并没有直接匹配到PD快充18W,而是使用了5V2A连接上了。之后,它又检测到设备实际上支持PD快充的,最终采用PD快充18W进行充电。

这个过程,表现在iPhone上,就是一开始发出充电的嘟的一声,然后很短的时间内,又发出嘟的一声。

小结

打嗝本来是一种设计缺陷。但是由于它过于普遍,居然被网友们认为是正常的,更有甚者,认为只有打嗝了,出了两声嘟,才是真正的PD快充,只有一声就是快充不成功。

这种错误观点甚至造成了在技术进步之后,有些充电器,直接一次就连上PD快充了,还要在产品的购买的页面额外注明,一声还是两声嘟不能作为PD快充是否成功的证据,唯一的证明是在0%充电,30分钟能够充50%就是PD快充。

混合多口

以前的多口,都是多个A口,所以是属于单一多口。但是现在随着PD快充的普及,目前的多口充电器,多口多是混合多口。即又有A口,又有C口。

但是A口和C口不是简单的外观不同。实际上,混合多口充电器,在技术的复杂性上,要高于单一多口。而每个接口本身又是支持多协议的,厂家为了成本,多口之间肯定是有共享的电路,而不是设计两套单独的电路。这也就造成了,混合多口之间,是互相干扰的,最明显的就是,单口输出的时候,充电器的上限高于多口同时输出。比如63W的绿巨能充电器,多口同时使用,最高输出只有45W。而30W的omthing充电器,多口同时使用,最高也只有25W。

这种干扰还体现在当一个口在充电时,如果你再使用另一个口充电,前面充电的会瞬间断流,并重新匹配协议。

这些问题,在我之前使用的单一双A口充电器的时候,都没有出现过。

更严重的断流问题

特别的,我在使用iPhone 6s Plus通过A口充电的时候,我还发现。这些混合多口的充电器,在单独通过A口充电的时候,会随机出现断流的情况,特别的,在小电流的时候尤其明显。比如这两款充电器,在手机充电99%以上的时候,都不同程度地出现了瞬间断流的问题。特别的,如果C口同时还有设备在充电,这种瞬间断流会更加频繁。

结论

基于上面的理由,我建议大家在购买PD快充的时候,尽量选择单口的充电器。单口的充电器不仅可以达到标称的上限,并且由于设计更为精简,出现打嗝的几率更小,更不会有混合多口充电器互相干扰的问题。

此外,如果还是要选多口的产品,建议你直接购买单一多口的充电器,即多个C的PD快充,而不要购买混合多口的。

因为即便是不支持PD快充的iPhone,也可以通过C转L的充电线,使用支持Apple 2.4A协议的充电器进行快速充电。

不过有一点要注意。即便你的充电器支持Apple 2.4A的协议,也需要C转L线同时支持也才可以。我以前以为不需要线的配合,后来我遇到了有不支持的线,导致虽然充电器支持,也还是无法使用Apple 2.4A快充的情况。

其它

iPad Pro 9.7无法充电之后发生的事