Jump to content
K0gen

Lenovo ThinkPad T420 with UEFI Only

4,986 posts in this topic

Recommended Posts

Advertisement
11 hours ago, freddie said:

 

My fans are quiet on Sierra with my T420s i7-2620@2.7GHz. Maybe dust on the fans?

 

@pcace there is a option/fix to fan speed/heat. instead of relying on the bios to change fans speed which only seemed to run at 2 speeds. The "heat-step" DSDT versions has modified method to change fans speed depending on CPU temp - this requires using it + ACPIPoller.kext - both outlined in the Guide. you can modify temp triggers to match your needs - but there are 7 levels if I remember.

Share this post


Link to post
Share on other sites

Hi, I have change EDID inject to same as my own machine (see attached), but in System Preferences - Displays - Color there are no Lenovo profile (I just have fresh install). How to fix that?

EDID.rtf

Share this post


Link to post
Share on other sites

mojave update hdd to apfs by default

except that diskwarrior and techtool are not compatible with apfs

do u advice apfs for hdd or not?

 

Share this post


Link to post
Share on other sites
On 9/25/2018 at 8:46 AM, tluck said:

 

@pcace there is a option/fix to fan speed/heat. instead of relying on the bios to change fans speed which only seemed to run at 2 speeds. The "heat-step" DSDT versions has modified method to change fans speed depending on CPU temp - this requires using it + ACPIPoller.kext - both outlined in the Guide. you can modify temp triggers to match your needs - but there are 7 levels if I remember.

Hey there!

 

thank you again and again for your great work here!!

I kind of missed the point here ;) i am using the heat-step dsdt. And it is kind of working. I just realized, that under windows the fan can go up to 6500rpm. And i really would love to see that behaviour on the mac too. Not everytime, but when i am using this T420 in very hot environments... ...i do get scared, that i could ruin the machine - working at +100°C for hours and hours...

 

Any idea how to achieve that?

 

Cheers and thanks!!!!

 

PS.: i do know about this here: 

/* FAN control START */
                        If (LGreaterEqual (Local0, 0x55)) // CPU Temp is >= 85C
                        { Store (0x07, \_SB.PCI0.LPC.EC.HFSP) } // Set FAN Mode 7 - Maximum Speed 
                        Else {
                        If (LGreaterEqual (Local0, 0x50)) // CPU Temp is >= 80C
                        { Store (0x06, \_SB.PCI0.LPC.EC.HFSP) } // Set FAN Mode 6 
                        Else {
                        If (LGreaterEqual (Local0, 0x4B)) // CPU Temp is >= 75C
                        { Store (0x05, \_SB.PCI0.LPC.EC.HFSP) } // Set FAN Mode 5 
                        Else {
                        If (LGreaterEqual (Local0, 0x46)) // CPU Temp is >= 70C
                        { Store (0x04, \_SB.PCI0.LPC.EC.HFSP) } // Set FAN Mode 4 
                        Else {
                        If (LGreaterEqual (Local0, 0x41)) // CPU Temp is >= 65C
                        { Store (0x03, \_SB.PCI0.LPC.EC.HFSP) } // Set FAN Mode 3 
                        Else {
                        If (LGreaterEqual (Local0, 0x3C)) // CPU Temp is >= 60C
                        { Store (0x02, \_SB.PCI0.LPC.EC.HFSP) } // Set FAN Mode 2 
                        Else {
                        If (LGreaterEqual (Local0, 0x01)) // CPU Temp is >= 01C
                        { Store (0x01, \_SB.PCI0.LPC.EC.HFSP) } // Set FAN Mode 1 - Lowest Speed 
                        }
                        }
                        }
                        }
                        }
                        }
/* FAN control END */

But it seems that Fan Mode 7 is around 4500rpm. Wich is not the fastest it can go...

 

cheers

Share this post


Link to post
Share on other sites

Hey, just a quick answer (+ question) to my last post. 

 

i did look at a acpi patch for controlling fan speed on linux and found out, that there are 2 more modes to 0-7. 

there is also mode 64 and mode 128. mode 64 is supposed to be "disengaged" mode, mode 128 is "auto" mode. 

if i try to use either one of them, nothing happens. 

so what i did is, open up my dsdt.dsl (former name dsdt.heat-step.dsl) in the efi/acpi folder with maciasl and swiched the line: 

                        If (LGreaterEqual (Local0, 0x55)) // CPU Temp is >= 85C
                        { Store (0x07, \_SB.PCI0.LPC.EC.HFSP) } // Set FAN Mode 7 - Maximum Speed 
                        Else {

 

to 

 

                        If (LGreaterEqual (Local0, 0x55)) // CPU Temp is >= 85C
                        { Store (0x40, \_SB.PCI0.LPC.EC.HFSP) } // Set FAN Mode 7 - Maximum Speed 
                        Else {

 

saved it as aml, rebooted but nothing happens (yes, i am using the acpi kext in /Lib/ext..... Is there any reason why i would not be able to engage this mode??

here are some links:

https://forum.thinkpads.com/viewtopic.php?t=107512

http://www.thinkwiki.org/wiki/Patch_for_controlling_fan_speed

https://www.thinkwiki.org/w/index.php?title=Code/ibm-acpi-0.11-2.6.13-fan.patch&action=raw&ctype=application/octet-stream

 

Cheers and THANKS!!!

 

 

EDIT: I dont quite know what happened, i did some reboots and now it is working!?

the aml is looking like that now: 

/* FAN control START */
                        If (LGreaterEqual (Local0, 0x55)) // CPU Temp is >= 85C
                        { Store (0x40, \_SB.PCI0.LPC.EC.HFSP) } // Set FAN Mode 7 - Maximum Speed 
                        Else {
                        If (LGreaterEqual (Local0, 0x50)) // CPU Temp is >= 80C
                        { Store (0x07, \_SB.PCI0.LPC.EC.HFSP) } // Set FAN Mode 6 
                        Else {
                        If (LGreaterEqual (Local0, 0x4B)) // CPU Temp is >= 75C
                        { Store (0x06, \_SB.PCI0.LPC.EC.HFSP) } // Set FAN Mode 5 
                        Else {
                        If (LGreaterEqual (Local0, 0x46)) // CPU Temp is >= 70C
                        { Store (0x05, \_SB.PCI0.LPC.EC.HFSP) } // Set FAN Mode 4 
                        Else {
                        If (LGreaterEqual (Local0, 0x41)) // CPU Temp is >= 65C
                        { Store (0x04, \_SB.PCI0.LPC.EC.HFSP) } // Set FAN Mode 3 
                        Else {
                        If (LGreaterEqual (Local0, 0x3C)) // CPU Temp is >= 60C
                        { Store (0x02, \_SB.PCI0.LPC.EC.HFSP) } // Set FAN Mode 2 
                        Else {
                        If (LGreaterEqual (Local0, 0x01)) // CPU Temp is >= 01C
                        { Store (0x01, \_SB.PCI0.LPC.EC.HFSP) } // Set FAN Mode 1 - Lowest Speed 
                        }
                        }
                        }
                        }
                        }
                        }
/* FAN control END */

Thanks!!!

Bildschirmfoto 2018-09-26 um 22.28.11.jpg

Edited by pcace

Share this post


Link to post
Share on other sites

Hi guys, anyone knows how to enable the fn+Play/Stop shortcuts to control iTunes on a T420? The fn+Next/Previous work fine...

 

Thanks!

Share this post


Link to post
Share on other sites
4 minutes ago, freddie said:

Hi guys, anyone knows how to enable the fn+Play/Stop shortcuts to control iTunes on a T420? The fn+Next/Previous work fine...

 

Thanks!

 

Fn+Play/Pause works on mine.

Share this post


Link to post
Share on other sites
12 hours ago, bedfellow said:

 

Fn+Play/Pause works on mine.

 


You have T420, right? Where did you get your keyboard config file? Could you upload it here please?

 

Share this post


Link to post
Share on other sites
5 minutes ago, freddie said:

 


You have T420, right? Where did you get your keyboard config file? Could you upload it here please?

 

 

For me, it just worked after using tlucks Lenovo-T420-Clover files whilst installing macOS.

Share this post


Link to post
Share on other sites
2 hours ago, bedfellow said:

 

For me, it just worked after using tlucks Lenovo-T420-Clover files whilst installing macOS.

 

Yes, got the same files... but no response from Play/Pause/Stop keys. Also I have brightness on the ScrLk and Pause keys...

How can I reset the files? Install the kexts again?

Share this post


Link to post
Share on other sites

@freddie

FN+arrows give me iTunes back/play/forward

install the lastest VoodooPS2Controller from the zip.

and if you replace the SSDT-T420-PS2K.aml with the SSDT-T420-PS2K-keys.aml

and these keys will do the same.

PrtScrn/ScrLck/Pause

Share this post


Link to post
Share on other sites
2 hours ago, tluck said:

@freddie

FN+arrows give me iTunes back/play/forward

install the lastest VoodooPS2Controller from the zip.

and if you replace the SSDT-T420-PS2K.aml with the SSDT-T420-PS2K-keys.aml

and these keys will do the same.

PrtScrn/ScrLck/Pause

thanks tluck, I have re-installed VoodoPS2Controller.kext with [url="http://www.insanelymac.com/forum/topic/279450-why-insanelymac-does-not-support-tonymacx86/"]#####[/url], but still nothing. do I have to set something in the config.plist? (sorry for the noob questions)

 

Share this post


Link to post
Share on other sites
8 hours ago, tluck said:

@freddie

 

do you have the DSDT and SSDT from the zip in place too? 

 

I've just went through your guide here at insanelymac. Where should they be?

Thanks!

Edited by freddie

Share this post


Link to post
Share on other sites
4 hours ago, freddie said:

 

I've just went through your guide here at insanelymac. Where should they be?

Thanks!

1.1 Overview and Downloads

https://github.com/tluck/Lenovo-T420-Clover/releases/latest

Share this post


Link to post
Share on other sites
6 minutes ago, tluck said:

1.1 Overview and Downloads

https://github.com/tluck/Lenovo-T420-Clover/releases/latest

 

Sorry tluck, I've expressed myself wrongly.

I have followed your guide to install hackintosh on my T420s, but I don't know how to install/configure these DSDTs or SSDTs you are talking about... I see the ones for the keyboard on my EFI folder, but I'm not sure if they are wel configured or installed. Do I have to use Clover Configurator?

Share this post


Link to post
Share on other sites

@freddie 

 

the ACPI files are in the EFI/CLOVER/ACPI folders 

clover reads ACPI/patched/DSDT.aml and SSDT*aml

the SSDT updates/sets a variety of values for the keyboard and TrackPad - so you dont have to edit the kext.

and there is a newer SSDT (in ACPI not ACPI.t420s) to remap keys to make it more like a real mac - called SSDT-PS2K-T420-keys.aml (and the source .dsl) file

these ACPI files have 2 identifiers - LENOVO and T420 to match the DSDT/SSDT and the properties in VoodooPS2Controller.kext.

 

Note: i dont know if the keyboard is different on a T420s vs T420. and it would help if you listed your system in your signature. i dont have a t420s so i dont update the ACPI.t420s files. but they are somewhat consistent.

Share this post


Link to post
Share on other sites

Hi @tluck

Thank you very much for your efforts

 

I have E560 and I found this topic

https://www.tonymacx86.com/threads/stable-lenovo-e560-full-work.248842/

 The guy use your T460 file to make E560 working

 

I have the same E560 but I have a different CPU and I don't know if I should do any changes to his files?

And I should I make my own files like DSDT and SSDT and config.plist and do the patchs?

if so how to do that?

 

I am sorry to ask you about another laptop but I will be very grateful if you could help me

Edited by Web Developer

Share this post


Link to post
Share on other sites
29 minutes ago, tluck said:

@freddie 

 

the ACPI files are in the EFI/CLOVER/ACPI folders 

clover reads ACPI/patched/DSDT.aml and SSDT*aml

the SSDT updates/sets a variety of values for the keyboard and TrackPad - so you dont have to edit the kext.

and there is a newer SSDT (in ACPI not ACPI.t420s) to remap keys to make it more like a real mac - called SSDT-PS2K-T420-keys.aml (and the source .dsl) file

these ACPI files have 2 identifiers - LENOVO and T420 to match the DSDT/SSDT and the properties in VoodooPS2Controller.kext.

 

Note: i dont know if the keyboard is different on a T420s vs T420. and it would help if you listed your system in your signature. i dont have a t420s so i dont update the ACPI.t420s files. but they are somewhat consistent.

 

Thanks tluck!

Well, I tried the different SSDTs but none of them made the Play/Pause work.

 

I've used Karabiner-EventViewer to see what happens when I press these keys, and there's no event being recorded... don't know what to do :( Is there a way to remap these keys?

Share this post


Link to post
Share on other sites
1 hour ago, freddie said:

 

Thanks tluck!

Well, I tried the different SSDTs but none of them made the Play/Pause work.

 

I've used Karabiner-EventViewer to see what happens when I press these keys, and there's no event being recorded... don't know what to do :( Is there a way to remap these keys?

 

Are you sure that this key isn't broken on your keyboard? Strange that certain special functions work but not this one.

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 KrzychuX86
      Hello my friends!
      First, idk if that's proper place for this post, if not, please move it.
       
      I'm trying to get Mojave working on my laptop. I have all proper kexts. Everything works great on Yosemite and Sierra, because I'm using Enoch bootloader for them. But I can't get Mojave to work with Enoch, so my only option is Clover.
      But I have some troubles with it:
      - I don't have uefi interface in my laptop, so my only option is Clover for BIOS,
      - Niresh Mojave contains only option to install Clover for UEFI. After installing it my system drops to PXE because it doesn't have UEFI so hard disk becomes non-bootable.
       
      But these problems can be solved, I "just" need to install Sierra first, which can be booted via Enoch and then I install Clover using official pkg installer, which has option to install BIOS version of Clover. Then I connect Niresh Mojave USB, Clover detects it and boots installer. I uncheck "Install bootloader" and I get bootable Mojave. Yay
       
      But the real problem is:
      Clover on my device is not working as well as Enoch. Why? Because when I'm on Enoch (for example on Sierra) my kexts for PS/2 keyboard and touchpad (Voodoo PS2 Controller kext) and for Wi-Fi are working good. They are installed in S/L/E and just works. But Clover somehow doesn't want to load them... or has something missing. System booted with Clover has not working keyboard, touchpad working as mouse and not working Wi-Fi.
       
      Guys! What I have to do to make Clover work as good as Enoch? What Enoch has that Clover hasn't? Why Clover can't load any kext EVEN from CLOVER/kexts/other?
      I have tried booting with -v but I don't see any error related to that...
      Can you help me please?
      Both Enoch and Clover configs are default ones without any modifications. 
      Any help is appreciated.
       
      P.S. I have lost all DMGs so I can't install MacOS right now, I need to redownload them but my Internet connection is very slow, so for any logs we'll need to wait. But maybe my problem is very easy to fix so I don't need to send any logs? Thanks for any answer
    • By viktr
      A few days ago I faced a problem - installed ocquirks and it somehow broke my prelinked kernel. System won't boot then, and I spent more than a day restoring from the netatalk  backup to copy working prelinked kernel directory from the backup to the s/l
      So, my question is - how to relink prelinked kernel without that? I found boot args -f UseKernelCache=No but it didn't work. I was able to boot to the recovery, if that can help.
    • By anokic
      I have been using clover to install and configuration my Hackintosh High Sierra 10.13.6. It's been a struggle and a pain. Can't restart/shutdown/wake from sleep. Random freezes. When freeze happens mouse works but in loading state. UI and open apps freeze not the mouse. I can make the apps smaller and move them.

      I haven't used any DSDT nor SSDT. Tried 5 or 6 of them from others but sometimes i end up not booting. Could someone explain me do i even need them and why? Do i need DSDT or SSDT or both?

      I'm going to try to install everything OpenCore. The first thing is i can't use a method that needs an internet while installing MacOS cause my ethernet/internet only works when i install MacOS. So i can't use the images i need full installation. Okay i have the full installation for 10.13.6. I need to use a version 10.13.4-6 versions cause application Sketch needs the newer one High Sierra 10.13.4++ version.

      Can you tell me? Can i use same kexts from Clover on OpenCore? Secondly how can i install full USB MacOS installer? (High Sierra 10.13.6 version i have is 7gb i think thats it)
      Is there a version of AMDHigh Sierra version made from the community for 10.13.4++ version?
      If i use the normal 10.13.6 High Sierra should i use this AMD 10.13.6 Kernel when i have installed the MacOS or some other kernel that's better for my system? https://github.com/Shaneee/AMD-High-Sierra-XNU/releases
      Whats the best version of High Sierra to use for Ryzen and Nvidia system?

      Will it be better to use OpenCore?

      Specs:
      Mortar Max B450M
      Ryzen 2600x
      Nvidia GTX 1060
      16gb DDR4 2400mhz
    • 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!  
×