Contribute
Register

[Guide] Lenovo T460 Hackintosh 10.11 & Dual Boot

Status
Not open for further replies.
This post is a step-by-step guide to Hackintosh (El Capitan 10.11) your Lenovo ThinkPad T460 notebook maintaining Windows 10 installation.

EDIT #6 - 2017-01-22: Finally Fully QE/CI without upper menu glitches! See README.TXT. Uploaded new file (PenDrive-T460_v2.0.zip). NOTE: If you're just updating configs and kexts from previous PenDrive-T460_v1.x simply:
Code:
1) Backup your EFI folder and replace by this one
2) Update your kexts running "T460/EFI/CLOVER/kexts/_kext-install.command"
3) Install new utilites following section "Install the root utilities and clover scripts and files from Utilities folder to your HD" below in Step 5

EDIT #5 - 2016-10-29: Added Bonus Track section

EDIT #4 - 2016-10-22: Updated post-install steps fixing some WIP fixes and uploaded new file (PenDrive-T460_v1.2.zip)

EDIT #3 - 2016-08-30: Added sections 8 (kexts) and 9 (DSDT) and also uploaded new zip file (PenDrive-T460_v1.1.zip)


EDIT #2 - 2016-08-24: Updated What's Working section.

EDIT #1 - 2016-08-20: Included What's Working section.



What's Working:
  • Full QE/CI (Minor transparency issue 99% fixed using color profile sRGB IEC61966-2.1)
  • Keyboard, trackpad and trackball
  • Audio / Mic (patched using AppleHDA_ALC293.kext and SSDT. VoodooHDA not needed any more)
  • Internal/External USB ports
  • HDMI (audio also!)
  • Camera
  • Shut down / Reboot
  • Brightness control (needs DSDT "Brightness fix")
  • Battery Indicator (needs DSDT patch)
  • Sleep and Wake (needs SSDT/DSDT patch)
  • LED flashing when wake up after sleep (needs SSDT/DSDT patch)
  • Wifi/BT (replaced Intel card for a BCM94352Z)

What's not tested / not working:
  • Fingerprint
  • SD Card Reader

Special thanks to @tluck and @RehabMan.

I assume you currently have:
  • Lenovo Thinkpad T460 with intact out-of-the-box partitions (200+MB EFI Partition is needed for El Capitan)
  • Windows 10 running

  • Press F1 at Laptop startup and change BIOS settings:
    • Set Security / Memory Protection / Execution Prevention = Enabled
    • Set Virtualization / Intel VT = Disabled (you can enable it later)
    • Set Virtualization / Intel VT-d = Disabled (you can enable it later)
    • Set Secure Boot / Secure Boot = Disabled
    • Set Startup / UEFI/Legacy Boot = UEFI Only
    • SET Startup / CSM Support = Yes

The first think you must do is repartition your disk so we can install OS X on this partition:

Because OS X and Windows 10 must be run on the same machine we need both OS work with time in the same manner, so you must setup Windows to use UTC Clock:
  • Double Click file

  • Download latest El Capitan (it is are free in the Apple App Store)

  • Partition an 8GB (or larger) USB formatted with GUID Partition Table (GPT)
    - Use the Partition Options... menu to change from MBR to GPT
    - Name the partition USB - the install process will rename it, but it matches the script below.
    - Use format: OS X Extended (Journaled)
    Note: Be sure to use a new pendrive becasue I found problems using an old one.

  • Run this command to copy the bits to the USB key:
    Code:
    sudo /Applications/Install\ OS\ X\ El\ Capitan.app/Contents/Resources/createinstallmedia --volume /Volumes/USB --applicationpath /Applications/Install\ OS\ X\ El\ Capitan.app --nointeraction
  • Manually mount the ESP of the USB and copy the entire EFI directory (from the Zip) onto the ESP directory of the USB
    For example, assuming the USB is disk1 and you unzipped my file in ~/Downloads directory:
    Code:
    diskutil mount /dev/disk1s1
    cp -a ~/Downloads/T460/EFI/* /Volumes/EFI

    Note: run "diskutil list" on the command line to find your USB and HD disk devices

  • Install on your GPT disk - OS X partition.
    Make sure the drive is formatted using Scheme: GUID Partition Map (GPT), Partition Name: OSX, Format: OS X Extended (Journaled)
  • Click through GUI Install menus and wait for the installation to fully complete - on a spinning disk takes about 30-45 minutes.
    Follow these 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.

  • Boot Clover from USB
    On startup, hit F12 and select USB boot - but now in Clover select the newly installed disk/partition to start OS X.

    Note: You may see 3 Volumes instead of the expected 2 on the HD - OS X + Recovery HD - make sure you pick the volume that is NOT labelled Recovery HD. See step 3 below to remove the logical volume eliminates the confusion.

  • Complete the installation steps and login
    Note: This will boot up OS X with Clover injecting the custom kexts from the USB (for now).

  • Convert the Logical volume to Physical volume
    The full installer likes to make a logical volume. So for simplicity, I recommend one to revert the root volumes to a regular volume. Run:
    Code:
    sudo diskutil corestorage revert /

  • Copy Clover USB files to HDD EFI partition
    Transfer files to HDD EFI partition exactly like you did previously in USB:

    Code:
    diskutil mount /dev/disk0s1
    cp -a ~/Downloads/T460/EFI/* /Volumes/SYSTEM
    Note: You are now copying files to /dev/disk0s1 which is HDD EFI partition and its name is "SYSTEM"
  • Install the root utilities and clover scripts and files from Utilities folder to your HD
    This step is important as among other things, it installs the rc.scripts to save the nvram contents to a file upon reboot. Using a LogoutHook is more reliable than the CloverDaemon which often fails during shutdown. If you reinstall Clover from a pkg, then recopy the .fixed version to .local in /etc/rc.boot.d and rc.shutdown.d. In a Terminal run:

    Code:
    cd ~/Downloads/T460/Utilities/root
    sudo cp -a * /
    
    sudo defaults write com.apple.loginwindow LogoutHook /etc/rc.shutdown.d/80.save_nvram_plist.local
  • Remove the USB and Reboot to load Windows 10 again


  • Now you can reboot and press F12 here you can select to boot from OS X and Clover will load.

  • Some kexts must be installed in your /System/Library path:
    Code:
    cd T460/EFI/CLOVER/kexts
    ./_kexts-install.command
    ./_post-install-network-reset.command
  • Ethernet Device Installation:
    Code:
    sudo kextload /Library/Extensions/IntelMausiEthernet.kext
    sleep 10
    sudo rm       /Library/Preferences/SystemConfiguration/NetworkInterfaces.plist

  • Dump native ACPI files to EFI/Clover/ACPI/origin path:
    At the main Clover bootloader screen, you can press F4 and Clover will dump the native ACPI files to EFI/Clover/ACPI/origin. You can then access them after you boot OS X to disassemble them and patch. Note that some BIOS implementations reverse the function of Fn+F4 with F4, so when in doubt, press both Fn+F4 and F4. There is no feedback during or after the dump, just a slight delay as the files are written. The delay is more noticeable if they are being written to USB, as would be the case when booting from a Clover USB.
  • Mount your EFI partition and copy dumped files to T460/ACPI-Tables path
    Code:
    diskutil mount /dev/disk0s1
    
    cp -v /Volumes/SYSTEM/EFI/CLOVER/ACPI/origin/ ~/Downloads/T460/DSDT/ACPI-Tables/
  • Copy iasl (https://bitbucket.org/RehabMan/acpica/downloads/iasl.zip) binary to /usr/local/bin in your OS X System partition
  • Disassembly files:
    Code:
    cd T460/DSDT/ACPI-Tables
    iasl -da -dl -fe refs.txt *.aml
  • Install files to your EFI/CLOVER/ partition:
    Code:
    cd T460/DSDT
    ./create_patched_DSDT.bash
    ./complie_SSDT_and_install_patched_SSDT_and_DSDT.bash
  • Reboot and Enjoy !

  • Spanish Keyboard fix "swap º and < keys" :
    1. Edit file /Library/Extensions/VoodooPS2Controller.kext/Contents/PlugIns/VoodooPS2Keyboard.kext/Contents/Info.plist
    2. Add these two lines (aprox at line 298):
      Code:
      ...
                                      <key>Default</key>
                                      <dict>
      ...
                                              <key>Custom PS2 Map</key>
                                              <array>
                                                      <string>;Items must be strings in the form of scanfrom=scanto (in hex)</string>
                                                      <string>e027=0;disable discrete fnkeys toggle</string>
                                                      <string>e028=0;disable discrete trackpad toggle</string>
                                                      <string>56=29;swap "º" and "less than" keys (e.g.: Spanish Keyboard)</string>
                                                      <string>29=56;swap "º" and "less than" keys (e.g.: Spanish Keyboard)</string>
                                              </array>
    3. Update Kext Cache:
      Code:
      sudo touch /System/Library/Extensions
      sudo kextcache -i /Volumes/OSX


Hi Aleixsr,

Firstly thank you for this amazing hack..
I wanted to let you know that i put your latest EFI on my USB installer and managed
to get almost everything to work on a Lenovo E440 (which i believe has the same processor as your T460).
However, I could not get internal speakers to work.. however usb and 3.5mm external speakers are working...
I ran the .command files to load the AppleHDA_ALC293 and CodecCommander_ALC293 kext but it did not work..
Other than that the result is quite solid (machine also cannot shutdown properly and reboots all the time)

THanks once again..

bd4utonite2
 
Hi all,

I am trying to get El Capitan running on a T460p.
I got the same hardware as scolate (he posted a few pages before)
I followed the guide in #1 and installed OS X properly.

After copying the CLOVER files attached in #1 and the CLOVER folder of scolate (#61 : https://www.tonymacx86.com/threads/...sh-10-11-dual-boot.200136/page-7#post-1318286) I have been able to boot into OSX without the USB.
I then followed the tutorial and rebooted to collect ACPI information by pressing F4.
I can no longer boot OSX, with or without the USB :(

What did I missed ? Thanks, any help is very appreciated !
Here is my hardware configuration :
ThinkPad T460p
CPU:Core i7-6820HQ @ 2.70GHz 4/8,
Motherboard:Lenovo- 100 Series/C230 Series
Memory: 16 GB ( DDR4 2133MHz 16Gx1 )
Master hard disk: Samsung SSD 512GB (only OSX installed)
Display:Intel HD Graphics 530 +Nvidia GeForce 940MX 2G /Monitor Lenovo 14” )
Audio: Intel High Definition Audio
Ethernet: Interl Ethernet Connection I219-LM /Lenovo + Broadcom BCM94352Z


EDIT : I started again from the beginning. Installation of mac OSX, copied CLOVER & BOOT folders (given in #1 and #61 in the EFI partition.)
At this point i can boot into mac os without unibeast USB. Wifi, keyboard backlight works.
Audio, brightness doesn't works.
 
Last edited:

Thanks, i'll try this tonight ! :)

I have a question regarding this part of the guide :
[SIZE=4][B][URL='https://www.tonymacx86.com/members/aleixsr.1479564/']aleixsr[/URL][/B][/SIZE] said:
  • Some kexts must be installed in your /System/Library path:
    Code:
    cd T460/EFI/CLOVER/kexts
    ./_kexts-install.command
    ./_post-install-network-reset.command
  • Ethernet Device Installation:
    Code:
    sudo kextload /Library/Extensions/IntelMausiEthernet.kext
        sleep 10
        sudo rm       /Library/Preferences/SystemConfiguration/NetworkInterfaces.plist

Following these steps prevented OSX to boot. I suspect this is due to the fact that the files provided are for a lenovo T460 and I have a T460p. The guide is a bit "copy and paste and it's magic" and it raises a question :
What is the point of copying kexts into SLE if they are loaded by Clover at boot from the EFI partition ? Is is necessary ?
 
About to get my T460 with a i76600U. I run quiet some desktop hackintosh on yet all El-Capitan, but for now always skipped on the laptops - starting with the T460. Planning to run Linux/OSX as dualboot and could not quiet get:

1. Is Sierra really not working, if not, why? Considering the chipset of the t460, it much more is similar to the latest Apple hardware (Skylake) releases which came together with Sierra, i would have expected that Sierra would even be the "best option here" - not really found anything here, so are there any experiences?

2.*SOLVED* (sorry, looked for WLAN, not wifi, found it) Also kinda unexpected, did not find any topic about the WLAN-card replacement which i kinda already expected - is that no longer mandatory or did i missed it?

3. For now i simply used Clover together with a drive per OS ( windows + osx or linux+OSX ) obv for this setup, i only will have one drive with several partitions. Any specialities due to that setup? I would suggest UEFI only boot to clover and thats it?

Thanks
 
Last edited:
About to get my T460 with a i76600U. I run quiet some desktop hackintosh on yet all El-Capitan, but for now always skipped on the laptops - starting with the T460. Planning to run Linux/OSX as dualboot and could not quiet get:

1. Is Sierra really not working, if not, why? Considering the chipset of the t460, it much more is similar to the latest Apple hardware (Skylake) releases which came together with Sierra, i would have expected that Sierra would even be the "best option here" - not really found anything here, so are there any experiences?

2.*SOLVED* (sorry, looked for WLAN, not wifi, found it) Also kinda unexpected, did not find any topic about the WLAN-card replacement which i kinda already expected - is that no longer mandatory or did i missed it?

3. For now i simply used Clover together with a drive per OS ( windows + osx or linux+OSX ) obv for this setup, i only will have one drive with several partitions. Any specialities due to that setup? I would suggest UEFI only boot to clover and thats it?

Thanks

This guide seems like it is for Skylake, not Kaby Lake.
Kaby Lake requires a few tweaks (see main Clover laptop guide linked from the FAQ).
There is also important information regarding dual boot in the same guide (post #2).
http://www.tonymacx86.com/el-capita...faq-read-first-laptop-frequent-questions.html
 
I successfully installed a triple booting (Windows, Linux, macOS) T460s (i5-6300U 8GB 128GB SATA SSD) following this guide with some adaptations, thought I am a bit afraid to perform an upgrade to Sierra. Has anybody on this thread made the upgrade? Guess I will eventually take the plunge, but I am wanting some encouragement ;-).

As it is now there are some annoyances. The card reader does not work, bluetooth is ok, but wireless is not (haven't changed the card yet), I am yet to dial the keyboard 100% to my locale, and during login, the button in the left of the user name "<" always appears distorted. Also, The only Clover that works is the one that is in the ZIPs in this guide. Could not upgrade it, whichever version I tried.

On the plus side, It works fine with the dock, all ports I tested up to now working there, thought oddly enough the DisplayPort can drive my 2560x1440 monitor only in 1080p. With DVI I can obtain the 1200p resolution that is supported by the monitor with this port. But with HDMI I have full 2560x1440p resolution. I guess will just wait on a Memory and SSD upgrade, pending parts arrival, prior to try the jump to Sierra again.

Anyway, HUGE THANK YOU to the author of the guide and everybody else who helped develop it to it´s current state.


your bluetooth is ok ,can you tell me how to fix it ? main is not work t460s I7 6600U 256SSD TOUCH SCREEN
 
Status
Not open for further replies.
Back
Top