valnoxy / t480-oc Goto Github PK
View Code? Open in Web Editor NEW💻 Lenovo ThinkPad T480 / T580 / X280 Hackintosh (macOS Monterey 12.x - Sonoma 14.x) - OpenCore
License: MIT License
💻 Lenovo ThinkPad T480 / T580 / X280 Hackintosh (macOS Monterey 12.x - Sonoma 14.x) - OpenCore
License: MIT License
When I lock the screen, the screen locks quickly (about 1 second), instead of starting the screen saver (I set the screen saver to start after 5 minutes of inactivity), if I wake the screen at this point, everything works fine, but if If you don't wake up the screen for a certain period of time (about 30-40 minutes), then wake up the screen and the screen will be black. At this time, you can observe that the system is running, and you can only force the shutdown and restart the computer.
I'm having this weird issue where windows just crashes a second after pressing the windows entry from opencore, despite macOS working perfectly fine, I would love to get an idea about what might be causing this issue.
Hello there.
I have successfully installed Monterey on my T480, but I have to re-adjust the backlight level every time I boot up.
How to fix this issue ?
Thank you your efforts.
Successfully installed and basically everything is working including Messages, but I can't get bluetooth to enable. I tried updating the ktext file for airportlwm but it didn't seem to make a difference.
Bluetooth USB ID: 0x0a2b
MacOS Version: 13.4 (22F66)
To resolve the problem, I followed these steps:
Disable IntelBluetoothInjector.kext:
Edit the Config.plist:
<key>bluetoothInternalControllerInfo</key>
<data>AAAAAAAAAAAAAAAAAAA=</data>
<key>bluetoothExternalDongleFailed</key>
<data>AA==</data>
Run the following command:
sudo rm -rf /Library/Preferences/com.apple.bluetooth.plist
Reboot your system.
log:
panic(cpu 2 caller 0xffffff801d6a99da): mbuf_watchdog: 1 waiters stuck for 16 secs
3926/69639 mbufs in use:
3926 mbufs allocated to data
65713 mbufs allocated to caches
806/1364 mbuf 2KB clusters in use
28522/28538 mbuf 4KB clusters in use
0/150 mbuf 16KB clusters in use
137308 KB allocated to network (approx. 96% in use)
0 KB returned to the system
worker thread runs: 160, expansions: 404, cl 0/0, bigcl 149/24242, 16k 10/103
worker thread last run time: 1729 (17 seconds ago)
top proc mbuf space 4608 bytes by parsecd:504
mbuf leak detection table:
total captured: 1253 (one per 500)
total allocs outstanding: 209
new hash recorded: 1223 allocs, 939 traces
hash collisions: 111 allocs, 22 traces
overwrites: 663 allocs, 0 traces
lock conflicts: 0
top 5 outstanding traces:
[1] 47 outstanding alloc(s), 51 hit(s), 0 collision(s)
[2] 43 outstanding alloc(s), 58 hit(s), 0 collision(s)
[3] 41 outstanding alloc(s), 45 hit(s), 0 collision(s)
[4] 26 outstanding alloc(s), 43 hit(s), 0 collision(s)
[5] 20 outstanding alloc(s), 20 hit(s), 0 collision(s)
trace [1] trace [2] trace [3] trace [4] trace [5]
------------------ ------------------ ------------------ ------------------ ------------------
1: 0xffffff80008a815a 0xffffff80008a815a 0xffffff80008a815a 0xffffff80008a815a 0xffffff80008a815a
2: 0xffffff8000881d19 0xffffff8000881d19 0xffffff8000881dd2 0xffffff8000881dd2 0xffffff8000881dd2
3: 0xffffff80008ac168 0xffffff80008a708a 0xffffff80008a70dd 0xffffff80008ae7e5 0xffffff80008ac168
4: 0xffffff80008b039b 0xffffff8000881c8e 0xffffff8000881c8e 0xffffff800087bf0a 0xffffff80008b039b
5: 0xffffff800087b2d3 0xffffff80008ae7e5 0xffffff80008ae7e5 0xffffff8002b900bd 0xffffff800087b2d3
6: 0x0 0xffffff800087bf0a 0xffffff800087bf0a 0x0 0x0
7: 0x0 0xffffff8002b900bd 0xffffff8002b900bd 0x0 0x0
8: 0x0 0x0 0x0 0x0 0x0
9: 0x0 0x0 0x0 0x0 0x0
10: 0x0 0x0 0x0 0xffffff8000a453f4 0x0
11: 0x0 0x0 0x0 0xffffff8000a43cae 0x0
12: 0x0 0xffffff8000a453f4 0xffffff8000a453f4 0xffffff8000a432d7 0x0
13: 0x0 0xffffff8000a43cae 0xffffff8000a43cae 0x0
14: 0x0 0xffffff8000a432d7 0xffffff8000a432d7 0x0
15: 0x0 0x0
16: 0xffffff8000a453f4 0xffffff8000a453f4
Panicked task 0xffffff8bbbdbdd10: 9 threads: pid 583: com.apple.WebKit
Backtrace (CPU 2), panicked thread: 0xffffff8bbd21c540, Frame : Return Address
0xffffffe86c9335b0 : 0xffffff801d081c8d
0xffffffe86c933600 : 0xffffff801d1e1596
0xffffffe86c933640 : 0xffffff801d1d0963
0xffffffe86c933690 : 0xffffff801d021a70
0xffffffe86c9336b0 : 0xffffff801d08205d
0xffffffe86c9337d0 : 0xffffff801d081816
0xffffffe86c933830 : 0xffffff801d915163
0xffffffe86c933920 : 0xffffff801d6a99da
0xffffffe86c9339b0 : 0xffffff801d6a76d7
0xffffffe86c933a20 : 0xffffff801d681c8e
0xffffffe86c933a90 : 0xffffff801d6a70dd
0xffffffe86c933b30 : 0xffffff801d681c8e
0xffffffe86c933ba0 : 0xffffff801d6ae7e5
0xffffffe86c933c30 : 0xffffff801d3e07d2
0xffffffe86c933cb0 : 0xffffff801d3e7412
0xffffffe86c933d00 : 0xffffff801d42cea6
0xffffffe86c933d40 : 0xffffff801d43c92d
0xffffffe86c933ef0 : 0xffffff801d43a0cc
0xffffffe86c933f40 : 0xffffff801d788f5b
0xffffffe86c933fa0 : 0xffffff801d022236
Process name corresponding to current thread (0xffffff8bbd21c540): com.apple.WebKit.Networking
Boot args: rtcfx_exclude=80-AB chunklist-security-epoch=0 -chunklist-no-rev2-dev chunklist-security-epoch=0 -chunklist-no-rev2-dev
Mac OS version:
21F79
Kernel version:
Darwin Kernel Version 21.5.0: Tue Apr 26 21:08:22 PDT 2022; root:xnu-8020.121.3~4/RELEASE_X86_64
Kernel UUID: 3C587984-4004-3C76-8ADF-997822977184
KernelCache slide: 0x000000001ce00000
KernelCache base: 0xffffff801d000000
Kernel slide: 0x000000001ce10000
Kernel text base: 0xffffff801d010000
__HIB text base: 0xffffff801cf00000
System model name: MacBookPro15,2 (Mac-827FB448E656EC26)
System shutdown begun: NO
Panic diags file available: YES (0x0)
Hibernation exit count: 0
System uptime in nanoseconds: 1745752183981
Last Sleep: absolute base_tsc base_nano
Uptime : 0x0000019676f06174
Sleep : 0x000000390a81f64a 0x0000000e87023015 0x0000000000000000
Wake : 0x000000392a084756 0x0000000050b6adea 0x000000390c119359
Compressor Info: 0% of compressed pages limit (OK) and 0% of segments limit (OK) with 0 swapfiles and OK swap space
Zone info:
Zone map: 0xffffff8087518000 - 0xffffffa087518000
. PGZ : 0xffffff8087518000 - 0xffffff808a519000
. VM : 0xffffff808a519000 - 0xffffff8556ab2000
. RO : 0xffffff8556ab2000 - 0xffffff86f01e5000
. GEN0 : 0xffffff86f01e5000 - 0xffffff8bbc77e000
. GEN1 : 0xffffff8bbc77e000 - 0xffffff9088d17000
. GEN2 : 0xffffff9088d17000 - 0xffffff95552b0000
. GEN3 : 0xffffff95552b0000 - 0xffffff9a2184a000
. DATA : 0xffffff9a2184a000 - 0xffffffa087518000
Metadata: 0xffffff805e508000 - 0xffffff807e508000
Bitmaps : 0xffffff807e508000 - 0xffffff8087508000
just randomly happens
Hi, I have a problem when I use the keyboard shortcut to copy paste, in venture it turns out that when I try it doesn't work, if you have a solution it really helps me.
Thank You
after sleep sometimes trackpad doesn't wanna work :( any idea what could be causing this?
ive booted to this external ssd before but its not booting right now for some reason. Any idea why this might be happening? Im also getting a VRMI error:
Soo... When I first booted into flash drive, I have chosen NO NAME drive and then NO NAME (dmg) and it showed me a error OCB: LoadImage Failed - Unsupported
No fix on the internet could fix that
My t480 specs are the same as yours tho
Is there a way to be able to use the universal control ?
Hi,
I am unable to find the base image record in the OpenCore menu.
After startup, I am only able to see a "Windows" options.
Using different EFI setups, I was able to boot into macOS earlier, but was trying to use this repo as it seems up-to-date and well maintained.
On my installation media, I created the com.apple.recovery.boot
containing the BaseSystem.chunklist
as well as the BaseSystem.dmg
. I also tried using both the Monterey and the HeliPad EFI configurations, but had no luck using either.
Any ideas why this might be happening? Any help would be appreciated.
Notes:
I've formatted my USB drive using https://dortania.github.io/OpenCore-Install-Guide/installer-guide/winblows-install.html#rufus-method, as it is too big to be formatted by diskutil, but I am assuming this does not make a difference since it worked earlier with different EFI setups.
I have used the macrecovery utility provided by OpenCore to option the base image, using python macrecovery.py -b Mac-E43C1C25D4880AD6 -m 00000000000000000 download
(Monterey).
I upgraded to Ventura after I copied the new files over to the EFI file system and I also copied the parameters in the config.plist file beforehand. After the install, three issues I run into are the following:
when the system boots up, whether a reboot or cold start, it'll say your system ran into a problem. Press any key to reboot or wait a few seconds. If I press any key or wait a few seconds, it boots up.
if I close the lid and re-open it to wake it up from sleep mode, it reboots. Even without the lid closed and if I let it sit for about 5-10 minutes of inactivity, it does the same thing.
Alongside Monterey, I cannot connect to any hidden network that I have for connecting to my Time Capsule boxes so I can backup the system entirely.
I never had these issues with Monterey 12.X (except the third one has been an issue anyway) and I cannot make heads or tails for this. Has anyone had this issue and how did you fix it?
The T480 is 8250u+MX150 and cannot start normally when using efi, the screen is black and there is no picture, but there is a backlight display, how to solve it?
I have set up m trackpad to a perfect speed, but trackpoint is tied to trackpad speed and it feels slow and unusable at that speed
Can you suggest how to tweak it? Havent found anything on the internet about that tho
Sometimes when it goes to sleep it looks like it doesn't finish the process, the power button light starts to blink quickly and I have to do a hard reboot to fi it.
Most of the time sleep works fine, anyone else having this issue?
When I try to install it eventually restarts and sends me back to the restore DMG, try again and it will continue over and over again
I used the regular EFI and tried installing Ventura
Also you say Thunderbolt doesn't work, should the patch to disable it always be enabled then? I don't know if that could be the issue, I left the patch disabled
My T480 differs from yours in these ways:
i7 8650u instead of an i5
32 GB instead of 8GB
Samsung 512GB SSD instead of an Intel one
it has a US keyboard instead of a German one
I have an Intel wifi card according to Ubuntu's lspci command
The front USB port is only mapped for USB 2.0, the one nearest the rj45 port works with 2 and 3 devices.
This is in the latest version/1.2.2
Disabling the usbmap kext resolves the issue.
@valnoxy sorry for disturbing you again but, bluetooth keeps on crashing. In sys pref I get the notification saying: Could not load bluetooth preference pane and bluetooth doesn't work off the menu bar either. its probably a bug but can you try to get it fixed? Thanks :D
After I've tried Ventura beta2 with latest 1.2.1 repo, I had good experience with Apple Music. AAC256 not skipped and I could listen to my music normally. But after I downgraded to Monterey (clean install, 1.2.1 repo, Monterey efi) my music started to skip no matter quality and dolby settings. So idk, maybe there is something in Ventura EFI config that works better than on Monterey EFI
Hey there,
as the title says, my HDMI output is not working.
Whenever I plug in any external monitor, trough the built in HDMI port, my built in display goes black and reenables after 2-3 seconds. After this the built in is working normal, but not the external one... (1080p@144 or 1080@60). The external monitor isn't even turning on to say something like "unsupported input" it does straight nothing.
To me it looks like it wants to connect but fails at some point, I don't know.
I hope there is a known solution.
*EDIT:
The brightness controls also don't work. Not trough the Keyboard or trough the System Preferences (or menu bar).
Sidecar with an iPad is working normal. (not via WiFI but this is due to my WiFi card)
Updated to ventura using this EFI, only thing that doesn't seem to work is that I cannot see my Iphone in finder. Port is charging and can see other USB(s). Any fixes?
So... Ive reinstalled monterey cnleanly a couple of times, and after some time this error keeps appearing in my notifications. It causes some things just to not work.
On real Macs this issue appeared in Monterey betas and has been resolved completely on 12.2 update. So this is what I gathered on the internet so far. Also people suggest reinstalling Monterey the clean way or reset NVRAM settings. So my guess is that its something with NVRAM is going on.
My install of Montereyy is flawless, everything works except things that was already marked as not working.
Ill update you on more info if I will find any, GL)
I'm experiencing colour banding when using this config (only issue so far, props!). I've tried editing config.plist and adding custom WhateverGreen as described here, but it fails to boot.
Any suggested solution? Thanks very much in advance.
I'm sure I'm just being an idiot, but I am completely confused at the final step of setting up the drive. You tell us to copy the folder to the EFI partition, a partition we never made. There's just the primary. How do we get to this partition we never set up?
EDIT: Is it saying to copy the EFI folder, sitting in the root of the only partition we made, into the com.apple.recovery.boot? Is that treated as the "EFI partition" here?
It's just a bit frustrating that you explain everything in explicit detail, then at the most critical juncture, I'm left to my own devices to interpret this.
I installed macos ventura on an external disk and am connecting my iPhone to the T480. Trusting devices on both sides… Still not able to get continuity camera to work. Not even universal control works when connecting my iPad.
AltGR is identified as left_option but must be right_option.
Thanks a lot
Followed the instructions to the letter (twice)
Machine boots, I select the USB, it opens the OpenCore Boot Menu.
I select
Screen goes black, then pops up with
OCB: LoadImage failed - Unsupported
I chose to go with Ventura.
Thinkpad T480
BIOS version N24ET72P (1.47)
BIOS date 2023-01-03
Plist can be found here
https://pastebin.com/EXXYY3eU
Any help would be appreciated. Thanks.
will it work?
It works flawlessly only with resolution 1424x802, but other resolutions after sleep behave not as expected. The whole screen after sleep is cropped and it appears at the top left corner of the screen
some solutions that might work:
https://github.com/tylernguyen/razer15-hackintosh/blob/master/docs/4_README-POSTinstallation.md
@valnoxy I have an Intel AX210 WiFi/Bluetooth card. When using the airportitlwm EFI and going through the Ventura installation process, there is no WiFi. When I click turn on WiFi, I am given an error that says “no internet connection” and no networks show up when I click show networks or scan networks.
Plugging in the Ethernet cable does not work, and I’ve tried changing the MAC address to the WiFi card as well as using the EFI with Heliport with no luck.
However, when I go through the Monterey installation process using the same airportitlwm EFI, the WiFi connects automatically without me having to do anything, however the usb through the dock doesn’t work. What could I be missing?
I bought a BCM94360NG card, but i can't enable airDrop.
I have the laptop but with I7 8650U after erasing the SSD then i continue to install but suddenly when i reach 11 minutes laptop getting restart and start over all things like tilling me to install the OS not attempting me for the new selection of Install MacOS as usual.
can anyone help, please note i tried with Big Sur, Monterey and Ventura all giving same then i tried to change the CPU model but it's not loading any more.
many thanks in advance.
Appreciate you for sharing your EFI folder. I have the same T480 h/w configuration and wish to install Big Sur and beginning by comparing my EFI based on Dortania's guide to your configuration.
My naive question is are all the 17 SSDT necessary. Many I have not seen in the guide. Similarly 30 kext files is much larger than the 14 or so I gathered.
Thanking you in advance for input.
I also tried re-patching the Broadcom card myself but it's not working(continuity and handoff). Airdrop is perfect.
Can I update from Monterrey to Ventura using System Update ?
Key's like BACKSPACE do not work properly. Could be macOS Beta or ThinkpadAssistant (mainly SSDT).
-> macOS Ventura (22A5331f)
-> Development Branch (1850bb4)
-> The issue occurred in Spotlight
need more testing...
In Apple Music AAC 256 works fine, but alac loseless and hi res loseless don't work, just constantly skipping tracks
When booting off the pendrive, the apple logo appears, it loads for a bit and then the laptop restarts. Ive done everything as it is in the guide, i also have a i5-8350U. I am using a 8gb Philips usb, if that matters. Also tried the original valnoxy repo and same issue is apparent. I tried many things, nothing works. I have disabled thunderbolt with the kexts provided in the config.plist, also have enabled/disabled all the things mentioned in the guide. I am using the Ventura images
Its mostly fine but sometimes applications in the dock need to be double clicked to work. Plus, 3 finger tracking is not the best either. can you try to match it with EEtagent's one somehow? And this is for the master Monterey EFI.
I did diskutil list
and saw the partition is /dev/disk0s1, so I then did sudo diskutil mountDisk disk0s1
Then in finder I tried to copy the contents of the EFI folder on my USB drive over to the EFI partition and I got the error:
The item "com.apple.recovery.boot" can't be copied because there isn't enough space.
(I've typed out the error hence the different quotation marks)
Edit: I see the problem, I tried to copy the wrong folder. It seems to be resolved now
while waking the computer from sleep while on charge or after charge while sleeping. sometimes it won't even work after booting up. plus my tracepoint and touchpad buttons aren't working... any fixes? that's probably a problem on my side
Just upgraded over-the-air my t480 to Ventura version. Looks like my device (Lenovo T480) only powering off its display when sleep is initiated, it doesn't behave like it did in the Monterey version which does sleep with no fan activity and blinking lid cover led
ı use the efi and there is a color banding problem on my t480 screen with the efi. Can we solve this problem with spoofing cpu and platform id . ı did use lilucpu = 8 flag, platform id = 00001619 and ı have no color banding. but lilucpu=8 flag caused boot error in ventura.
My T480 under macos big sur runs totally fine at around 50 degrees centigrade. The problem is, when i boot up into ventura, that 50 becomes around 70 - 80 degrees. Any way on how to decrease this? Dont want my laptop thermal throttling
Hi,
thanks for buid,
i fond some strange things when using Fn key: (logged by Karabiner-EventViewer)
Fn + P = F15, Fn + S = F18, Fn + K = F14, Fn + B= Left Control, Fn + Left Arrow = Home
Fn + F4 = Nothing (just turning on led),
Fn + F7-10 = Nothing, Fn + F12 = Nothing
Fn + 4 = Crash => system shutting down
is there possibility to make ¨nothing¨ keys work as next functional keys?
Like: Fn + F4 = F13, Fn + F7 = F16, Fn + F8 = F17, Fn + F9 = F18 ...
Thanks Andy
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.