Contribute
Register

[Guide] Lenovo T460 Hackintosh 10.11 & Dual Boot

Status
Not open for further replies.
Yes sure, but if someone can tell me which one he uses it'll avoid me to open it. Thanks

You will need to open it eventually to install the newly purchased card.
 
Help me patch my DSDT Please! I try to do it myself, but the result is not ideal。can't Sleep,Here is my DSDT.3Q
@RehabMan
 

Attachments

  • origin.zip
    55.4 KB · Views: 100
i have the x260 but really cant understand the confusion here...replaced the stock M.2 NGFF card with the BCM94352Z with no problems at all...does that answer your question?

Hello! If you look at the two links that I put in a previous post you'll see that the shape of the card is different, whenever it is the same chipset.
 
I've got a T460s and have followed the instructions to the letter several times. It gets to the boot options screen but won't boot off the USB. I've tried several different USBs, but it's the same every time.

Any hints on what I could try?

Thanks



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

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 if you doesn't boot Windows previously - wip with @tluck hope -)
  • Keyboard, trackpad and trackball
  • Audio / Mic (only tested VoodooHDA for the moment)
  • Internal/External USB ports
  • HDMI (only video no audio)
  • Camera
  • Shut down / Reboot
  • Brightness control (needs DSDT "Brightness fix")
  • Battery Indicator (needs DSDT patch)
  • Sleep and Wake (needs DSDT patch)
  • Wifi/BT (replaced Intel card for a BCM94352Z)
Work In Progress:
  • LED flashing when wake up after sleep
  • Audio/Mic without VoodoHDA kext
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 custom kexts on HD
    Install the custom kexts from the Zip kexts directory to the /Library/Extensions directory by running:

    Code:
    sudo cp -a ~/Downloads/T460/kext/* /Library/Extensions
    sudo chown -R root:wheel /Library/Extensions
    sudo chmod -R go-w /Library/Extensions
    sudo kextcache -i /

    Note: Install to get audio working
  • 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/kexts
    ./install_kexts.bash

  • 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
    ./install_patched_DSDT.bash
  • Reboot and Enjoy !
 
Can you explain it better please?
Where did you get stuck?
 
Sorry, I didn't explain very well.

I'm stuck at Step 4. When I select the USB as the boot device, the screen goes blank and it returns to the same screen. I will not boot off the USB that I created in the previous steps.


Can you explain it better please?
Where did you get stuck?
 
Status
Not open for further replies.
Back
Top