Skip to content

Commit

Permalink
2022-12-17
Browse files Browse the repository at this point in the history
  • Loading branch information
CelestialSayuki committed Dec 17, 2022
1 parent c0c65c5 commit 2d616b1
Show file tree
Hide file tree
Showing 4 changed files with 98 additions and 113 deletions.
102 changes: 47 additions & 55 deletions README-en.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Lenovo XiaoXin Air-14 2019IML
![air14iml-ven](img/air14iml-ven.png)
Screenshot app:/capXDR
Screenshot app: /capXDR
Model:Lenovo-Air14IML (made by lietxia)
QQ group number:1032311345

Expand Down Expand Up @@ -29,7 +29,7 @@ ENGLISH
| Sleep😴 || Support native sleep. |

## Current Status:
* System🌌:Catalina 10.15.7 / Big Sur 11.6 / Monterey 12.5 / Ventura 13.0 / Monterey 12.7 ( Not recommended to use Ventura )
* System🌌:Catalina 10.15.7 / Big Sur 11.7 / Monterey 12.6.3 / Ventura 13.1 ( Not recommended to use Ventura )
* Disks🖴:If you are using Samsung PM981A, please consider to change.
* Audio Card🔊:Success with layout-id 15, no plosive [Headsets_with_Microphone](https://github.com/lietxia/XiaoXinAir14IML_2019_hackintosh/releases/tag/0.0.1)

Expand All @@ -52,6 +52,8 @@ ENGLISH
https://newsupport.lenovo.com.cn/driveDownloads_detail.html?driveId=78312
<details>
<summary>Details</summary>
2022/05/13 BIOS Version: CKCN19WW http://newdriverdl.lenovo.com.cn/newlenovo/alldriversupload/94976/BIOS-CKCN19WW.exe <br />
2022/03/18 BIOS Version: CKCN18WW http://newdriverdl.lenovo.com.cn/newlenovo/alldriversupload/92231/BIOS-CKCN18WW.exe <br />
2021/07/23 BIOS Version: CKEC17WW http://newdriverdl.lenovo.com.cn/newlenovo/alldriversupload/83713/BIOS-CKCN17WW.exe <br />
2021/01/18 BIOS Version: CKCN16WW http://newdriverdl.lenovo.com.cn/newlenovo/alldriversupload/78312/BIOS-CKCN16WW.exe <br />
2020/07/24 BIOS Version: CKCN15WW http://newdriverdl.lenovo.com.cn/newlenovo/alldriversupload/73409/BIOS-CKCN15WW.exe <br />
Expand All @@ -71,88 +73,73 @@ https://newsupport.lenovo.com.cn/driveDownloads_detail.html?driveId=77695
</details>

## Changelog
* 2022-09-27 12:00
* Add `ssdt-ptswaktts.aml` , with the option `_PTS to ZPTS(1,N)`+`_WAK to ZWAK(1,S)` , cancels WEG `disable-external-gpu` methods. For `Fix sleep wakeup`, details https://github.com/5T33Z0/OC-Little-Translated/tree/main/11_Graphics/GPU/Disabling_unsupported_GPUs
* Update Opencore to 0.8.6
* Update Kexts

* 2022-09-30 12:00
* Modify `SSDT-UIAC.aml` to prevent redundant devices under windows.

* 2022-09-27 12:00
* Update Opencore to 0.8.4
* Update Kexts
* Add boot-args `agdpmod=vit9696` to solve hdmi output problem
* Update beta PS2 keyboard kext, add boot-args `kbd_fixdisable=1` to solve macos12+ keyboard malfunction
* 2022-12-17 18:00
* Bug fixes and improvements

* See [changelog-en.md](changelog-en.md) for the history of changes

## [Installation](https://www.bilibili.com/video/BV1C64y1q7r1/)
## [Installation (For U-Disks larger than 4GB)](https://www.bilibili.com/video/BV1C64y1q7r1/)
1. If you are using OpenCore, Please use BIOS except for 1.0.2 (1.0.2 you need to turn off the Hyper-Threading to use OC.)
2. Change BIOS settings
* https://github.com/lietxia/XiaoXinAir14IML_2019_hackintosh/wiki/bios
3. Change DVMT and CFG Lock.
4. Download [balenaEtcher](https://www.balena.io/etcher/), use it to flash [2022-06-19-XiaoXinAir14IML-4in1-installerV7.dmg](https://pan.baidu.com/s/1cYWvpfH9B0i6_Y0BnfAA0w?pwd=q27r)(Password:q27r)
5. Boot the Second EFI partition and choose the system you want to install.

### macOS12 recovery+EFI (format your u-disk with FAT32, then unzip this package)(suitable for 1G/2G U-disk)
* [Baidu Netdisk](https://pan.baidu.com/s/10RP9a_UNlNt1Y4ul_62Mpw?pwd=ggtj ) (Password: ggtj)
* [Tianyi Netdisk](https://cloud.189.cn/web/share?code=QvayQb2UBbMv) (Password: 0ufg)
* [123 Netdisk](https://www.123pan.com/s/IvKKVv-jqeHh)

## Advice
* [Prevent intermittent hackintosh disconnections Thanks @Unstoppablesss] Modify System Preferences/Eneragy Saver/Power Adapter/Put hard disk to sleep when possible(modify to off)
* Because current hibernate cannot wake up normally, in order to avoid affecting sleep, use the terminal to turn off hibernate `sudo pmset -a hibernatemode 0`

> XiaoXin AIR14-2019 i5-10210u QQ group number: 1032311345
* Because current hibernate cannot wake up normally, in order to avoid affecting sleep, use the terminal to turn off hibernate `sudo pmset -a hibernatemode 0`

### YogaSMC: `Experimental`
* Normal: Fan three modes switch, microphone mute, flight mode, F10 switch screen, touchpad switch hint, keyboard backlight, Fn function key switch.
* Abnormal: the camera has a hint, but it can't be turned off, the lock function can't be used, FN + Q can't work, the keyboard backlight will be displayed incorrectly when the power is plugged in, and the battery temperature can't be read out.

### Trackpad
Use this way if rebuilding the cache touchpad still does not work:
https://github.com/lietxia/XiaoXinAir14IML_2019_hackintosh/releases/tag/2020.04.05
* Abnormal: the camera has a hint, but it can't be turned off, the lock function can't be used, FN + Q can't work, the keyboard backlight will be displayed incorrectly when the power is plugged in, the battery temperature can't be read out, and you can't switch the charging speed in the system.

### Synchronize bluetooth link keys from macOS to windows
https://github.com/lietxia/BT-LinkkeySync

### Big Sur hidpi
### Hi-DPI (Big Sur and upper)

bash -c "$(curl -fsSL https://raw.githubusercontent.com/xzhih/one-key-hidpi/dev/hidpi.sh)"

### Catalina hidpi
### Catalina Hi-DPI

bash -c "$(curl -fsSL https://raw.githubusercontent.com/xzhih/one-key-hidpi/master/hidpi.sh)"

### DW1820A Windows 10 driver
https://www.dell.com/support/home/zh-cn/drivers/driversdetails?driverid=98wfd

### Change DVMT and CFG Lock
* You must unlock `CFG Lock` , otherwise, you can't use both OpenCore and Clover。
* We recommend to change `DVMT` into 64M, there's no damage to your computer.

#### Recommend: get into hidden BIOS
You need to disable`onekeybattery`in the BIOS to enter hidden bios.

- The way to enter hidden BIOS
- Press following buttons with your computer closed.
- `F4``4``R``F``V`
- `F5``5``T``G``B`
- `F6``6``Y``H``N`
- Power on → Press F2, speed up if failed.
- Change the following settings.
- `Advanced``Power & Performance``CPU - Power Management Control``CPU Lock Configuration``CFG Lock``Disabled`
- `Advanced``System Agent (SA) Configuration``Graphics Configuration``DVMT Pre-Allocated``64M`

#### Backup solution: change in Windows
Refer to https://github.com/lietxia/XiaoXinAir14IML_2019_hackintosh/wiki/DVMT
`DVMT`

* Area : `SaSetup`
* Offset : `0x107`
* `01` to `02`

`CFG LOCK`

* Area : `CpuSetup`
* Offset : `0x3E`
* `01` to `00`
> You must unlock `CFG Lock` , otherwise, you can't use both OpenCore and Clover.
> We recommend to change `DVMT` into 64M, there's no damage to your computer.
* Recommend: get into hidden BIOS
- The way to enter hidden BIOS
- Switch off the `OneKeyBattery`
- Press following buttons with your computer closed.
- `F4``4``R``F``V`
- `F5``5``T``G``B`
- `F6``6``Y``H``N`
- Power on → Press F2, speed up if failed.
- Change the following settings.
- `Advanced``Power & Performance``CPU - Power Management Control``CPU Lock Configuration``CFG Lock``Disabled`
- `Advanced``System Agent (SA) Configuration``Graphics Configuration``DVMT Pre-Allocated``64M`

* Backup solution: change in Windows
* Refer to https://github.com/lietxia/XiaoXinAir14IML_2019_hackintosh/wiki/DVMT
* `DVMT`
* Area : `SaSetup`
* Offset : `0x107`
* `01` to `02`

* `CFG LOCK`
* Area : `CpuSetup`
* Offset : `0x3E`
* `01` to `00`

### The audio card isn't working.
Switching from win to mac will cause the audio card fail to syart. At this time, you need to turn it off and turn it on again, and the audio card will recover
Expand Down Expand Up @@ -213,6 +200,11 @@ Consultation got the answer: win restart is warm boot, will skip hardware detect
| NVMeFix.kext | improve nvme SSD | ||
| VerbStub.kext | Microphone | ||

## Notes
* You need a T6 screwdriver to disassemble the machine. After the screws are removed, use the unused card and carefully disassemble it from the other side of the screen https://www.bilibili.com/video/BV1X341157kf/
* If you wan't to buy a type-c cable, you should buy one with 4mm diameter, and the hole diameter is 1.7mm
![IMG](img/pd+luosi.png)

## Credits
- [Acidanthera](https://github.com/acidanthera) for [OpenCore](https://github.com/acidanthera/OpenCorePkg) and [other kexts](https://github.com/acidanthera).
- [Apple](https://www.apple.com) for [macOS](https://www.apple.com/macos).
Expand Down
101 changes: 44 additions & 57 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,10 @@ QQ群号:1032311345
| 睡眠😴 || 支持原生休眠 |

## 目前状态:
* 系统🌌:Catalina/BigSur/Monterey/Ventura。推荐Catalina 10.15.7/BigSur 11.6.5/Monterey 12.7 (不推荐使用Ventura)
* 系统🌌:Catalina/BigSur/Monterey/Ventura。推荐Catalina 10.15.7/BigSur 11.7/Monterey 12.6.3 (不推荐使用Ventura)
* 硬盘:如果你硬盘是三星PM981A,建议换掉。
* 声卡🔊:仿冒layout-id 15成功,无爆音 [耳麦一体耳机需要这个](https://github.com/lietxia/XiaoXinAir14IML_2019_hackintosh/releases/tag/0.0.1)

## macOS12恢复台+EFI(u盘格式化FAT32,然后解压这个到根目录)
* 百度网盘(提取码: ggtj) https://pan.baidu.com/s/10RP9a_UNlNt1Y4ul_62Mpw?pwd=ggtj
* 天翼网盘(访问码:0ufg)https://cloud.189.cn/web/share?code=QvayQb2UBbMv
* 123网盘 https://www.123pan.com/s/IvKKVv-jqeHh

## 相关机型
* [小新Pro13(i5-10210U / i7-10710U)](https://github.com/daliansky/XiaoXinPro-13-hackintosh)
* [小新13IML](https://github.com/sun19970908/XiaoXin13IML_2020_hackintosh)
Expand All @@ -57,7 +52,9 @@ QQ群号:1032311345
https://newsupport.lenovo.com.cn/driveDownloads_detail.html?driveId=78312
<details>
<summary>展开查看</summary>
2021/07/23 BIOS Version: CKEC17WW http://newdriverdl.lenovo.com.cn/newlenovo/alldriversupload/83713/BIOS-CKCN17WW.exe <br />
2022/05/13 BIOS Version: CKCN19WW http://newdriverdl.lenovo.com.cn/newlenovo/alldriversupload/94976/BIOS-CKCN19WW.exe <br />
2022/03/18 BIOS Version: CKCN18WW http://newdriverdl.lenovo.com.cn/newlenovo/alldriversupload/92231/BIOS-CKCN18WW.exe <br />
2021/07/23 BIOS Version: CKCN17WW http://newdriverdl.lenovo.com.cn/newlenovo/alldriversupload/83713/BIOS-CKCN17WW.exe <br />
2021/01/18 BIOS Version: CKCN16WW http://newdriverdl.lenovo.com.cn/newlenovo/alldriversupload/78312/BIOS-CKCN16WW.exe <br />
2020/07/24 BIOS Version: CKCN15WW http://newdriverdl.lenovo.com.cn/newlenovo/alldriversupload/73409/BIOS-CKCN15WW.exe <br />
2020/06/22 BIOS Version: CKCN14WW http://newdriverdl.lenovo.com.cn/newlenovo/alldriversupload/72386/BIOS-CKCN14WW.exe <br />
Expand All @@ -76,47 +73,37 @@ https://newsupport.lenovo.com.cn/driveDownloads_detail.html?driveId=77695
</details>

## 更新小记
* 2022-11-12 14:00
* 新增`SSDT-PTSWAKTTS.aml`,以及选项`_PTS to ZPTS(1,N)`+`_WAK to ZWAK(1,S)`,取消WEG的`disable-external-gpu`屏蔽显卡方法。用于【修复睡眠唤醒】,详情 https://github.com/daliansky/OC-little/tree/master/20-SSDT%E5%B1%8F%E8%94%BD%E7%8B%AC%E6%98%BE%E6%96%B9%E6%B3%95
* 更新opencore到0.8.6
* 更新 kext

* 2022-09-30 12:00
* 修改`SSDT-UIAC.aml`防止windows下出现多余设备。

* 2022-09-27 12:00
* Opencore 更新到 0.8.4
* 更新驱动
* 添加启动参数 `agdpmod=vit9696` 解决hdmi输出
* 更新测试版PS2键盘驱动,添加启动参数 `kbd_fixdisable=1` 解决macos12以上键盘失灵
* 2022-12-17 18:00
* Bug修复和其他改进

* 历史修改记录见[changelog.md](changelog.md)

## [安装方法](https://www.bilibili.com/video/BV1C64y1q7r1/)
## [安装方法(适用于4G以上U盘)](https://www.bilibili.com/video/BV1C64y1q7r1/)
1. 如果你使用openCore,BIOS请使用1.0.2之外的版本 (1.0.2需要关掉超线程才能使用oc)
2. 改BIOS设置(推荐和必须的地方必须改) https://github.com/lietxia/XiaoXinAir14IML_2019_hackintosh/wiki/bios
3. 改DVMT和 CFG Lock(见下文,必须做)
4. 下载[balenaEtcher](https://www.balena.io/etcher/),用它写入:[2022-06-19-XiaoXinAir14IML-4in1-installerV7.dmg](https://pan.baidu.com/s/1cYWvpfH9B0i6_Y0BnfAA0w?pwd=q27r)(提取码:q27r)
5. 引导写入的镜像的第二个EFI分区,选择需要安装的系统即可。

### macOS12恢复台+EFI(u盘格式化FAT32,然后解压这个到根目录)(适用于1G/2G U盘)
* [百度网盘](https://pan.baidu.com/s/10RP9a_UNlNt1Y4ul_62Mpw?pwd=ggtj)(提取码: ggtj)
* [天翼网盘](https://cloud.189.cn/web/share?code=QvayQb2UBbMv
)(访问码:0ufg)
* [123网盘](https://www.123pan.com/s/IvKKVv-jqeHh)

## 建议
* 【防止黑苹果间歇性断网-解决方案 感谢@Unstoppablesss】修改 系统偏好设置/节能/电源适配器/如果可能,使硬盘进入睡眠(修改为off) 如果硬盘进入休眠,保持wifi运转的EFI文件将停止工作
* 【防止黑苹果间歇性断网-解决方案 感谢@Unstoppablesss】修改 系统偏好设置/节能/电源适配器/如果可能,使硬盘进入睡眠(修改为off)
* 因目前休眠无法正常唤醒 , 为避免影响到睡眠 , 终端使用命令关闭休眠 `sudo pmset -a hibernatemode 0`

> XiaoXin AIR14-2019 i5-10210u QQ群号: 1032311345

### YogaSMC `Experimental`
### YogaSMC `实验性支持`
* 正常的:风扇三种模式切换、麦克风静音、飞行模式、F10切换屏幕、触摸板开关有提示、键盘背光、Fn功能键切换
* 不正常:摄像头有提示,但是关不掉、锁定功能用不了、Fn+Q不能修改、拔插电源会错误显示键盘背光、电池温度读不出来

### 触摸板
如果触摸板(重建缓存触摸板仍不行,使用此方法)
https://github.com/lietxia/XiaoXinAir14IML_2019_hackintosh/releases/tag/2020.04.05
* 不正常:摄像头有提示,但是关不掉、锁定功能用不了、Fn+Q不能修改、拔插电源会错误显示键盘背光、电池温度读不出来、不能调整充电速度

### macOS蓝牙与windows10同步
https://github.com/lietxia/BT-LinkkeySync

### Big Sur 开启hidpi(高分辨率)
### Big Sur 及以上开启hidpi(高分辨率)

bash -c "$(curl -fsSL https://raw.githubusercontent.com/xzhih/one-key-hidpi/dev/hidpi.sh)"

Expand All @@ -128,32 +115,32 @@ https://github.com/lietxia/BT-LinkkeySync
https://www.dell.com/support/home/zh-cn/drivers/driversdetails?driverid=98wfd

### 改DVMT和 CFG Lock
* 必须解锁 `CFG Lock` 不然无法使用opencore clover。
* 建议解锁 `DVMT` 让显存大小变成64M,没有什么坏处。

#### 推荐方法: 进隐藏BIOS
BIOS里的 `onekeybattery` 需要关闭,才能进隐藏BIOS
- 隐藏BIOS进入姿势
- 电源键开机 → F2进入正常BIOS → 电源键关机 → 然后顺序按下下列键
- `F4``4``R``F``V`
- `F5``5``T``G``B`
- `F6``6``Y``H``N`
- 电源键开机 → F2进入隐藏BIOS , 如不成功请加快手速再次尝试
- 推荐设置选项
- `Advanced``Power & Performance``CPU - Power Management Control``CPU Lock Configuration``CFG Lock``Disabled`
- `Advanced``System Agent (SA) Configuration``Graphics Configuration``DVMT Pre-Allocated``64M`

#### 备用方法: windows直接改
参考 https://github.com/lietxia/XiaoXinAir14IML_2019_hackintosh/wiki/DVMT
`DVMT`
* 区域(area) : `SaSetup`
* 偏移(offset) : `0x107`
* `01` to `02`

`CFG LOCK`
* 区域(area) : `CpuSetup`
* 偏移(offset) : `0x3E`
* `01` to `00`
> 必须解锁 `CFG Lock` 不然无法使用opencore clover。
> 建议解锁 `DVMT` 让显存大小变成64M,没有什么坏处。
* 推荐方法: 进隐藏BIOS
- BIOS里的 `onekeybattery` 需要关闭,才能进隐藏BIOS
- 隐藏BIOS进入姿势
- 电源键开机 → F2进入正常BIOS → 电源键关机 → 然后顺序按下下列键
- `F4``4``R``F``V`
- `F5``5``T``G``B`
- `F6``6``Y``H``N`
- 电源键开机 → F2进入隐藏BIOS , 如不成功请加快手速再次尝试
- 推荐设置选项
- `Advanced``Power & Performance``CPU - Power Management Control``CPU Lock Configuration``CFG Lock``Disabled`
- `Advanced``System Agent (SA) Configuration``Graphics Configuration``DVMT Pre-Allocated``64M`

* 备用方法: windows直接改
- 参考 https://github.com/lietxia/XiaoXinAir14IML_2019_hackintosh/wiki/DVMT
- `DVMT`
* 区域(area) : `SaSetup`
* 偏移(offset) : `0x107`
* `01` to `02`

- `CFG LOCK`
* 区域(area) : `CpuSetup`
* 偏移(offset) : `0x3E`
* `01` to `00`

### 声卡挂了
从win直接重启切换到mac,会导致声卡挂掉,这时候需要关机,再开机,声卡就恢复了
Expand Down Expand Up @@ -212,7 +199,7 @@ BIOS里的 `onekeybattery` 需要关闭,才能进隐藏BIOS
| VerbStub.kext | 耳麦切换 | ||

## 备注
* 拆机需要6号的6角螺丝。螺丝拿下来之后,用不用的银行卡,慢慢从屏幕那一侧慢慢拆开 https://www.bilibili.com/video/BV1X341157kf/
* 拆机需要6号的6角螺丝刀。螺丝拿下来之后,用不用的银行卡,慢慢从屏幕那一侧慢慢拆开 https://www.bilibili.com/video/BV1X341157kf/
* 如果要买【圆口转USB type转接器】,注意【圆口直径4毫米,孔直径1.7毫米】
![IMG](img/pd+luosi.png)

Expand Down
5 changes: 4 additions & 1 deletion changelog-en.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
* 2022-09-27 12:00
* 2022-12-17 18:00
* Bug fixes and improvements.

* 2022-11-12 14:00
* Add `ssdt-ptswaktts.aml` , with the option `_PTS to ZPTS(1,N)`+`_WAK to ZWAK(1,S)` , cancels WEG `disable-external-gpu` methods. For `Fix sleep wakeup`, details https://github.com/5T33Z0/OC-Little-Translated/tree/main/11_Graphics/GPU/Disabling_unsupported_GPUs
* Update Opencore to 0.8.6
* Update Kexts
Expand Down
3 changes: 3 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
* 2022-12-17 18:00
* Bug修复和改进

* 2022-11-12 14:00
* 新增`SSDT-PTSWAKTTS.aml`,以及选项`_PTS to ZPTS(1,N)`+`_WAK to ZWAK(1,S)`,取消WEG的`disable-external-gpu`屏蔽显卡方法。用于【修复睡眠唤醒】,详情 https://github.com/daliansky/OC-little/tree/master/20-SSDT%E5%B1%8F%E8%94%BD%E7%8B%AC%E6%98%BE%E6%96%B9%E6%B3%95
* 更新opencore到0.8.6
Expand Down

0 comments on commit 2d616b1

Please sign in to comment.