Jump to content

Lenovo ThinkPad T420 with UEFI Only


K0gen
 Share

5,271 posts in this topic

Recommended Posts

The free slot can be for an Msata drive or WAN card. The bluetooth chip is on the right side of the palm rest. (for the t420s at least). It's a royal pain to get to, but you can swap out the BT 3.0 card for a BT 4.0 card. Also, it is very very easy to accidently not reconnect the wireless disable switch when you reassemble rasulting in no wifi as well. Hard to diagnose, so be careful there. It's the flat ribbon cable doesn't fully reconnect.

 

I haven't gotten bluetooth to work in El Capitan for any hackintosh, so no help from me there.

 

-Dan

Link to comment
Share on other sites

The free slot can be for an Msata drive or WAN card. The bluetooth chip is on the right side of the palm rest. (for the t420s at least). It's a royal pain to get to, but you can swap out the BT 3.0 card for a BT 4.0 card. Also, it is very very easy to accidently not reconnect the wireless disable switch when you reassemble rasulting in no wifi as well. Hard to diagnose, so be careful there. It's the flat ribbon cable doesn't fully reconnect.

 

I haven't gotten bluetooth to work in El Capitan for any hackintosh, so no help from me there.

 

-Dan

 

Thanks for the instructions. At the moment it doesn't worth it for me to start experimenting but maybe in the future I'll give it a try.

Link to comment
Share on other sites

Hi there,

 

I am very new at this. The last time I messed around with hackintosh stuff was back in to 10.5 days.

 

I followed the guide in this thread to install El Capitan on my t420 this morning. Everything is working as expected, but I cannot get clover to boot from the HDD. I can boot into my system from my flash drive. I've gone back 10 or 12 pages and have not seen anything about this. 

 

I have ensured that I am on bios version 1.46, and I am set to uefi only.  I installed Clover 3746. 

 

What should I check first?

Link to comment
Share on other sites

Hi there,

 

I am very new at this. The last time I messed around with hackintosh stuff was back in to 10.5 days.

 

I followed the guide in this thread to install El Capitan on my t420 this morning. Everything is working as expected, but I cannot get clover to boot from the HDD. I can boot into my system from my flash drive. I've gone back 10 or 12 pages and have not seen anything about this. 

 

I have ensured that I am on bios version 1.46, and I am set to uefi only.  I installed Clover 3746. 

 

What should I check first?

Fastest way is to copy the content of the flash drive EFI to the hard drive EFI.

Link to comment
Share on other sites

Hi there,

 

I am very new at this. The last time I messed around with hackintosh stuff was back in to 10.5 days.

 

I followed the guide in this thread to install El Capitan on my t420 this morning. Everything is working as expected, but I cannot get clover to boot from the HDD. I can boot into my system from my flash drive. I've gone back 10 or 12 pages and have not seen anything about this. 

 

I have ensured that I am on bios version 1.46, and I am set to uefi only.  I installed Clover 3746. 

 

What should I check first?

 

I was also struggling with this part and all I can tell you is that try to follow this part of the guide and do not give up :)

It took me a few days to understand what has to be mounted, then copied from where, etc.

 

Have you completed this step? If not, then do it now.

Convert the Logical volume to Physical volume

The full installer likes to make a logical volume. So for simplicity, I recommend one to revert the root volumes to a regular volume.

Run: sudo diskutil corestorage revert /

 

 

 

In my case I was struggling a lot with the ESP part. I had to mount both the ESP of the installed system (Macintosh HD) and the ESP of the flash drive used for install. Make sure you pay attention to correctly identify which partition is which one by using the diskutil list command. 

 

b ) The ESP contents on the HD are now to be made exactly like the ESP used to setup the USB installer above. If the ESP is not mounted from the running Clover installer pkg, manually mount the ESP of your HD on /Volumes/ESP. (See first 2 commands below.) Then you will replace the ESP installed by Clover in the previous step. Which means you copy/replace these 2 directories /Volume/ESP/EFI/CLOVER and BOOT with the ones from the Zip file. Then just as you did for the USB, theconfig.plist is renamed from the one that matched your LCD. For a manual mount and install of the ESP bits to disk0 follow same procedure as for the USB. If you previously installed Windows, be careful to not lose the EFI/Microsoft contents.

Note:

The Clover config.plist default volume name (the volume to boot automatically) is set to OSX - meaning your new volume is assumed to be named OSX

If you use a different name, change the volume name or edit the name in config.plist to match. 

sudo mkdir /Volumes/ESPsudo mount -t msdos /dev/disk0s1 /Volumes/ESP

test ! -e /Volumes/ESP/EFI && mkdir /Volumes/ESP/EFI

sudo cp -a ~/Downloads/T420/EFI/* /Volumes/ESP

 

cd /Volumes/ESP/EFI/CLOVER

mv config.1600x900.plist config.plist

Link to comment
Share on other sites

@idkfaiddqd - 

did you follow the part 2 of the my (Best Answer) guide? 

 

1) check your boot order in bios - 

2) make sure the HD ESP has the clover folder properly configured

 

- Somez and trifero pretty much said it. the ESP Clover folder on the HD should match the ESP Clover folder from the USB installer.  

 

so boot with your usb - follow part 2

run diskutil list to see what are your disk devices - usually HD is disk0 and USB is disk1

the new El capitan GUI Disk Utility will NOT allow you mount hidden (ESP) partitions - so you must do it on the command line. 

Link to comment
Share on other sites

Guys, can someone recommend an USB WiFi card which will work even when I will wake laptop from a suspend?

I see some wifi cards mentioned in the history of this thread but maybe something changed?

Link to comment
Share on other sites

@karlamba - which USB one do you have? i ran into an issue with my RTL8192 on El cap and sleep/wake on another hack box. had to add a sleep watcher function to disable/enable before/after sleep otherwise it would go to zombie state.

 

replacing internal wifi is the way to go IMO. For $10 +/- you can get an Atheros or Broadcom chip. it's pretty easy to replace the wifi card as it is under the keyboard. (vs BT). then you install the modded bios - which is pretty easy via windows. 

Link to comment
Share on other sites

well - I don't have working wifi but I was thinking about TP-LINK TL-wn823n mini nano usb 300...

 

Which exactly internal wifi do you use? 1510 from dell?

Do you have a link to modded bios or I should just look into the history of this thread?

Will it be enough to just install modded bios and put new wifi card (for example the same as you have) or I need also "edit" the white list of supported cards?

Link to comment
Share on other sites

well - I don't have working wifi but I was thinking about TP-LINK TL-wn823n mini nano usb 300...

 

Which exactly internal wifi do you use? 1510 from dell?

Do you have a link to modded bios or I should just look into the history of this thread?

Will it be enough to just install modded bios and put new wifi card (for example the same as you have) or I need also "edit" the white list of supported cards?

 

well - I don't have working wifi but I was thinking about TP-LINK TL-wn823n mini nano usb 300...

 

Which exactly internal wifi do you use? 1510 from dell?

Do you have a link to modded bios or I should just look into the history of this thread?

Will it be enough to just install modded bios and put new wifi card (for example the same as you have) or I need also "edit" the white list of supported cards?

karlamba, if you BIOS is 83ET76WW (1.46), (you can see it pressing F1 when boot), I can send you the file needed for bypass the white list.

Link to comment
Share on other sites

 

I haven't found an easy way to control the fan through the DSDT, but found a way to change the behavior of the Blue ThinkVantage button.  You can change the speed at which it sets.

 

       Scope (PCI0.LPC.EC)

        {
            Method (_Q19, 0, NotSerialized)
            {
                Name (FANS, One)
                Store (HFSP, FANS)
                XOr (FANS, 0x80, Local0)
                If (Local0)
                {
                    Store (0x80, HFSP)
                }
                Else
                {
                    Store (0x02, HFSP)
                }
            }
        }
 
The last Store(0x02, HFSP) was changed from 0x07 (I remember this from TPFanControl - 7 is the "max speed".  2 is a constant speed of 3500 rpm, which is reasonable.  I'm going to set it to 1 and see what the speed goes down to, if it's normally stable, etc.
 
Speed 0x01 takes it down to a really really pleasant 2000 rpm.  Hitting the blue button will take it to the 0x80 mode, which is auto.  You could have the first item 0x01 or 0x02, and the 2nd be 0x80, and I presume that would make the default quiet, and blue be auto.  probably better the other way around though.  I'm running around 69-70 degC at the moment.

 

 

 

Hey Guys!

 

I would like to recap on this topic because I want to test how my machine works when I can enforce 2000 RPM with the ThinkVantage button and a 2nd press would toggle auto mode driven by BIOS. This is not how it works now in my case. Can someone tell me what file should I change and how to apply these changes for this concept to work?

 

Also can it be that my power management is not fully set up? How can I check that?

Thanks a lot.

Link to comment
Share on other sites

@somez - 

 

mount your ESP

edit /Volumes/ESP/EFI/CLOVER/ACPI/patched/dsdt.dsl

 

look for _Q19

 

change  0x07 to 0x01 in this function.  - which means force fan to lowest speed instead of highest 0x07

 

recompile the dsdt.dsl with the "iasl" tool

 

do you have the HWMonitor.app (that is a companion item to FakeSMC etc.)

if so when you run geek bench or something to generate load you can watch the fan speed as well as processor speed step levels.

Link to comment
Share on other sites

@somez - 

 

mount your ESP

edit /Volumes/ESP/EFI/CLOVER/ACPI/patched/dsdt.dsl

 

look for _Q19

 

change  0x07 to 0x01 in this function.  - which means force fan to lowest speed instead of highest 0x07

 

recompile the dsdt.dsl with the "iasl" tool

 

do you have the HWMonitor.app (that is a companion item to FakeSMC etc.)

if so when you run geek bench or something to generate load you can watch the fan speed as well as processor speed step levels.

 

Thanks tluck.

 

ESP mounted

File updated

 

How do I compile the file with the iasl tool and where do I find this tool?

Thanks.

Link to comment
Share on other sites

@Somez

 

- iasl command tool is included in the zip (utility folder)

 

- compile on terminal command line:

iasl dsdt.dsl 

if successful, you get a new dsdt.aml file.

 

This is awkward. I got a lot of syntax errors which doesn't make any sense as i have only modified 1 line.

 

Here's just a few of them:

 

Maximum error count (200) exceeded

/Volumes/ESP/EFI/CLOVER/ACPI/patched/dsdt.dsl   8890:                             ToPLD (

Error    4124 -       syntax error, unexpected PARSEOP_NAMESEG, expecting ',' or '}' ^ 

 

/Volumes/ESP/EFI/CLOVER/ACPI/patched/dsdt.dsl   8891:                                 PLD_Revision       = 0x1,

Error    4124 -                                 Invalid character (0x3D), expecting ASL keyword or name ^ 

 

/Volumes/ESP/EFI/CLOVER/ACPI/patched/dsdt.dsl   8892:                                 PLD_IgnoreColor    = 0x1,

Error    4124 -                                 Invalid character (0x3D), expecting ASL keyword or name ^ 

 

/Volumes/ESP/EFI/CLOVER/ACPI/patched/dsdt.dsl   8893:                                 PLD_Red            = 0x0,

Error    4124 -                                 Invalid character (0x3D), expecting ASL keyword or name ^ 

 

/Volumes/ESP/EFI/CLOVER/ACPI/patched/dsdt.dsl   8894:                                 PLD_Green          = 0x0,

Error    4124 -                                 Invalid character (0x3D), expecting ASL keyword or name ^ 

 

/Volumes/ESP/EFI/CLOVER/ACPI/patched/dsdt.dsl   8895:                                 PLD_Blue           = 0x0,

Error    4124 -                                 Invalid character (0x3D), expecting ASL keyword or name ^ 

Link to comment
Share on other sites

ah right.... i forget that i switched to a newer version iasl and didn't update the zip with this rev! new zip posted now.

 

Are you sure it's ok now?

I've downloaded the new zip and ran the ssdtPRGen-clover.command as root to install the latest iasl. I'm still seeing the same errors when trying to compile.

This is the version I have installed.

 

Intel ACPI Component Architecture

ASL Optimizing Compiler version 20130117-64 [Jan 19 2013]

Copyright © 2000 - 2013 Intel Corporation

 

EDIT: Nevermind, I copied manually to /usr/local/bin and I managed to compile it with no errors.

Link to comment
Share on other sites

what does the ssdtPRgen have to do with the iasl command? - that script is an optional way to create an SSDT?

the (new) iasl .dsl compiler file is in that same folder tho. 

 

$ ./iasl

Intel ACPI Component Architecture
ASL+ Optimizing Compiler version 20150515-64
Copyright © 2000 - 2015 Intel Corporation

Supports ACPI Specification Revision 6.0

Link to comment
Share on other sites

what does the ssdtPRgen have to do with the iasl command? - that script is an optional way to create an SSDT?

the (new) iasl .dsl compiler file is in that same folder tho. 

 

$ ./iasl

Intel ACPI Component Architecture

ASL+ Optimizing Compiler version 20150515-64

Copyright © 2000 - 2015 Intel Corporation

Supports ACPI Specification Revision 6.0

 

The guide says that script will copy iasl to usr/bin: "Note: it will copy iasl from the Utility folder to /usr/local/bin/iasl"

Anyway I just did a reboot and it finally works. I can switch between 2000 RPM and BIOS driven fan speed.

 

Here are the before/after stats on idle:

post-1647866-0-02869100-1455222428_thumb.png post-1647866-0-85505800-1455222445_thumb.png

Well, I'm quite satisfied with this setting. I can use the machine at 2000 RPM most of the time except when there is something CPU intensive. I don't really understand why the BIOS's auto mode is not going down to 2000 RPM on it's own. I guess we cannot change auto mode to use 2000 RPM, right? That would be going into BIOS hacking I assume.

 

By the way, I have a HDD in an optibay caddy. Can I somehow set the time needed to go to sleep? It needs a lot of time and it's much louder than the fan at 3200 RPM.

 

Thanks a lot tluck for all your help so far.

Link to comment
Share on other sites

NP. i hope your system doesn't over heat...

 

in System Preference/Energy Saver - see power option to allow it to put disks to sleep when it can for battery and/or plugged in. 

 

unmounting any filesystems on the HDD in the caddy should help it to as when to put that drive to sleep!

Link to comment
Share on other sites

NP. in System Preference/Energy Saver - see power option to allow it to put disks to sleep when it can for battery and/or plugged in.

 

That option is set already. I just think it is waiting too much to engage and put it to sleep so I was thinking there should be an OS X switch that drives this.

Link to comment
Share on other sites

 Share

×
×
  • Create New...