Jump to content

Lenovo ThinkPad T420 with UEFI Only

* * * * * 12 votes UEFI ThinkPad T420 Lenovo Clover

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

23-October-2014 Update

  • Clover r2967 - or stay on r2953 - it is still fine.
  • Recompiled VoodooPS2Controller.kext v1.8.13 with added Lenovo T420 sections for Keyboard/TouchPad/TrackPoint
  • Bumped the ACPIBatteryManager.kext up to v1.53
  • Added Platforms.xml file for use with Docking Station (and No-Dock default) option in AppleHDA_20672.kext

18-October-2014 - OS X 10.8.x 10.9.x 10.10.x Update

  • Clover updated to v2953
  • New custom kexts AppleHDA_20672.kext (fixed since October 13) and BroadcomBluetooth_T420.kext are added. Huge thanks to vladichimescu for showing me this kext method.
  • All custom/extra kexts are OS version independent and go in /Systems/Library/Extensions 
  • New Clover config.plist files for on-the-fly HDA kext patching. No need to replace any kexts after updates anymore.
  • Removed EmuVariableUefi-64.efi driver to use native NVRAM (vs /nvram.plist) - see note below on how to migrate.
  • FakeSMC updated to 6.11.1328
  • Added drop table MCFG for Nvidia/Optimus (mixed gfx)
  • Added drop table DMAR so VT-d does not have to be disabled
  • ACPIBacklight.kext - v2.0.3 - with modified code to fix/workaround for LCD brightness in Yosemite.
  • Updated 10.10 kexts folder (10.10. AppleHDA and BroadcomBluetooth kexts + Hackintosh Kexts)
  • Updated 10.9  kexts folder (10.9.5 AppleHDA and BroadcomBluetooth kexts + Hackintosh Kexts)
  • Note: To make an Mavericks USB installer, just follow the Yosemite method

Lenovo T420 Clover Guide

 

Attached is a current /EFI pack for the Lenovo T420 using Clover on OS X versions:

  • 10.10  Yosemite
  • 10.9    Mavericks
  • 10.8    Mountain Lion (not tested anymore!)

Why Clover vs Chameleon?

  • Native UEFI boot support for OS X and Windows on GUID/GPT disks.
  • Native Apple OS X Installers and App Store Updaters. 
  • Supports Recovery HD for system recovery and iMessage, Find My Mac, etc.
  • Dynamic DSDT and Kext patching.

Caveat:

My system is a T420 with 1600x900 LCD and dedicated Intel HD 3000 Graphics Only.  This is a zip contains what is working for me on my specific model. 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.  The models T420s, T420i as well as the T520 family may work as is or need some changes to the DSDT.

 

Highlights:

  • Clover config.plist + required kexts + custom DSDT
  • 2 versions are separated by LCD size
    • 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, 10.9 and 10.10 is here in this post
  • An older non-maintained Kext Bundle for 10.8.4 is in post #241

Misc Notes:

  • VoodooPS2Controller.kext  - slightly 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.
     
  • 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)
     
  • Included is a revised Pike's  SSDT generation script (sdtPRgen-clover.command) and a local copy of iasl. running the script will end with making a copy of ssdt.aml into proper ESP location when mounted.

Custom Kexts

 

Use kext install tool to install all kexts to /S/L/E (/System/Library/Extensions).

  • 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 (v2.4.14) - Ethernet (gigE) - can go in /System/Library/Extensions vs Plugins so updates will not delete it.
  • VoodooPS2Controller.kext (v1.8.13) - T420 version of RehabMans's PS2 Keyboad/TouchPad/TrackPoint -  Note: Follow link to get full package and installation instructions to install daemon and pref-panel This version has extra T420 definitions in the Info.plist files.
  • ACPIBatteryManager.kext (v1.53) - RehabMan's kext configured for v3 ACPI instructions to show/track battery info on menu bar
  • ACPIBacklight.kext (v2.0.3) - RehabMan's kext for smoother/enhanced LCD backlight (dimming) control. The fix is for a Yosemite quirk.
  • IOAHCIBlockStorageInjector.kext -  configured to make just the DVD device appear internal so iDVD player works. 
  • BroadcomBluetooth_T420.kext (v999.99) - adds ProductID 8575 to make BT work better (on/off capability). Keep original/modified BroadcomBluetooth plug-in and add this kext to /S/L/E.
  • AppleHDA_20672.kext (v999.99) Keep original/unmodified AppleHDA.kext and add this kext to /S/L/E for full audio support for CX20672 (same as CX20590). Note: requires matching DSDT sections for Conexant Codec and layoutID 12. and Kext Patch via Clover. Also has Manwe150's fix/additions for dock ports. Credit and thanks to: vladichimescu

    There are 2 files in AppleHDA_20672.kext/Contents/Resources

    Platforms.xml.zlib.dock and Platforms.xml.zlib.nodock

     

    The "dock" version adds the 2nd audio output called "Headphones" and a 2nd Input "Line In" - both of which are on the Docking Station itself.

    IF you have a dock - then just replace the Platforms.xml.zlib file with Platforms.xml.zlib.dock

    IF you DO NOT have a dock, then use the new kext as is! (and not be confused by the extra Input/Output options!!!)

     

General Notes, Fixes, and Features of the Zip

  • Clover configuration files (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 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 LCD brightness max level - now its the same brightness before and after sleep. 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 and Yosemite Icons 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.

A few DSDT tweaks:

  • 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

  • PS2K (Keyboard) is identified as id LENOVO table-id T420 to use custom VoodooPS2Controller settings.

EmuVariableUefi-64.efi migration

 

1) Before updating if you are still using EmuVariable, run this command see and then save current nvram values:

nvram -p
nvram -xp > ~/nvram.plist

2) Update the ESP with new Clover version (from zip or pkg) - uncheck EmuVariableUEFI-64 driver option.

3) Rename (or remove) EmuVariable driver the ESP so it will not be loaded on next boot, if there is one still in the Clover driver folder.  

Note: manually mount ESP on /Volumes/EFI or /Volumes/ESP, if not already mounted and then run:

mv /Volumes/ESP/EFI/CLOVER/drivers64UEFI/EmuVariableUEFI-64.efi /Volumes/ESP/EFI/CLOVER/drivers64UEFI/EmuVariableUEFI-64.efi.NU

4) Reboot and restore previous nvram values and remove Clover NVRam variable. You should see some variables already in there!

nvram -p

sudo nvram -xf ~/nvram.plist
sudo nvram -d Clover.NVRamDisk

5) Reboot to boot run with final values! 

 

INSTALLATION GUIDE

 

BIOS settings:

- Recommend update to BIOS v1.46

- Recommend reset to defaults. Most defaults settings will work but validate these settings:

- SATA set AHCI mode

- Enable Execution Bit

- Disable VT-d in the Virtualization option (or keep drop DMAR table in config.plist - done by clover).

- Disable Discrete Nvidia/Optimus (use integrated 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 Mavericks (10.9.x) and Yosemite (10.10.x) USB installer
  1. Download latest Yosemite or 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.
    Note: if you have a larger USB (say 16GB) you can split into 2 8GB partitions, so you can have 10.9 and 10.10 installers on the same USB key
  3. Run this command (if Mavericks, the replace word Yosemite with Mavericks):
    sudo /Applications/Install\ OS\ X\ Yosemite.app/Contents/Resources/createinstallmedia --volume /Volumes/USB --applicationpath /Applications/Install\ OS\ X\ Yosemite.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! Notes and Tips:
  • When the installer screens shows: "To pair a Bluetooth keyboard, turn it on and wait for your computer to connect to it.”

 

Hit the Space Bar to get past this step.
  • When installer seems to hang at: "About a second remaining”
Don’t Panic, this "second" may take about 10 minutes or more to finish. Just wait for the installer to reboot the computer and continue the installation.
The whole install process takes about 1 hour to complete.
  • On the first boot from the HD when asked: “How Do You Connect?”
Select: “My computer does not connect to the Internet”
And set up the network later after installation the NIC driver kext.
And your Intel WiFi will not work. Period. 

 

 

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

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 on 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=149386:clover-pkg-options.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 or 10] 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/AppleIntelE1000e.kext
    sleep 10
    sudo rm       /Library/Preferences/SystemConfiguration/NetworkInterfaces.plist
    
  7. Create a custom SSDT (optional)
    Creates P and C states to match system CPU. Test against Clover generated SSDT PM tables - may be the same performance lately. (Long ago Clover had some issues here.)
    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)

Random Tips:

  • Enable (turn on) Bluetooth so the green light is showing on the LCD bezel (do from Windows or Ubuntu).  
  • Also make sure the side switch is set to green too!
  • When using external headphones or speakers, may need to plug and unplug 1 or 2 times for recognition.

 

Known Issues:

  • E1000e ethernet hang: with the 2.5.4d and 3.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 occurs under heavy file copy/transfers and your ethernet stops working with a lot of log messages that only a reboot fixes. 
     
  • iMessage/Facetime may not register without overriding the Clover generated values with real ROM and MLB values from a real Apple Mac.
     
  • With ACPIBacklight.kext installed, boot with lid open or LCD will be black when you open it.
     
  • Hibernation does not wake from stored image with OsxAptioFixDrv-64.efi - suggested setting:
    sudo pmset -a hibernatemode 0
    rm /var/vm/sleepimage

OR if you really need hibernation:

 

use (experimental) OsxAptioFix2Drv.efi instead of OsxAptioFixDrv-64.efi UEFI driver and set hibernate mode to 7 (like 3 with no encryption)

sudo pmset -a hibernatemode 7

 

Note: booting from hibernated image may have jumbled LCD until one sleep/wake (non-hibernated) cycle.

 

 

Old issues - no longer happening. 

These 4 problems listed below happened with earlier versions of Clover and OS X  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 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
1420 replies to this topic

#121
Kogen Mantis

Kogen Mantis

    InsanelyMac Protégé

  • Donators
  • 98 posts
  • Gender:Male
@wavelets - Yes my setup supports sound but I admit that the first post is a bit outdated and needs some clarifications about getting the sound to work + extra knowledge from wonderful people like tluck, espamac, Tetonne and others. I'll try to find some free time this weekend and update the first post. (suggestions are welcomed)
1. You need whitelist to use Dell DW1510
2. Sure you can update to newer Clover but this won't fix the sound issue. Just folow Espamacs and tlucks instructions.

@tluck - by regressing I mean reverting to method used in Clover r1059 and earlier. Cause I have observed that in r1060 and newer my CPU is reported as 2.51GHz (out of sync) causing AppleHDA to behave strange - the sound after one second was flaky (rendering strange noise). I have never observed the actual clock time (there is no space for time within your mind :)) - but I guess this will also be out of sync. Just try my custom build and report if you still need to define the CPU parameters in config.plist

To all: I recommend using OEM folder when mastering your Clover config.plist, dsdt.aml, kexts whatever. This way you always have a minimal config that will let you boot to the system and fix things you have messed up in the OEM setup specific for your model. In that case you only need to boot to the EFI Shell and rename your OEM folder to someting else, for example:
EFI\OEM\4180A32 to EFI\OEM\4180A32-bad
or in new world Clover
EFI\CLOVER\OEM\4180A32 to EFI\CLOVER\OEM\4180A32-bad
This way Clover will ignore your OEM folder and boot from the main/default config.

#122
Wavelets

Wavelets

    InsanelyMac Protégé

  • Members
  • Pip
  • 2 posts
@espamac, @tluck, @kogen

Thanks for the feedback. I did manage to get sound working just fine but no mic? Then I tried a few other things and managed to break sound.

@kogen My sound codec is Conexant 20672

Still on a steep learning curve with regards UEFI, Clover, kexts, dsdt etc. please bear with me - lots more reading/researching required!

@kogen if you do manage to find time to update guide I would really appreciate it and will be happy to test it out for you and feedback any results. Happy to start from scratch on my system as using as a learning exercise. I have spare disks so can re-test install if needed.

cheers

#123
tluck

tluck

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 659 posts
  • Gender:Male
  • Location:NC, USA
@kogen - gotcha. i tested your package and it works fine. i put OEM/4236AT9 for my model specific stuff dsdt.aml and config.plist. clover will find this and use it over he generic top level config.plist (which i set up for running the OS installer - added kexts and options that wont kp!)

but the problem remained around clock speed - it set the bus to 100000 kHz and this causes problems for me. (these values can been seen in the Clover GUI by going to the Options/CPU tuning sub-menu). so i will continue to set the CPU values specifically to 2500/99700.

Anyway, i went ahead with and installed the more recent b1378 and that works fine too.

since the shell in these newer builds crashes, i copy over the b1208 shell. i put all the custom kexts in EFI so i can load them when needed for installation etc.

#124
Kogen Mantis

Kogen Mantis

    InsanelyMac Protégé

  • Donators
  • 98 posts
  • Gender:Male

...
but the problem remained around clock speed - it set the bus to 100000 kHz and this causes problems for me. (these values can been seen in the Clover GUI by going to the Options/CPU tuning sub-menu). so i will continue to set the CPU values specifically to 2500/99700.

Anyway, i went ahead with and installed the more recent b1378 and that works fine too.
...

Strange. Am I the only one that can't use newer Clover builds? The system is booting and hangs on:
macx_swapon SUCCESS
All works excelent on builds 1229 and earlyer. We share almost identical configuration (I don't have fingerprint reader) and I don't suffer the clock problems you describe on my build 1229. Any extra steps to replicate it?

#125
tluck

tluck

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 659 posts
  • Gender:Male
  • Location:NC, USA
@kogen -

thats odd. i am using all the same kexts and dsdt.aml that I used to use for chameleon - no changes so i can still boot with a usb i-boot for emergency.
you can see my config.plist above - did you try that? although your config.plist its almost identical except for kext patching and graphics injection?

here are efi drivers i have in place


tluck@mac /EFI/CLOVER

Update: removed this first folder.

$ ls -1 drivers*
drivers64:
FSInject-64.efi
Ps2MouseDxe-64.efi
UsbMouseDxe-64.efi


drivers64UEFI:
EmuVariableUefi-64.efi
FSInject-64.efi
OsxAptioFixDrv-64.efi
OsxFatBinaryDrv-64.efi
VboxHfs-64.efi

#126
Kogen Mantis

Kogen Mantis

    InsanelyMac Protégé

  • Donators
  • 98 posts
  • Gender:Male
@tluck - Yes I have tried your config and files from your 10.8.3 pack - and this makes no difference. One thing I can observe is when I don't use graphic injection the system hangs on "Waiting for DSMOS" Maybe we have some other differences - ThinkPad Setup settings?

BTW: You don't need "drivers64" folder - it is used for non efi legacy booting (but you use chameleon for that)

#127
tluck

tluck

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 659 posts
  • Gender:Male
  • Location:NC, USA
@kogen - well thats is odd. i wonder what changed ?

yeah i added the mouse drivers - which very cool - since i often have the laptop closed in the dock. probably just need USBmouse
hmm... there seems to be dupe FSInject.efi though - i guess i can one of them.

#128
Kogen Mantis

Kogen Mantis

    InsanelyMac Protégé

  • Donators
  • 98 posts
  • Gender:Male

@kogen - well thats is odd. i wonder what changed ?

yeah i added the mouse drivers - which very cool - since i often have the laptop closed in the dock. probably just need USBmouse
hmm... there seems to be dupe FSInject.efi though - i guess i can one of them.

Can you share your DarwinDump - I'll try to hunt it down.
As for USBmouse you don't need it - when booting from UEFI Mode the driver is already there in Lenovos UEFI Firmware so is the PS2 mouse driver. So again the whole "drivers64" directory is not needed in our case.
Just try booting without it - to see that there is no difference :)

BTW: I have just found out that when Injecting patched AppleHDA.kext from Clover and loading it in dummy myHack.kext there is no need to remove the original AppleHDA driver from /S/L/E. Sound and mic works excellent. This is good for peace of mind in case of future updates.

EDIT: I have just tested it against latest 10.8.4 beta build (12E36) and almost all worked great! Sound works and everything seems to work as it should. Spoke to soon. Microphone is gone and system can't rebuild caches thus trying to rebuild it every boot and fails. So the method of including kext's from Clover and in myHack dummy kext is acceptable but every time you update your system you must either delete/move conflicting kexts from /S/L/E or update your patched kexts to the same version the system is using. Or do nothing if you can live without microphone and kernel caches ;)

Attached File  beta 10.8.4.png   422.33KB   27 downloads



#129
mark9white

mark9white

    InsanelyMac Protégé

  • Members
  • Pip
  • 5 posts
A quick note for anyone else having intermittent sleep issues (power light flashes quickly and fan stays on) - the only way I was able to resolve it was via BIOS boot into Clover instead of UEFI boot. Slightly slower bootup time, but apart from that seems to be working great.

UPDATE: Scratch that, error just recurred :(

#130
Kogen Mantis

Kogen Mantis

    InsanelyMac Protégé

  • Donators
  • 98 posts
  • Gender:Male

A quick note for anyone else having intermittent sleep issues (power light flashes quickly and fan stays on) - the only way I was able to resolve it was via BIOS boot into Clover instead of UEFI boot. Slightly slower bootup time, but apart from that seems to be working great.

UPDATE: Scratch that, error just recurred :(


Try using older AppleACPIPlatform.kext. Apple seems to update it often, making the code more and more strict to their hardware specifications.

Attached Files



#131
tluck

tluck

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 659 posts
  • Gender:Male
  • Location:NC, USA
@kogen

interesting about the mouse with UEFI - but you were right about the mouse drivers (of course!). i did not notice the mouse pointer at first so i had added the driver. so now I trimmed that directory - less is more!

let me know if you would still like a darwin dump.

@mark9white - I agree with Kogen - i observed that the r1.3.5 AppleACPIPlatform.kext is the only one that seems to allow sleep/wake on the T420. you will also need to have a the DSDT fixes for EHCI.

#132
mark9white

mark9white

    InsanelyMac Protégé

  • Members
  • Pip
  • 5 posts
@kogen @tluck

I am already running r.1.3.5 AppleACPIPlatform.kext I'm afraid. I did try newer ones too and as you suggested they caused problems. However sleep does seem to generally be working much better since I've been on BIOS boot.

#133
Kogen Mantis

Kogen Mantis

    InsanelyMac Protégé

  • Donators
  • 98 posts
  • Gender:Male

@kogen @tluck

I am already running r.1.3.5 AppleACPIPlatform.kext I'm afraid. I did try newer ones too and as you suggested they caused problems. However sleep does seem to generally be working much better since I've been on BIOS boot.

In that case send your full DarwinDumper report. I don't use bios boot so test it in UEFI only.
NOTE: When making DarwinDumper report remember to check HTML Report Collapsed - thanks.

Attached File  DarwinDumper.png   162.18KB   12 downloads



#134
mark9white

mark9white

    InsanelyMac Protégé

  • Members
  • Pip
  • 5 posts

In that case send your full DarwinDumper report. I don't use bios boot so test it in UEFI only.
NOTE: When making DarwinDumper report remember to check HTML Report Collapsed - thanks.

Attached File  DarwinDumper.png   162.18KB   12 downloads


Thanks for the offer .. it's working perfectly in BIOS boot however now, so I'm sticking with it. It's exactly the same config (dsdt, kexts, config.plist etc) just with working sleep.

There have been reports of the same issue from Thinkpad X220 users, and BIOS boot also fixed it for them, eg: http://www.projectos...indpost&p=28407

Cheers, Mark.

#135
Tetonne

Tetonne

    InsanelyMac Sage

  • Members
  • PipPipPipPipPip
  • 262 posts
1429 installed everything is ok here

#136
tluck

tluck

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 659 posts
  • Gender:Male
  • Location:NC, USA
b1429 has problems for me. staying on b1378.

1) busspeed problem - clover now computes FSB as 34146kz vs ~100Mhz
-it ignored an explicit setting of BusSpeedkHz in the config.plist

2) memory bank count wrong
-even using SMBIOS Trust=No - it thinks there are 3 banks - when early on it finds just 2 banks (correctly)

i posted at OSX86 #2564

#137
rayne

rayne

    InsanelyMac Protégé

  • Members
  • Pip
  • 2 posts
Hey guys,

My specs:
Thinkpad X230
i3-3120M
M4-CT128M4SSD2 (128 GB, SATA-III)
Motherboard is set to UEFI, with secure boot off.

Trying to install Mountain Lion 10.8.3 to a 16GB free (unallocated) partition after an existing Windows 8 64-bit installed under GPT format.

Using:
Clover_v2_r1229k0
Lion DiskMaker

I can boot Clover with no manual changes.
Then can boot OSX but have to set GraphicsInjector=No in Clover menu, otherwise get blank screen instead of OSX install screen.

Problem:
In OSX install screen, I can't access my harddrive. It says "This disk is locked" (also says that for USB installer).

Question:
How do I gain access to locked harddrive so I can install OSX? Been searching but not sure how to fix this.

Thanks for all your help in this. Great thread and community.

#138
tluck

tluck

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPip
  • 659 posts
  • Gender:Male
  • Location:NC, USA
@rayne,

you may have corrupted partition. since there is nothing on it yet, i would use the installation disk utility to reformat (erase) the target partition.

@all

ok Clover b1483 (build du-jour) is working again for me! (i still using the same config.plist i posted in #124).

#139
Kogen Mantis

Kogen Mantis

    InsanelyMac Protégé

  • Donators
  • 98 posts
  • Gender:Male

@rayne - I'm afraid that you are doing it the other way round. You should install OS X first and than use free space to install windows. (I'm not using windows - so anyone is welcomed to correct me in this).

Just use installers Disk Utiliti to partition the drive in GUID mode and format OS X partition to HFS+.

BTW: What's your X230 type number?

#140
rayne

rayne

    InsanelyMac Protégé

  • Members
  • Pip
  • 2 posts
@Kogen: If you mean according to this http://support.lenov...cID=MIGR-49QTT6, my type number for an X230i is 2306CTO. If you need other specs, let me know, would be happy to help.

Perhaps a silly question (I searched, but didn't see anything):
Is there a way to install Windows 8 GPT first then OSX? I'd rather not have to reformat the disk. Don't think anything is corrupted (typing this on same computer).

Seems Disk Utility does not like working with Windows GPT.





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


5 user(s) are reading this topic

0 members, 5 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