Jump to content
K0gen

Lenovo ThinkPad T420 with UEFI Only

4,980 posts in this topic

Recommended Posts

@OneMore

 

I have upgraded from 10.9.5 to 10.10.0 to 10.10.1 doing online upgrades

- the new AppleHDA_20672 and BroadcomBluetooth_T420 kexts are version agnostic now

- just download updates and run. the box behaves very much the sameway a real mac does for updates.

Share this post


Link to post
Share on other sites
Advertisement

@tluck:

Good news about update! Will do that.

The card arrived (I ordered a little bit more expensive "black" abgn version), installed, works!

Now I realized that T420 has full multi-touch trackpad, and only two-fingers touch and scroll works for me.

But all proofs I could see (like this YouTube video, pointing back to our forum) show it's not Yosemite there... looks like full compatibility is only supported for earlier versions?

Or multi-finger gestures work for you in 10.1?

Thanks,

me

Share this post


Link to post
Share on other sites

@OneMore -  i can do 3 finger multigestures with the Safari browser - for example I mapped to left/right swipes to back and forward - i put that in the VoodooPS2 kext in the zip. the multigesture support is not as "universal" as on a mac. meaning the mappings may not work everywhere.

so anyway, put 3 fingers arranged so the tips are sort of vertically aligned and then swipe left to right (back) or right to left (forward)

 

from rehabman --  so i remapped the left and right swipe - but up and down can be mapped to actions using keyboard prefs - i think these are still correct for up/down:

 

  • Swipe Up, Down, Left, Right are now assigned by default to the following keyboard combinations: Control+Command+UpArrow, Control+Command+DownArrow, Control+Command+LeftArrow, Control+Command+RightArrow. This should work better with international keyboards. You will need to use System Preferences -> Keyboard -> Keyboard Shortcuts to adjust to assign these keys to your desired actions. If you were using three finger swipe left and right for back/forward in your web browser, you will need to reconfigure these actions via the Info.plist or use a program like KeyRemap4MacBook to remap the keys generated to the keys used by your browser for forward/back (that's what I plan to do).

Share this post


Link to post
Share on other sites

Does anyone get right resolution (1600x900) at Clover boot screen? I tried install CsmVideo uefi driver / PatchVBios / set Resolution in config.plist but nothing works, CsmVideo driver and PatchVBios prevent Clover from showing up. I'm using T420s.

Share this post


Link to post
Share on other sites

@nhoc_maruko9x - no, i never have. not sure the bios supports it.... the table below seems to be the choices. so for 1600x900 (16:9) - the closest ratio is 960x600 (16:10)

 

option                 X     Y  Ratio

80x25              640 480 4:3

96x25              768 480 16:10

120x31            960 600 16:10

128x40          1024 768 4:3

100x31            800 600 4:3

Share this post


Link to post
Share on other sites

 

@OneMore -  i can do 3 finger multigestures with the Safari browser - for example I mapped to left/right swipes to back and forward - i put that in the VoodooPS2 kext in the zip. the multigesture support is not as "universal" as on a mac. meaning the mappings may not work everywhere.

so anyway, put 3 fingers arranged so the tips are sort of vertically aligned and then swipe left to right (back) or right to left (forward)

 

from rehabman --  so i remapped the left and right swipe - but up and down can be mapped to actions using keyboard prefs - i think these are still correct for up/down:

 

  • Swipe Up, Down, Left, Right are now assigned by default to the following keyboard combinations: Control+Command+UpArrow, Control+Command+DownArrow, Control+Command+LeftArrow, Control+Command+RightArrow. This should work better with international keyboards. You will need to use System Preferences -> Keyboard -> Keyboard Shortcuts to adjust to assign these keys to your desired actions. If you were using three finger swipe left and right for back/forward in your web browser, you will need to reconfigure these actions via the Info.plist or use a program like KeyRemap4MacBook to remap the keys generated to the keys used by your browser for forward/back (that's what I plan to do).

 

Where exactly is that info.plist file? I just want to use the generic OS X gestures (swipe left/right to switch desktops, swipe up to show mission control, etc).

Share this post


Link to post
Share on other sites

@Ezhik

the Info.plist is here:

 

 /System/Library/Extensions/VoodooPS2Controller.kext/Contents/PlugIns/VoodooPS2Keyboard.kext/Contents

 

for wifi, i got an Atheros chip that was plug and play and very inexpensive. I got an AR9280 AR5BHB92 half size mini PCI-E card. With a modified BIOS (no whitelist), it worked out of the box.

Share this post


Link to post
Share on other sites

@nhoc_maruko9x - no, i never have. not sure the bios supports it.... the table below seems to be the choices. so for 1600x900 (16:9) - the closest ratio is 960x600 (16:10)

 

option                 X     Y  Ratio

80x25              640 480 4:3

96x25              768 480 16:10

120x31            960 600 16:10

128x40          1024 768 4:3

100x31            800 600 4:3

I noticed that when I boot with the discrete graphics on, I get the boot menu in native resolution, however I get stuck on "NVDAStartup: Official" when actually booting into OSX.

Also, I seem to lose TrackPoint's middle button scrolling functionality when I disable the trackpad in BIOS. Is there anything that can be done about this? I really prefer the TrackPoint.

Share this post


Link to post
Share on other sites

@OneMore - if your LCD goes dim after boot up - did you try to brighten by SrlLck/Pause - F14/F15.  it may have gotten low setting somehow?

however, with ACPIBackight kext installed you may have trouble booting with LCD closed - for me it remains dark unless i boot with lid open. remove this kext if this how you prefer to boot.

Can you install ACPIBacklight debug and test the problem?

 

And report this to https://github.com/RehabMan/OS-X-ACPI-Backlight too.

 

Thanks!

Share this post


Link to post
Share on other sites

@pokenguyen.

 

yeah. i tried debug and did post an issue. rehabman looked at it. never figured out it out. personally i prefer to  keep my LCD open as 2nd (non-mirrored) screen.

Share this post


Link to post
Share on other sites

This is a great guide, and the kexts/EFI/DSDT/SSDT work wonderfully. I tried with 10.9.5 and 10.10.1 and everything is polished and working except the headphone jack bug where sometimes the audio devices fail to switch. Any idea what causes it?

Also, what WiFi card would you recommend for this thing?

Personally, I used a Dell DW1510, based on a popular Broadcom chipset. It works out of the box in Mavericks/Yosemite without any extra kexts.

Share this post


Link to post
Share on other sites

@Boctor - no idea why the audio jack sometimes needs be plugged and replugged to work.

@Tetonne - i have upgraded to 10.10.2 from 10.10.1. very easily as well. just downloaded and go!

 

However, i did notice there is a powerd message every 30 seconds in /var/log/system.log with 10.10.2

not sure what to do about it yet. could be new feature or bug with powerd?

for the time being, I just replaced /System/Library/Coreservices/powerd.bundle with the 10.10.1 version to stop the log messages.

Share this post


Link to post
Share on other sites

However, i did notice there is a powerd message every 30 seconds in /var/log/system.log with 10.10.2

not sure what to do about it yet. could be new feature or bug with powerd?

for the time being, I just replaced /System/Library/Coreservices/powerd.bundle with the 10.10.1 version to stop the log messages.

I have not that issue here

Share this post


Link to post
Share on other sites

...

 

However, i did notice there is a powerd message every 30 seconds in /var/log/system.log with 10.10.2

not sure what to do about it yet. could be new feature or bug with powerd?

for the time being, I just replaced /System/Library/Coreservices/powerd.bundle with the 10.10.1 version to stop the log messages.

 

I just install 10.10.2 update and have no issues so far.

Share this post


Link to post
Share on other sites

@Boctor - no idea why the audio jack sometimes needs be plugged and replugged to work.

@Tetonne - i have upgraded to 10.10.2 from 10.10.1. very easily as well. just downloaded and go!

 

However, i did notice there is a powerd message every 30 seconds in /var/log/system.log with 10.10.2

not sure what to do about it yet. could be new feature or bug with powerd?

for the time being, I just replaced /System/Library/Coreservices/powerd.bundle with the 10.10.1 version to stop the log messages.

 

I also had that message about powerd. I did what tluck did and the message is gone.  

Share this post


Link to post
Share on other sites

@superkwn - what is the value that it reports? is the same 0xe00002f0? this maybe a clue as how to fix this? i checked the powerd binary and the old version does not seem to have a check for this. 

Share this post


Link to post
Share on other sites

After almost 500 downloads in the last month or so (there is quite a number of Lenovo users out there!) I thought perhaps it was time to post a more recent bundle. 

Clover UEFI on T420 Guide

 

Feedback encourages and welcome of course. This has very minor changes since the last bundle.

 

Note: I still have not figured out anything on the powerd message on 10.10.2 - other than the workaround to revert to older version. It seems benign other than cluttering the log file. At least 1 HP user is seeing a similar thing so we are not alone!

 

Over the last few days, I began testing a new ethernet driver by Mieze - so far so good. It has TSO support. So when that becomes a bit more hardened etc, I expect that to replace the older but stable 2.4.14 driver. 

 

04-February-2015 Update

  • Updated to Clover r3158 - compiled to remove text before GUI
  • Recompiled ACPIBatteryManager.kext
  • Added universal time registry fix for dual boot with Windows for consistent time.
  • Tweaked _kext_install script to fix/recreate symbolic links for custom kexts.

Share this post


Link to post
Share on other sites

 

After almost 500 downloads in the last month or so (there is quite a number of Lenovo users out there!) I thought perhaps it was time to post a more recent bundle. 

Clover UEFI on T420 Guide

 

Feedback encourages and welcome of course. This has very minor changes since the last bundle.

 

Note: I still have not figured out anything on the powerd message on 10.10.2 - other than the workaround to revert to older version. It seems benign other than cluttering the log file. At least 1 HP user is seeing a similar thing so we are not alone!

I have noted having to have the ACID key for mobile platform in FakeSMC to kozlek back in 2013, he had it there for quite some time but then somehow lost it with refactoring. It's an SMC key that defines AC adapter info, which is what the powerd is trying to read. 

#define kACIDBit 44 // size 12
#define kACPowerBit 36 // size 8
#define kACRevisionBit 32 // size 4
#define kACSerialBit 8 // size 24
#define kACFamilyBit 0 // size 8
 
valFamily = (acBits >> kACFamilyBit) & 0xFF;
valSerial = (acBits >> kACSerialBit) & 0xFFFFFF;
valRevision = (acBits >> kACRevisionBit) & 0xF;
valPower = (acBits >> kACPowerBit) & 0xFF;
valID = (acBits >> kACIDBit) & 0xFFF;

Pull one from some relevant Macbook model and the spam will be gone. You also should be seeing this (or similar) on Power section of System Info:

3c8b13a3af.png

 

I here for some reason get gfx artifacts as if I hadn't any fixes like displayoverride, slide=0. Any tips on this?

Share this post


Link to post
Share on other sites

@TimeWalker - good to hear from you! i hope all is well with you.

 

well that fixed the repeating powerd messages. can't thank you enough.

to be clear, i added SMC key ACID - copied the value from my MacBook Pro and i get this 1 time on startup - but then no more! (running 10.10.3 beta). 

 

Feb  8 20:04:38 localhost powerd[29]: Failed to read current rating(0xe00002f0)

Feb  8 20:04:39 localhost powerd[29]: Activity changes from 0xffff to 0x0. Assertions:1 HidState:0

 

now my AC looks like this in the system info  - without ACID key,  I just had 2 values: Connected and Charging. 

 

AC Charger Information:

 

  Connected: Yes

  ID: 0x0100

  Wattage (W): 85

  Revision: 0x0000

  Family: 0x00ba

  Serial Number: 0x0035c3de

  Charging: No

 

----

 

 

 
GFX artifacts? you mean they just starting showing up in Yosemite? I wish I had some tips (other than a futzing with EDID values) - i have not seem any gfx glitches in a long time (except when i omitted slide=0 by mistake). what is your display resolution? perhaps some other EDID may work better? 

Share this post


Link to post
Share on other sites

I have swapped my 8 GB of 1333 ram with 4 GB of 1600 RAM from my MacBook to my Dell. Ever since I changed the ram to 4 GB I get random horizontal screen tearing with the lines appearing and flickering all across the screen. I have had slide=0 and EDID override for my 14" 1366x768 panel forever, but it's not cutting it anymore for some reason with 10.10.3. Might have to look at your tips for panel size adjustments.

Share this post


Link to post
Share on other sites

I used to rely on the assumption of having horizontal sync offset = 48 and horizontal sync pulse width = 32 cure the artifacts, but it doesn't seem to help anymore. I was also playing with pixel clock back in the day an it helped resolve the artifacting for good. Having read your suggestion to alter panel size to 310x174, from default 16:9 format of 309x174 doesn't really change anything for me currently, random horizontal lines still persists. I feel violated :S 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By TimothyF
      My steps so far:
      Set up Catalina install USB exactly according to Plain Vanilla guide. Disconnect my Windows drive in PC, so that only the empty Hard Drive is connected to Motherboard. Boot to USB, select Install Catalina option. BIOS set to UEFI, Safe mode Off. Always get stuck at the same IOconsoleUsers: GIOScreenLockState point. Tried -radvesa, -radoff, nv-disable=0 boot options (separately), and disabling BIOS virtualization (vt-d) -> NO luck. This from the top search result https://www.reddit.com/r/hackintosh/comments/b5a6ry/ioconsoleusersgioscreenlockstate_3_blackscreen/  
      Screen pics attached. Here are the last couple of lines that could be important:
      GTrace synchronization point 4
      Unsupported CPU
      Unsupported PCH
      Adding ADGP mode validate property
      hmm.. mismatch sizes 3100 vs 20
      IOConsoleUsers: time(0) 0->0, lin 0, llk 1,
      IOconsoleUsers: gIOScreenLockState 3, hs 0, bs 0, now 0, sm 0x0
       
      Please give me some ideas what else might work. Thank you.


       
       
      Other details of Clover and Desktop PC below:
       
      Clover USB specs OS installer used: Catalina (10.15) Clover revision: 5103 Kexts included: ATH9KFixup.kext AppleALC.kext Lilu.kext RealtekRTL8111.kext USBInjectAll.kext VirtualSMC.kext WhateverGreen.kext config.plist: config.plist ------------------------------------------ Target Desktop specs: Dell Inspiron 3847 (64 bit) CPU: Intel Core i5-4460, 3.2 GHz, 4 cores Architecture: Haswell GPU: Intel HD 4600 Motherboard: Dell 088DT1 (version A01) Chipset: Intel H81 Install method: with USB, configured with Clover, 100% following Plain Vanilla guide for Desktops RAM: 12 GB, 2 slots Hard drive for installation: SATA HDD 4TB, by HGST LAN: RTL8111/8168/8411 WLAN: AR9565 (atheros) Audio: Realtek ALC661 (not 100% sure this is correct)  
    • By MaLd0n
      Install MacOS with Olarila Image, Step by Step, Install and Post Install  
      https://www.olarila.com/topic/5794-hackintosh-guide-install-macos-with-olarila-image-step-by-step-install-and-post-install-windows-or-mac/
          First... If you need DSDT edits for SkyLake, KabyLake or CoffeeLake... -Post your full Clover folder with original tables in Origin folder(Extract with F4 in Clover boot screen) -Post Ioreg, extract with Ioreg Explorer http://www.insanelymac.com/forum/index.php?app=core&module=attach&section=attach&attach_id=222606 -Run it, post files generated in your desktop http://www.insanelymac.com/forum/index.php?app=core&module=attach&section=attach&attach_id=222609  Installation   --Create a bootable copy of macOS Sierra Check out the link http://www.insanelymac.com/forum/files/file/559-flash-drive-maker/   --Create a bootable copy of macOS HighSierra Check out the link http://diskmakerx.com/   --Paste my EFI folder into EFI partition  EFI GA H110M-S2.zip     --Install Sierra/High Sierra and boot into system!   Post Installation   --Paste my EFI folder into EFI partition  EFI GA H110M-S2.zip     --Reboot and activate video!   -Nvidia WebDriver Sierra http://www.insanelymac.com/forum/topic/312525-nvidia-web-driver-updates-for-macos-sierra-update-07212017/ -Nvidia WebDriver High Sierra http://www.insanelymac.com/forum/topic/324195-nvidia-web-driver-updates-for-macos-high-sierra-update-10162017/ -Cuda http://www.insanelymac.com/forum/topic/302795-cuda-90214-is-out-update-10162017/   --DSDT My DSDT with Skylake patches DSDT.GA H110M-S2.zip   Patches -FIX ERRORS AND WARNINGS -HPET -SATA -DMAC -SLPB -DARWIN -LPC -XHCI -PLUGIN TYPE -HDAS to HDEF -HDEF -RTC -IRQs -SBUS -BUS1 -MCHC -ALS0 -SHUTDOWN -LAN -USBX -PMCR -EC -PNLF -HDMI   -Credits and thanks to the old and new people in the community who developed patches, kexts and bootloaders!   Slice, Kabyl, usr-sse2, jadran, Blackosx, dmazar, STLVNUB, pcj, apianti, JrCs, pene, FrodoKenny, skoczy, ycr.ru, Oscar09, xsmile, SoThOr, RehabMan, Download-Fritz, Zenit432, cecekpawon, Intel, Apple, Oracle, Chameleon Team, crazybirdy, Mieze, Mirone, Oldnapalm, netkas, Elconiglio, artut-pt, ErmaC, Pavo, Toleda, Master Chief and family, bcc9, The King, PMheart, Sherlocks, Micky1979, vit9696, vandroiy2013, Voodoo Team, Pike R. Alpha, lvs1974, Austere.J, CVad and many, many, many others!   We're all here to have fun and learn from each other!   ENJOY!  
    • By STLVNUB
      Script file to clone Clover, Opencore (official and unofficial) repos
      Script will create link to itself in /usr/local/bin/bob
      Wouldn't hurt to check there are no "Bob"'s there, i "Hope" there isn't.
      Then you only need to type bob. and a parameter
      "n" for NDK repo, unofficial
      "a" for ACID repo, official
      "c" for CLOVER
      It also takes "all" for ALL, if your game
       
      Easier typing bob than.....usual stuff
      Enjoy
       
    • By TimothyF
      My PROBLEM: I followed the Plain Vanilla guide (https://hackintosh.gitbook.io/-r-hackintosh-vanilla-desktop-guide/) to a T in creating the OS X Catalina installer USB. I'm totally new to Hackintosh, and just want an Apple environment to Time Machine migrate my files and system from my ageing MacBook Pro. When I start to use the USB on the target PC (Dell Inspiron 3847 desktop), I ONLY see the Microsoft (which is the original OS, and on a SEPARATE Hard drive from where I want to install Mac OS), ZERO option for installing the OSX Catalina! Please SEE PICTURE link: https://imgur.com/a/FnLB2Q9   I'm a beginner, but I tried to google my problem. The answers were either incomplete, hard for me to understand and put into action, or were outdated and applied to older OSXs. I appreciate any help in diagnosing and solving this problem!   Clover USB specs OS installer used: Catalina (10.15) Clover revision: 5103 Kexts included: ATH9KFixup.kext AppleALC.kext Lilu.kext RealtekRTL8111.kext USBInjectAll.kext VirtualSMC.kext WhateverGreen.kext config.plist: see attached ------------------------------------------ Target Desktop specs: Dell Inspiron 3847 (64 bit) CPU: Intel Core i5-4460, 3.2 GHz, 4 cores Architecture: Haswell GPU: Intel HD 4600 Motherboard: Dell 088DT1 (version A01) Chipset: Intel H81 Install method: with USB, configured with Clover, 100% following Plain Vanilla guide for Desktops RAM: 12 GB, 2 slots Hard drive for installation: SATA HDD 4TB, by HGST LAN: RTL8111/8168/8411 WLAN: AR9565 (atheros) Audio: Realtek ALC661 (not 100% sure this is correct)   ------------------------------------ Attached:
      Screenshot of Clover installer not showing the Mac OSX option
      config.plist of my installer USB
      Clover_Install_Log.txt (not sure if this is relevant)   THANK YOU VERY MUCH!     config.plist
      Clover_Install_Log.txt
    • By midi-sama
      After a long time of cooking this computer up with a lot of stuff, I'm finally releasing my guide for this P50 with OpenCore.
       
      Lenovo ThinkPad P50 macOS Install with OpenCore
       
      This thread may be used for questions/corrections/additions. Good Luck.
×