Jump to content

[GUIDE] Lenovo T460/T470 macOS with Clover and OpenCore


tluck
 Share

1,289 posts in this topic

Recommended Posts

@czech99

 

the process essentially is these 3 steps:

1) download Sierra from App Store

2) create a USB installer

- add clover EFI to ESP partition of USB

3) install macOS on a new HD

- add clover EFI to ESP partition of HD

 

So questions for you:

0) what part of the instructions are confusing - happy to clarify to make it clear? 

1) how did you make the installer? did you follow the guide step by step - you should be able to copy the EFI directory from the zip on GitHub as is onto the usb ESP partition

2) did you download Sierra from App Store. if you create the USB installer as outlined in the Guide then I would not expect the not supported message.

Link to comment
Share on other sites

EDIT* That did it! I download a copy of osx 10.12.3 and made the bootable usb again and it worked. It's installing now as I type this. :) Going to bed, so hopefully when I wake up I'll have a working laptop 

 

@tluck thanks for the reply. I read the entire thread and I had a similar issue as another user here. The mac I'm on is an old core 2 duo iMac so it won't let me download sierra from the App Store. I did download it via torrent and believe it's base 10.12 not any other version like 10.12.*. Not sure if that matters. I'm also using an USB 2.0 stick.

I followed your instructions on making the boot usb and did mount the efi and followed the commands you listed in "put clover on USB". I ran the clover install from the utilities and had it install on the USB as destination. I also did the cp command to copy over the efi folder to efi-USB volume. Then I boot off USB and that's where I run into my problems. Am I missing a step? I thought the files it's copies are all that's needed?

Let me know if there's anything else you need from me. Thanks for your assistance

 

User HarveryDX back on post #277 had same issue as me. 

 

Im running bios version 1.23 on my T460 and to be safe i ran "sudo mount -t msdos /dev/disk1s1 /Volumes/ESP-USB" to check and make sure that the contents in the EFI volume had your files in there. Which it did. So i'm not sure what else I need to do. 

 

could this be my issue? 

 

Do i need 10.12.3

 

 

 

You need to create an installer with version of 10.12.3 or later

 

Link to comment
Share on other sites

Im on! Thank you for this guide! Can anyone recommend a cheap USB wifi dongle in the mean time until I get the builtin dell card? One that perferably just works out of the box

 

edit* spoke too soon. My mac os wont boot w/o the clover usb attached to it... What did I miss to make it automatically just boot up?

Link to comment
Share on other sites

I've tested these:

 

http://www.tp-link.com/us/products/details/cat-5520_TL-WN823N.html

 

http://www.tp-link.com/us/products/details/cat-5520_TL-WN725N.html

 

You have to install the macOS drivers (http://www.tp-link.com/us/download/TL-WN725N.html#Driver), but no other config. Is that 'out of the box' enough for you?

 

that's good enough for me , thanks

 

now if i can just figure out how to boot w/o needing the usb device

Link to comment
Share on other sites

hi again. all was working well, but for some reason bluetooth has stopped working now. its disappeared from syspref. clover config was not touched. I've run kextwizard to repair permissions but its still not seeing bluetooth. wifi works fine. slightly slow but works ok.

 

I have the dw1830 card in. it was working fine up to today.

Link to comment
Share on other sites

Hello everyone!

After a complete reinstall (after a major screw-up and a ragequit) the only issue i'm facing is a very low battery life: I'm aware that most hackintosh setups drain the batteries more than windows or linux, but here I'm talking about a maximum 2h life (vs 6-8h on ubuntu) so there must be something going on. 
I checked power, cpu freq and temp with intel power gadget, and it stays low, but it randomly goes to full speed for short periods and for no apparent reason (no demanding services in system monitor).

I cannot check the Energy tab in system monitor (it crashes and won't relaunch the app until I delete the config file).

Has anyone had this issue? if it's with kexts, which ones should I check?

 

Im on! Thank you for this guide! Can anyone recommend a cheap USB wifi dongle in the mean time until I get the builtin dell card? One that perferably just works out of the box

 

I just installed the TP-link TL-WN725N and it works smoothly. 

Link to comment
Share on other sites

ordered the tp link usb dongle for wifi. now if I can still get some assistance trying to figure out what I'm doing wrong or what I'm not doing to get this laptop to boot up into Sierra w/o the use of the USB drive that would be greatly appreciated!

 

edit*

 

so in the root of my drive I have an EFI folder if I open that I have a BOOT and Clover folder. Inside of Clover are a bunch of folders, if I open ACPI I have Origin, patched, Windows. All which are empty. Is that my problem? Should there be something inside of those folders in order for my laptop to boot of the hard drive?

Link to comment
Share on other sites

@czech99 

 

well presuming your HD is GPT formatted (which means it has a hidden partition), you would have to mount the disk0s1 partition and copy the EFI folders there - just like you did for the USB?

there is tool in the zip - espmount.bash

 

-  if you run that on the command line 

 

./espmount.bash 0

 

- then it will mount your disk0 (system disk) ESP

 

@buoncri95 - i seem to get 3-4 hours? the energy tab crash is a know conflict between ACPIBatteryManager and Activity Monitor that crept in around 12.3 or 12.4 - i don't know of a fix.

Link to comment
Share on other sites

@czech99 

 

well presuming your HD is GPT formatted (which means it has a hidden partition), you would have to mount the disk0s1 partition and copy the EFI folders there - just like you did for the USB?

there is tool in the zip - espmount.bash

 

-  if you run that on the command line 

 

./espmount.bash 0

 

- then it will mount your disk0 (system disk) ESP

 

@buoncri95 - i seem to get 3-4 hours? the energy tab crash is a know conflict between ACPIBatteryManager and Activity Monitor that crept in around 12.3 or 12.4 - i don't know of a fix.

 

 

wonderful, i will try that shortly, i did follow your instructions on mounting the efi volume (which it does have) if i do a diskutil list in terminal i see that it has a 200mb hidden partition. I never ran the ./espmount.bash 0 though. Do i need to redo my acpi files since everything works fine? or will it use yours that seem to be working

Link to comment
Share on other sites

So no luck still :( Here's what I have and what I've typed... maybe you can see a step I'm missing?

 
here's everything from my terminal

 

Terminal Output

 

Davids-MacBook-Pro:utilities david$ /usr/local/bin/espmount.bash 0
/Volumes/ESP
Davids-MacBook-Pro:utilities david$ cd ~/downloads/lenovo-t460-clover-2017.05.24/dsdt.t460
Davids-MacBook-Pro:dsdt.t460 david$ ./create_patched_dsdt.command
de-compiling ACPI tables

Intel ACPI Component Architecture
ASL+ Optimizing Compiler version 20160422-64(RM)
Copyright © 2000 - 2016 Intel Corporation

Input file SSDT-0.aml, Length 0x3A2 (930) bytes
ACPI: SSDT 0x0000000000000000 0003A2 (v02 LENOVO TcgTable 00001000 INTL 20141107)
External object resolution file DSDT.aml
Input file DSDT.aml, Length 0x125B5 (75189) bytes
ACPI: DSDT 0x0000000000000000 0125B5 (v02 LENOVO TP-R06 00001230 INTL 20141107)
Pass 1 parse of [DSDT]
Pass 2 parse of [DSDT]
External object resolution file SSDT-9x.aml
Input file SSDT-9x.aml, Length 0x119 (281) bytes
ACPI: SSDT 0x0000000000000000 000119 (v02 PmRef ApCst 00003000 INTL 20141107)
Pass 1 parse of [sSDT]
Pass 2 parse of [sSDT]
External object resolution file SSDT-8x.aml
Input file SSDT-8x.aml, Length 0x3CF (975) bytes
ACPI: SSDT 0x0000000000000000 0003CF (v02 PmRef Cpu0Cst 00003001 INTL 20141107)
Pass 1 parse of [sSDT]
Pass 2 parse of [sSDT]
External object resolution file SSDT-7x.aml
Input file SSDT-7x.aml, Length 0x5AA (1450) bytes
ACPI: SSDT 0x0000000000000000 0005AA (v02 PmRef ApIst 00003000 INTL 20141107)
Pass 1 parse of [sSDT]
Pass 2 parse of [sSDT]
External object resolution file SSDT-6x.aml
Input file SSDT-6x.aml, Length 0x6AC (1708) bytes
ACPI: SSDT 0x0000000000000000 0006AC (v02 PmRef Cpu0Ist 00003000 INTL 20141107)
Pass 1 parse of [sSDT]
Pass 2 parse of [sSDT]
External object resolution file SSDT-5x.aml
Input file SSDT-5x.aml, Length 0x6AC (1708) bytes
ACPI: SSDT 0x0000000000000000 0006AC (v02 PmRef Cpu0Ist 00003000 INTL 20141107)
Pass 1 parse of [sSDT]
ACPI Error: [_PPC] Namespace lookup failure, AE_ALREADY_EXISTS (20160422/dswload-462)
ACPI Exception: AE_ALREADY_EXISTS, During name lookup/catalog (20160422/psobject-310)
Could not parse external ACPI tables, AE_ALREADY_EXISTS
Davids-MacBook-Pro:dsdt.t460 david$ ./install_acpi_to_esp.command
/Volumes/ESP

Intel ACPI Component Architecture
ASL+ Optimizing Compiler version 20160422-64(RM)
Copyright © 2000 - 2016 Intel Corporation

ASL Input: SSDT-ARPT-T460.dsl - 23 lines, 709 bytes, 5 keywords
AML Output: SSDT-ARPT-T460.aml - 260 bytes, 1 named objects, 4 executable opcodes

Compilation complete. 0 Errors, 0 Warnings, 0 Remarks, 1 Optimizations
ASL Input: SSDT-CPU.dsl - 27 lines, 640 bytes, 7 keywords
AML Output: SSDT-CPU.aml - 137 bytes, 2 named objects, 5 executable opcodes

Compilation complete. 0 Errors, 0 Warnings, 0 Remarks, 0 Optimizations
ASL Input: SSDT-HACK-T460.dsl - 33 lines, 773 bytes, 12 keywords
AML Output: SSDT-HACK-T460.aml - 160 bytes, 2 named objects, 10 executable opcodes

Compilation complete. 0 Errors, 1 Warnings, 0 Remarks, 0 Optimizations
ASL Input: SSDT-HDEF-T460.dsl - 30 lines, 900 bytes, 5 keywords
AML Output: SSDT-HDEF-T460.aml - 338 bytes, 1 named objects, 4 executable opcodes

Compilation complete. 0 Errors, 0 Warnings, 1 Remarks, 3 Optimizations
ASL Input: SSDT-IGPU-T460.dsl - 102 lines, 2650 bytes, 20 keywords
AML Output: SSDT-IGPU-T460.aml - 418 bytes, 5 named objects, 15 executable opcodes

Compilation complete. 0 Errors, 0 Warnings, 1 Remarks, 1 Optimizations
ASL Input: SSDT-LPC-T460.dsl - 19 lines, 346 bytes, 5 keywords
AML Output: SSDT-LPC-T460.aml - 119 bytes, 1 named objects, 4 executable opcodes

Compilation complete. 0 Errors, 0 Warnings, 0 Remarks, 1 Optimizations
ASL Input: SSDT-PNLF-T460.dsl - 17 lines, 314 bytes, 6 keywords
AML Output: SSDT-PNLF-T460.aml - 94 bytes, 6 named objects, 0 executable opcodes

Compilation complete. 0 Errors, 0 Warnings, 0 Remarks, 0 Optimizations
ASL Input: SSDT-PS2K-T460.dsl - 26 lines, 550 bytes, 6 keywords
AML Output: SSDT-PS2K-T460.aml - 176 bytes, 2 named objects, 4 executable opcodes

Compilation complete. 0 Errors, 0 Warnings, 0 Remarks, 1 Optimizations
ASL Input: SSDT-SMBUS-T460.dsl - 23 lines, 460 bytes, 11 keywords
AML Output: SSDT-SMBUS-T460.aml - 139 bytes, 7 named objects, 4 executable opcodes

Compilation complete. 0 Errors, 0 Warnings, 0 Remarks, 1 Optimizations
ASL Input: SSDT-XHC-T460.dsl - 135 lines, 4923 bytes, 9 keywords
AML Output: SSDT-XHC-T460.aml - 819 bytes, 4 named objects, 5 executable opcodes

Compilation complete. 0 Errors, 0 Warnings, 0 Remarks, 1 Optimizations
ASL Input: SSDT-XOSI.dsl - 34 lines, 1450 bytes, 5 keywords
AML Output: SSDT-XOSI.aml - 164 bytes, 1 named objects, 4 executable opcodes

Compilation complete. 0 Errors, 0 Warnings, 0 Remarks, 2 Optimizations
rm: /Volumes/ESP/EFI/CLOVER/ACPI/patched/*: No such file or directory
usage: cp [-R [-H | -L | -P]] [-fi | -n] [-apvX] source_file target_file
cp [-R [-H | -L | -P]] [-fi | -n] [-apvX] source_file ... target_directory
Davids-MacBook-Pro:dsdt.t460 david$
[Restored May 30, 2017, 11:36:53 AM]
Last login: Tue May 30 11:36:50 on console
Restored session: Tue May 30 11:34:15 PDT 2017
Davids-MacBook-Pro:dsdt.t460 david$ sudo mkdir /Volumes/ESP
Password:
Davids-MacBook-Pro:dsdt.t460 david$ sudo mount -t msdos /dev/disk0s1 /Volumes/ESP
Davids-MacBook-Pro:dsdt.t460 david$

 

post-7573-0-05636700-1496169119_thumb.png

Link to comment
Share on other sites

ok I got it now! I found my issue. When I copied the efi folder to the hd's efi partition I made an extra EFI folder it was essentially EFI > EFI > BOOT, CLOVER, APPLE 

 

instead of EFI > BOOT, CLOVER, APPLE

 

I realized it when I compared the folder structure of my USB vs HD EFI volume

Link to comment
Share on other sites

I've managed to sort out the bluetooth issue. reinstalled kexts and shut down and started again. I seem to be having issue with shutting down. the t460s restarts each time instead of shutting down, meaning its on while in the bag and runs out battery then. any ideas?

Link to comment
Share on other sites

Hey all,

 

Sorry for the much delayed response, work and sporting caught up with me. But I finally got it working on my T460s. I think the most important thing was to use the newest version of Sierra. The one on the Macbook was outdated. Yesterday I upgraded the iMac to latest Sierra and installed in a breeze. From my first tests, everything that should work was working including: 

  • Ethernet
  • HDMI
  • Audio out
  • Audio in
  • Microphone jack
  • Sleep/wake

I've ordered a wifi/bluetooth dongle. Once thats installed we can really kick this off. I will be playing with it later today to see how well it is behaving. 

Quick question, how important is it to create and install a custom DSDT?

Link to comment
Share on other sites

Hey all,

 

Sorry for the much delayed response, work and sporting caught up with me. But I finally got it working on my T460s. I think the most important thing was to use the newest version of Sierra. The one on the Macbook was outdated. Yesterday I upgraded the iMac to latest Sierra and installed in a breeze. From my first tests, everything that should work was working including: 

  • Ethernet
  • HDMI
  • Audio out
  • Audio in
  • Microphone jack
  • Sleep/wake

I've ordered a wifi/bluetooth dongle. Once thats installed we can really kick this off. I will be playing with it later today to see how well it is behaving. 

 

Quick question, how important is it to create and install a custom DSDT?

 

that's good to here. I had same issue using base 10.12, once i got my hands on 10.12.3 i had no problems. I'm assuming anything after 10.12.3+ should be fine.

 

Curious to everyone else. Is there any potential issue updating my 10.12.3 now that its installed and everything is working? Will it mess things up? If i wanted to go to the latest Sierra build?

Link to comment
Share on other sites

updates are a simple matter of download from app store and go. i am on 10.12.6 beta 2. nothing to reinstall if you are on the latest zip bundle.

 

@HarveyDX - the DSDT included is from a T460 and (older T560) ACPI file set. since you have a T460s and not T460 - i advise you to create a custom ACPI file set to match your system. 

Link to comment
Share on other sites

In the ACPI Files section of the installation guide, I get an error on Step 6 when I run 

 

./install_ACPI_to_ESP.command

 

The error is:

 

 

Error    6092 - Could not open file "DSDT.aml" (AML Output) - Permission denied

 

Any hints or tips would be appreciated!

 

Tx

TDB

Link to comment
Share on other sites

@Ezak - hmm. i had a similar thing when i tested out a T440 not long ago. had to specify the 2 memory modules in the config.plist

 

here is an example... you can change part number to suite your rig.

<key>SMBIOS</key>
<dict>
  <key>Memory</key>
  <dict>
   <key>Channels</key>
   <integer>2</integer>
   <key>Modules</key>
   <array>
    <dict>
     <key>Frequency</key>
     <integer>1600</integer>
     <key>Part</key>
     <string>EDJ8416E6MB-GN-F</string>
     <key>Serial</key>
     <string>None</string>
     <key>Size</key>
     <integer>4096</integer>
     <key>Slot</key>
     <integer>0</integer>
     <key>Type</key>
     <string>DDR3</string>
     <key>Vendor</key>
     <string>Elpida</string>
    </dict>
    <dict>
     <key>Frequency</key>
     <integer>1600</integer>
     <key>Part</key>
     <string>16KTF1G64HZ-1G6E1E1</string>
     <key>Serial</key>
     <string>434280EF</string>
     <key>Size</key>
     <integer>8192</integer>
     <key>Slot</key>
     <integer>2</integer>
     <key>Type</key>
     <string>DDR3</string>
     <key>Vendor</key>
     <string>Micron Technology</string>
    </dict>
   </array>
   <key>SlotCount</key>
   <integer>2</integer>
  </dict>
  <key>ProductName</key>
  <string>MacBookPro13,1</string>
  <key>Trust</key>
  <false/>
</dict>
Link to comment
Share on other sites

 

 

 

here is an example... you can change part number to suite your rig.

 

Mh  linux doesnt show any part number for the 4gb

# dmidecode 3.0
Getting SMBIOS data from sysfs.
SMBIOS 2.8 present.

Handle 0x0008, DMI type 17, 40 bytes
Memory Device
	Array Handle: 0x0007
	Error Information Handle: Not Provided
	Total Width: 64 bits
	Data Width: 64 bits
	Size: 4096 MB
	Form Factor: SODIMM
	Set: None
	Locator: ChannelA-DIMM0
	Bank Locator: BANK 0
	Type: DDR4
	Type Detail: Synchronous
	Speed: 2133 MHz
	Manufacturer: 0000
	Serial Number: 00000000
	Asset Tag: None
	Part Number:                     
	Rank: 1
	Configured Clock Speed: 2133 MHz
	Minimum Voltage: Unknown
	Maximum Voltage: Unknown
	Configured Voltage: 1.2 V

Handle 0x0009, DMI type 17, 40 bytes
Memory Device
	Array Handle: 0x0007
	Error Information Handle: Not Provided
	Total Width: Unknown
	Data Width: Unknown
	Size: No Module Installed
	Form Factor: Unknown
	Set: None
	Locator: ChannelA-DIMM1
	Bank Locator: BANK 1
	Type: Unknown
	Type Detail: None
	Speed: Unknown
	Manufacturer: Not Specified
	Serial Number: Not Specified
	Asset Tag: Not Specified
	Part Number: Not Specified
	Rank: Unknown
	Configured Clock Speed: Unknown
	Minimum Voltage: Unknown
	Maximum Voltage: Unknown
	Configured Voltage: Unknown

Handle 0x000A, DMI type 17, 40 bytes
Memory Device
	Array Handle: 0x0007
	Error Information Handle: Not Provided
	Total Width: 64 bits
	Data Width: 64 bits
	Size: 8192 MB
	Form Factor: SODIMM
	Set: None
	Locator: ChannelB-DIMM0
	Bank Locator: BANK 2
	Type: DDR4
	Type Detail: Synchronous
	Speed: 2133 MHz
	Manufacturer: Samsung
	Serial Number: 15461211
	Asset Tag: 9876543210
	Part Number: M471A1G43DB0-CPB    
	Rank: 2
	Configured Clock Speed: 2133 MHz
	Minimum Voltage: Unknown
	Maximum Voltage: Unknown
	Configured Voltage: 1.2 V

Link to comment
Share on other sites

 Share

×
×
  • Create New...