Jump to content

Lenovo ThinkPad T420 with UEFI Only

* * * * * 9 votes UEFI ThinkPad T420 Lenovo Clover

  • Please log in to reply
994 replies to this topic

#61
miaumiau2

miaumiau2

    InsanelyMac Protégé

  • Members
  • Pip
  • 12 posts
Hey!

You're looking for feedback from other Thinkpad users. Here I am - proud owner of a X220 :-) I'm currently running 10.7.4 on it and would like to update to ML, but unfortunately all my attempts (clover / chameleon) have not leaded to success. I have the i7 2640M version with usb 3.0.

I followed your guide and can't even completely boot the installer. The GUI is launched (I see a grey screen), but then I get different types of KP... sometimes reboots, sometimes I see a mouse, sometimes not. Really weird. See screenshots of different KPs and logs below.

I have not changed any of the config files you submitted. Anything I could try?

Attached Files



#62
Kogen Mantis

Kogen Mantis

    InsanelyMac Protégé

  • Donators
  • 98 posts
  • Gender:Male
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

Attached Files


Edited by Kogen Mantis, 18 February 2013 - 02:49 PM.


#63
miaumiau2

miaumiau2

    InsanelyMac Protégé

  • Members
  • Pip
  • 12 posts
Thanks Kogen! Amazing... this had been holding off my ML install for more than a month now!

However, after the install I can still use VT-d, right? Will reinstall wipe applications or will it keep everything? I have some custom kexts installed for Chameleon, but those should get replaced, right? Or would you recommend a complete fresh install (if reinstall is not that anyway).

Thanks again!

#64
Kogen Mantis

Kogen Mantis

    InsanelyMac Protégé

  • Donators
  • 98 posts
  • Gender:Male

Thanks Kogen! Amazing... this had been holding off my ML install for more than a month now!

However, after the install I can still use VT-d, right? Will reinstall wipe applications or will it keep everything? I have some custom kexts installed for Chameleon, but those should get replaced, right? Or would you recommend a complete fresh install (if reinstall is not that anyway).

Thanks again!

Sure You can use VT-d [Enabled] - just remember to downgrade AppleACPIPlatform.kext to the one from ML 10.8.0 or Lion. As for installation, I recommend you make a fresh install and use myHack for your custom kexts (put them in /Extra/Extensions/ and myHack will do the rest). This way you will leave your /S/L/E almost untouched (the only exeption is moving AppleHDA.kext away) + the method will be compatible with chameleon.

#65
miaumiau2

miaumiau2

    InsanelyMac Protégé

  • Members
  • Pip
  • 12 posts
Ok, cool, I'll see if I find the time to try this this weekend. If not it will have to wait after my holiday ;-)

Whats the reason of using MyHack vs. Clover's own fsinject to load texts without touching System/Library/Extension? My startup disk is GPT (I also run a windows EFI from another partition), so I guess it is not compatible with Chameleon anyway, or am I wrong here?

#66
theconnactic

theconnactic

    Stubborn AMD user

  • Local Moderators
  • 2,531 posts
  • Gender:Male
It's compatible :)

#67
Kogen Mantis

Kogen Mantis

    InsanelyMac Protégé

  • Donators
  • 98 posts
  • Gender:Male

Ok, cool, I'll see if I find the time to try this this weekend. If not it will have to wait after my holiday ;-)

Whats the reason of using MyHack vs. Clover's own fsinject to load texts without touching System/Library/Extension? My startup disk is GPT (I also run a windows EFI from another partition), so I guess it is not compatible with Chameleon anyway, or am I wrong here?

1. I have found that some kexts won't work using Clover's fsinject.
2. myHack is clean. It makes only one ID bumped myHack.kext (kexts are loaded first) with plugins folder that includes all kexts you put in /Extra/Extensions (you just have to run myfix -t /)

As for compatibility the difference is that Chameleon does not operate in UEFI, but in BIOS environment. It just fools OSX into believing that it's booting in EFI environment by passing fake EFI runtime services to the system.

#68
Espamac

Espamac

    InsanelyMac Protégé

  • Members
  • Pip
  • 33 posts
Hi there again!

OK, good things first. I bought a Lenovo X220, brand new, heavily discounted since the model is not longer manufactured. Beautiful little thing :)

Specs:
Intel Core i7 2.8
IPS Panel
RAM 4GB
HD 160SSD
Fingerprint, 3G, GPS, USB 3.0 and blah blah blah.

The installation went really smooth, amazingly smooth. The most difficult part shockingly was creating a USB installation disk with Lion DiskMaker. I won't go into much detail, it was a localization problem related to how the Mountain Lion Installation app is named in Spanish making it unrecognizable to DiskMaker. If anyone is interested I can explain him the easy workaround.

Tools I used:

Mountain Lion 10.8.2 installation
The Stripped EFI Folder posted on #63

And I came out nicely and smooth. I even updated Safari and some other stuff without any problems, after being prompted by the App Store app on the dock. I must say the IPS 12.5" looks gorgeous on Mac OS X, much better than on Windows 7 and the system feels faster and more responsive than in Windows, which I honestly find a little bit puzzling.

The system says it's a MacBook Pro 17inch, Early 2011 with a 2.81 Ghz Intel Core i7. The display profile says spdisplays_display 17" (1366x768). Any way to change that? No that it matters much as I said the screen looks terrific.

Working

· Power-On with fingerprint. I stored it previously using the ThinkPad software, since it is a BIOS set up it works independently of the OS. Nice feature.

· Ethernet

· Webcam

· The funny little lamp besides the webcam (Fn+PgUp)

· ExpressCard slot

Working with issues

· Sleep mode works after doing as suggested on post #27. Closing the lid doesn't seem to make the computer enter sleep mode. When the lid passes a certain angle on its way to be closed, the Fn+F4 combination for sleep mode doesn't work either.

· USB 2.0 inputs. USB 3.0 doesn't work, any ideas?

· The trackpad works so-so. Precision of the pointer is smother than in Windows 7 (again I'm puzzled by this), but two finger scrolling works in the opposite direction (if you swipe towards the keyboard the page goes down and vice-versa). Pinch zoom and rotate don't work. Three and four fingers are equivalent to using F11. That's it. Any suggestion is very welcome.

· Battery doesn't show remaining time nearby the icon or percentage. Just on the foldable menu. Anyway to change that?

Not working

· No Wifi obviously. The Dell 1515 card has arrived today though I'm a little bit reluctant to flash the BIOS. Does it void the warranty? Would I be able to return to the original BIOS? Would it be possible to modify the Dell 1515 vendor-ID to bypass the whitelist but still be recognized by Mac OS X as an airport card? It's an appealing approach, though maybe it doesn't make sense what I'm saying... Still thinking about it, is not such a big issue anyway since I can use a wifi nano-usb in the mean time. They're dirt cheap.

· No sound. At all. At first boot the mute and volume keys increased and decreased the bar, now when you press them the volume logo shows up with a forbidden sign. There's no sound card recognized. Any idea where to begin exploring?

· No microphone detected. Is it paired with the sound issue?

· No bluetooth.

· Card reader doesn't work. I think it's a known unsolvable issue so I don't worry much.

Untested

· VGA-out
· Display port
· WAN card for mobile data


Is there any program that kind of "checks" the system to see what is working and what it is detected?

Is there any way to check if the kexts are being applied correctly? I assume they are placed in System/Library/Extensions. Is that correct?

Many years ago with my first hackintosh I remember you had to repair permissions in the Terminal every time you modified the kexts, I understand that now that's done by running myHack, is that so? do you have to reboot afterwards?

I think I messed something up with AppleHDA.kext because I removed the original (kept in on another folder) and placed the one which was on the Extras folder on S/L/E.

Is there any way to stop the messages at startup? I think I read something about line 461 AppleHDA or whatever before entering the desktop.

I haven't touched the dsdt.asml file, should I?

I'm really sorry for the long message, I got carried away :-) Thank you very much for all the job you're doing. It is amazing.

I'm going to gather information and will get back to edit the message if I manage to solve anything.

Regards to everybody!

#69
Kogen Mantis

Kogen Mantis

    InsanelyMac Protégé

  • Donators
  • 98 posts
  • Gender:Male

The system says it's a MacBook Pro 17inch, Early 2011 with a 2.81 Ghz Intel Core i7. The display profile says spdisplays_display 17" (1366x768). Any way to change that?

Yes you can do a Display Override as I did in #13 or use nice little app Tetonne mentioned in #39


Sleep mode works after doing as suggested on post #27. Closing the lid doesn't seem to make the computer enter sleep mode. When the lid passes a certain angle on its way to be closed, the Fn+F4 combination for sleep mode doesn't work either.

For this you need proper dsdt

USB 2.0 inputs. USB 3.0 doesn't work, any ideas?

Search for USB3 kext... I have fount interesting post about AppleUSBXHCI.kext patching for native USB3 support. Since I don't have USB3 - You will be the one to test it out.
To make long story short add this to your clover config:
Spoiler


The trackpad works so-so. Precision of the pointer is smother than in Windows 7 (again I'm puzzled by this), but two finger scrolling works in the opposite direction (if you swipe towards the keyboard the page goes down and vice-versa). Pinch zoom and rotate don't work. Three and four fingers are equivalent to using F11. That's it. Any suggestion is very welcome.

try playing with touchpad and keyboard settings. (we still don't have true multitouch drivers)

· No Wifi obviously. The Dell 1515 card has arrived today though I'm a little bit reluctant to flash the BIOS. Does it void the warranty? Would I be able to return to the original BIOS? Would it be possible to modify the Dell 1515 vendor-ID to bypass the whitelist but still be recognized by Mac OS X as an airport card? It's an appealing approach, though maybe it doesn't make sense what I'm saying... Still thinking about it, is not such a big issue anyway since I can use a wifi nano-usb in the mean time. They're dirt cheap.

· No sound. At all. At first boot the mute and volume keys increased and decreased the bar, now when you press them the volume logo shows up with a forbidden sign. There's no sound card recognized. Any idea where to begin exploring?

· No microphone detected. Is it paired with the sound issue?

· No bluetooth.

· Card reader doesn't work. I think it's a known unsolvable issue so I don't worry much.

Untested

· VGA-out
· Display port
· WAN card for mobile data


Is there any program that kind of "checks" the system to see what is working and what it is detected?

Is there any way to check if the kexts are being applied correctly? I assume they are placed in System/Library/Extensions. Is that correct?

Many years ago with my first hackintosh I remember you had to repair permissions in the Terminal every time you modified the kexts, I understand that now that's done by running myHack, is that so? do you have to reboot afterwards?

I think I messed something up with AppleHDA.kext because I removed the original (kept in on another folder) and placed the one which was on the Extras folder on S/L/E.

Is there any way to stop the messages at startup? I think I read something about line 461 AppleHDA or whatever before entering the desktop.

I haven't touched the dsdt.asml file, should I?

I'm really sorry for the long message, I got carried away :-) Thank you very much for all the job you're doing. It is amazing.

I'm going to gather information and will get back to edit the message if I manage to solve anything.

Regards to everybody!

OK I'm tired ;)
Just send your full Darwin Dumper Report here and I'll try to help you out.

Edited by Kogen Mantis, 27 February 2013 - 08:04 PM.


#70
Espamac

Espamac

    InsanelyMac Protégé

  • Members
  • Pip
  • 33 posts

OK I'm tired ;)
Just send your full Darwin Dumper Report here and I'll try to help you out.


Hahahahaha. :D Thanks a lot! I'll let you know of any improvement. I'm going to check out Darwin Dumper.


Attached File  DarwinDumper_2.4.9_Lenovo_ML_ThinkBook.zip   484.18KB   10 downloads My Darwin Dumper Report.

Thanks!!!!!!

#71
Kogen Mantis

Kogen Mantis

    InsanelyMac Protégé

  • Donators
  • 98 posts
  • Gender:Male

Hahahahaha. :D Thanks a lot! I'll let you know of any improvement. I'm going to check out Darwin Dumper.


Attached File  DarwinDumper_2.4.9_Lenovo_ML_ThinkBook.zip   484.18KB   10 downloads My Darwin Dumper Report.

Thanks!!!!!!

You have used older DarwinDumper - pleas update your post with latest one (some info is missing)

#72
Espamac

Espamac

    InsanelyMac Protégé

  • Members
  • Pip
  • 33 posts

You have used older DarwinDumper - pleas update your post with latest one (some info is missing)


Sorry about that here's the latest one:

Attached File  DarwinDumper_2.6.5_Lenovo_ML_root.zip   1.28MB   17 downloads

I tried pasting the code you gave me for USB 3.0. I mounted the EFI volume and modified the config.plist file but got a KP on boot. I'm sorry I didn't take any pictures, I'll look through the post you referred to see if I can get it working.

Thanks!!!

#73
Kogen Mantis

Kogen Mantis

    InsanelyMac Protégé

  • Donators
  • 98 posts
  • Gender:Male

Sorry about that here's the latest one:

Attached File  DarwinDumper_2.6.5_Lenovo_ML_root.zip   1.28MB   17 downloads

I tried pasting the code you gave me for USB 3.0. I mounted the EFI volume and modified the config.plist file but got a KP on boot. I'm sorry I didn't take any pictures, I'll look through the post you referred to see if I can get it working.

Thanks!!!

I have attached dsdt file for you based on your ACPI dumps.
I recommend you work on your OEM folder now in case of any failure you can always rename it and boot the system from the oryginal striped EFI folder config.

Attached Files



#74
Espamac

Espamac

    InsanelyMac Protégé

  • Members
  • Pip
  • 33 posts

I have attached dsdt file for you based on your ACPI dumps.
I recommend you work on your OEM folder now in case of any failure you can always rename it and boot the system from the oryginal striped EFI folder config.


Hello again,

Thanks a lot for your time, it's appreciated. I placed the dsdt file on the OEM folder and run myHack. Nothing changed. So I placed it on ACPI/Patched and it boots to a black screen and this is what I saw before going black:

Attached File  la foto.JPG   197.7KB   18 downloads

Now I try to boot from the USB disk and I also get the black screen and this is the last thing I get to see:

Attached File  booting from usb.jpg   156.98KB   21 downloads

I don't get why it doesn't boot from the USB since it hasn't been mod. Any way to safely start and repair the EFI folder?

Send me to hell if I'm annoying you. I'm trying to figure this out myself but it looks like I lack some basic knowledge :(

#75
Kogen Mantis

Kogen Mantis

    InsanelyMac Protégé

  • Donators
  • 98 posts
  • Gender:Male

Hello again,

Thanks a lot for your time, it's appreciated. I placed the dsdt file on the OEM folder and run myHack. Nothing changed. So I placed it on ACPI/Patched and it boots to a black screen and this is what I saw before going black:

Attached File  la foto.JPG   197.7KB   18 downloads

Now I try to boot from the USB disk and I also get the black screen and this is the last thing I get to see:

Attached File  booting from usb.jpg   156.98KB   21 downloads

I don't get why it doesn't boot from the USB since it hasn't been mod. Any way to safely start and repair the EFI folder?

Send me to hell if I'm annoying you. I'm trying to figure this out myself but it looks like I lack some basic knowledge :(

By OEM folder I mean (in Your case):
EFI/OEM/42914BG

So your custom dsdt goes to:
EFI/OEM/42914BG/ACPI/patched

And kexts you use goes to
EFI/OEM/42914BG/kexts/10.8/

look inside to see how my old OEM folder looks like.

EFI Shell is much like an good old DOS in use + all the UNIX like commands.
So to get you started find your EFI drive (it is listed on the beginning) and if it's fs0 just type:
fs0:[ENTER]
rest is just like in any normal shell, use commands like: ls, mv, cp, edit, etc.

Edited by Kogen Mantis, 01 March 2013 - 05:12 AM.


#76
Espamac

Espamac

    InsanelyMac Protégé

  • Members
  • Pip
  • 33 posts

By OEM folder I mean (in Your case):

EFI/OEM/42914BG

So your custom dsdt goes to:
EFI/OEM/42914BG/ACPI/patched

And kexts you use goes to
EFI/OEM/42914BG/kexts/10.8/

look inside to see how my old OEM folder looks like.

EFI Shell is much like an good old DOS in use + all the UNIX like commands.
So to get you started find your EFI drive (it is listed on the beginning) and if it's fs0 just type:
fs0:[ENTER]
rest is just like in any normal shell, use commands like: ls, mv, cp, edit, etc.


OK, thanks a lot, I have a better understanding now of the folders hierarchy. I'll go step by step an wont rush to get a hold of what am I actually doing :) I'll report back

#77
Espamac

Espamac

    InsanelyMac Protégé

  • Members
  • Pip
  • 33 posts
I tried many things and finally, with everything clean, after placing your dsdt file and your AppleHDA.kext I got sound, however after reboot it went away, I'm lost here, why would that happen? I reboot several times but sound is again gone for good...

How did you compile that dsdt? I tried with dsdt editor but didn't get any results. I'm trying to learn here ;)

Working with OEM and the shell is so much easy now, just delete the misbehaving file and continue testing, thank you for the advice.

Pasting the code on config.plist for USB 3.0 causes a KP, here's the screen:

Attached File  la foto-1.JPG   118.8KB   12 downloads

I'll look around for more information.

#78
manueljaime

manueljaime

    InsanelyMac Protégé

  • Members
  • Pip
  • 3 posts
  • Gender:Male
Hi, Kogen. First of all, thank you so much for your work. This is my first time using OSX and it's all thank to you! I've been busy these past days with my t420 (OEM 4236) until I finally got it up and running, with sleep, sound, wifi via usb adapter and all!
Well, that was the good part. The bad part is that, due to stubborn nature, I then erased the disk and reinstalled it again from scratch to check whether I had understood or not (I know, I know). As it turns out, I didn't, so I don't have sound at all. I've tried everything, starting with the file you mentioned in post #30, to no avail.

So I turn to you. Attached you'll find my darwin dump; I'd be very grateful if you could take a look and maybe help me.

Attached Files


Edited by manueljaime, 01 March 2013 - 10:32 PM.


#79
Kogen Mantis

Kogen Mantis

    InsanelyMac Protégé

  • Donators
  • 98 posts
  • Gender:Male

I tried many things and finally, with everything clean, after placing your dsdt file and your AppleHDA.kext I got sound, however after reboot it went away, I'm lost here, why would that happen? I reboot several times but sound is again gone for good...

How did you compile that dsdt? I tried with dsdt editor but didn't get any results. I'm trying to learn here

Working with OEM and the shell is so much easy now, just delete the misbehaving file and continue testing, thank you for the advice.

Pasting the code on config.plist for USB 3.0 causes a KP, here's the screen:

Attached File  la foto-1.JPG   118.8KB   12 downloads

I'll look around for more information.

The missing sound after reboot is strange... wait.
I have totally forgot to mention about the rc scripts files in etc. Attached File  rc.scripts.zip   3.81KB   23 downloads Just place them in /etc reboot and check if this will help (run myFix just in case)

I have used DSDT Editor with the latest iasl compiller (you can search forum for the latest binary or compile one from sources)

Send/Share your config fille - I think something is not right.

Hi, Kogen. First of all, thank you so much for your work. This is my first time using OSX and it's all thank to you! I've been busy these past days with my t420 (OEM 4236) until I finally got it up and running, with sleep, sound, wifi via usb adapter and all!
Well, that was the good part. The bad part is that, due to stubborn nature, I then erased the disk and reinstalled it again from scratch to check whether I had understood or not (I know, I know). As it turns out, I didn't, so I don't have sound at all. I've tried everything, starting with the file you mentioned in post #30, to no avail.

So I turn to you. Attached you'll find my darwin dump; I'd be very grateful if you could take a look and maybe help me.

From what I see you are not using patched DSDT (I see no modifications) that is why the modified AppleHDA.kext is not working. For this kext to work you need to have Device (HDEF) defined like this in your DSDT:
Spoiler


The easy route for you is to try my DSDT from #21 but remember to edit the DualLink (for LowRes) from 01 to 00.
Good luck.

Edited by Kogen Mantis, 02 March 2013 - 01:17 AM.


#80
manueljaime

manueljaime

    InsanelyMac Protégé

  • Members
  • Pip
  • 3 posts
  • Gender:Male

From what I see you are not using patched DSDT (I see no modifications) that is why the modified AppleHDA.kext is not working. For this kext to work you need to have Device (HDEF) defined like this in your DSDT:

Spoiler


The easy route for you is to try my DSDT from #21 but remember to edit the DualLink (for LowRes) from 01 to 00.
Good luck.


Thanks! I ended up using raffitaffy's dsdt from post #51 and now I have sound! I will continue poking and will surely come back with more questions! :angel_not:





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

  Topic Stats Last Post Info

1 user(s) are reading this topic

1 members, 0 guests, 0 anonymous users


© 2014 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Mac Netbook  |   Web hosting by CatN  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy