Giter Club home page Giter Club logo

thinkpad-x201-arrandale-macos-opencore's Introduction

ThinkPad-X201-Arrandale-macOS-OpenCore

OpenCore bootloader configuration which allows you to run macOS on ThinkPad X201 with Arrandale CPU and 1st Generation Intel HD graphics (possibly on the t410, t510 and other Arrandale CPU machines too).

ThinkPad-X201-macOS

ThinkPad-X201-macOS-geekbench

What's working - tested on macOS BigSur 11.6.6 ✅

  • CPU Power Management. Thanks to the patched LPC device-id pci8086,3b07 -> pci8086,3b09 and setting SystemProductName to MacBookPro6,2 native power management through appleLPC is fully working like on oryginal MacBookPro6,2. CPU speedstep is working, Turbo Boost is also working - my CPU clock exceeds 3 GHz when needed.
  • Intel HD graphics with QE/CI acceleration
  • USB ports
  • Intel WiFi - thanks to AirportItlwm.kext
  • Bluetooth
  • Speakers, headphones
  • Internal Camera
  • Internal Microphone
  • Battery indicator
  • Trackpad is working (trackpoint sometimes works, sometimes not)
  • SD card reader

What's not working ⚠️

  • WWAN
  • Sleep
  • Rebooting
  • VGA port

Initial macOS Monterey support

With this OpenCore EFI it is possible to run macOS Monterey on ThinkPad x201 with some issues (internal camera and bluetooth are not working) - which maybe will resolved in the future.

What's working - tested on macOS Monterey 12.6 ✅

  • CPU Power Management. Thanks to the patched LPC device-id pci8086,3b07 -> pci8086,3b09 and setting SystemProductName to MacBookPro6,2 native power management through appleLPC is fully working like on oryginal MacBookPro6,2. CPU speedstep is working, Turbo Boost is also working - my CPU clock exceeds 3 GHz when needed. From macOS 12.3 Beta 1 an additional kext ASPP-Override.kext id needed. More information at this link
  • Intel HD graphics with QE/CI acceleration
  • USB ports
  • Intel WiFi - thanks to AirportItlwm.kext
  • Speakers, headphones
  • Internal Microphone
  • Battery indicator
  • Trackpad is working (trackpoint sometimes works, sometimes not)
  • SD card reader

What's not working ⚠️

  • WWAN
  • Bluetooth
  • Sleep
  • Rebooting
  • VGA port
  • Internal Camera

ThinkPad-X201-macOS-Monterey

Installation procedure

  1. Check your BIOS settings:

    • SATA controller set to AHCI
    • Display set to Thinkpad LCD
    • under CPU - Hyper-Threading is Enabled, virtualization and VT-d feature are both disabled.
  2. This step is optionally. You can use values provided in this repo. But if you would like to login to your apple accounts like icloud, imessage, facetime it is recommended to generate and enter your own PlatformInfo.

    Edit config.plist (EFI/OC/config.plist) with ProperTree and change the following fields:

    PlatformInfo -> Generic -> MLB (Board Serial in GenSMBIOS)
    PlatformInfo -> Generic -> ROM (info how to obtain below)
    PlatformInfo -> Generic -> SystemSerialNumber (Serial in GenSMBIOS)
    PlatformInfo -> Generic -> SystemUUID (SSmUUID in GenSMBIOS)
    

    Enter your own PlatformInfo information (generated for MacBookPro6,2) with GenSMBIOS. The ROM value is your ethernet (en0) mac address (more info).

  3. Create installation media as is described in https://dortania.github.io/OpenCore-Install-Guide/installer-guide/. For ThinkPad X201 which doesn't support EFI boot you have to create a legacy setup described here https://dortania.github.io/OpenCore-Install-Guide/installer-guide/mac-install.html#legacy-setup

  4. Mount EFI partition from installer media https://dortania.github.io/OpenCore-Install-Guide/installer-guide/mac-install.html#setting-up-opencore-s-efi-environment

  5. Copy EFI directory to mounted EFI partation.

  6. Boot machine from your installation media and intall macOS.

    WARNING:

    • built-in keyboard not working in OpenCore picker - Currently I don't know how to fix that. For installation process I use a USB keyboard.
    • Graphics in install process is really slow (graphics QE/CI acceleration will be enabled in next step)
    • For some reason, the X201 isn't able to reboot automatically. When installer hangs when trying to reboot, just power off the machine (long pressing power button), and power on again. Several reboots are required to install the system. This looks as follows:
      • start installer (Install macOS BigSur)
      • reboot, need power off and power on
      • start installer (macOS installer)
      • reboot, need power off and power on
      • start installer (macOS installer)
      • reboot, need power off and power on
      • start BigSur
      • reboot, need power off and power on
      • start BigSur (installation is complete)

Getting graphics QE/CI acceleration to work.

Graphics acceleration can be achieved by loading patched kext, thanks to ASentientBot for making it.

To load patched kext I use OpenCore Legacy Patcher dedicated for old Macs. Fortunately it can be used to load patched kexts for X201.

How to load patched graphics kexts:

  1. Download OpenCore Legacy Patcher. I used version 0.4.11 and unzip it.
  2. Run OpenCore-Patcher.
    • Run "Post Install Root Patch"
  3. Power on computer - graphics QE/CI acceleration should working now :) macOS on my ThinkPad X201 is running really fast and is pretty usable for web browsing, programming and other tasks :)

How to update macOS through OTA:

  1. In system preferences check if are updates available and install it.
  2. Install patched graphics kext if needed (# Getting graphics QE/CI acceleration work).

Information about CPU Power Management (Intel SpeedStep).

CPU Power Management. Thanks to the patched LPC device-id pci8086,3b07 -> pci8086,3b09 and setting SystemProductName to MacBookPro6,2 native power management through appleLPC is fully working like on original MacBookPro6,2. CPU speedstep is working, Turbo Boost is also working - my CPU clock exceeds 3 GHz when needed.

Special thanks for cooperation, inspiration, great software and documentation to:

thinkpad-x201-arrandale-macos-opencore's People

Contributors

jtaczanowski avatar pistasjis avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

thinkpad-x201-arrandale-macos-opencore's Issues

A few questions

First of all, thanks a lot for the work on this hack, its really useful!
Questions

  1. Why haven't you used SSDT-HPET?
  2. Why have you incuded DSDT.aml? The dortania guide mentions not to.
  3. How did you get graphics working without an eGPU? The dortania guide only mentions support for upto 10.13.6 for integrated graphics.
    Again, thanks a lot

Post install Wifi connection

Hi @jtaczanowski
Thanks for the great repo. This is not so much an issue, but more of an information for you and others using this repo.

Initially, I had trouble connecting to my wifi AP, and I tried different intel kexts, and discovered the following. Apparently both AirportItlwm and itlwm does not work for the intel centrino 6200 card. No matter what kext I used, both in Big Sur and Monterey. I also happened to own a Thinkpad X200 with the intel centrino 5300 card installed, so I tried to boot your EFI, and to my surprise, I was able to get to the installer and my wifi connection worked. Since the 5300 card is not in the whitelist for the X201, I couldn't test this card in the X201, but my guess is that it would work with a hacked BIOS.

Then I made a speculation. Perhaps the *300 line of intel cards work, and *200 line of cards do not work. I went ahead and bought an intel centrino 6300 card for my X201, which is in the whitelist. My speculation was correct! I was finally able to install Monterey on my X201 with the intel 6300 card fully working.

So the summary is like this:
-intel 5300 works
-intel 6300 works
-intel 6200 not working

Issue

Hi, I've installed Big Sur on my X201 through this guide. After rebooting from the installer, my screen is a blinking cursor. What do I do to fix this? Do I have to wait? Because on my UEFI patched OpenCore install USB it was lightning fast to show something, so I wouldn't think it'd be slower on a sata ssd.

installation Bigsur ,machine stuck during AppleUSBHostPort.

Hi,May I ask you a question?my machine is ThinkPad E40, the configuration is similar to yours, but the graphics card is different.

Refer to your tutorial, use your EFI file, The machine stuck during installation through OC, The following information is displayed:URMH@1d100000:AppleUSBHostPort::enumerateDeviceComplete_block_invoke: enumerated 0x8087/0020/0000 (IOUSBHostDevice)。

There may be USB port problem, you don't have USB Injectall.kext in your EFI folder, did you setup USB via DSDT? I tried adding usb injectall.kext, but nothing worked。How do I need to setup to succeed?

Problem with install

Hi, im just prepare stick with Legacy OpenCore 0.8.0 and paste yours EFI, but after few seconds after boot everything just reboot so i cant even install system :(

eDP?

is there a way to install it on a dell e6410 with an eDP lcd connector? thanks

macOS Monterey needs BlueToolFixup

Hello! BlueToolFixup is required on macOS Monterey and newer for Bluetooth to work. This applies to USB cards as well.
Adding BlueToolFixup into EFI would probably fix your BT issue! You might consider doing this.

Problem with Post Install - several issues

Hi jtaczanowski, Thank You very much for this.
I am very much a newbie with github as well as hackintosh. Just started learning to understand them this weekend.
In any case, after much confusion, I manage to successfully create the USB Installer.
And it worked. I have successfully installed Big Sur on my Thinkpad x201 (i5)..

I have the Ultra Base docking station, and I connect a monitor through display port on the docking station. Big Sur does not recognize that there is a monitor connected. Did you or anyone have this set up? any idea on what I need to do or check out to fix/ patch?

Won't boot to install. Few questions.

Hi @jtaczanowski,

I've followed your guide to a letter.

I have checked BIOS options - they are correct on both of my X201 machines.

I've generated and added the platform info for MacBookPro11,1 using GenSMBIOS and modified the config file using the 4 values as requested using ProperTree

Created USB installation media and made sure its in legacy boot mode

Mounted the EFI partition and copied the EFI folder (not just content of the folder) to it

This is what I am getting just before reboot.

IMG_4684

Both machines - same info - and reboot right after this. Not getting to the "Apple Logo" stage.

Is this because BigSur 117 has issues with the XhciPortLimit being broken resulting in boot loop? That's possible BUT I've used another pendrive and created a Catalina installation media and used your files. Same result. Catalina is in 10.x version so I don't see how could the 11.3+ problem occur. Unless I misunderstand.

Is it possible that I have issues because I have i5 not i7 cpu?

What else could cause a behaviour like this?

Should I make more changes to the config file other than the 4 you listed?

Any other BIOS options I should be looking out for?

Do I need a specific version of OC? I downloaded everything fresh yesterday so I was using "latest / greatest" packages.

Kindest regards.

Andrzej

graphics QE/CI acceleration not working

Hello,
I have a Thinkpad t410 but my graphics card is the same as in your model: Intel HD Graphics 288 MB.

I did everything as described and also ran OpenCore-Patcher and applied the Post Install Root Patch. The system was patched, as I am able to tell, sucessfully without errors; but it seems that the QE/CI acceleration is not working. Everything runs really slow and the VDADecoderCheck also fails.

P.S. Everything else seems to be working on Big Sur, except for the brightess keys, they do not work and there is no brighness slider either or other tool that makes brightness changeable and that is pretty inconvenient since the default setting for display brightness on MacOS is rather pretty dim.

Screenshot 2023-07-06 at 17 04 36
Screenshot 2023-07-06 at 17 13 18

Trouble with HfsPlusLegacy.efi

Hi,

I'm trying to install this on a Lenovo Thinkpad X201 i5-540m, I have done this in the past and it had worked but now when I make a USB the same way as in the guide it won't boot into the installer, says something like HfsPlusLegacy.efi at 3 - unsupported! I have tried to just skip the file by making it false in the config.plist and it boots but just hangs at some text with # at the start. What's going on here and how can I fix this?

(I am using the latest OpenCore release 0.8.8-RELEASE and a cloned version of this repo if that helps.)

Thanks! (Log here: opencore-2023-01-03-160918.txt)

Big Sur install

Hi @jtaczanowski I'm following these steps today, so I hope you don't mind me documenting my progress here to try convert my X201 from Clover + Catalina, to OpenCore + Big Sur!

Firstly I'm trying to get OpenCore to boot without UEFI support.

I am installing the dependencies from OpenCorePkg to create a legacy booting USB now! :)

WiFi won't stay connected (x201t)

Hello! Thanks for all of your work on this project. I installed onto an x201t with Big Sur, which went just fine (although install wouldn't complete with APFS, I had to use HFS+).

I am booted into the new installation, and I can see wifi networks and connect to them, but it doesn't stay connected. It sometimes connects for a minute or two, and more often immediately disconnects. Sometimes it reconnects immediately, but usually it takes a few minutes of trying before it can reconnect. It's very random.
I am right next to the access point, and while connected it shows full bars.

I believe I'm using the stock wifi card that came with the laptop, but am not sure how to verify that. I followed your instructions exactly and am using your EFI as is, aside from swapping out the recommended things.
Wifi card is reporting as AirPort Extreme (0x8086, 0x1311) (I have not yet done the OpenCore legacy patcher, as I can't get it to download with intermittent connection, though not sure if that would help this or not)

dmesg is flooded with nonstop wifi-related errors, it seems like the device is constantly being reset

Do you have any suggestions on how to make it more reliable?

CPU Power Management with Speedstep

Hello again,
I have also a question: how do you enable the Intel CPU speedstep on the Thinkpad? Do you have to download a special tool or something like that?

P.S. Thanx for the guide. 👍

Not booting

Hi, I'm not new to hackintosh.
I've created the media with your EFI and BigSur installer, but when I try to boot from the pendrive the screen goes black with the underscore blinking.
I also updated the bios firmware to the latest 1.40, I've set the Intel Virtualization settings as you said in the BIOS.
I made sure to have OpenUsbKbDxe.efi in EFI\OC\Drivers.
I thought there was some problem with the PC, so I tried booting the Windows 7 Installer and works with no problem.

Have you got any idea why? At the beginning I thought maybe your EFI had UEFI boot mode but turns out it hasn't.

Please Help, thanks in advance.

Problem with wifi in the installer

Hey @jtaczanowski ! I was wondering if you could help me with the installation of the macos. My issue is, the wifi disconnects when the "continue" button is pressed. Due to that, the installation does not want to continue. My wifi card is Intel Centrino Advanced N-6200. The thinkpad is the x201 model but with the i5-520m. There apperas this message saying: "Installation of macos could not continue". I would really appreciate if you could help me, because in the near future it will be a whole month of trying! Thanks in advance.

IOConsoleUsers: gIOScreenLockState 3 Error after installing drivers with OCLP

Hello @jtaczanowski, I don’t know if you’re still using GitHub or mess with Hackintosh but I have an Arrandale laptop and I followed your guide to install Big Sur. Before installing the drivers, my pc was booting perfectly and had no issues booting or running (except hardware acceleration). After preparing the USB, I ran OCLP and after restarting I started to get this error: IOConsoleUsers: gIOScreenLockState 3, hs 0, bs 0, now 0, sn 0x0.

Thank you for reading , have a nice day 👋

Not booting OpenCore.

Hello. I am trying to install Mac OS 11 Big Sur on a laptop with an Arrandale processor following your instructions. I moved your EFI folder, inside which the BOOT and OC folders are located, to the EFI partition on the flash drive, but the OpenCore bootloader does not start. What can be done?

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.