2024-06-05 18:18:28 -05:00
---
icon: material/chip
---
2024-11-09 08:52:05 -06:00
# BIOS Settings
2024-06-05 18:18:28 -05:00
2024-11-12 11:55:50 -06:00
## BIOS Modding
2024-06-05 18:18:28 -05:00
2024-11-12 11:55:50 -06:00
Modding the machine's BIOS is __optional__ and will unlock hidden advanced settings. These settings allow for better optimizations under macOS.
2024-06-05 18:18:28 -05:00
2024-11-12 11:55:50 -06:00
/// danger
The BIOS patch will < span class = "solarized-red" > __PERMANENTLY__< / span > break TPM. Patch the only BIOS if you (will) never use TPM under Windows or Linux.
2024-06-05 18:18:28 -05:00
///
The CH341a SPI Programmer and SOIC8 Clip are needed to dump and flash the BIOS chip. An inexpensive one from Amazon/eBay is sufficient.
2024-11-12 09:19:16 -06:00
The BIOS chip is located just above the CPU, hidden under the shielding sticker.
2024-06-05 18:18:28 -05:00
< figure markdown >
2024-11-09 08:52:05 -06:00
![BIOS Chip Location ](https://user-images.githubusercontent.com/3349081/87883762-38686380-c9cf-11ea-9e9d-c400f7b5407b.jpg ){ loading-lazy width=300 }
2024-11-12 09:19:16 -06:00
< figcaption > X1C6 BIOS Chip Location< / figcaption >
2024-06-05 18:18:28 -05:00
< / figure >
2024-11-09 08:52:05 -06:00
< div class = "grid cards" markdown >
2024-06-05 18:18:28 -05:00
2024-11-09 08:52:05 -06:00
- :octicons-git-branch-16:{ .foreground } [digmorepaka/thinkpad-firmware-patches ](https://github.com/digmorepaka/thinkpad-firmware-patches )
![GitHub Stars ](https://img.shields.io/github/stars/digmorepaka/thinkpad-firmware-patches?style=flat&logo=GitHub&logoColor=073642&labelColor=eee8d5&color=859900#only-light ){ .twemoji }
![GitHub Forks ](https://img.shields.io/github/forks/digmorepaka/thinkpad-firmware-patches?style=flat&logo=GitHub&logoColor=073642&labelColor=eee8d5&color=859900#only-light ){ .twemoji }
![GitHub Stars ](https://img.shields.io/github/stars/digmorepaka/thinkpad-firmware-patches?style=flat&logo=GitHub&logoColor=839496&labelColor=073642&color=2aa198#only-dark ){ .twemoji }
![GitHub Forks ](https://img.shields.io/github/forks/digmorepaka/thinkpad-firmware-patches?style=flat&logo=GitHub&logoColor=839496&labelColor=073642&color=2aa198#only-dark ){ .twemoji }
2024-06-05 18:18:28 -05:00
< / div >
/// announce | Credits
Thank you to `paranoidbashthot` and `\x` for creating the patches.
///
[:simple-youtube:{ .youtube } @notthebee ](https://github.com/notthebee ) similarly modded his BIOS in [:simple-youtube:{ .youtube } Removing Wi-Fi Whitelist ... & Unlocking Advanced BIOS Settings ](https://www.youtube-nocookie.com/embed/ce7kqUEccUM )
1. Use `xx_80_patches-v*.txt` , feel free to comment out the WWAN patches if unnecessary.
2024-11-12 11:55:50 -06:00
3. Remember to __dump the vanilla twice and use `diff` to make sure things were dumped properly__ , store this backup somewhere safe.
2024-06-05 18:18:28 -05:00
4. Confirmed working `BIOS-v1.45` , I cannot be sure about other BIOS versions. Though they will most likely work as well.
5. The modded BIOS does not need to be signed by `thinkpad-eufi-sign` . Remember to replace `4C 4E 56 42 42 53 45 43 FB` with `4C 4E 56 42 42 53 45 43 FF` on the patched BIOS.
2024-11-12 09:19:16 -06:00
6. Your BIOS chip may not be made by Winbond, but by Macronix instead. In that case, add the argument `-c MX25L12835F/MX25L12845E/MX25L12865E` to `flashrom` . See [Issue #116 ](https://github.com/tylernguyen/x1c6-hackintosh/issues/116#issuecomment-778654320 )
2024-06-05 18:18:28 -05:00
/// success
2024-11-12 11:55:50 -06:00
Successfully modding your BIOS will reveal the __Advanced__ tab.
2024-06-05 18:18:28 -05:00
< p align = "center" >
< img align = "center" src = "https://user-images.githubusercontent.com/3349081/87883767-3d2d1780-c9cf-11ea-9fb0-f250590a3f28.jpg" alt = "BIOS Advance Menu" width = "300" >
< / p >
It is safe to update the BIOS. However, the patches will have to be reapplied and reflashed.
///
## Modded BIOS Settings
2024-11-12 09:19:16 -06:00
- DVMT Pre-Allocated to `64M` . This enables 4K HDMI output.
- Disable CFG Lock. This gives Kernel (XNU) and AppleIntelPowerManagement the ability to write to the MSR 0xE2 register.
2024-06-05 18:18:28 -05:00
## Vanilla BIOS Settings
2024-11-12 11:55:50 -06:00
The following settings are not all necessary, but are recommended for general compatibility and stability.
2024-06-05 18:18:28 -05:00
2024-11-12 09:19:16 -06:00
- Disable TPM
- Disable Secure Boot
- Disable Fingerprint Reader
- 'UEFI Only' Boot
- Disable CSM Support
- Disable Wke on LAN
2024-11-12 11:55:50 -06:00
## Thunderbolt 3
2024-11-12 09:19:16 -06:00
2024-11-12 11:55:50 -06:00
Thunderbolt 3 hot-plug support under macOS noticeably increases the idle power consumption.
2024-06-05 18:18:28 -05:00
2024-11-12 09:19:16 -06:00
- Disable Thunderbolt BIOS Assist Mode
- Security Level to `No Security`
- Disable Support in Pre Boot Environment
2024-11-12 11:55:50 -06:00
If you don't use Thunderbolt 3 or prioritize power consumption, you can still cold-plug Thunderbolt 3.
- Enabled Thunderbolt BIOS Assist Mode
- Enable Thunderbolt Device