Giter Club home page Giter Club logo

t480-opencore-hackintosh's Introduction

Hey, I'm Vojtěch! 👋

19 year old fullstack Web Developer, Programmer, Cyber Security Enthusiast and Penetration Tester from 🇨🇿 Liberec/Prague, Czech Republic.

👨🏻‍💻 About me

🔐👾 Czech Republic ECSC 2022/23 team member 🇨🇿🇦🇹🇳🇴🇪🇺

🟦  && ☕🍫 => 🥰

🌱🪴🌱

📬 Reach me:

x

💻 Tech Stack

docker git react svelte solidjs nextjs tailwindcss vite scss

deno nodejs postgres mysql mongo graphql typescript

rust objectivec c

vscode xcode

trophy

t480-opencore-hackintosh's People

Contributors

afreuden avatar benbender avatar devksingh4 avatar eetagent avatar taina0407 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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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

t480-opencore-hackintosh's Issues

Ambiguity in readme.txt

It is not clear if generating your own SMBIOS is recommended and why. The only instruction to 'generate your own SMBIOS' is in the section describing what is working next to information about the App Store. Is it recommended to get the App Store and iMessage to work? I have installed without issue without custom SMBIOS, but of course that says nothing about whether there are any advantages either way.

Unable to access the system

Hello. @EETagent
When I use the latest EFI, unable to access the system.

`panic(cpu 2 caller 0xffffff801ac469aa): Kernel trap at 0xffffff801b1b948f, type 14=page fault, registers:
CR0: 0x0000000080010033, CR2: 0x000000000000001c, CR3: 0x0000000489f8202c, CR4: 0x00000000003626e0
RAX: 0x000000000000f470, RBX: 0xffffff803f52c6a0, RCX: 0x0000000000000027, RDX: 0x0000000000000000
RSP: 0xffffff820ba8bbb0, RBP: 0xffffff820ba8bbb0, RSI: 0xffffff7f9b5be700, RDI: 0xffffff803f52c6a0
R8: 0x0000000000000027, R9: 0xffffff804275b990, R10: 0x0000000000000002, R11: 0xffffff820ba8bd50
R12: 0xffffff8041149920, R13: 0x0000000040512001, R14: 0xffffff7f9b5be700, R15: 0xffffff8041149920
RFL: 0x0000000000010202, RIP: 0xffffff801b1b948f, CS: 0x0000000000000008, SS: 0x0000000000000010
Fault CR2: 0x000000000000001c, Error code: 0x0000000000000000, Fault CPU: 0x2, PL: 0, VF: 0

Backtrace (CPU 2), Frame : Return Address
0xffffff820ba8b610 : 0xffffff801ab1a65d
0xffffff820ba8b660 : 0xffffff801ac54a75
0xffffff820ba8b6a0 : 0xffffff801ac465fe
0xffffff820ba8b6f0 : 0xffffff801aac0a40
0xffffff820ba8b710 : 0xffffff801ab19d27
0xffffff820ba8b810 : 0xffffff801ab1a117
0xffffff820ba8b860 : 0xffffff801b2c1abc
0xffffff820ba8b8d0 : 0xffffff801ac469aa
0xffffff820ba8ba50 : 0xffffff801ac466a8
0xffffff820ba8baa0 : 0xffffff801aac0a40
0xffffff820ba8bac0 : 0xffffff801b1b948f
0xffffff820ba8bbb0 : 0xffffff801b1b997f
0xffffff820ba8bbe0 : 0xffffff801b199be2
0xffffff820ba8bc00 : 0xffffff801b257d16
0xffffff820ba8bc20 : 0xffffff7f9b5b6340
0xffffff820ba8bc60 : 0xffffff801b253dda
0xffffff820ba8bca0 : 0xffffff801b200e90
0xffffff820ba8bd00 : 0xffffff801b25bc39
0xffffff820ba8bd60 : 0xffffff801ac030af
0xffffff820ba8bdb0 : 0xffffff801ab203c8
0xffffff820ba8be10 : 0xffffff801aaf6d15
0xffffff820ba8be70 : 0xffffff801ab0db22
0xffffff820ba8bf00 : 0xffffff801ac2c065
0xffffff820ba8bfa0 : 0xffffff801aac1226
Kernel Extensions in backtrace:
com.apple.driver.AppleSMC(3.1.9)[AB612149-B321-3B95-8741-B99E79274FCD]@0xffffff7f9b5a9000->0xffffff7f9b5c7fff
dependency: com.apple.driver.watchdog(1)[832CC890-EE61-33E0-8FD4-8D354BCD0921]@0xffffff7f9b5a0000
dependency: com.apple.iokit.IOACPIFamily(1.4)[68557A36-4EE1-372A-983B-BB2769FDB8E0]@0xffffff7f9b509000
dependency: com.apple.iokit.IOPCIFamily(2.9)[DF219CC1-366A-31FC-B8ED-17C584BA2549]@0xffffff7f9b512000

BSD process name corresponding to current thread: powerd
Boot args: chunklist-security-epoch=0 -chunklist-no-rev2-dev chunklist-security-epoch=0 -chunklist-no-rev2-dev

Mac OS version:
19G2021

Kernel version:
Darwin Kernel Version 19.6.0: Thu Jun 18 20:49:00 PDT 2020; root:xnu-6153.141.1~1/RELEASE_X86_64
Kernel UUID: 1D3A0F3D-D908-397B-BD16-8F48C0823A2E
Kernel slide: 0x000000001a800000
Kernel text base: 0xffffff801aa00000
__HIB text base: 0xffffff801a900000
System model name: MacBookPro15,2 (Mac-827FB448E656EC26)
System shutdown begun: NO
Panic diags file available: YES (0x0)

System uptime in nanoseconds: 26084730162

`

Slow processor after update to 10.15.6

Hi. I’m using a T480 with a i5-8350u.
Initially I installed Catalina 10.15.5 and all is working well.
After updating to 10.15.6 from the system preferences, the problem starts.

Each time I power up or restart my computer, it will take a long time to boot. I checked the processor power usage, it hardly goes over 12W.

However if I put it to sleep and wake again, the cpu performance goes back to normal.

I hadtried disabling the cpufriend kexts but the proble, persists. Anything for me to try out? I may need to downgrade back to 10.15.5 again.

Thx

Hotkeys + Lid Sensor Laggy In Windows 10

Regarding the Hotkeys + Lid being laggy in Windows, i.e. takes 5 secs to 30 secs for my hotkeys and lid to respond (from FN + F4 to FN + F12 and also the Lid. Volume adjustment hotkeys are working fine). This is why whenever I close the lid, it takes from 5 secs to 30 secs for it to go to sleep in Windows because Windows doesn't register the sensor.
However the Power button works fine. Pressing it will bring Windows to sleep and waking it up is also an instant when pressing it.

I've used Lenovo diagnostic tool in windows and discovered the lid sensor is not responsive. However in OS X, it works perfectly, including the hotkeys from F1 to F12.

I've completely wiped the PM981 again and re-installed windows again. This time I even created an EFI folder for this drive too. Which means I have an EFI folder for each of my SSD drives (mac and windows drive).

I thought it was Opencore's SSDT messing up my Windows hotkeys but re-installing windows again in a different drive and with its own EFI folder also does not solve this.

Could this be due to the DSDT or SSDT tables being over-written?
If so, is there a way to revert it back?

The keyboard does not work on the t480s。

I think there should be little difference between t480s and T480.
After replacing EFI, the keyboard cannot be used. How to modify it to work on the t480s hardware platform. thank you.

High Power Usage During Sleep

Dear @EETagent Danny7g and Zombillano,

I noticed significant power consumption during sleep. As shown in the photo below, it was at 92% at 11:09 AM and I immediately put it to sleep. At 12:45pm after 1:35 hours of sleep, battery is now 88%. Attached also is my voltageshift status and my pmset -g.

Does anyone face the same power consumption issue while it's sleeping?

Screenshot 2020-08-21 at 11 09 55 AM
Screenshot 2020-08-21 at 12 45 34 PM
Screenshot 2020-08-21 at 12 48 48 PM
Screenshot 2020-08-21 at 12 54 01 PM

Thanks.

Latest commit does not boot on catalina

Hello,
last commit got stuck on apple logo before the progress bar. I've been using AirporItlwm before this with no problems so that shouldn't be an issue. Although I only had catalina version installed. I'll try booting using verbose mode when I have time.

ThinkPad USB-C/USB-A Hybrid Dock Gen 2 confirmed functional

Just wanted to add that the ThinkPad USB-C/USB-A Hybrid Dock Gen 2 is functional.
I am using macOS Catalina 10.15.6 with version 5.0.1 of this OpenCore config and the MacbookPro15,2 SMBIOS.
To get external video output to work, the free DisplayLink Manager application is required.

TESTED AND WORKING:

  • Primary USB-C;
  • All USB-A ports;
  • HDMI video output;
  • Ethernet.

UNTESTED:

  • Secondary USB-C;
  • DisplayPort.

Superb job, except...

Everything works. Except RIGHT mouse press on Trackpad (i.e. mouse buttons work, but only LEFT mouse button works on Trackpad).

T480 with 4k AUO panel + WQHD 4-lane eDP cable

I've been hackintoshing my Thinkpads for a few years now, and never before have I been stumped by such an issue. I've been running Catalina & Big Sur with OC with zero issues using either the stock 1080p panel and a WQHD one I got off ebay. However, using a 4k panel has proven to be impossible under MacOS (works fine in Windows & Linux).

I've tried all possible framebuffer patches/device id spoofs to no avail. It's very odd. The most I've gotten is to boot into MacOS without acceleration, with the igpu detected as a UHD 620 with 31mb VRAM. Max link rate is enabled, I've tried all confirmed working platform & device ids for the UHD 620, with some get a KP during boot, with others the loading bar almost fills up, the OS finishes loading and is usable with an external monitor, but the internal screen just displays the loading bar and - sometimes - graphical artifacts.

I've tried using settings from other Kaby Lake R laptops with 4k displays, no dice.

I was wondering if I'm alone in using a 4k panel in my T480, and if anyone knows what the trick is to get a 4k panel to work with the igpu on this model.

UEFI Secure Boot

OpenCore 0.6.1 finally supports booting with UEFI Secure Boot enabled.

acidanthera/OpenCorePkg@479226f

Sometime in the future I will try to sign EFI drivers, bootloader and provide valid certificate. This will enable us to switch between BitLocker encrypted Secure Boot Windows installation and macOS without changing UEFI settings every time

Headphone jack issue

Hi,
First of all I want to say thank you for your dedication to our beloved T480.
I am having a problem with the 3.5mm headphone jack after sleep. After the sleep, the sound through the jack is small and contains static noise. One mitigation I did is to go the System Pref Panel, Sound, Input section, choose the Line-In option the sound will be normal again. However, I need to keep open the Pref Panel to get the sound working; otherwise, the problem came back.

Thanks.

Camera / bluetooth not working on yogamsc branch

Hi @EETagent!

Thank you for all your work.

Currently I've gotten a T480 (i5 8350U) and installed your yoga smc branch since I wanted to have YogaSMC.

However, despite having all the necessary USB ports in the XHC.aml file, at least the camera and bluetooth (from a bradcom 4352z) are not working. Both devices work with USBInjectAll.

Let me know if changes have to be made!

Best regards!

How do I update the EFI folder from this project?

I see that recently some files over this project have been updated.
How do I update my EFI files without screwing up my current config?
After updating the files, do I have to somewhat update my config.plist?

Battery Life Questions

Hey, I'd like to thank you (and everyone involved) for doing a wonderful job putting everything together. I have a 99% stable T480 Hackintosh! I have the i7-8650 model, the with a multi touch screen, but that obviously isn't applicable here. I was having issue with Heliport and itlwm so I bit the bullet and bought a Broadcom card. That's about it for variations from the folder.

My last concern is the battery life. I know that hackintosh builds aren't always the most power efficient, but I'm not sure if the percentage meter should wear down so fast. With the 23 + 23 battery setup (which I'm currently writing from) I can go from full charge to ~60% in an hour? I assumed the battery life would have been comparable to Linux, as power management was enabled. The batteries in question are failry healthy, and in W10 I had ~7 hours, and ~5.5/6 in Linux. I've used cpufriend and set it to max power save mode, but it doesn't feel any different.

Am I doing something wrong here? Must I apply some sort of patch? And help would be greatly appreciated.

Battery Indicator Red

So I updated my EFI folder and something weird is happening.
If I put my laptop in sleep mode without the charging cable, and then I tun it on after several hours, the battery indicator goes red. The percentage is at 100%. After less than 5 minutes it drops to 20%.

Any idea why?

Sleep mode not working - T480 w/ MX150

Hello, I first all want to express my gratitude to the creator of this Github project.
I am running macOS 10.15.6 and OpenCore 0.6.2.
I downloaded all of the stuff from this GitHub and installed macOS yesterday.
Everything works fine, just not the sleep/wake function.
If I put my laptop to sleep it just becomes a black screen and the laptop will become unresponsive.
If I wait for macOS to automatically but the laptop in standby the only thing I can see is the mouse cursor on the top left corner. The screen is completely black.

I have an i7-8650U, 32GB RAM, MX150, WiFI 8265 Card.
I set up my BIOS settings as on the GitHub instructions, I did generate my own SMBIOS but that's it.
Am I supposed to install CPUFriend Power Management?

If you need more info please just let me know.

VoodooRMI - Better Trackpad Scrolling and Response

Hi Vojtěch,

There is a new Voodoo Controller for the Synaptics trackpad taken from the Linux Kernel.
My trackpad is functioning much better now.

https://github.com/VoodooSMBus/VoodooRMI

A couple of caveats. The kexts are in beta and I'm getting some errors in the verbose boot log, but I've honestly done zero troubleshooting with regard to those errors. I'm sure an aml related to VoodooPS2 is causing some sort of conflict, but I just haven't had time to check it out yet; hopefully will get around to it this weekend.

Thanks,
Dan

Windows support

Currently it is not possible to boot Windows using OC Boot menu ( At least for me, additional reports are welcome ). This shall be fixed with newer revisions of this EFI. Because one can boot using F12 Boot menu, it is currently a low priority task.

Help wanted dual-battery

Hey, I am looking for someone with a dual-battery laptop that can help me get the other than the main battery working on macOS. Tried the acidanthera guide but I found it somewhat confusing and was not sure if did it correctly but did not work for me. Is it possible to get any help? I can attach the system's DSDT or any other table if needed. Thanks!

Colour banding issues

Hey,

I'm having some serious colour banding issues on my T480. I have the 8350U with UHD 620 graphics, 1080p FHD IPS display and I am using the EFI folder as is provided here in release 5.0.0, with the addition of the 8350U CPUFriend kext in the Other folder. I am running macOS Catalina 10.15.6 with the MacbookPro15,2 SMBIOS.

Is there anything I can do to solve this?

Thanks.

Big Sur boot menu icons

For those who prefer new skeuomorphism aproach introduced in macOS 11. Pull and merge bigsuricons branch to your local git repository

git pull https://github.com/EETagent/T480-OpenCore-Hackintosh.git bigsuricons

Screenshot 2020-10-26 at 09 45 14 (2)

Bluetooth is not working (also, docking station/dual displays does not seem to work)

Hi.

First of all, thank you for creating sharing and maintaining this OpenCore config! I managed to get a lot of thinks working with it.

I still have some issues with bluetooth however:
Screenshot 2020-06-23 at 00 05 06

Also, I cant get my dual monitor setup to work using the official Lenovo Docking Station.
Depending on the combination of ports and and cables I use, I can get either only one of the displays working, or the OS recognises them, but not independently (meaning I can only access a single display via the System Preferences), so I always have a mirrored view.
Any help or hint in the right direction would be greatly appreciated, and again, thank you for your time and effort!

AirDrop not working - T480 w/ MX150

(MX150 disabled in config.plist)
Hello, I am running the GitHub configuration in my EFI folder with HeliPort.
I saw that some changes were made in the previous days, but to be honest I have no idea how to update my EFI stuff without screwing up.
AirDrop just won't open, or give me an error message about something missing.
Any idea why?

BIOS mod thread

Ok, so I've already modded my BIOS. So far I think it is working as intended. Some observations:

  • You can undervolt directly on the BIOS, which indeed seems to work. Does anybody know a way to check undervolt values on any OS using terminal commands? Just to confirm it is being applied. So far temps seems to indicate that it is working.

  • You can unlock TDP limits. I've been testing up to 44W and we can achieve a performance equal to the Ryzen 5 4650U (https://browser.geekbench.com/v5/cpu/3467665). This is under macOS, I believe the best performance can be achieved under linux because it has way less overhead compared with other OSs. NOTE: I have dual heatpipe fan and no dGPU, obviously I also repasted my thinkpad. DON'T TRY THIS WITH SINGLE HEATPIPE FAN, YOUR COMPUTER MAY OVERHEAT.

  • CPU Lock can be disabled, so I disabled the KernelQuirks related to that option. After this I'm unable to boot to Windows 10 through OC. I have to see if it is related to my install or with those options I've disabled. This doesn't seems to have any impact on CPU power consumption.

If you have any question/suggestion/test please let me know.

High power usage with Windows Hello Version of T480

First of all, I would like to thank you. I've used a lot of hackintosh, I've done a bit in the past, now I'm all but rusty, I thought that I would have a huge damn headache with Opencore, Catalina and everything. And then, I found your repo, perfect and well written, and damn, I've never done a hackintosh install as simple as this one with your config files. Everything works perfectly, performance wise, audio, even the intel wifi, which I didn't know it was possible back in the day. I just got this T480, with Windows Hello and FHD Touchscreen panel. I got this laptop yesterday, the battery life on windows was something closer to 6-7h maybe even a bit more (I didn't charge 100%), with the 48wh original battery (300-320 cycles it seems). But with hackintosh I'm not even getting 3 hours. Maybe 2 and a half. The only change I did after I copied the EFI folder was to switch the CPUFriendDataProvider with the 8350u version. Which is the one in my computer. Am I missing something? or maybe the USBmap is all wrong, and its causing the battery life to degrade this much?
Also, while hibernating it's also uncharging. I left it hibernating for 15 min, and decreased nearly 5%.
btw, I wouldn't put this up as an Issue, because it might be because of something that I didn't do or maybe the windows Hello feature. So if it really is because of it, I will delete the issue. Thanks again!

Installation problem

Hi, it's my first time trying to do Hackintosh on my T480.

I follow the installation guides using Windows and for the EFI folder, I've used your files.

I reboot and installed OSX on my SSD, after the installation reboot, I can't see my SSD on Open core with OSX to select.

I can see only when I enter the recovery.

What I'm missing?

Stuck at booting apple logo on T480 i7-8650U + nvidia MX150

I'm trying to boot form USB to install Opencore, after the USB creation when I boot the screen shows me the apple logo but gets stuck at this point without the progress bar. Reading some related issues I think is due to the GPU Nvidia mx150 on t480 i7 models, do you guys know about this problem?

Edit: -wegnoegpu on boot-arg not working

Testing of as yet untested functionality [Thunderbolt 3, DRM]

I need help testing the following functionality

  • FireVault 2
  • Power Management Tested. Works
  • Thunderbolt
  • USB Type C Video output Tested. Works
  • Upper (TB3 & charging) USB Type C port Tested. Works
  • DRM - FairPlay and Widevine
  • Wireless Sidecar ( With supported Broadcom card ) Tested. Works

"- [ ] Sidecar with 14,1 SMBIOS Not really needed, but would like to hear if someone managed to get it working "

Additional reports about sleep functionality and PM981 would be appreciated.

Strange NVMe behaviour after waking up from sleep

Hi there, I'm using this EFI files to run Catalina 10.15.5 on my T480 without any major issue. The only thing that I found is that I'm getting slow NVMe speeds just after waking up from sleep. If I do run disk speed test just after a fresh boot then I get 1400mb/s write and 1500mb/s read, but after sleep I'm getting 400mb/s on both types of benchmark and it can only be solved by restarting my computer. I'm using a SM961 512GB SSD as my main drive. Does anybody knows how can I try to debug this issue? Thanks in advance
Before sleep
After sleep

Latest kexts

TODO: Compile latest version of itlwm and HeliPort, VoodooSMBus and VoodooRMI, VoodooPS2Controller, NVMeFix, AppleALC, CPUFriend, HibernationFixup, RTCMemoryFixup, VirtualSMC, Lilu and WEG

Replacing Wi-Fi card to Broadcom BCM94360CS2

Hello

FYI, around 2 weeks ago I replaced in my T480 pre-installed Intel Wireless-AC 8265 to Broadcom BCM94360CS2 with NGFF adapter. It fits perfectly (photos below) and works in Hackintosh without problems too.
IMG_3539
IMG_3545
IMG_3544
IMG_3541
Screenshot 2020-08-24 at 13 17 27

Add VoodooSMBus Maybe?

Hello,
I'm super new to hackintosh but I somehow managed to boot it up on my t480. I found you repo a bit too late but it's really a blessing. 💯 👍
I found this kext: https://github.com/VoodooSMBus/VoodooSMBus which I tried to install but could figure out the .patch files and messed up the boot. So I'm just suggesting you to maybe try it.

High power usage after long sleep

Hi,
I am currently experiencing an issue after a long sleep (overnight), the T480 CPU voltage is above 1.01V and energy consumption is above 10Watts, but Activity Monitor shows the CPU is idle and no task is hogging the resources.
What I tried, but the issue still persists:

  1. include DGPU.aml to disable DGPU
  2. remove CPUFriend
    Thanks

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.