Jump to content

Lenovo ThinkPad T420 with UEFI Only

* * * * * 10 votes UEFI ThinkPad T420 Lenovo Clover

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

31-July-2014 - 10.10 DP4/Beta Update

  • Clover updated to v2774
  • added 10.10 kext folder (AppleHDA.kext and BroadcomBluetooth kext are different than Mavericks)
  • I originally used Toleda's yosemite installer to make my USB - but its no longer necessary for Beta, just follow the 10.9 method

30-June-2014 - 10.9.4 update

  • Clover updated to v2747
  • 10.9.4 - 2 custom kexts updated in 10.9.4 since 10.9.3 -  AppleHDA.kext and BroadcomBluetooth kext must be replaced if you do the Update installation. 

25-June-2014 - changes since 22-May

  • Clover updated to v2721
  • Collapsed Clover folders to remove OEM - common configuration set for both USB installers and on the HD.  (also can boot Recovery HD)
  • FakeSMC.kext updated to v6.8.1315
  • VoodooPS2Controller.kext updated to v1.8.13 - Compiled and modified Info.plist(s) to add LENOVO T420 keys. Removed HP and few other non-relevant options in various Info.plist files
    Note: TrackPad pressure FingerZ value set to 47 - up from default of 30  - change to suite your touch in VoodooPS2Controller.kext/Contents/PlugIns/VoodooPS2TrackPad.kext/Contents/Info.plist
  • DSDT mods to KBD device - renamed to PS2K and added LENOVO OEM-ids for VoodooPS2Controller to use.
  • Revised Pike's ssdt generation script and included local copy of iasl

22-May-2014 - 10.9.3 update - changes since 10.9.2

  • Clover updated to v2671
  • Kexts updated to OSX 10.9.3
  • FakeSMC.kext updated to v6.8.1307
  • Recompiled/fixed up VoodooPS2Controller 1.8.11 for double click issue on TrackPoint buttons
  • Revised (again) top-level config.plist for "DSDT-less" OS install, Clover patches built-in on-the-fly
  • Fixed up ssdtPRgen-clover.command script to copy ssdt.aml into proper ESP OEM location when mounted.
  • Added RehabMan's ACPIBacklight.kext v2.0.2 for smoother dimming. (patched DSDT included)
  • RehabMan's DSDT mods to PNLF for ACPIBacklight.kext to function (adds wider smoother LCD brightness range)

T420 users:

 

Attached is a current full /EFI pack for the T420 for Clover and OSX 10.8.5 (12F45) and 10.9.4 (13E28).

 

Caveats:

My system is a T420 1600x900 LCD with dedicated Intel HD 3000 Graphics Only ... So can't speak to enabling Nvidia gfx myself.  This is a zip contains what is working for me. The guide outlines the 2 phases: (1) how create a USB installer and install OSX, and (2) run OSX for your HD. If your HW is not similar as mine, the included DSDT and configuration files may need to be retrofitted to work for your system. 

 

Highlights:

  • A config.plist + kexts for Clover to boot without a custom DSDT file for the OS install 
  • Separated by LCD size -  config.plist with a custom DSDT for Clover to boot via UEFI, post OS install
    • ACPI.1600x900 folder - has dsdt.aml for high-res LCD with DualLink=1 and injects a good/patched EDID
    • ACPI.1366x768 folder - has dsdt.aml for low-res  LCD with DualLink=0 and no injected EDID
    • Note: the CPU section is not needed in the config.plist anymore, as Clover computes Bus Speed ok in later revs - check it though! should be around 99676 - 99700 to keep system clock accurate.
    • A current Clover and Kext Bundle for 10.8.5+10.9.3 is here in this post
  • An older non-maintained Kext Bundle for 10.8.4 is in post #241

ACPI Notes:

  • the new DSDT conforms (more) to the native unmodified kexts ACPI spec... may not have to replace the AppleACPIPlatform.kext.
  • AppleACPIPlatform.kext v2.0 (10.9.x) works with new DSDT
  • AppleACPIPlatform.kext v1.8 (10.8.5) works with new DSDT
  • AppleACPIPlatform.kext v1.7 (10.8.4) works but does not wake as well when you have external eSATA/USB drives.  
  • Notes:  there are kext folders for 10.8 and 10.9 - but many of the kexts are the same.

 

Custom Kexts

Mountain Lion (10.8.5)

  • FakeSMC.kext (v6.x.xxxx) - Core hack mechanism. Using Kozlek's version + plugins - Note: Follow link to download full package - so you can install HWMonitor.app etc (no need to re-install FakeSMC.kext unless there is a newer rev - so if you do install - just select these 2 Plugins Sensors: ACPI and CPU)
  • AppleIntelE1000e.kext (v3.0.4.1) - Ethernet (gigE) - goes in /System/Library/Extensions/IONetworkingFamily.kext/Contents/PlugIns
  • VoodooPS2Controller.kext (v1.8.x) - RehabMans's PS2 Keyboad/Trackpad -   Note: Follow link to get full package and installation instructions to install daemon and pref-panel 
  • ACPIBatteryManager.kext (v1.52) - RehabMan's kext configured for v3 ACPI instructions to show/track battery info on menu bar
  • ACPIBacklight.kext (v2.0.2) - RehabMan's kext for smoother/enhanced LCD backlight (dimming) control.
  • IOAHCIBlockStorageInjector.kext -  configured to make just the DVD device appear internal so iDVD player works. 

    These kexts are 10.8.5 specific:

  • AppleHDA.kext (v2.4.7 patched from 10.8.5)- for full audio support - note: requires matching DSDT sections using Conexant Codec and layoutID 12. Note: AppleHDA.kext has Manwe150's fix/additions for dock ports.
  • BroadcomBluetoothHostControllerUSBTransport.kext (v4.1.7 with patched Info.plist from 10.8.5) - adds ProductID 8575 to make BT work! Put/replace one in /S/L/E/IOBluetoothFamily.kext/Contents/PlugIns

Mavericks 10.9.x  - use kext inject or install in /S/L/E (/System/Library/Extensions).

 

   These 5 kexts are the same as in the 10.8 folder

  • FakeSMC.kext
  • AppleIntelE1000e.kext
  • VoodooPS2Controller.kext
  • ACPIBatteryManager.kext
  • ACPIBacklight.kext
  • IOAHCIBlockStorageInjector.kext 
     

   These kexts are 10.9 specific:

  • AppleHDA.kext (v2.6.3 patched from 10.9.4) - for full audio support (analog and DisplayPort/HDMI) Note: requires matching DSDT HDEF device sections using layoutID 12. (kext is patched for CX20590 codec)
  • BroadcomBluetoothHostControllerUSBTransport.kext (v4.2.6 with patched Info.plist from 10.9.4) - adds ProductID 8575  in Info.plist to make BT work better! Put/replace one in /S/L/E/IOBluetoothFamily.kext/Contents/PlugIns

​10.*-Chameleon - extra patched kexts for use with Chameleon 

  • AppleIntelCPUPM.kext (patched 10.8.5 and 10.9.3) - not really necessary to install/replace with clover since it does the patching. Optional Install in /S/L/E for Chameleon compatibility.

General Notes, Fixes, and Features of the Zip

  • 2 configuration files (Clover config.plist) 
     a ) config.plist               - (default) to use the custom DSDT and WITH extra Clover patching
     b ) config.nodsdt.plist   - this testing version - everything works except battery levels
                                           - remove/rename DSDT.aml and use built-in/BIOS DSDT with Clover patching
  • Model is to set MacBookPro8,1 explicitly in config.plist. (needed to get proper DP/HDMI/DVI/VGA FrameBuffers)
  • Zip includes extra and custom kexts plus cVad's Kext Utility to v2.5.7 for easy kext installation (or you can use manual kext  _install_SLE.bash script)
    Note: VoodooPS2Controller keyboard mappings have 3 or 4 finger swipe left/right to back/forward for browsers configured.
  • removed ssdt.aml files from zip and added ssdtPRgen-clover.command script so you can create your own SSDT P/C state tables
  • High-res vs low-res config.plist (and DSDT) are very consistent - difference is EDID and DualLink settings.
  • Note: for 1600x900 the EDID is injected by Clover and is also in the 1600x900 version of the DSDT for - there are 2 sets of timings for 60 and 50 Hz options
  • Added folder for Displays/Overrides (for more natural color gamma curves and more screen size options) in this zip
  • Swapped out VBoxHFS-64.efi for HFSPlus-64.efi - supports installation bundles and Recovery HD better.
  • Clover patches string for SNBFrameBuffer kext to fix brightness LCD before sleep - now its the same brightness before and after. Thanks to Timewalker75a (again!)
    Note: this same kext patch replaces the 4th port/buffer (DVI on dock) with VGA on left side. The 4 ports after patch are: LCD, DisplayPort on side, DisplayPort on dock, VGA on side. If you need DVI on the dock - then you can either not do this! Or replace the 3rd port (DP) if you want the VGA.
  • Thinkpad theme (updated) to show badge (disk type) and added a Mavericks 10.9 Icon instead of using generic apple.
  • ScrLk and Pause keys change LCD brightness. ThinkPad button toggles fan to high speed.
  • Alt key is the Command key and Microsoft flag key is the Option key.

DSDT tweaks since 10.8.x version:

  • DSDT includes source and binary with recent patches (some beyond Clover and manwe150's original post edits)
  • Added MaxBeepBootVolume to DSDT to rid AppleHDA assertion on startup

  • Shutdown fixes in DSDT  _PTS and _WAK (thanks to TimeWalker75, RehabMan and Manwe150)

  • Change/fixes to reset LEDs for proper sleep/wake status

  • Battery fixes to use native/current ACPIPlatform.kext with Rehabman's ACPIBatteryManager.kext - no need to rollback or patch AppleACPIPlatform.kext anymore.

  • For 1600x900 LCDs, added an EDID that removes infamous HD 3000 glitches and buffer hangs.

  • PNLF additions from RehabMan for smoother LCD backlight control with ACPIBacklight.kext

 

INSTALLATION GUIDE

 

BIOS settings:

- Most defaults settings will work - but make sure SATA is set to AHCI mode and disable VT-d in the Virtualization option.

- Disable Nvidia/Optimus (use HD 3000 only unless you really know what you are doing!)

- The custom DSDT is based off BIOS v1.46 (flashed with whitelist mod or original)

 

Part 1 - OS Installation

 

Install (or reinstall/update) OS X to a GUID/GPT formated disk from a USB using the standard Install OSX .app

You can use this zip to build a Clover-based USB installer and then install on HD for UEFI boot.

  • For Mountain Lion (10.8.x) install USB
  1. Download Mountain Lion from the App Store - puts in /Applications
  2. Partition an 8GB USB as GUID (use option menu to change from MBR) - name this partition USB
    Note: if you have a larger USB (say 16GB) you can split into 2 8GB partitions, so you can have 10.8.x and 10.9.x installers on the same USB key
  3. Use Disk Maker to create an Installer from the downloaded Install Mountain Lion OSX.app

    Note: you may need to disable BlueTooth in the BIOS to install 10.8.5 directly. Enable later when you boot up.
  • For Mavericks (10.9.x) install USB
  1. Download latest Mavericks from the App Store - default location is in /Applications
  2. Partition an 8GB USB as GUID (use option menu to change from MBR) - name this partition USB
    Note: if you format the USB as MBR, then you will need to install the Clover boot tools (after) - see note at the bottom.
  3. Run this command:
    sudo /Applications/Install\ OS\ X\ Mavericks.app/Contents/Resources/createinstallmedia --volume /Volumes/USB --applicationpath /Applications/Install\ OS\ X\ Mavericks.app —nointeraction
    
  • Common steps
  1. manually mount ESP of USB and copy the entire EFI folder (from the zip) onto USB ESP
    For example, assuming the USB is disk2:

    sudo mkdir /Volumes/ESP-USB
    sudo mount -t msdos /dev/disk2s1 /Volumes/ESP-USB
    sudo cp -a ~/Downloads/T420/EFI /Volumes/ESP-USB

    Note: run "diskutil list" on the command line to find your USB disk
             if your USB is MBR format - just copy the EFI structure to the / (root) of the main partition instead!

     

  2. Setup configuration files to match your LCD resolution in /Volumes/ESP-USB/EFI/CLOVER:
    1. ​​​Rename ACPI.1600x900 to ACPI or rename ACPI.1366x768 to ACPI
    2. Rename config.1600x900.plist to config.plist or rename config.1366x768.plist to config.plist
       
  3. Boot from USB and select Install OSX
     
  4. Install on your GUID OSX partition!

TIP: enable debug mode for Disk Utility to see all the partitions (such as hidden EFI). From the Terminal command line, run this:

sudo defaults write com.apple.DiskUtility DUDebugMenuEnabled 1

Part 2 - Post OS Installation and Setup on HD

  1. Boot Clover from USB - but now select the new OS X partition to start OS X. 
    This will boot up OS X with Clover using the custom kexts with the "top" level config.plist.
     
  2. Install Clover to HD 

    a ) Run the full Clover_v2k_rxxxx.pkg to install the related latest bits into the HD OS and ESP (usually partition 1) of disk0. Use the link to download the pkg from SourceForge.  You can do this step later on if you don't have way to get it before you are setup on the network. Select (check box) at least first 2 items! This picture shows a good set of overall options:
    [attachment=134184:clover-pkg-install.png] After you close the pkg installer, then follow these step:

    b ) REPLACE the ESP (EFI folders) contents with the exact CLOVER folder as your setup on USB from steps above. If not still automatically mounted by the installer pkg, manually mount the ESP of your HD on say /Volumes/ESP. Then copy and replace the folders /Volume/ESP/EFI/CLOVER and BOOT from the USB installer you just built and used.
     
  3. Install custom kexts on HD
    • Recommended: Use the folder with its config.plist with the custom dsdt.aml (as is) to start.  And install the custom kexts from the zip folder to the /System/Library/Extensions folder. 

      Install these kexts from the zip folder EFI/CLOVER/kexts/10.[8 or 9] by either method:
      - if you don't have a GUI, use the included shell script _kext-install-SLE.bash
      OR 

      - if you have a GUI, then use the Kext Utility tool (from cvad included in Utilities folder). 

      Note: If you choose to NOT install the custom kexts in the OS /S/L/E folder, then modify the config.plist to force injection of these custom kexts. Note: Injecting AppleHDA and BroadcomBluetooth kexts from the ESP may conflict unless the originals are removed from /S/L/E. 
       
  4. Install (copy) the DisplayVendorID-* folders
    These are from the zip file and should be put in /System/Library/Display/Overrides
    Note: These provide alternate color correction and gamma curves as well as more screen sizes for just a few LCD models. 
     
  5. Reboot - Boot Clover from HD vs USB.
    Hit the spacebar on your boot selection (OSX) to start up
     without kext caches to make sure it loads all the custom kexts just installed. 
     
  6. Ethernet Device Install
    Note: This step is optional but usually needed after a fresh OS install.
    This loads the ethernet kext and resets network device order to have ethernet as en0 (may help with iMessage etc)
    Run this set of commands in a terminal window:
    sudo kextload /System/Library/Extensions/IONetworkingFamily.kext/Contents/PlugIns/AppleIntelE1000e.kext
    sleep 10
    sudo rm       /Library/Preferences/SystemConfiguration/NetworkInterfaces.plist
    
  7. Create a custom SSDT
    This is for proper P/C states to match system (optional - but this tool may do a better job than Clover) 
    Run the custom ssdtPRgen-clover.command script in Zip Utilities folder. It should ask you if you want copy ssdt.aml to your ESP ACPI/patched folder, otherwise copy/move ssdt.aml to the same location as your custom dsdt.aml 
    which is: /Volumes/ESP/EFI/CLOVER/ACPI/patched

    Note: it will copy iasl from the Utility folder to /usr/local/bin/iasl

     
  8. Reboot a final time to use the new SSDT table (and other changes from last 3 steps)

 

Known Issues:

  • E1000e ethernet hang: with the 2.5.4d and 3.0.4.x version of the Intel E1000e ethernet kext, I have seen some random problems. I rolled back to v2.4.14 and have not had issues lately. The issue crop up under heavy file copy/transfers and your ethernet stops working with a lot of log messages that only a reboot fixes. 

Note: the 4 problems listed below happened with earlier versions of Clover, but on 10.9.2 or later, and with the rewrite of Clover and OsxAptopFixdrv-64.efi, these UEFI/ESP issues are seem to be a thing of the past.

  1. putting to sleep can result in flashing/hung state

  2. built-in keyboard mute button can totally freeze system - works fine from software (i.e. apple bluetooth KB)

  3. shutdown may not go all the way to full power off (OS shuts down but at black screen with fans/lights on)

  4. built-in PS2 keyboard/trackpad may disappear after sleep/wake 

Optional: Boot with Clover on MBR USB

 

One can still boot from the HD using UEFI. But one can also create a bootable MBR formatted USB with CloverEFI. This boot method may mitigate or eliminate any random UEFI issues. The exact same EFI folder can be used. To make a bootable MBR USB:

  1. Format the stick as MBR (which is usually the default) with a single FAT32 partition named USB.
  2. Optionally copy the OSX installer to USB (same command for GUID USB above) but must be done before steps below!
  3. Then with Clover_v2k_rxxxx.pkg, install to the USB for "legacy CloverEFI" boot.  That is: Uncheck the top 2 items, and in Bootloader check the 2nd option to install boot0af.
  4. After the Clover pkg installer is finished and closed, then replace the EFI/CLOVER folder just like you did on the HD. the EFI/BOOT folder is not needed. Note: the HD ESP EFI folder and USB EFI folder should be exactly the same now.
  5. Then from the BIOS, set USB-HDD as top boot option (so you don't have manually boot from USB vs the HD)
Go to the full post


  • Please log in to reply
1241 replies to this topic

#41
Espamac

Espamac

    InsanelyMac Protégé

  • Members
  • Pip
  • 33 posts
Hello!

Thanks A LOT for your post. The last laptop I hacked was a Dell notebook and that was 6 years ago, so I'm basically a newbie regarding the latest procedures to get OS X running. Things have improved dramatically for what I can see and the community is now strong and really vast.

After a series of unrelated events I've ended up really fed up with Apple and want to experience other hardware and fresh air but need and prefer to use OS X. I need a stable reliable system that's why I like very much the UEFI approach, it's clean and elegant, congratulations on the work done.

I shall be looking for a relatively updated second hand laptop, and my eyes were set on a Thinkpad since they seem solidly built and reliable. Plus I like the rugged 80's look... I must be getting old.

It looks like the job is really advanced on the T420... Would it work similarly on a x220 or is it a completely different beast? I like the screen resolution of the T420 but prefer the size of the X220.

One more question, are the T430 or the X230 theoretically approachable with this method or do you foresee some hardware obstacles that make the hack impossible. I'm trying to get the most stable and functional Thinkpad that is possible.

Regards and again thank you for your work, really appreciated.

#42
Kogen Mantis

Kogen Mantis

    InsanelyMac Protégé

  • Donators
  • 98 posts
  • Gender:Male

Hello!

Thanks A LOT for your post. The last laptop I hacked was a Dell notebook and that was 6 years ago, so I'm basically a newbie regarding the latest procedures to get OS X running. Things have improved dramatically for what I can see and the community is now strong and really vast.

After a series of unrelated events I've ended up really fed up with Apple and want to experience other hardware and fresh air but need and prefer to use OS X. I need a stable reliable system that's why I like very much the UEFI approach, it's clean and elegant, congratulations on the work done.

I shall be looking for a relatively updated second hand laptop, and my eyes were set on a Thinkpad since they seem solidly built and reliable. Plus I like the rugged 80's look... I must be getting old.

It looks like the job is really advanced on the T420... Would it work similarly on a x220 or is it a completely different beast? I like the screen resolution of the T420 but prefer the size of the X220.

One more question, are the T430 or the X230 theoretically approachable with this method or do you foresee some hardware obstacles that make the hack impossible. I'm trying to get the most stable and functional Thinkpad that is possible.

Regards and again thank you for your work, really appreciated.

He he yes I guess we are getting older cause I have a macbook pro but I prefer to use my T420 as my main hackbook computer :)
From the x220 spec I can see you will be good to go with the UEFI method (Sandy Bridge with Intel HD 3000) as for T430 and X230 I'm very optimistic cause I see more and more commits in clover that deal with Intel HD 4000 thus I see no reason why this shouldn't work.

To be honest I'm curious how will this work on other UEFI enabled ThinkPad's that is why I welcome all models specified below to join in and share their experience.

Welcomed ThinkPad:
E130, E135, E330, E335, E430, E435, E530, E535, L330, S430
L430, L530
S220, S420
T420, T420s, T430, T430s, T520, T530
W520, W530
X1, X1 Carbon, X121e, X130e, X131e, X220, X220 Tablet, X230, X230 Tablet

#43
Espamac

Espamac

    InsanelyMac Protégé

  • Members
  • Pip
  • 33 posts
Thanks for the answer! Count me in, I'm going to look for a decently priced second hand Thinkpad. I'll report back.

#44
seraph1024

seraph1024

    InsanelyMac Protégé

  • Members
  • Pip
  • 8 posts

The more information you give the better chance to resolve your issue.
- what OSX version you are trying to boot?

Update: Try disabling OEM table DMAR in Clover option during boot and report back


I have tried disabling OEM table DMAR. That went further. I got to as far as the screen where it's asking for mouse/keyboard (bluetooth) which i had and then KP. I think it's the recovery screen and I got as far as being able to partition a new drive before it KP once.

I am running on Lenovo T420, i7 with 16GB of RAM and 256GB SSD drive. For the install media, I am using a 2GB standard USB stick formatted as FAT32 then Ran Clover with EFI option (not standard and both of the 64bit checked) on the latest clover. As for the OSX, I have a MBP 15" retina and I downloaded ML 10.8 on there thru the store. I made a 8GB boot USB with that.

Thanks for the help so far. Do you need any particular info. I am trying to get the message before KP but it keep rebooting before I can even write it down.

#45
Kogen Mantis

Kogen Mantis

    InsanelyMac Protégé

  • Donators
  • 98 posts
  • Gender:Male

I have tried disabling OEM table DMAR. That went further. I got to as far as the screen where it's asking for mouse/keyboard (bluetooth) which i had and then KP. I think it's the recovery screen and I got as far as being able to partition a new drive before it KP once.

I am running on Lenovo T420, i7 with 16GB of RAM and 256GB SSD drive. For the install media, I am using a 2GB standard USB stick formatted as FAT32 then Ran Clover with EFI option (not standard and both of the 64bit checked) on the latest clover. As for the OSX, I have a MBP 15" retina and I downloaded ML 10.8 on there thru the store. I made a 8GB boot USB with that.

Thanks for the help so far. Do you need any particular info. I am trying to get the message before KP but it keep rebooting before I can even write it down.

I see you have upgraded the RAM and HDD. Wait, you say 16GB of RAM is possible in T420!? Do tell more about the upgrade and what ram you are using.

You are getting closer... Dropping DMAR table will be essential for you cause you have new installer 10.8.2 (you will fix that later with AppleACPIPlatform.kext).
The KP is most likely your CPU - in clover try unchecking P and C states generation, than try SSDT table drop unchecked etc. Also experiment with different UEFI Bios settings (try using Intel HD 3000). Good luck and report back.

#46
Tetonne

Tetonne

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 248 posts
Attached File  post-638501-0-53236700-1360428974_thumb.jpg   11.53KB   109 downloads

solved by

<key>Graphics</key>
<dict>
<key>GraphicsInjector</key>
<string>Yes</string>
<key>DualLink</key>
<string>0</string>

</dict>

Thanks to

Kogen Mantis :)



#47
Kogen Mantis

Kogen Mantis

    InsanelyMac Protégé

  • Donators
  • 98 posts
  • Gender:Male

try Clover_v2_r1112 but went back to Clover_v2_r1050 cos i got that
Attached File  post-638501-0-53236700-1360428974_thumb.jpg   11.53KB   109 downloads

Help would be great
i try to move dsdt.aml
no result

boot.log under 1050
under 1112

The systemlog says that you are running r1050 but anyways. (ok You have added the seccond one) :) 1112... This is because latest Clover builds are using DualLink enabled by default. Just disable it in config.plist and see if this helps.
<key>Graphics</key>
	 <dict>
			 <key>GraphicsInjector</key>
			 <string>Yes</string>
			 <key>DualLink</key>
			 <string>0</string>
	 </dict>

Edited by Kogen Mantis, 11 February 2013 - 07:50 PM.


#48
seraph1024

seraph1024

    InsanelyMac Protégé

  • Members
  • Pip
  • 8 posts

You are getting closer... Dropping DMAR table will be essential for you cause you have new installer 10.8.2 (you will fix that later with AppleACPIPlatform.kext).
The KP is most likely your CPU - in clover try unchecking P and C states generation, than try SSDT table drop unchecked etc. Also experiment with different UEFI Bios settings (try using Intel HD 3000). Good luck and report back.


I figured it out. It was the dropping DMAR and going to bios and turning off the NVIDIA optimus mode off. That took care of the whole install and all.

Yes I got the T420 about 2 years ago. So it was right as the T430 begin to come out. The motherboard can handle 16GB RAM. I am dual booting right now. One SSD (128) holds Win8. The 256 is partitioned in 2. Half for data shared between 2 OSes and half for OSX. Working good so far. I also got a small USB wifi module so that goes in the USB slot by the battery bay so it's out of the way. Just remember to turn of the power feature on BIOS.

Well, 3 things so far: 1:Not sure which format to use but clover is now installed on mac HD and still does not show up as bootable drive thru BIOS. 2:Audio is not working but I assume some kext is missing or needed to be modified. And finally 3: Everytime OSX is booted, Bluetooth keeps searching for Keyboard. Odd. Typing from T420 on Mac mode so it's good so far though. Thanks for all the help.

Attached Files



#49
Kogen Mantis

Kogen Mantis

    InsanelyMac Protégé

  • Donators
  • 98 posts
  • Gender:Male

...
Well, 3 things so far: 1:Not sure which format to use but clover is now installed on mac HD and still does not show up as bootable drive thru BIOS. 2:Audio is not working but I assume some kext is missing or needed to be modified. And finally 3: Everytime OSX is booted, Bluetooth keeps searching for Keyboard. Odd. Typing from T420 on Mac mode so it's good so far though. Thanks for all the help.

Niece to see you progressing with the setup.

The bluetooth "phenomena" is normal cause OSX doesn't accept PS2 devices as valid controllers (keyboard/mouse) and thinks that they aren't connected. Just disable the bluetooth check.
Attached File  bluetooth-tip.png   146.43KB   25 downloads
As for audio. You are most likely using wrong driver or missing one. Now that you have OSX running update your post with DarwinDumperReport available here.

#50
raffitaffy

raffitaffy

    InsanelyMac Protégé

  • Members
  • Pip
  • 12 posts
  • Location:White Plains, NY
Thank you Kogen Mantis, UEFI is a great way to go (and install). My 4236DE2 build is flawless (sound,sleep,display port) with a quick load (UEFI w/ clover IS quicker). Had to add a vodoo battery kext. After playing with several DSDTs I used manwe150's from the other T420 big thread with the "DualLink to 0"fix from post 32 (I have the low resolution monitor). Changed the folder name on EFI partition and bingo. I was getting that black screen before the dual link fix, although connecting an external monitor worked.

I simply swapped the drive to my wife's 420: 4177CTR. And all but sound works. No folder change. System profiler even shows her 16 RAM at 1600 MHz(GSkill) and a Firewire port. I can't wait to try the Firewire with a MIDI external soundcard I have.

My wife's is a refub but a hellava Macbook. One thing, I put win7 on another Partition and clover wont boot it. Even if the bios is only legacy.Attached File  myKexts.zip   2MB   79 downloads

#51
Kogen Mantis

Kogen Mantis

    InsanelyMac Protégé

  • Donators
  • 98 posts
  • Gender:Male

Thank you Kogen Mantis, UEFI is a great way to go (and install). My 4236DE2 build is flawless (sound,sleep,display port) with a quick load (UEFI w/ clover IS quicker). Had to add a vodoo battery kext. After playing with several DSDTs I used manwe150's from the other T420 big thread with the "DualLink to 0"fix from post 32 (I have the low resolution monitor). Changed the folder name on EFI partition and bingo. I was getting that black screen before the dual link fix, although connecting an external monitor worked.

I simply swapped the drive to my wife's 420: 4177CTR. And all but sound works. No folder change. System profiler even shows her 16 RAM at 1600 MHz(GSkill) and a Firewire port. I can't wait to try the Firewire with a MIDI external soundcard I have.

My wife's is a refub bet a hellava Macbook. One thing, I put win7 on another Partition and clover wont boot it. Even if the bios is only legacy.Attached File  myKexts.zip   2MB   79 downloads

Good to hear that...
This is an issue with lenovo UEFI Bios (it simply won't allow You to boot GPT disks in legacy mode). The only option for us is reinstalling Win7 64Bit in UEFI Only - but I have not tried this yet (whole disk used by OSX).

#52
seraph1024

seraph1024

    InsanelyMac Protégé

  • Members
  • Pip
  • 8 posts
Attached is the darwin dump of my whole system.

I have successfully dual boot using UEFI on both Win8 and ML.

I followed all the instructions but my setup is a little different.

I have 2 HDs on my machine. I am not using the CD tray. You can get a HD tray replacement on Amazon fairly cheap. I got mine for around 50 2 years ago.

The deal is as follows: Install Win8 on first drive (original HD slot). Then install ML on 2nd HD/CD bay and partition as needed -- I am using 240GB SSD so I split in half. Half for data and half for OSX.

This is where I differ from the original post. Instead of writing the EFI contents to the EFI partition, I mount the EFI partition from the FIRST drive with Win8. I renamed the Boot to Boot.old and copy over the rest so you'll get in the EFI partition, you'll get ACPI, BOOT, ROM, kexts, and Windows. Reboot.

When you do not press F12, it'll boot into Windows as before. If you press F12, you can select HD1 and Clover menu shows up. At that point, you can either boot into Windows, OSX, or OSX recovery. :)

I still have to deal with Audio but that's a whole different issue.

Kogen, I can send you screen shots or post the screen shots of the changes here the the EFI partition so people can dual boot as well. I figure if you keep it in one post, it's easier to find for all rather than dig thru the whole thread.

Attached Files



#53
Kogen Mantis

Kogen Mantis

    InsanelyMac Protégé

  • Donators
  • 98 posts
  • Gender:Male

...

This is where I differ from the original post. Instead of writing the EFI contents to the EFI partition, I mount the EFI partition from the FIRST drive with Win8. I renamed the Boot to Boot.old and copy over the rest so you'll get in the EFI partition, you'll get ACPI, BOOT, ROM, kexts, and Windows. Reboot.

When you do not press F12, it'll boot into Windows as before. If you press F12, you can select HD1 and Clover menu shows up. At that point, you can either boot into Windows, OSX, or OSX recovery. :)

I still have to deal with Audio but that's a whole different issue.

Kogen, I can send you screen shots or post the screen shots of the changes here the the EFI partition so people can dual boot as well. I figure if you keep it in one post, it's easier to find for all rather than dig thru the whole thread.


Excellent. I guess you should make Clover boot by default now :)
I'm still searching for the best sound solution and I even found one - but it is not as elegant as I would expect. You can fix your sound by moving original AppleHDA.kext out of /S/L/E:
sudo mv /System/Library/Extensions/AppleHDA.kext /System/
Run myFix (quick) to rebuild caches.
I plan to update the first post soon with some references to interesting posts from this thread. That is why I'd rather You update your post with pictures and working solution for dual booting with Windows 8. I'll then link to it in the first post.

#54
seraph1024

seraph1024

    InsanelyMac Protégé

  • Members
  • Pip
  • 8 posts
I'll write up an howto dual boot this weekend. I am still trying to perfect the machine. So far, when i move the AppleHDA out to /system/ it worked for the next boot but since it has not worked. Also I do not have video out from Display port or VGA. I thought your setup has it running. Anything I should be watching out for on this setup?

#55
Kogen Mantis

Kogen Mantis

    InsanelyMac Protégé

  • Donators
  • 98 posts
  • Gender:Male

I'll write up an howto dual boot this weekend. I am still trying to perfect the machine. So far, when i move the AppleHDA out to /system/ it worked for the next boot but since it has not worked. Also I do not have video out from Display port or VGA. I thought your setup has it running. Anything I should be watching out for on this setup?

Yes I see Clover auto detect your machine as MacbookPro8,3. Try setting 8,1 by hand in EFI\OEM\41786WU\config.plist by adding:
<key>SMBIOS</key>
<dict>
<key>ProductName</key>
<string>MacBookPro8,1</string>
</dict>


#56
Kogen Mantis

Kogen Mantis

    InsanelyMac Protégé

  • Donators
  • 98 posts
  • Gender:Male
I have came across excellent VoodooPS2Controller.kext replacement by RehabMan on GitHub. Believe me this are the best drivers you will get. You can program your three fingers swipe to whatever shortcut you wan plus the inertial/smooth scrolling works just like on a real mac!
I'll include new drivers in the next release of LenovoEFI_Pack_Beta3 stay tuned.

Update: For those who can't wait - attached the drivers I'm using now.

My keyboard shortcuts settings:

Attached File  keyboard_shortcuts.png   137.28KB   52 downloads

Attached Files


Edited by Kogen Mantis, 16 February 2013 - 10:56 AM.


#57
Tetonne

Tetonne

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 248 posts
Thanks for the share, i try it using the How to) but got KP and loop boots
Waiting the new pack :)

my pack is available in my signature (i use it in SLE) cos i switch from Chameleon to Clover
my EFI/Config is Kogen Mantis' one
your /EFI/OEM/find your code on the upper your barcode sticker : type 4236-Y33 give you 4236Y33/config.plist
-----

usefull information to add in your config.plist

<key>CustomUUID</key>
<string>ioreg -l -p IODeviceTree | grep \"system-id</string>
<key>DefaultBootVolume</key>
<string>name of your HD</string>
<key>InjectSystemID</key>
<string>Yes</string>
<key>LegacyBoot</key>
<string>PBR</string>
<key>SystemId</key>
<string>system_profiler SPHardwareDataType | awk '/Hardware UUID/'</string>
<key>VolumeString</key>
<string>diskutil info /dev/disk0s1 | awk '/Volume UUID/'</string>
<key>boot-args</key>
<string>npci=0x3000 PCIRootUID=1</string>
<key>device-properties</key>
<string>ioreg -lw0 -p IODeviceTree -n efi -r -x | grep device-properties | sed 's/.*<//;s/>.*//;'</string>


usefull other info :(use terminal.app)

ioreg -r -d 1 -k IOPlatformUUID

Edited by Tetonne, 16 February 2013 - 01:48 PM.


#58
Kogen Mantis

Kogen Mantis

    InsanelyMac Protégé

  • Donators
  • 98 posts
  • Gender:Male

Thanks for the share, i try it using the How to) but got KP and loop boots
Waiting the new pack :)
my pack is available in my signature (i use it in SLE) cos i switch from Chameleon to Clover
my EFI/Config is Kogen Mantis
your /EFI/OEM/find your code on the upper your barcode sticker : type 4236-Y33 give you 4236Y33/config :

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com...yList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Graphics</key>
<dict>
<key>DualLink</key>
<string>0</string>
<key>GraphicsInjector</key>
<string>Yes</string>
</dict>
<key>SMBIOS</key>
<dict>
<key>BiosReleaseDate</key>
<string>04/22/11</string>
<key>BiosVendor</key>
<string>Apple Inc.</string>
<key>BiosVersion</key>
<string>MBP81.88Z.0047.B0E.1104221557</string>
<key>BoardSerialNumber</key>
<string>xxxxxxxxxx</string>
<key>Manufacturer</key>
<string>Apple Inc.</string>
<key>ProductName</key>
<string>MacBookPro8,1</string>
<key>SerialNumber</key>
<string>use Chameleon Wizard (SMSBIOS)</string>
<key>Version</key>
<string>1.0</string>
</dict>
<key>SystemParameters</key>
<dict>
<key>CustomUUID</key>
<string>diskutil info /dev/disk0s1 | awk '/Volume UUID/'</string>
<key>DefaultBootVolume</key>
<string>name of your HD</string>
<key>InjectSystemID</key>
<string>Yes</string>
<key>LegacyBoot</key>
<string>PBR</string>
<key>VolumeString</key>
<string>number is given at bios boot, I try to find better how to</string>
<key>boot-args</key>
<string>npci=0x3000 PCIRootUID=1</string>
<key>device-properties</key>
<string>see post 38</string>
<key>efi-boot-device-data</key>
<string>I try to find a how to</string>
<key>prev-lang:kbd</key>
<string>fr:1111</string>
</dict>
</dict>
</plist>

usefull other info :(use terminal.app)
system_profiler SPHardwareDataType | awk '/Hardware UUID/'

diskutil info /dev/disk0s2 | awk '/Volume UUID/'
ioreg -r -d 1 -k IOPlatformUUID

Make a DarwinDumperReport I'll see what is causing the KP. But most likely You still have VoodooPS2Controller.kext somewhere.
Check:
  • EFI/OEM/4236Y33/kexts/10.8/
  • /System/Library/Extensions/
  • /System/Library/Extensions/myHack.kext/Contents/PlugIns/ (if you are using myHack)


#59
seraph1024

seraph1024

    InsanelyMac Protégé

  • Members
  • Pip
  • 8 posts

Yes I see Clover auto detect your machine as MacbookPro8,3. Try setting 8,1 by hand in EFI\OEM\41786WU\config.plist by adding:

<key>SMBIOS</key>
<dict>
<key>ProductName</key>
<string>MacBookPro8,1</string>
<dict>



I tried MBP 8,1 8,3. Both are not working. Odd. I even changed the number of ports from 1 to 3. Something else is missing. Also when I am not in verbose mode for booting, the apple logo seems big (somewhat off scale) but boots into 1600x900 without issues though.

#60
Tetonne

Tetonne

    InsanelyMac Geek

  • Members
  • PipPipPipPip
  • 248 posts
How to fix the iMessage login problem on your Hackintosh (with Clover) :

http://www.macbreake...problem-on.html


add this

<key>RtVariables</key>

<dict>

<key>MLB</key>

<string>xxxxxxxxxxxxxxxxx</string>

</dict>

in your config.plist


xxxxxxxxxxxxxxxxx 17-character serial number compose this your SMBIOS SerialNumber + y number or letter






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


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users

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