Coder Social home page Coder Social logo

x220-hackintosh's Introduction

macOS Mojave on the ThinkPad X220

a.k.a. macOS budget meal

img

Introduction (and warnings!)

This guide specifically has not been tested extensively nor is it written to be an exhaustive guide for installing macOS Mojave. This works on my personal X220. YMMV.

A more complete guide can be found at John McDonnell's page dedicated to installing macOS High Sierra on the X220. Huge props to him for supporting the X220 all these years.

Also, a lot of things don't work (at least not without additional configuration): iMessage, FaceTime, Continuity, Handoff, Metal, among others.

Versions tested and used

  • macOS Mojave 10.14.6

  • macOS Mojave Patcher 1.3.3 (download)

  • Clover Configurator 5.4.5.0 (download)

My X220's specs

  • Intel Core i5-2540M @ 2.6GHz

  • 8 GB DDR3 RAM

  • SanDisk SSD PLUS 120 GB

  • Intel HD Graphics 3000

  • Atheros AR5B95 (AR9285)

Installing macOS Mojave

What you'll need:

  • A computer running macOS

  • A >=16GB USB flash drive

  • Install macOS Mojave.app (10.14.6)

  • macOS Mojave Patcher 1.3.3 (download)

  • Clover Configurator 5.4.5.0 (download)

  • A copy of this repository

Prepare the patched macOS Mojave installer (detailed guide)

Create the patched installer

  1. Launch the macOS Mojave Patcher

  2. Point the app to your Install macOS Mojave.app

  3. Set the destination drive to your USB flash drive

  4. Copy over Clover Configurator to the flash drive (in case your X220 won't natively have networking hardware configured after a fresh install)

Prepare the EFI partition

  1. Mount the USB flash drive's EFI partition with Clover Configurator

  2. Copy over the EFI folder from this repository to the EFI partition

  3. Ensure that the folder structure is correct. For example, the path to the CLOVER folder should be /Volumes/EFI/EFI/CLOVER

Install macOS Mojave

  1. Go through the normal install process (Erase the disk with Disk Utility, install, and wait until it finishes)

  2. When the machine reboots, instead of booting from the internal drive, boot back into the installer USB flash drive

  3. On the menu bar, go to Utilities > macOS Post Install

  4. Choose MacBookPro8,1

  5. Set the target volume to your internal drive

  6. Hit Patch

  7. When the patch finishes, make sure to select Force Cache Rebuild and Reboot

  8. You should be able to boot into macOS Mojave through your USB installer's Clover EFI

Post-install

Configure internal drive's EFI partition

  1. Mount your internal hard drive's EFI partition with Clover Configurator

  2. Copy over the EFI folder from the mojave directory in this repository

  3. Include other kexts you might need under /Volumes/EFI/EFI/CLOVER/kexts/Other (note to self: you probably want to install your AR5B95 kexts under other-kexts/ar5b95-mojave here)

  4. Run sudo spctl --master-disable to allow apps from unidentified developers

  5. Run /Volumes/EFI/EFI/CLOVER/kexts/_kext-install.command

Optimize CPU power management (detailed guide)

  1. Mount your internal hard drive's EFI partition with Clover Configurator

  2. Run scripts/ssdtprgen/ssdtPRGen.sh in this repository

  3. Answer N to all questions

  4. Copy the generated SSDT.aml from ~/Library/ssdtPRGen to /Volumes/EFI/EFI/CLOVER/ACPI/patched

  5. Reboot

Change hibernatemode for better sleep defaults (detailed guide)

  1. Run sudo pmset -a hibernatemode 0 in the Terminal

Fix broken screen brightness controls (detailed guide)

  1. Delete /Library/Extensions/AppleBacklightInjector.kext

  2. Reboot

Install Smart Scroll for better TrackPoint gestures

  1. Download and install Smart Scroll from here

  2. My personal preferences are as follows:

Scroll Wheel+: disabled
Multi-Touch+: disabled
Hover Scroll: disabled
Auto Scroll: disabled
Grab Scroll:
  Grab Scroll with:
    Button 3 (Middle)
  Suppress button's usual action:
    false
  Disable with:
    none
  Scroll faster:
    2x; with: Option, 8x
  Scroll without moving cursor:
    true
  Reverse X-axis:
    true
  Reverse Y-axis:
    true
  Inertia:
    false
Scroll Keys: disabled
Vector Scroll: disabled

Credits

x220-hackintosh's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.