Jump to content

Lenovo ThinkPad T420 with UEFI Only

* * * * * 47 votes UEFI ThinkPad T420 Lenovo Clover

Best Answer tluck, 08 October 2013 - 02:47 PM

Lenovo T420 Clover Guide

 

  • Release v2017.10.18 on GitHub
    • Updated to Clover r4251
    • Updated config.plist files to NOT inject GFX
    • Revised Utility Install Scripts for Sleepwatcher and Clover to deal with BT in High Sierra
    • Updated AppleBacklightInjector kext - to work from ESP
    • Updated Lilu and AppleALC kexts - compiled for both Sierra and High Sierra
    • Updated ACPIBatteryManager kext
    • Updated FakeSMC kext

 

Various Releases and Tweaks over Last 6 months

Spoiler

Overview

Spoiler

New Installation Steps and Details

Spoiler

Part 1 - OS Installation

Spoiler

Part 2 - Post OS Installation and Setup on HD

Spoiler

Known Issues and Random Tips:

Spoiler

Notes on Custom Kexts

Spoiler

General Notes, Fixes, and Features

Spoiler

Optional: Create a custom SSDT

Spoiler

Go to the full post


  • Please log in to reply
3809 replies to this topic

#461
ag6952563

ag6952563

    InsanelyMac Protégé

  • Members
  • PipPip
  • 88 posts

Tluck-
I got problems when using the vanilla AppleACPIPlatform.kext.
I extracted the kext from the 10.8.5 update using Pacifist. How do you get it?
See attached screenshot of the errors. I had these errors also the other day when I tried to use the vanilla kext.

  
Any ideas?
 
Thanks,
AJ

Attached Files



#462
tluck

tluck

    InsanelyMac Deity

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,930 posts
  • Gender:Male
  • Location:NC, USA

@AJ -

 

 i got the v1.8 AppleACPIPlatoform.kext when i upgraded to 10.8.5. are you 10.8.4 or 10.8.5? The 10.8.0-10.8.4 version AppleACPIPlatoform.kext is 1.7

 

are you talking about SMC errors? i am not totally sure but what version of FakeSMC are you on?

 

are you using the new dsdt?



#463
ag6952563

ag6952563

    InsanelyMac Protégé

  • Members
  • PipPip
  • 88 posts

I'm on 10.8.5 and I got your latest FakeSMC and dsdt from today's pack...

The error comes when I use the new AppleACPIPlatoform.kext v1.8. I just had to put back v1.7 to be able to boot...



#464
tluck

tluck

    InsanelyMac Deity

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,930 posts
  • Gender:Male
  • Location:NC, USA

hmm. not sure what to say!? do you get these SMC errors when using the v1.7? are you using the patched version from the 10.8.4 clover bundle? or the standard 10.8.4 v1.7 ?



#465
ag6952563

ag6952563

    InsanelyMac Protégé

  • Members
  • PipPip
  • 88 posts

I don't get the SMC errors when using v1.7, it only happens with v1.8.

I believe I am using the patched version of v1.7, it was coming from your previous packs...



#466
tluck

tluck

    InsanelyMac Deity

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,930 posts
  • Gender:Male
  • Location:NC, USA
attached are 3 AppleACPIPlatform kexts - can you test the v1.7 unmod?
 
v1.7 unmod
v1.7 ermac patch
v1.8 unmod
 
these are the only non-apple kexts...
 
$ kextstat |grep -v apple
Index Refs Address            Size       Wired      Name (Version) <Linked Against>
   16    2 0xffffff7f811a1000 0x16000    0x16000    org.netkas.driver.FakeSMC (877) <9 7 5 4 3 1>
   17    0 0xffffff7f811b7000 0x4000     0x4000     org.hwsensors.driver.CPUSensors (877) <16 7 5 4 3>
   30    2 0xffffff7f80811000 0xe000     0xe000     org.rehabman.voodoo.driver.PS2Controller (1.8.8) <9 7 5 4 3 1>
   31    0 0xffffff7f811be000 0x6000     0x6000     org.hwsensors.driver.ACPISensors (877) <16 9 7 5 4 3>
   34    0 0xffffff7f81d16000 0x6000     0x6000     org.rehabman.driver.AppleSmartBatteryManager (1.40) <9 4 3>
   40    0 0xffffff7f80e72000 0x1b000    0x1b000    com.insanelymac.driver.AppleIntelE1000e (2.5.4) <39 10 5 4 3 1>
   52    0 0xffffff7f80834000 0x5000     0x5000     org.rehabman.voodoo.driver.PS2Keyboard (1.8.8) <30 28 7 6 5 4 3 1>
   53    0 0xffffff7f8081f000 0xb000     0xb000     org.rehabman.voodoo.driver.PS2Trackpad (1.8.8) <30 28 7 6 5 4 3 1>

Attached Files



#467
honeywell

honeywell

    InsanelyMac Geek

  • Members
  • PipPipPip
  • 100 posts

Hey guys, 10.9 GM seed is out! Historically the GM seed is identical to the consumer release version. Anyone willing to take it for a spin? :)



#468
ag6952563

ag6952563

    InsanelyMac Protégé

  • Members
  • PipPip
  • 88 posts

tluck, with v1.7 I get similar errors to v1.8. So, it seems that only works fine when using the custom v1.7...



#469
tluck

tluck

    InsanelyMac Deity

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,930 posts
  • Gender:Male
  • Location:NC, USA

hmm. are you certain you have the new dsdt.aml in place?



#470
ag6952563

ag6952563

    InsanelyMac Protégé

  • Members
  • PipPip
  • 88 posts

Yes, I have copied the latest one from your pack today...

 

aj:~ aj$ kextstat | grep -v apple
Index Refs Address            Size       Wired      Name (Version) <Linked Against>
   19    0 0xffffff7f809cf000 0x1e000    0x1e000    com.rim.driver.BlackBerryUSBDriverInt (0.0.67) <18 17 16 14 13 5 4 3 1>
   22    2 0xffffff7f80ebc000 0x16000    0x16000    org.netkas.driver.FakeSMC (877) <9 7 5 4 3 1>
   23    0 0xffffff7f80ed2000 0x4000     0x4000     org.hwsensors.driver.CPUSensors (877) <22 7 5 4 3>
   37    0 0xffffff7f80ed9000 0x6000     0x6000     org.hwsensors.driver.ACPISensors (877) <22 9 7 5 4 3>
   39    0 0xffffff7f816d3000 0x6000     0x6000     org.rehabman.driver.AppleSmartBatteryManager (1.40) <9 4 3>
   42    2 0xffffff7f808ae000 0xe000     0xe000     org.rehabman.voodoo.driver.PS2Controller (1.8.8) <9 7 5 4 3 1>
   53    0 0xffffff7f808d1000 0x5000     0x5000     org.rehabman.voodoo.driver.PS2Keyboard (1.8.8) <42 34 7 6 5 4 3 1>
   54    0 0xffffff7f808bc000 0xb000     0xb000     org.rehabman.voodoo.driver.PS2Trackpad (1.8.8) <42 34 7 6 5 4 3 1>
   79    0 0xffffff7f81a98000 0x1b000    0x1b000    com.insanelymac.driver.AppleIntelE1000e (2.5.4) <74 10 5 4 3 1>
   87    0 0xffffff7f81b1e000 0x4000     0x4000     com.globaldelight.driver.BoomDevice (1.1) <86 5 4 3 1>
  106    3 0xffffff7f81d4e000 0x43000    0x43000    org.virtualbox.kext.VBoxDrv (4.2.18) <7 5 4 3 1>
  107    0 0xffffff7f81d91000 0x8000     0x8000     org.virtualbox.kext.VBoxUSB (4.2.18) <106 51 13 7 5 4 3 1>
  108    0 0xffffff7f81d99000 0x5000     0x5000     org.virtualbox.kext.VBoxNetFlt (4.2.18) <106 7 5 4 3 1>
  109    0 0xffffff7f81d9e000 0x6000     0x6000     org.virtualbox.kext.VBoxNetAdp (4.2.18) <106 5 4 1>


#471
tluck

tluck

    InsanelyMac Deity

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,930 posts
  • Gender:Male
  • Location:NC, USA

i wonder if there is a problem with FakeSMC. verleihnix had problem a while back and went back to Rehabmans build RehabMan-FakeSMC-2013-0706.zip

 

here is rehabman's site https://code.google..../downloads/list



#472
Tetonne

Tetonne

    InsanelyMac Sage

  • Members
  • PipPipPipPipPipPip
  • 473 posts
  • Gender:Male
my feed back
test last pack (serial would be great to identify with pack we're talking about) with
FakeSMC20130706 +
AppleACPIPlatform kexts 1.8

​same issue as described here (same as with last pack in fact)
back to last pack (same as above) with include Fake SMC and AppleACPIPlatform v1.7 ermac patch

i suggess T420-UEFI-Clover-20131005-2184_10.8.5

Update : shut down is very long here

#473
tluck

tluck

    InsanelyMac Deity

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,930 posts
  • Gender:Male
  • Location:NC, USA

@Tetonne  - thanks for testing. i will put ErmaC's patched AppleACPIPlatform.kext in the 10.8.5 bundle as an option for those that need to rollback. It was/is in the 10.8.4 pack. I am not sure why i can run the vanilla kexts?  i tested the old DSDT before splitting into 8bit variables and i can run 1.7  and 1.8  - just dont get battery info. with the new dsdt i can run all 3 versions. The new v1.8 works best and seem to consistently supports esata - before it was hit or miss.  yesterday i bumped up to rehabmans FakeSMC. 



#474
Manwe150

Manwe150

    InsanelyMac Protégé

  • Members
  • PipPip
  • 53 posts

I found a fix for very low input volume of the AppleHDA LineIn/ExtMic I have been always experiencing.

 

While spending quite a few hours trying to rename LineIn to ExtMic, I noticed that one of the configuration widgets in the patched version of AppleHDA had been put in the wrong section.

 

The attached file has the following patch. If you have a compatible version of AppleHDA, it should be as simple as dropping it into the appropriate location in the AppleHDA kext, reboot, and your LineIn Mic should be much louder. Otherwise, you may need to make the edits yourself to Platform.xml, and then compress it to Platform.xml.gzip using the `Script RevoGirl AppleHda.zip` from e.g. http://olarila.com/f...php?f=18&t=2676

--- /Backup Extensions/10.8.2_mods/AppleHDA.kext/Contents/Resources/Platforms.xml 2012-11-26 13:54:20.000000000 -0500
+++ Platforms.xml 2013-10-05 18:38:53.000000000 -0400
@@ -1574,38 +1574,12 @@
  <integer>20</integer>
  </dict>
  <dict>
- <key>Amp</key>
- <dict>
- <key>Channels</key>
- <array>
- <dict>
- <key>Bind</key>
- <integer>1</integer>
- <key>Channel</key>
- <integer>1</integer>
- </dict>
- <dict>
- <key>Bind</key>
- <integer>2</integer>
- <key>Channel</key>
- <integer>2</integer>
- </dict>
- </array>
- <key>MuteInputAmp</key>
- <false/>
- <key>PublishMute</key>
- <true/>
- <key>PublishVolume</key>
- <true/>
- <key>VolumeInputAmp</key>
- <true/>
- </dict>
  <key>NodeID</key>
  <integer>24</integer>
- </dict>
- <dict>
  <key>Boost</key>
  <integer>3</integer>
+ </dict>
+ <dict>
  <key>NodeID</key>
  <integer>27</integer>
  </dict>

Also nice, is enabling Ambient noise reduction. This is done simply by copying the SignalProcessing section from Mic to LineIn, in layout12.xml

 

Finally, and somewhat related, I wrote a script to parse CodecVerbs and pretty print the output for consumption in various places. For example, you can get your ConfigData section from

/System/Library/Extensions/AppleHDA.kext/Contents/PlugIns/AppleHDAHardwareConfigDriver.kext/Contents/Info.plist and inspect it as follows:
./pinconfig.py -v -d -
                    AZccMAGXHRABlx4hAZcfAQG3HCABtx0QAbce
                    gQG3HwEB9xxAAfcdAQH3HhAB9x+QAjccoAI3
                    HQECNx6gAjcfkAG3DAI=
^D
"PinConfigurations",
Buffer(0x44)
{
0x30,0x10,0x21,0x01, /* 0x19        jack, External Rear,  HP Out, 1/8" stereo/mono,    Black, misc 0,                      , 3-0 */
0x20,0x10,0x81,0x01, /* 0x1b        jack, External Rear, Line In, 1/8" stereo/mono,    Black, misc 0,                      , 2-0 */
0x40,0x01,0x10,0x90, /* 0x1f    internal, Internal  N/A, Speaker,          Unknown,  Unknown, misc 0,  Jack Detect Disabled, 4-0 */
0xa0,0x01,0xa0,0x90, /* 0x23    internal, Internal  N/A,  Mic In,          Unknown,  Unknown, misc 0,  Jack Detect Disabled, a-0 */


}


< 01971c30 01971d10 01971e21 01971f01 01b71c20 01b71d10 01b71e81 01b71f01 01f71c40 01f71d01 01f71e10 01f71f90 02371ca0 02371d01 02371ea0 02371f90 01b70c02 >
'\x01\x97\x1c0\x01\x97\x1d\x10\x01\x97\x1e!\x01\x97\x1f\x01\x01\xb7\x1c \x01\xb7\x1d\x10\x01\xb7\x1e\x81\x01\xb7\x1f\x01\x01\xf7\x1c@\x01\xf7\x1d\x01\x01\xf7\x1e\x10\x01\xf7\x1f\x90\x027\x1c\xa0\x027\x1d\x01\x027\x1e\xa0\x027\x1f\x90\x01\xb7\x0c\x02'
AZccMAGXHRABlx4hAZcfAQG3HCABtx0QAbcegQG3HwEB9xxAAfcdAQH3HhAB9x+QAjccoAI3HQEC
Nx6gAjcfkAG3DAI=
 
 

Attached Files



#475
tluck

tluck

    InsanelyMac Deity

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,930 posts
  • Gender:Male
  • Location:NC, USA

Awesome. yeah i gave up too after trying for hours (days?) to get ExtMic in the config! i will incorporate into AppleHDA for 10.8.5. thanks! 

 

works great - i just dropped in. i completely forgot thats why i bought a USB headset since when i used my iPhone buds/mic the input volume was so low! just tested again it seems to be louder!

 

thanks.



#476
ag6952563

ag6952563

    InsanelyMac Protégé

  • Members
  • PipPip
  • 88 posts

i wonder if there is a problem with FakeSMC. verleihnix had problem a while back and went back to Rehabmans build RehabMan-FakeSMC-2013-0706.zip

 

here is rehabman's site https://code.google..../downloads/list

tuck-

I tried this version of FakeSMC but get the same problems, if I use a vanilla AppleACPIPlatform (v1.7 or v1.8) I get SMC errors...

So, I am back to the custom version.

Thanks,

AJ



#477
tluck

tluck

    InsanelyMac Deity

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,930 posts
  • Gender:Male
  • Location:NC, USA

@AJ - ErmaC has provided a patch to 10.8.5 v1.8 AppleACPIPlatform.kext 

           hit download button and get AppleACPIPlatform.12F45.zip

 

 

Note: I am writing this from Safari 7 on 10.9 GM - thanks Tetonne! - everything works great. 10.9 is should be a fairly easy upgrade. I was able to patch AppleHDA (including manwe150's input fix).



#478
maropr

maropr

    InsanelyMac Protégé

  • Members
  • Pip
  • 5 posts
  • Gender:Male
  • Location:Poland

 

Note: I am writing this from Safari 7 on 10.9 GM - thanks Tetonne! - everything works great. 10.9 is should be a fairly easy upgrade. I was able to patch AppleHDA (including manwe150's input fix).

 

Here you could put AppleHDA.kext to 10.9 Mevericks ??

 

Thanks



#479
ag6952563

ag6952563

    InsanelyMac Protégé

  • Members
  • PipPip
  • 88 posts

@AJ - ErmaC has provided a patch to 10.8.5 v1.8 AppleACPIPlatform.kext 

           hit download button and get AppleACPIPlatform.12F45.zip

 

 

Note: I am writing this from Safari 7 on 10.9 GM - thanks Tetonne! - everything works great. 10.9 is should be a fairly easy upgrade. I was able to patch AppleHDA (including manwe150's input fix).

Thanks tluck, will download and install it.

10.9! great. What process did you follow to install? Did  you upgrade your 10.8 or did a fresh install?

Using clover and the same kexts?



#480
tluck

tluck

    InsanelyMac Deity

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,930 posts
  • Gender:Male
  • Location:NC, USA

well I did an upgrade - installed over my 10.8.5 .... will post a 10.9 bundle shortly.  

 

creating the installer was the hardest part actually!







Also tagged with one or more of these keywords: UEFI, ThinkPad, T420, Lenovo, Clover

  Topic Stats Last Post Info

4 user(s) are reading this topic

2 members, 2 guests, 0 anonymous users


© 2017 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy