1
0
Fork 0
mirror of https://github.com/tylernguyen/wiki.git synced 2025-02-05 16:33:14 -06:00
wiki/docs/projects/x1c6-hackintosh/BIOS.md

4.1 KiB

icon
material/chip

BIOS Settings

Modding the machine's BIOS is optional and will unlock hidden advanced settings. These settings allow for better optimizations under macOS.

/// danger The BIOS mod will permanently break TPM.

Only mod the BIOS if you do not need TPM under Windows or Linux. ///

BIOS Modding

The CH341a SPI Programmer and SOIC8 Clip are needed to dump and flash the BIOS chip. An inexpensive one from Amazon/eBay is sufficient.

The BIOS chip is located just above the CPU, hidden under the shielding sticker.

![BIOS Chip Location](https://user-images.githubusercontent.com/3349081/87883762-38686380-c9cf-11ea-9e9d-c400f7b5407b.jpg){ loading-lazy width=300 }
X1C6 BIOS Chip Location

/// announce | Credits Thank you to paranoidbashthot and \x for creating the patches. ///

:simple-youtube:{ .youtube } @notthebee similarly modded his BIOS in :simple-youtube:{ .youtube } Removing Wi-Fi Whitelist ... & Unlocking Advanced BIOS Settings

  1. Use xx_80_patches-v*.txt, feel free to comment out the WWAN patches if unnecessary.

  2. Remember to dump the vanilla twice and use diff to make sure things were dumped properly, store this backup somewhere safe.

  3. Confirmed working BIOS-v1.45, I cannot be sure about other BIOS versions. Though they will most likely work as well.

  4. 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.

  5. 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

/// success Successfully modding your BIOS will reveal the Advance Menu tab.

BIOS Advance Menu

It is safe to update the BIOS. However, the patches will have to be reapplied and reflashed. ///

Modded BIOS Settings

  • 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.

Vanilla BIOS Settings

These BIOS settings must be made to install and run macOS without any problems:

  • Disable TPM
  • Disable Secure Boot
  • Disable Fingerprint Reader
  • 'UEFI Only' Boot
  • Disable CSM Support
  • Disable Wke on LAN

Thunderbolt 3 Coldplug

If you DO NOT use Thunderbolt 3 hotplug in macOS (don't mind shutting down the machine to connect TB3 devices), this will drastically lower power consumption:

  • Enabled Thunderbolt BIOS Assist Mode
  • Enable Thunderbolt Device

Thunderbolt 3 Hotplug

If you DO use Thunderbolt 3 hotplug in macOS (at the expense of idle power consumption):

  • Disable Thunderbolt BIOS Assist Mode
  • Security Level to No Security
  • Disable Support in Pre Boot Environment