Jump to content
K0gen

Lenovo ThinkPad T420 with UEFI Only

4,739 posts in this topic

Recommended Posts

I got Clover and all that jazz working. I'm using my own EDID in both config.plist and dsdt.aml/dsdt.dsl. Still getting graphics hangs, albeit rarer. There is one failproof way of inducing graphics hangs/glitches though, and that is fullscreen Safari. Extreme lag when switching tabs. Very frustrating, as I would love to use Safari in fullscreen. :(

 

Also, I have an SSD and a storage HD. (no cd drive) I am unable to boot up Clover with my HD inserted. In order to boot, I must remove the HD, boot, then insert it when it finishes booting. Otherwise after pressing the power button, the ThinkPad logo shows up, then I get an infinite black screen. Any ideas?

Share this post


Link to post
Share on other sites
Advertisement

@honeywell - 

cool. great news that things are coming together for you on clover. 

1) EDID - the built-in EDID is what is/was causing glitches for me. injecting Kogens EDID fixes things up. ag6952563 was getting good results too using this one. 

 

2) SSD - i dont have a pure SSD ... i have read other treads talking about enabling TRIM - maybe you have done that? here is something from a google on "clover ssd trim"

 

IOAHCIBlockStorage patch to enable TRIM support for any SSD by scrax

<key>X</key>
<dict>
<key>Name</key>
<string>IOAHCIBlockStorage</string>
<key>Find</key>
<data>QVBQTEUgU1NE</data>
<key>Replace</key>
<data>AAAAAAAAAAAA</data>
</dict>


Share this post


Link to post
Share on other sites

Don't think it has to do with TRIM. TRIM is for a faster, speedier SSD. I think Clover tries to search for some sort of OS on the HDD, which causes the Clover GUI to never appear. That's my best guess right now, dunno how to fix that though. Thanks for the TRIM patch though!

Share this post


Link to post
Share on other sites

@honeywell

 

with the SSD installed/connected - is this in main HD slot or the DVD bay slot - so you are getting stuck or not even getting to the clover GUI? but yes. clover does read (or tries to read) stuff on the disks once it discovers the device. what is your boot order  and where is clover installed?  is your SSD MBR or GUID formatted. are you set to UEFI only mode in the BIOS ( good way to test to make sure MBR disks dont get read). BTW, what kind of SSD do you have? you mention speedier ones? i just have a seagate momentus XT - so-called hybrid disk.

Share this post


Link to post
Share on other sites

Yes this is a common issue in newer OSX versions and since you are using 10.8.2 you must drop DMAR table or disable VT-d in ThinkPad Setup. (just like in post #46).

 

Update: Try this striped EFI folder for installing. Updated Clover to r1133, fixed theme selector color, new LAN drivers, new PS2 drivers, new FakeSMC and DualLink=0 by default

Hi Guys, Im trying to get my 420 running an manage to do the install, however back to 'waiting for AppleSMC' which eventually errors on 'SuperIODevice: [Fatal] found unsupported ship ID=0xfff'

 

To that end - I want to try this stripped EFI but am unsure how to use it?  How do I update the USB stick to use this stripped EFI Folder?  

 

Model of Lenovo T420 is: 4180-F75

 

UPDATE - sorry, found it at POST 183.  Lets see how it goes.

Share this post


Link to post
Share on other sites

@tluck

 

SSD is in the main HD slot. HDD is in the slot where the optical drive was (I bought a caddy). I don't even get to the Clover GUI once I boot with the HDD in the slot. Without the HDD in the slot (only SSD in the computer) it works like a charm. SSD is GUID so that works fine. I am set to UEFI only mode. I have the Samsung 840 SSD. Boot order with both HDs in is:

 

1. Windows Boot Manager

2. ATA HDD0 Samsung SSD 840 Series (this is the SSD)

3. ATA HDD2

4. USB FDD

5. USB CD

6. ATAPI CD0

7. ATA HDD1 ST9500420AS (this is my HDD i believe)

8. USB HDD

9. PCI LAN

list goes on but I don't think anything past that is relevant

 

I tried switching 1 and 2 but I get the same black screen.

 

Also, I'm unable to get iMessages to work. I saw this post http://www.insanelymac.com/forum/topic/285678-lenovo-thinkpad-t420-with-uefi-only/page-10?do=findComment&comment=1918837 but haven't tried it. I don't exactly understand how to do this... anyone have clearer step-by-step instructions?

Share this post


Link to post
Share on other sites

Hi Guys, Im trying to get my 420 running an manage to do the install, however back to 'waiting for AppleSMC' which eventually errors on 'SuperIODevice: [Fatal] found unsupported ship ID=0xfff'

 

To that end - I want to try this stripped EFI but am unsure how to use it?  How do I update the USB stick to use this stripped EFI Folder?  

 

Model of Lenovo T420 is: 4180-F75

 

UPDATE - sorry, found it at POST 183.  Lets see how it goes.

Still can't get it going.  I have renamed the folder under OEM to 4180F75.  Now I get the white apple screen and can't see where it eventually fails.

Anyone got any ideas?

 

I'm using Mountain Lion 10.8, and T420-EFI-CLOVER-b1888.zip

Share this post


Link to post
Share on other sites

@fdandy006

 

When you boot with the USB, go to options, and add "slide=0 -v NoCaches WithKexts" to the boot flags. This should allow you to boot vanilla. Then update to 10.8.4. When you restart, boot with those flags again and install Clover r1888, and add tluck's stuff to your EFI folder. Also make sure to install all the kexts in tluck's kext pack. Then, reboot and you should have a fully working hacktinosh!

 

Also note: Booting with -x (safe mode) and installing Clover in safe mode will force Clover to create the EFI partition in HFS - not MSDOS.

Share this post


Link to post
Share on other sites

Thanks Honeywell.

 

I tried the above.  It gets stuck on - waiting for AppleSMC, eventually will move to 'SuperIODevice: [Fatal] found unsupported ship ID=0xfff', the show ethernet address.

After that it eventually reboots.

 

What am I missing?

Share this post


Link to post
Share on other sites

Do you have any non-vanilla kexts installed in S/L/E? You shouldn't add any kexts until you've installed Clover and tluck's pack. Here's what I did:

 

1. Install Mountain Lion 10.8.

2. Boot from USB with flags "slide=0 -v NoCaches WithKexts."

3. Update to 10.8.4. (don't know if this is matters, but I did not install the firewire update - if you did this, it could be causing your error)

4. Reboot with the same flags as step 2. You should be on 10.8.4 now.

5. Install Clover, put tluck's stuff in (rename the folder inside OEM to match your mobo), install the kexts. This must be done all at once (without rebooting).

 

That should be it.

Share this post


Link to post
Share on other sites

@fdandy006 - 

 

are you able to boot up using the generic config.plist vs OEM? first make sure you can do this.

(rename OEM to OEM.NU for now)

 

then...

the OEM folder contains 2 things specific to my laptop - which you need to modify since you dont have 1600x900 screen.

the dsdt and config.plist 

 

seems like your box is getting stuck halfway on starting gfx. the ship error is normal for laptop when you install FakeSMC with Plugins.

  1. copy the generic dsdt into OEM/4180F75/ACPI/patched/dsdt.aml
  2. edit the OEM config.plist - remove the EDID injection and add set DualLink=0 (using the key/string formatting)
  3. copy/install the /EFI/CLOVER/kext/10.8 and 10.8-SLE kext  to /S/L/E - seems you did this already.

Share this post


Link to post
Share on other sites

 

@fdandy006 - 

 

are you able to boot up using the generic config.plist vs OEM? first make sure you can do this.

(rename OEM to OEM.NU for now)

 

then...

the OEM folder contains 2 things specific to my laptop - which you need to modify since you dont have 1600x900 screen.

the dsdt and config.plist 

 

seems like your box is getting stuck halfway on starting gfx. the ship error is normal for laptop when you install FakeSMC with Plugins.

  1. copy the generic dsdt into OEM/4180F75/ACPI/patched/dsdt.aml
  2. edit the OEM config.plist - remove the EDID injection and add set DualLink=0 (using the key/string formatting)
  3. copy/install the /EFI/CLOVER/kext/10.8 and 10.8-SLE kext  to /S/L/E - seems you did this already.

 

Thanks Honeywell and tluck.  I'll try again and start from the beginning with your recommendations.

Just to clarify - which version of clover package should I use?

 

Cheers

Share this post


Link to post
Share on other sites

@fdandy

You should probably just stick with Clover v2 r1888. This is the version that tluck's pack uses. You can download it here: http://sourceforge.net/projects/cloverefiboot/files/Installer/

 

@all

Does anyone know how to change the cpu package multiplier states? My cpu is only 2.5ghz, but tluck's dsdt/ssdt can make it go up to 2.97ghz which makes it really hot. i just want to remove the 33x multiplier state.

Share this post


Link to post
Share on other sites

@honeywell 


 


yup 2.5Ghz is the nominal rating of the i5 core 2520m - it will go to 2.97Ghz (30x  top speed) is when it is in Turbo Mode. i guess if want to slow it down you could try specifying a slower bus speed in the config.plist?  but perhaps  best thing maybe for you is to play with SSDT (not DSDT) which is defines the speeds. NULLCPUPM may be another quick way eliminate speed step. 


 


otherwise, to make it run cooler you could hit the blue thinkvantage button  - which is mapped to fan speed control in -  makes the fan run at high speed all the time.  

Share this post


Link to post
Share on other sites

 

@honeywell 

 

yup 2.5Ghz is the nominal rating of the i5 core 2520m - it will go to 2.97Ghz (30x  top speed) is when it is in Turbo Mode. i guess if want to slow it down you could try specifying a slower bus speed in the config.plist?  but perhaps  best thing maybe for you is to play with SSDT (not DSDT) which is defines the speeds. NULLCPUPM may be another quick way eliminate speed step. 

 

otherwise, to make it run cooler you could hit the blue thinkvantage button  - which is mapped to fan speed control in -  makes the fan run at high speed all the time.  

 

 

Hm... I was already aware of the ThinkVantage button's fan control. Maybe this is an issue with Clover but I generally find that booting from Clover my system runs 5-10 degrees Celsius hotter than on Chameleon. In fact, if Dropbox is syncing, the CPU can get up to 90-95 degrees Celsius which is INSANE! So I have to quit Dropbox whenever I boot. Also, Clover over-all seems less stable on my machine... Here's an annoying glitch I'm experiencing. If I plug in the charger, then press mute, my system will completely freeze and I'll have to hard shut down. If I plug in the charger then unplug, then press mute, same thing happens. Small, but really annoying. I can't get iMessages working, and still getting ring stalls (graphics lag). And I still can't boot with both HDDs in. Maybe I should just stick with Chameleon?

Share this post


Link to post
Share on other sites

@fdandy

You should probably just stick with Clover v2 r1888. This is the version that tluck's pack uses. You can download it here: http://sourceforge.net/projects/cloverefiboot/files/Installer/

 

@all

Does anyone know how to change the cpu package multiplier states? My cpu is only 2.5ghz, but tluck's dsdt/ssdt can make it go up to 2.97ghz which makes it really hot. i just want to remove the 33x multiplier state.

Thanks Guys.  On tlucks graphics clue I checked the bios and noticed my graphics are set to Optimus which sounds like its uses either integrated or discrete modes when applicable.  Setting this to integrated seems to have allowed me to progress the installation (albeit in flicker mode) and I was able to boot up 10.8.

Do you guys have this set to discrete for better performance?

 

I seem to have it all working (railink wireless usb included) but have no sound?  I tried the mv of applehda.kext out of S/L/E

 

I'll try an upgrade to 10.8.4 tonight and see how it goes.

 

Another part I am unsure of - in order to boot, I need to go into the options in the boot menu and select 'inject edid' otherwise it wont boot - which config.plist do I edit so I can make my changes and have them boot with these options each time.  I couldn't seem to find the right one?

 

Thanks for all your help.

Share this post


Link to post
Share on other sites

Thanks Guys.  On tlucks graphics clue I checked the bios and noticed my graphics are set to Optimus which sounds like its uses either integrated or discrete modes when applicable.  Setting this to integrated seems to have allowed me to progress the installation (albeit in flicker mode) and I was able to boot up 10.8.

Do you guys have this set to discrete for better performance?

 

I seem to have it all working (railink wireless usb included) but have no sound?  I tried the mv of applehda.kext out of S/L/E

 

I'll try an upgrade to 10.8.4 tonight and see how it goes.

 

Another part I am unsure of - in order to boot, I need to go into the options in the boot menu and select 'inject edid' otherwise it wont boot - which config.plist do I edit so I can make my changes and have them boot with these options each time.  I couldn't seem to find the right one?

 

Thanks for all your help.

Ah I don't have the discrete graphics so I won't be able to help you out there. As for which config.plist to edit, assuming you named the folder in OEM/[insert system id here] correctly, it should be the config.plist in that folder.

Share this post


Link to post
Share on other sites

Ah I don't have the discrete graphics so I won't be able to help you out there. As for which config.plist to edit, assuming you named the folder in OEM/[insert system id here] correctly, it should be the config.plist in that folder.

Thanks - is it a hidden partition or just the EFI/Clover/OEM/Machine Name/ straight off the hdd (that I can explore to in finder)?

Share this post


Link to post
Share on other sites

You must mount it first.

 

In terminal, type:

 

diskutil list

 

You'll see something like this:

 

 

/dev/disk0
   #:                       TYPE NAME                    SIZE       IDENTIFIER
   0:      GUID_partition_scheme                        *120.0 GB   disk0
   1:                        EFI                         209.7 MB   disk0s1
   2:                  Apple_HFS OS X                  119.2 GB   disk0s2
   3:                 Apple_Boot Recovery HD             650.0 MB   disk0s3

 

 

Look for the bold line in your printout. Then type this in terminal (make sure the bold part matches with yours):

 

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

 

You'll need to type in your password to verify sudo.

Then open finder. You should see a new volume in the sidebar. That's where you'll find the folders you're looking for.

Share this post


Link to post
Share on other sites

@honeywell - well thats quite  a list of problems with clover! yeah, especially if EDID injection is not fixing glitches for you - doesnt seem like there as many reasons to use clover!? 

 

I boot the same GUID disk with chameleon from a small USB when i want to use it as laptop vs docked station. why? i get random odd sleep/wake problems with clover (related to VoodooPS2). so i just boot up using chameleon (v2251) on a USB when I care about sleep. i bought very small size USB drive that doesn't stick out far. other than the sleep problem on clover - it runs the same with either boot loader. i left /Extra on the HD so it has the same dsdt/ssdt as clover. I get all the benefits of a GUID disk.

 

thoughts/observations

2nd HD: i can only think there is some sort of timing hang on finding your HD in the side port? there maybe a way to ignore it with clover or the bios. 

 

system freeze: I couldn't reproduce the mute freeze on my system. but over the last 2 months I did have random hang/freeze or 2 at one point. but nothing i could redo on demand.

 

temperature for reference:

my fan runs normally around 3500-3600 RPM and running a bunch of stuff to heat it up to the max (geek bench, VMware, sync) - got up to about 89deg C - 

when i hit the bluethinkvantage - fans run around 4500 RPM and it drops temps about 6-7 degrees for same tests. 

 

imessage: i got imessage working on chameleon first then. i think this what i used: http://routerjockey.com/2013/01/23/fixing-imessage-on-hackintosh/

 

when i switched to clover i was getting a login/inactive error and i had to login with my iphone to get reset the account and then it started to work. i followed someones procedure i googled to fix when it complains and then tells you call customer support. it is very touchy for sure.


@fdandy006

 

i dont have the optimus option - i have just integrated HD 3000 gfx. seem that the dsdt can handle both types?  there maybe other sites with information on how to make it work - by maybe you must stay with HD3000 for OSX.  

 

for sound, the AppleHDA kext expects an HDEF section in your dsdt that defines the codec and layout-id. if you cannot get that working, VoodooHDA maybe a good option?

 

note:there are 2 dsdt files in the OEM folder i posted. one is for 1600x900 display and the other is intended for low-res display.

 

Clover looks in your ESP for /EFI/CLOVER/config.plist when it cannot find a productID match in /EFI/CLOVER/OEM. if your productID matches the folder it will use OEM/<ProductID>/config.plist. 

 

my assumption is that all the custom kexts (from /EFI/CLOVER/kexts) are installed in /S/L/E - thats just how i prefer it. others use myhack etc.

Share this post


Link to post
Share on other sites

This is the first method that has allowed me to boot into OSX without a pen drive. However, I'm still coming across some issues. I've read this thread over countless times and still cannot figure out what Im doing wrong. 

 

My Specs:

Lenovo t420-4178AFU

2.7ghz i7 2620m

16gb corsair vengeance 1600mhz

ONLY intel hd3000

320gb hdd

(dell 1510 half pci wifi card on its way)

 

So, I use the method start to finish in the first post and it works wonderfully. boots with full 1600x900 resolution and myhack+extra allows me to connect via ethernet. However the things that I notice that arent working OOB (and to be expected) are as follows:

 

battery meter

sd card reader (ive read on another post this is able to work)

display port out via dp to hdmi cord 

sleep works half the time, never consistant. and sometimes the track pad will not work after coming back from sleep along with usb ports not returning aswell.

wifi (duh)

brightness controls via  Fn Home and End keys

*audio (can get audio using my audio kontrol 1 sound card, but thats it)*. 

audio controls via built in keys

 

Im sure these are all possible to work and I know you guys pretty blatently explained how to update clover and whatnot (I assume that this is what allows the other features to work), but im doing something wrong and i just dont know it. 

 

Ive read the past post about clover 1888 and its efi package and I tried to apply that but when I do, I cant boot. I changed the folder name in EFI/Clover/OEM to my 4178AFU and replaced all the folders in the EFI partition with the ones in the lenovo install pack. Which step am I missing?

Share this post


Link to post
Share on other sites

@brawson36.

 

to get some of the advanced features, you will likely need to make sure you are using a custom dsdt - which is part of using the OEM folder - more on that later.

in the 1888 pack are a bunch of kexts that maybe interest to you.

 

to get battery to show - need to rollback to AppleACPIPlatform.kext (v1.3.5) and then install VoodooPS2Battery.kext

never could get sd card working on T420 - many have tried - have not heard of a success.

display port (on side of laptop) - works out of the box for me. i use a DP to HMDI adaptor

sleep should be more consistent with AppleACPIPlatform (above) + dsdt edits to EHCI ports.

brightness is mapped to scrllock and pause key (using the provided dsdt)

audio - the AppleHDA + dsdt will make audio work (ie headphone/mic jack on right side or internal speakers)

 

A lot more details about T420 are on this thread/posts: #238  and #117

 

these kexts (and a few others) are provided in the /EFI/CLOVER/kexts/10.8* folders - and you either need to have myhack install them or install them directly in the  /S/L/E

 

In the 1888 clover pack, there are some things you will need to change to match your system. the OEM folder has some things specific to my model. but you may be able to make some changes to make it work for you.

 

1) OEM\4236AT9\config.plist - will need to be modified to suite your CPU. it has hardcoded the speed for the CPU (i-2520). you can remove this CPU section.

2) the dsdt may work if you have highres LCD - other wise try the the generic one.

3) the ssdt.aml probably will not match your CPU and you need to remove it. (clover can generage p/c states for you) it just wasnt doing a very good job for the i5-2520.

 

Also it presumes all basics kexts (FakeSMC etc) are on the HD. which is different than the top level config.plist was that set up to get one up and running after a vanilla install. clover patches the dsdt and sucks in the EFI kexts on the fly. gets it about 90% of the way - but it wont get everything working - particulary audio. 

Share this post


Link to post
Share on other sites

 

@honeywell - well thats quite  a list of problems with clover! yeah, especially if EDID injection is not fixing glitches for you - doesnt seem like there as many reasons to use clover!? 

 

I boot the same GUID disk with chameleon from a small USB when i want to use it as laptop vs docked station. why? i get random odd sleep/wake problems with clover (related to VoodooPS2). so i just boot up using chameleon (v2251) on a USB when I care about sleep. i bought very small size USB drive that doesn't stick out far. other than the sleep problem on clover - it runs the same with either boot loader. i left /Extra on the HD so it has the same dsdt/ssdt as clover. I get all the benefits of a GUID disk.

 

thoughts/observations

2nd HD: i can only think there is some sort of timing hang on finding your HD in the side port? there maybe a way to ignore it with clover or the bios. 

 

system freeze: I couldn't reproduce the mute freeze on my system. but over the last 2 months I did have random hang/freeze or 2 at one point. but nothing i could redo on demand.

 

temperature for reference:

my fan runs normally around 3500-3600 RPM and running a bunch of stuff to heat it up to the max (geek bench, VMware, sync) - got up to about 89deg C - 

when i hit the bluethinkvantage - fans run around 4500 RPM and it drops temps about 6-7 degrees for same tests. 

 

imessage: i got imessage working on chameleon first then. i think this what i used: http://routerjockey.com/2013/01/23/fixing-imessage-on-hackintosh/

 

when i switched to clover i was getting a login/inactive error and i had to login with my iphone to get reset the account and then it started to work. i followed someones procedure i googled to fix when it complains and then tells you call customer support. it is very touchy for sure.

@fdandy006

 

i dont have the optimus option - i have just integrated HD 3000 gfx. seem that the dsdt can handle both types?  there maybe other sites with information on how to make it work - by maybe you must stay with HD3000 for OSX.  

 

for sound, the AppleHDA kext expects an HDEF section in your dsdt that defines the codec and layout-id. if you cannot get that working, VoodooHDA maybe a good option?

 

note:there are 2 dsdt files in the OEM folder i posted. one is for 1600x900 display and the other is intended for low-res display.

 

Clover looks in your ESP for /EFI/CLOVER/config.plist when it cannot find a productID match in /EFI/CLOVER/OEM. if your productID matches the folder it will use OEM/<ProductID>/config.plist. 

 

my assumption is that all the custom kexts (from /EFI/CLOVER/kexts) are installed in /S/L/E - thats just how i prefer it. others use myhack etc.

 

Hey tluck! I was pretty inaccurate in describing the freeze error regarding sound. This is how I think you can recreate it: plug in the power cord, plug in headphones, then unplug power cord, adjust sound (doesn't have to be only mute/unmute, you can just increase/decrease volume), then unplug headphones, then adjust sound. As for underclocking/removing higher clock states, I edited my SSDT following an online guide, but using the edited SSDT gave me a kernel panic that said something about AppleIntelCPUPowerManagement.kext. Here is my edited SSDT (removed all states above 2.5Ghz, and edited the list length to match the number of states): https://dl.dropboxusercontent.com/u/66566087/ssdt.aml

I also edited config.plist and set "Turbo" to NO, but that didn't change anything.

For some reason, using your SSDT, when Dropbox syncs it takes up a huge amount of CPU (100%+) and causes it to heat up to 70+ degrees C.

 

Also, my HDD is formatted as Mac OS X Journaled, Case-Sensitive, Encrypted. Could this be causing the boot problem? Also, my Dropbox is in the encrypted HDD. I'm guessing this is causing the overheating issue.

 

One more thing: are there any special BIOS settings I should change? I already disabled Vt-d virtualization but that didn't change anything I think.

Share this post


Link to post
Share on other sites

@honeywell - yeah i agree that the encryption/decryption will add a lot of CPU load. i will try to reproduce with your procedure. i am running 1.44 bios and cant think of anything else that may help the glitching. (i used to run quartz debug when i didnt need 2d acelleration)

 

anyway here is a way (maybe the easiest way) to slow (and cool) your system down.

 

1) add NULLCPUPM.kext

2) remove ssdt.aml

 

i tested on my system. geekbench ran at 5540 vs 6540. temps only got to about 73deg C. vs 89degC for the same tests before

i booted with chameleon and got just 2 speed states: 8x and 25x (vs 30x)

 

this is my org.chameleon.Boot.plist

 

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
        <key>Boot Banner</key>
        <string>No</string>
        <key>Default Partition</key>
        <string>OSX+</string>
        <key>DropSSDT</key>
        <string>Yes</string>
        <key>EnableHDMIAudio</key>
        <string>Yes</string>
        <key>GraphicsEnabler</key>
        <string>No</string>
        <key>Kernel Flags</key>
        <string>PCIRootUID=1</string>
        <key>Legacy Logo</key>
        <string>Yes</string>
        <key>Timeout</key>
        <string>3</string>
        <key>UseKernelCache</key>
        <string>Yes</string>
</dict>
</plist>

Share this post


Link to post
Share on other sites

@tluck

 

heres what I'm running into.

 

I first fresh install, run myhack using the extra folder with the added kexts from that other forum. 

I then run clover v2 r1625 (lenovo edition) so i can boot from hdd.

then i see that you guys are running r1888 so then i download that from source forge and install. seems legit? =)

then i can no longer boot once installing that generic version from source forge so i must use my flash drive to boot via 1625 again 

id really appreciate a step by step haha. I thought id be able to figure this out but seeing as its my first time hackintoshing (albeit on a laptop) im having great difficulty.

and as far as dsdt.aml edits, i have no real idea where to begin. i extract my current one using DSDT editor and i know changes need to be made, but im not sure where your tailored dsdt,aml file is located in this pack? and what kind of edits would i have to make for my system? 

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 ludufre
      Installing macOS Catalina 10.15.2 on Lenovo ThinkPad L440

       
      There are two version of this laptop:
      - 20AS = Chipset QM87, without Express Card (mine).
      - 20AT = Chipset HM86, with Express Card.
      I strong believe is the same thing...
       

      Changelog:
       
      12/11/2019 04:24h GMT-0
      - Added 10.15.2 update instructions.
      - Replaced IntelMausiEthernet.kext with IntelMausi.kext.
       
      11/08/2019 20:30h GMT-0
      - Added instructions to swap Command with Option keys in VoodooPS2Controller.kext.
      - Added additional FileVault 2 UEFI drivers be more practical.
       
      10/30/2019 01:42h GMT-0
      - Added 10.15.1 update instructions.
      - Replaced AppleALC.kext with VoodooHDA.kext
      - No more issues after sleep or misconfiguration with jack sense.
       
      10/29/2019 18:18h GMT-0
      - Replaced the config.plist with AppleIntelCPUPM = true.
       
      10/27/2019 05:37h GMT-0
      - Replaced the DW1560 wireless card with BCM94360CS2.
       
      10/20/2019 20:47h GMT-0
      - Removed AppleBacklightFixup.kext.
      - WhateaverGreen now implements backlight since 1.2.5.
       
      10/20/2019 18:10h GMT-0
      - First version.
       
      What works and what does not
       
      - Processor: Intel Core i5-4300M ->  Work. All SpeedStep stages.
      - Video Card: Intel HD4600 ->  Work. QE/CI and Metal.
      - Chipset: Intel QM87 ->  Work.
      - Mini DisplayPort ->  Work. But no audio, yet.
      - VGA ->  Not work. Normal.
      - Audio: ALC292 ->  Work.
      - WiFi/Bluetooth: Intel AC 7260 ->  Not work. Replaced with DW1560 BCM94360CS2 (need whitelist removal).
      - Ethernet: Intel I217-LM ->  Work.
      - Card Reader: Realtek RTS5227 ->  Not work.
      - Keyboard and Touchpad ->  Work.
      - Webcam ->  Work.
      - Fingerprint Reader ->  Not work. Normal.
      - USB3.0 ->  Work.
      - Sleep ->  Work.
      - Airdrop, Handoff and Continuity ->  Work after replaced wireless.
      - Instant Hotspot ->  Not work.
       
       
      Extras
       
      - FullHD 1920x1080 display upgrade: 
      Replaced with AU Optronics B140HAN01.1 30pin eDP (B140HAN01.2 and B140HAN01.3 also compatible).
      Apparently same screen as Dell Latitude E6440, E7440, Lenovo Ideapad U430 and E129.
       
      - CPU upgrade:
      Replaced the stock Intel Core i5 4300M 2.6Ghz (3.3Ghz turbo) 6M cache with Intel Core i7 4700MQ 2.4Ghz (3.4Ghz turbo) 6MB.
      I initially had problems with overheating. The processor ran at full load above 90 degrees.
      After using a quality thermal paste I can work between 70 and 80 degrees.
      Acceptable taking into consideration that the new processor has 47TDP versus 37TDP which is recommended.
      I also had no problem consuming the battery while charging. The original 65W source seems to have figured out.
       
      - Touchpad upgrade:
      Replaced the stock with T460 touchpad.
      This is serious: you have to do it! It should be stock. Touchpad with precision and absurd quality!
      Just do it!
       
      - RAM upgrade:
      16GB (2x8GB). No mistery here. Just upgade.
       
      - Wireless upgrade:
      Previously I have the DW1560 working almost perfectly, now replaced with BCM94360CS2 that is full native supported. 
      More info below.
       
      Todo
       
      - Make DP audio work.
      - Make Card Reader work.
      - Make trackpad appear in System Preferences
      - Make Instant Hotspot work.
       
       
      What you need to install

      - Running install of macOS
      - One USB flash drive of 8GB or bigger
      - macOS Catalina install app
      - Clover EFI
      - Clover Configurator
      - Some KEXTs and SSDT patches


      How create create the install flash drive
       
      Prepare install flash drive

      Format the flash drive with GUID partition mapping and name it "Install".

      - Open Disk Utility.
      - Click in View, then "Show All Devices".
      - Select the destination flash drive, then Erase.
      - Name: Install, Format: Mac OS Extended (Journaled) and Scheme: GUID Partition Map
       
      Create install flash drive

      Open terminal and run this command:
      sudo /Applications/Install\ macOS\ Catalina.app/Contents/Resources/createinstallmedia --volume /Volumes/Install --nointeraction This will take about 30 minutes.
       


      Install bootloader

      Download the CloverEFI from official repository (used 5097) and install only with these options on "Install macOS Catalina":
       
      - Install for UEFI booting only
      - Install Clover in the ESP
      - UEFI Drivers - Recommended Drivers - AudioDxe (Just to have nice sound on boot)
      - UEFI Drivers - Recommended Drivers - FSInject (I still don't know if it's really necessary)
      - UEFI Drivers - File System drivers - ApfsDriverLoader (Support to APFS partitions)
      - UEFI Drivers - File System drivers - VBoxHfs (Support HFS/HFS+ partitions)
      - UEFI Drivers - Memory fix drivers - AptioMemoryFix (Fix the memory management of de UEFI/BIOS)
       
      FileVault 2
       
      If you plan to use FileVault 2, you need to download additional drivers, since what comes with Clover is not up to date and use VirtualSMC instead of FakeSMC.
      Follow instructions bellow:
       
      From current Clover installation, check these options to USB keyboard/mouse work on password screen:
      - UEFI Drivers - Human Interface Devices - UsbKbDxe
      - UEFI Drivers - Human Interface Devices - UsbMouseDxe
       
      After Clover install will be created a partition named EFI and mounted in Desktop. Usually the path is /Volumes/EFI/.
       
      Download the versions 2.1.0 and 2.0.9 of AppleSupportPkg from: https://github.com/acidanthera/AppleSupportPkg/releases
      We need the last version of AppleGenericInput.efi that is inside 2.1.0 and last version of AppleUiSupport.efi that is inside 2.0.9.
      OR download attached bellow.
       
      Put in /Volumes/EFI/EFI/CLOVER/drivers/UEFI/
       
      That's it! FileVault 2 will work without problems.
       
       

       
       
      Make things works
       
      After Clover install will be created a partition named EFI and mounted in Desktop. Usually the path is /Volumes/EFI/.
       
      - Replace the /Volumes/EFI/EFI/CLOVER/config.plist with mine attached below
      - Put SSDT-L440.aml attached below in /Volumes/EFI/EFI/CLOVER/ACPI/patched/
       
      Generate your Serial, MLB and SmUUID
       
      - Open the replaced config.plist with Clover Configurator (used 5.6.2.0)
      - Go to SMBIOS, click few times in "Generate New" in Serial Number and SmUUID.
       
      Copy the Clover Configurator to flash drive because you will need later.
       
      Download those Kexts and put in /EFI/CLOVER/kexts/Other/
       
      - Download the VirtualSMC from here. I used all Kexts and UEFI driver (put VirutalSmc.efi inside /Volumes/EFI/EFI/drivers/UEFI/) from version 1.0.8 (If you followed the steps to enable FileVault 2 above, skip to the next item).
      - Download the Lilu.kext from here. I used the version 1.3.8.
      - Download the VoodooPS2Controller.kext from here. I used version 2.0.4.
      - Download the IntelMausi.kext from here. I used the version 1.0.2.
      - Download the VoodooHDA.kext from here. I used the version 2.9.2. (Need to turn up the volume on Info.plist, more instructions below)
      - Download the WhateverGreen.kext from here. I used the version 1.3.3.
      - Download the USBInjectAll.kext from here. I used the version 2018-1108.
       
      Important! If you are coming from my previous Mojave guide, please note that I am using some kexts from other repositories / authors.
       
       
      Audio volume adjustment
       
      - Open the Info.plist inside VoodooHDA.kext/Contents/ with TextEdit.app or any text editor of your choice.
      - Change:
      <key>PCM</key> <integer>90</integer> to:
      <key>PCM</key> <integer>140</integer> Or, download the versions 2.9.2 attached bellow.
       
       
      Keyboard swap Command with Option (optional)
       
      - If you prefer, you can swap Command and Option keys, to map Win Key - Command and Alt - Option.
      - Change /Volumes/EFI/EFI/CLOVER/OEM/S400CA/UEFI/kexts/10.15/VoodooPS2Controller.kext/Contents/PlugIns/VoodooPS2Keyboard.kext/Contents/Info.plist:
      <key>Swap command and option</key> <true/> to:
      <key>Swap command and option</key> <false/> Or, download the version 2.0.4 already adjusted attached bellow.
       
       
      Wifi and Bluetooth (BCM94360CS2 + M2 NGFF adapter)
       
      Recently I replaced the DW1560 with BCM94360CS2. Now I have fully wireless and bluetooth working (including Instant Hotspot) without any kexts.
       
      See: 
       
       
      Wifi and Bluetooth (DW1560 / BCM94352Z)
       
      Unfortunately, some notebook manufacturers are currently blocking the replacement of wireless cards. They want you to only use the models sold by them. And of course, none of them from Lenovo for this notebook model is compatible with MacOS.
       
      If you try to start with an unauthorized wifi card for them, you will receive a screen error:
      1802: Unauthorized network card is plugged in - Power off and remove the network card. Since this check is done directly in the BIOS, the only solution is to modify it.
      But since nothing is easy in this life, there is one small big problem:
      - The BIOS update procedure does not allow you to use modded files as it used to be.
      - You will need to physically reach your BIOS on the motherboard and make use of a USB BIOS reader/writer.
       
      So what you need to do:
      1. Disassembly your laptop;
      2. Dump your BIOS with an USB BIOS reader with SOIC8 clip (to not desolder from the motherboard);
      3. Patch it (Ask on UEFI hack forums over there to someone patch for you. Every dump is unique, so mine don't work to you.);
      4. Fix RSA signature;
      5. Reflash BIOS;
      6. Replace wireless card;
      7. Remount your laptop;
      8. Done.
       
      To fix a Modded BIOS to remove the 5 beeps on boot, you need this guide: https://www.insanelymac.com/forum/topic/337333-guide-fix-insyde-h2o-bios-signature-5-beeps-on-lenovo (traduzido: pt-BR)
       
       
      After replaced the wireless card. Download those Kexts and put in /Volumes/EFI/EFI/CLOVER/kexts/10.15/
       
      - Download the AirportBrcmFixup.kext from here. I used the version 2.0.3. (To enable Wireless)
      - Download the BrcmBluetoothInjector.kext, BrcmFirmwareRepo.kext and BrcmPatchRAM3.kext from here. I used the version 2019-10-17. (To enable Bluetooth)
      - Download the BT4LEContinuityFixup.kext from here. I used the version 1.1.4. (To enable Handoff and Continuity)
       
      Keep in mind that the bluetooth kexts are currently in development and the official releases will be available in future in the repository: https://github.com/acidanthera/BrcmPatchRAM/releases
       
       
      Now you can start the installation without problem (I guess).
       
       
      How install
       
      UEFI Setup Configuration and Installation

      UEFI configuration
       
      My BIOS is the latest: 1.93 (J4ET93WW) 

      - Shutdown and insert the flash drive.
      - Power on with F1 pressed to enter BIOS setup.
      - Change value: Config - Intel(R) AMT - Intel(R) AMT Control to DISABLED
      - Change value: Security - Security Chip to DISABLED
      - Change value: Security - Anti-Theft - Intel(R) AT Module Activation to DISABLED
      - Change value: Security - Anti-Theft - Computrace to DISABLED
      - Change value: Security - Secure Boot to DISABLED
      - Change value: Startup - UEFI/Legacy Boot to BOTH, Legacy First and CSM Support = Yes
      - Save & Exit Setup (F10)
       
      - Now, hold the F12
      - In the list, select your flash drive.
      - Choose the flash drive (white icon).
       
      The installer will start. 
      
      Format destination disk

      Format the disk with GUID partition mapping and name it "Macintosh".

      - Select Disk Utility in the list, then press Continue.
      - Click in View, then "Show All Devices".
      - Select the destination Disk, then Erase.
      - Name: HD, Format: APFS and Scheme: GUID Partition Map

      Close Disk Utility.
      
      Select "Install macOS", then Continue.
      Follow instructions in screen.

      After install
       
      After first part install the system will reboot. Maybe you have to press F12 again and select the flash drive.
       
      Choose the internal disk (gray hdd icon) if not already selected.

      The second part of the installation will begin. This will take 16 minutes.

       

      Post installation
       
      When the second part of install finish, the system will reboot again.

      After performing the user initial setup and go to the desktop, you need to make the system disk bootable.

      Open the Clover Configurator from flash drive that you copied before.

      Mount and open the flash drive EFI partition. (Inside Clover Configurator, Mount EFI -> Select flash drive in Efi Partitions list -> Mount Partition -> Open Partition)
       
      Copy the EFI folder to desktop.
       
      Go back to Clover Configurator, unmount the EFI partition of the flash drive and mount and open the EFI partition of internal disk.
       
      Move the EFI folder from Desktop to EFI partition of the internal disk.
       
      Eject the flash drive.
       
      Move all Kexts from EFI partition of internal disk to /Library/Extensions and make kext cache, with those commands in Terminal:
      sudo mv -R /Volumes/EFI/EFI/CLOVER/kexts/10.15/* /Library/Extensions/ sudo chmod -R 755 /Library/Extensions sudo chown -R root:wheel /Library/Extensions sudo kextcache -i / Restart the system.
       
       
      It's done!
       
       
      System Updates
       
      10.15.1
       
      Updated without changing or updating anything.
       

       
       
      10.15.2
       
      Before install, update the following kexts:
      - VirtualSMC.kext and all kexts and VirtualSmc.efi. I used version 1.0.9.
      - Lilu.kext. I used version 1.4.0.
      - WhateverGreen.kext. I used version 1.3.5.
      - AppleALC.kext. I used version 1.4.4.
      - VoodooPS2Controller.kext. I used version 2.1.0.
      (all download links above)
       
      Download the latest CLOVERX64.efi.zip build. I used version 5100.
      Mount EFI partition and unzip to:
      - /Volumes/EFI/EFI/CLOVER/CLOVERX64.efi
      - /Volumes/EFI/EFI/BOOT/BOOTX64.efi (rename the copy of CLOVERX64.efi to BOOTX64.efi
       
      Install update. Will reboot at least four time.
       
       

      And last but not least

      I would like to thank the following community members, by making these dream possible:
      @crushers, @snatch, @apianti, @blackosx, @blusseau, @dmazar, @slice2009, @autumnrain, @phpdev32, @EMlyDinEsH, @RehabMan, @Scellow, @mitch_de, @Shailua, @Andy Vandijck, @maxfierke, @ArturXXX, @LexHimself, @brumas, @"Sniki", @Mieze, @headkaze and all others members involved directly or indirectly.
       
       
      Attachments
       
       
      SSDT-L440.aml
      config.plist
      VoodooHDA.kext.zip
      VoodooPS2Controller.kext.zip
      Filevault 2 additional drivers.zip
    • By ajmcello
      The following files exist on the github:
       
      a) Clover.app-v1.11-5100.zip
      b) Clover_v2.5k_r5100.pkg
      c) CloverISO-5100.tar.lzma
      d) CloverV2-5100.zip
      e) CLOVERX64.efi.zip
       
       
      Is (a) for installing as an app on OSX? What is it for?
       
      What is (b) for, the .pkg? Not exactly familiar with .pkg. I've seen it used in UNIX, but I believe it's also a PKG format for installing packages on OSX. So, what is the difference between this (b), and (a)? (a) is labeled v1.11-5100, while (b) is labeled v2.5k_r5100.
      (c) contains only this file, Clover-v2.5k-5100-X64.iso, which I assume is a pre-bootloader.
      (d) looks like the NON ISO version, to build an ISO?
      (e) Contains CLOVERX64.efi, which is the same CloverX64.efi for Clover.app-v1.11-5100 and CloverV2-5100.zip
       
      Thanks for any explanations. 
       

       
       
       
       
    • By Dolamarv
      Hi all, I have been using an x240 thinkpad for more than 2 months as hackintosh and it is very stable. As of now I am in Catalina 10.15.1 and it’s running great until I updated it to the new clover build r5100. My laptop won’t automatically sleep when I close the lid down now. I reverted back to 5099 and close-lid automatic sleep works. I don’t know what caused the problem but I think 5100 fixed a dsdt patching of some sort that that conflicted with my config plist? Thanks in advance!
×