Coder Social home page Coder Social logo

5t33z0 / lenovo-t530-hackintosh-opencore Goto Github PK

View Code? Open in Web Editor NEW
93.0 93.0 12.0 42.88 MB

OpenCore folder for running macOS High Sierra up to Sequoia on the Lenovo ThinkPad T530 Laptop.

License: BSD 3-Clause "New" or "Revised" License

ASL 100.00%
bigsur-hackintosh catalina-hackinotsh efi-folder hackintosh hackintosh-laptop lenovo-hackintosh lenovo-t530 monterey-hackintosh opencore sequoia-hackintosh sonoma-hackintosh ventura-hackintosh

lenovo-t530-hackintosh-opencore's People

Contributors

5t33z0 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  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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

lenovo-t530-hackintosh-opencore's Issues

Dw1510 on Big Sur and up

Im using your clover efi On my x230t with some tweaking, Im running Catalina 10.5.3 with it, my wifi is DW 1510 bcm94322hm8l, I would like to know how to make it work on Big Sur and/or Monterey if I update or clean install, can you please suggest how to do it....

Note: I use this wifi card, because I dual boot MacOs and Windows

Thanks in advance!

Trying to fix Hibernation

@5T33Z0 After spending a lot of time trying to find guides or any info on hibernation in modern hackintosh (OpenCore). I managed to fix hibernation, before these fixes I was only getting a black screen or a restart when trying to wake from hibernation hibernatemode=25 the main problem was some RTC memory regions getting overwritten when starting the machine again, there were other small issues too. I tested with Catalina and Sonoma and its been reliable so far

To fix hibernation you will the kexts HibernationFixup and RTCMemoryFixup

  • Add rtcfx_exclude=80-AB to boot-args
  • Set HibernateMode to NVRAM in Misc/Boot
  • Set RebuildAppleMemoryMap to False in Booter/Quirks
  • Use the following ReservedMemory entry
    Screenshot 2023-12-02 at 8 22 21 PM
    ReservedMemory.plist.zip
  • Optionally set HibernateSkipsPicker in Misc/Boot to true for a more seamless hibernation wake

To fix a black screen that happens after hibernating and waking once and then try to hibernate again

  • Enable the DiscardHibernateMap Booter quirk
  • Reset NVRAM

Originally posted by @jozews321 in #43 (comment)

Issues with Trackpoint on an X230

Hello.

Since banhbaoxamlan's X230 repo hasn't been updated in a while, and had some issues with sleep, I've been running your repo on a X230 with a clean Monterey install.

Everything works flawlessly (including sleep) except for the Trackpoint, which is not working at all (as if it were not recognised).

I looked around the VodooPS2Controller.kext included in this package and it seems to be missing the VoodooPS2Mouse.kext module, might that be the reason for the non-working Trackpoint?

I've read around the other issues, and it seems you're running a modified 1.9.2 version, not sure if the mods required missing the Trackpoint for it to work on Opencore.

Otherwise, could you perhaps point me into the direction of trying to fix it?

Thank you.

Brightness Question!

Hello to start off I want to say thankyou so much for your guide! I would never be able to fix sleep withought your binary patching guide! I have a t431s thinkpad and my brightness at boot is always around 75% of the actual brightness even when it says its full. But when I close the lid and sleeps (thx to you :) and I open it the brightness actually goes to 100%. I was wondering if this crossed with the brightness issue on your end as well. When I get home im going to try to use your boot-arg to see if it fixes anything!

Ventura unsupported Mac

Hello! ive been trying to get Ventura working on the Thinkpad T530. It already has Catalina installed but i would like to go to Ventura.

My specs are listed as :

CPU : i5 3210M
GPU : Intel HD 4000
RAM : 4GB
SSD : Netac S535N 128GB
Display : 1600x900

After doing the instructions shown in the guide. I always stop at this part.
IMG_0966

I don't know if i have done anything wrong, and any help would be appreciated!

Improving Ventura Support on the Lenovo T530

I have a T430 and I've been testing Ventura for around a month and these are my findings (More like OCLP findings lol)

  • Ventura dropped the legacy AppleIntelCPUPowerManagement.kext, so the cpu is gonna be stuck in base clock, one solution is injecting the legacy kexts again via OC dortania/OpenCore-Legacy-Patcher@964697a. I couldn't get this to work in my T430, It always kernel panics, some problem with the P-states or something. but I found an alternative. enabling Xcpm, with the help from your guide https://github.com/5T33Z0/Lenovo-T530-Hackintosh-OpenCore/tree/main/ACPI/Enable_XCPM and so far everything has been stable.
  • There is a system crash that happens with Metal 1 GPUs like the HD4000 related to mediaanalysisd, it can be fixed with the latest build of RestrictEvents and the boot-arg revblock=media
  • Root patch without disabling AMFI, this is desirable because having AMFI disabled breaks random stuff around the system. Screenshot 2022-12-19 at 3 19 41 PM
  • Add the boot-arg ipc_control_port_options=0 to fix some crashing problems with Electron apps like Discord

Improving Sonoma support for the Lenovo T530

What works

  • Installing and booting works with latest EFI release.
  • Setup-Assistant works a lot snappier without iGPU acceleration than in Monterey and Ventura.
  • Broadcom Bluetooth still works since BrcmPatchRAM is still compatible
  • Intel WiFI and BT should still work if you have a card supported by itlwm.kext.
  • Ethernet works fine.
  • Firefox works fine
  • Graphics Accelleration (since OCLP 068)
  • Broadcom WiFI (requires additional post-install root pacthes as described here

Supported macOS

  • macOS 14.2 RC. ⚠️ Requires nightly build of OCLP 1.3.0 or newer for root patching. Otherwise you "brick" macOS and have to revert patches.

What else

  • This upgrade was definitely much, much, much easier than switching from Monterey to Ventura.
  • More Info: dortania/OpenCore-Legacy-Patcher#1076
  • ⚠️ Any Off-Topic posts which are not about the Lenovo T530 will be DELETED IMMEDIATELY!!!

Add Sata hotplug

Hey. I've been testing this patch for com.apple.driver.AppleAHCIPort that enables hotplug capabilities for the dvd drive bay I have connected and disconnected various hard drives and stuff and it's working fine.

The patch goes in Kernel/Patch

Screenshot 2023-04-14 at 10 36 04 PM

Slow on Ventura and Sonoma

I have been able to install Ventura and Sonoma with this EFI, but the system is terribly slow. And I would like to know where to start checking for solutions.
Thanks.

YogaSMC

I created this issue to say thank you, thank you for your contribution to the hackintosh user community, you have worked so hard on this repo. I use it on Thinkpad T430 everything works very well and stable, just need create a new SSDT-PM. Could you consider integrating YogaSMC into this EFI? I tried it but YogaSMC only works with Voodoops2controller from acidanthera. When switching to Voodoops2controller from acidanthera, the trackpad does not work well. Looking forward to your response.

Ventura: Update cannot be installed on this computer

Hello dear 5T33Z.
Firstly I would like to thank you for the EFI releases I have been using on my x230 for a year. MacOS from 10.14 to 12.4 started with minimal edits (screen resolution, ssdt-pm, gensmbios). But there is something wrong with the latest releases. I first discovered this by installing Ventura, the macOS installer wrote that my Mac was not supported.
But later I discovered that now even the stable Big Sur refuses to install with the same error:
photo_2023-01-16_13-45-47

Can you tell me what might be the problem? Or open for download previous releases. Thanks.

Sound over HDMI

Hello how can I configure the sound via HDMI. I only get the sound through the internal speakers.
Many Thanks

Booting is super slow with Mojave on X230

I'm using this for my X230, because everything else I'm finding has some sort of bug that I can't find anything about online. This is the only OpenCore config I've found that can boot from the internal drive. Booting the installer (and the internal drive after its fully installed), the bar starts to very slowly crawl after around the 2/3rd mark, slowly filling until it finally boots. While it's in this state, there's no drive activity going by the light. The second boot (first from internal SSD) freezes with the bar only 1/25th filled or so, until after a few minutes or so jumping forward and beginning the second stage of the install. I checked NoTouchID, and it appears to be included in the release EFI, so I don't think it's that. Is there some other thing that I missed or isn't in the config? (I'm new to hackintoshing, I probably missed something obvious.) (Also I want Mojave for compatibility with older jailbreaking tools (existence of iTunes, x86 apps, etc) and newer jailbreaking tools. (most are minimum High Sierra))

DeviceProperties for 1366x768 px on Monterey

First of all: thanks for sharing your EFI.

I tried this on a Lenovo X230 tablet and ran into a problem with my 1366x768 LCD. Half way during the booting it seemed to stuck at the Apple logo and the progress bar at about 50%. With a fresh install of Monterey beta 4 there was an indication that it got further than that: the system started talking about voice activation.

Installing Big Sur and importing from a TimeMachine backup went fine, but after upgrading to Monterey the same thing happened: seemingly stuck during booting. I was in luck that screen sharing was already activated in Big Sur and that it still worked after the upgrade. So I could still use the system with any VNC client!

I went to Settings > Display and found this:
x230-monterey

Screen resolution was set at 1280x1080, which my 1366x768 display could not handle. Choosing 'Default for display' or 1024x768 did not help either. After some trial and error I found the culprit: the device_type in the DeviceProperties was set to VGA compatible controller. Removing #device_type made my system boot like it should.

Please remove ot disable the device_type in '#PciRoot(0x0)/Pci(0x2,0x0) 1366x768 px'.

Questions about Intel ManagementEngine, Coreboot and Linux

Hello,

first of all, thanks for providing such an amazing guide on how to get a Hackintosh on this nice piece of hardware and for keeping it up to date :-)

My first question would be whether it is possible to run this install/the OS with Intel ME disabled. So far I have not read a lot about this and only comments of others but no concrete evidence. And since everyone only asks how to disable the ME with 1vyrain, I have no idea whether you can then re-enable it in case it doesn't work anymore but from what 1vyrain uses it might work.

My second question goes a bit deeper. I am planning on corebooting my T530 (and depending on the outcome of question one I'm also interested in removing/disabling the Intel ME).
Besides that, I'd like to dual-boot this machine, with macOS installed on the mSATA drive and Linux using the regular SATA.
I am fully aware that this is outside of the scope or your guide, but I was interested on your opinion on this topic.

SATA Controller Mode

Hello, in BIOS on this point:
SATA > SATA Controller Mode: XHCI
I have only two choise:ACPI or Combined.
How to fix it? Install custom bios?

Logitech HD Pro Webcam C920 not working in 3rd party Apps (Zoom, Microsoft Teams)

So, I have this issue I don't know how to resolve: my C920 works fine in Photobooth and Facetime on my Lenovo T530. But when using any 3rd party apps like Zoom or Microsoft Teams, the cam won't turn on because I can't grant the apps access to it. The cam is working fine on my desktop pc in Ventura which is even weirder:

Bildschirmfoto 2023-04-30 um 11 53 40

Teams and Zoom both ask me to change the Security settings so access to the cam is granted (screenshot from Zoom):

Bildschirmfoto 2023-04-29 um 10 10 26

But on the Notebook, the apps don't show up in the Security/Privacy settings :

Syssettings

I tried mapping USB ports which is not a necessity on this system but it had no effect. Changing SIP to EF0F0000 didn't have any effect either. I think the issue is related to this: https://superuser.com/questions/1441270/apps-dont-show-up-in-camera-and-microphone-privacy-settings-in-macbook

I'v tested it in Mojave, Big Sur, Monterey and Ventura – same result. Any suggestions on how to fix this would be highly appreciated.

Thinkpad T530 - 2429 model - Helper Docs

This isn't an issue so much as some helpful hints for anyone with a fairly stock T530 and like me a Hackintosh newbie and struggling with getting MacOS (Sonoma) onto the laptop using this OC/EFI solution.

Firstly 5T33ZO has clearly done a lot of work on this build and has extensive documentation, so read that first.

BOOT-ARGS

First thing is add -v to boot-args. You need to know why the MacOS boot or install is failing. However don't expect too much help from the error messages or googling. it's a dark art and luck and guesswork seem to be the route to a successful MacOS install.

                <key>boot-args</key>
                <string>-v gfxrst=1 ipc_control_port_options=0 #-lilubetaall</string>

BIOS
The release build assumes you have a BIOS modded with 1vyrain. It says that in the pre-reqs.
However a stock BIOS (2.77 in my case) has MSR 0xE2 CPU register locked, and the kernel quirks are not enabled so MacOS will never boot successfully.

You have a choice. Mod BIOS with 1vyrain and enable CFG or add the 2 quirks:

            <key>AppleCpuPmCfgLock</key>
            <true/>
            <key>AppleXcpmCfgLock</key>
            <true/>

Optical Ultratray - DVD

I don't understand this one, and think I randomly stumbled upon a google search after looking up the usual incoherent MacOS error messages and kernel panics. But before Sonoma install you must eject the optical Ultrabay DVD drive or you'll never get through the install. After install you can put the drive back and it works fine, but during install it will just not allow the install to complete.

Screen Resolution

If you have 1366x768 SD resolution screen, make sure you follow the instructions to enable the correct Deviceproperties and disable the default HD device. You might even want to delete the HD section completely.

AUDIO

Can't imagine why you wouldn't want audio over DP, so go ahead and delete the No-hda-gfx from device PciRoot(0x0)/Pci(0x1B,0x0)
That worked for me anyway.

WIFI AND BLUETOOTH

I have a stock Centrino Advanced-N 6205 Wifi card in my T530. The default build here is for Broadcom devices so won't work for Intel Wifi cards. I used the itlwm drivers here: https://github.com/OpenIntelWireless/itlwm You need to copy the kext to the /EFI/OC/Kexts folder and add the kernel section of the config.plist:

            <dict>
                <key>Arch</key>
                <string>Any</string>
                <key>BundlePath</key>
                <string>itlwm.kext</string>
                <key>Comment</key>
                <string>V2.3.0</string>
                <key>Enabled</key>
                <true/>
                <key>ExecutablePath</key>
                <string>Contents/MacOS/itlwm</string>
                <key>MaxKernel</key>
                <string></string>
                <key>MinKernel</key>
                <string></string>
                <key>PlistPath</key>
                <string>Contents/Info.plist</string>
            </dict>

Note that you also need to install the HeliPort app in MacOS to configure WiFi. It doesn't use the normal WiFi applet: https://openintelwireless.github.io/HeliPort/

However you can edit the Info.plist inside the itlwm.kext and hard code the SSID and password which means WiFi will work and connect at install/boot etc.

Make sure you remove all the Broadcom Wifi kexts from config.plist. They usually start with Brcm

On Bluetooth, you need the drivers here: https://openintelwireless.github.io/IntelBluetoothFirmware/

As per the docs:

Install IntelBTPatcher.kext (Depends on Lilu v1.6.2 or newer)
Make sure IntelBluetoothFirmware.kext v2.2.0 or newer is used.
Remove/Exclude IntelBluetoothInjector.kext for macOS Monterey and newer from the Bootloader's config
Install BlueToolFixup.kext

Note that for me IntelBluetoothFirmware.kext caused Sonoma to bootloop and panic. So do not load this kext

I never got Bluetooth working. I'm not sure if I have a hardware issue, or maybe some USB mapping issue or just that bluetooth on this laptop is not supported.

POST INSTALL STUFF

Follow ST33ZO's guide for post install. Certainly instal the most recent OpenCore Patcher GUI app and apply all the root kernel patches to make the accelerated graphics work etc.

Apple ID, iMessages, Facetime

I followed the dortania guide here: https://dortania.github.io/OpenCore-Post-Install/universal/iservices.html#using-gensmbios

I used Gensmbios to generate and inject the correct Platform NVRAM ID's into the config.plist.

Can log into my Apple ID, but not managed to get iMessage or Facetime working, just keeps asking to authenticate (????)

Not sure if its something to do with EN0 being the ethernet port and EN1 being wireless. I did add the Intel Wifi card into the config.plist and added "built-in" but didn't work:

            <key>PciRoot(0x0)/Pci(0x1C,0x1)/Pci(0x0,0x0)</key>
            <dict>
                <key>AAPL,slot-name</key>
                <string>Internal@0,28,1/0,0</string>
                <key>built-in</key>
                <data>AQ==</data>
                <key>device_type</key>
                <string>Network controller</string>
                <key>model</key>
                <string>Centrino Advanced-N 6205 [Taylor Peak]</string>
            </dict>

ROM is generated from gensmbios and doesn't match the hardware EN0 or EN1. issue??

Thats about it. I've included my working config.plist. It's possible I made other changes I forgot about.

Finally thanks to ST33Z0. Above is no criticism, just to help idiots like me.

config.plist.zip

Broadcom bcm4322 and macOS 10.15+

Hello, thank you for sharing your great job, in my case after removing whitelist, I installed a dw1510 wifi card (bcm4322), it was ok on Mojave, but I dont see the wifi on Catalina, Big Sur or Monterrey installation of after I install... I read that you can force a kext, unader kernel section but I dont fully understand instructions.... Can please help with it?

Hard Drive in Ultrabay Slim SATA 2nd Hdd Hard Drive Caddy Module can`t read and write

My Thinkpad T530, i put a Ultrabay Slim SATA 2nd Hdd Hard Drive Caddy Module in my dvdrom space.

In migftw/ThinkPad-T530-Hackintosh clover efi, the hard drive in that place can be read and write right,but in your opencore efi ,it can`t.

The Cataline system can find the hard disk in ,but it can`t read right or format it。

Hope you could find out the reason and let it work。 Thank you very much.

Well,another problem is,when i use your opencore efi,my dp port still can`t find and work,in mini-dp port or in dp port in dock either.

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.