Jump to content

[GUIDE] Lenovo T460 macOS with Clover

* * * * * 5 votes Lenovo T460 Skylake

  • Please log in to reply
517 replies to this topic

#21
aleixsr

aleixsr

    InsanelyMac Protégé

  • Members
  • Pip
  • 20 posts

In fact your problem is the same as Haswell's 9MB Cursor issue. A little bit edit to the framebuffer will solve this matter without changing display profile, but I'm no expert on this one

 

Can you please help me on how to edit framebuffer ?

 

thank you.



#22
vusun123

vusun123

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,079 posts
  • Gender:Male

Can you please help me on how to edit framebuffer ?

 

thank you.

As I said I'm no expert on binary patching, so I can't help you with this



#23
azerty076

azerty076

    InsanelyMac Protégé

  • Members
  • Pip
  • 39 posts

Can you please help me on how to edit framebuffer ?

 

thank you.

 

Maybe on the other site with rehabman's help...you should try.



#24
aleixsr

aleixsr

    InsanelyMac Protégé

  • Members
  • Pip
  • 20 posts

Lenovo T460 Clover Guide

 

Overview - Work in Progress - 05-Oct-2016

 

  • Updated Clover to 3787
  • Updated VoodooPS2Controller.kext (again) 
  • Updated FakeSMC kext to next rev

Attached is a current zip file with a complete /EFI pack for the Lenovo T460 using Clover on OS X
The current File Bundle is for 10.11 - the zip file attached to the bottom of this post

  • Full Clover file set - config.plist etc.
  • Includes all custom kexts
  • Includes custom DSDT/SSDT scripts and patches

Caveat:


My system is a T460 with Intel 520 Graphics. Currently, the full advanced graphics are not working due to lack of DVMT pre-allocated memory. Most systems need 64, 96 or 128 MB. This system seems to have 32 MB. 

I must rename /S/L/E/AppleIntelSLKGraphics.kext to not be used at this time.

 

Credits to: RehabMan and Shmilee (more to come) from which, much is/was based on to get the T460 to this point.

 

 

Devices and aspects working:

  1. Ethernet -  needs IntelMausiEthernext.kext
  2. WiFi/BT - substituted Intel WiFi/BT with Dell 1510 (BCM43252Z) - BrcmPatchRAM2 modified for to slow down firmware for USB wake.
  3. Audio - ALC293 AppleHDA.kext
  4. PS2 - Clickpad/Trackpad + TrackPoint + all 3 buttons - VoodooPS2Controller modified - F key maps
  5. USB - custom SSDT + USBInjectAll kext mods. so all external USB3/USB2 ports and internal ports - Camera, BT work.
  6. Sleep/Wake - sleep watch
  7. GFX 2D - turn off IntelAccellerator.

Note: have not tried to implement the SD card reader.

 

 

ACPI Patches and Files:

  • DSDT.dsl - patched DSDT  
  • ssdt.dsl - define C/P state for I5 via Pike's script
     
  • SSDT-HACK-T460.dsl - add misc functions
  • SSDT-XOSI.dsl  - sets OS type
  • SSDT-LPC-T460.dsl - add/fix/define LPC device
  • SSDT-SMBUS-T460.dsl - add/fix/define SMBUS device
  • SSDT-HDEF-T460.dsl - fix/define Audio for ALC293 codec
  • SSDT-IGPU-T460.dsl - fix/define GFX for Intel HD 520 device 1916
  • SSDT-PNLF-T460.dsl - add LCD/Panel
  • SSDT-PS2K-T460.dsl - fix/define/add T460 keyboard
  • SSDT-XHC-T460.dsl - fix/define/add internal and external USB ports 

 

Boot Clover and define gfx device ID=0x12345678 until able to disable AppleIntelSKLGraphics.kext

 

Part 1 - OS Installation

 

see http://www.insanelym...25#entry1952283

 

Part 2 - Post OS Installation and Setup on HD

Spoiler

 

Notes on Custom Kexts

Spoiler

Hi @tluck,

your script is returing this error:

 

./_kext-install.command: line 86: cd: /Library/Extensions/AppleHDA_20672.kext/Contents/MacOS: No such file or directory

 

Where is AppleHDA_20672.kext ?

 

Thank you
 



#25
aleixsr

aleixsr

    InsanelyMac Protégé

  • Members
  • Pip
  • 20 posts

ah sorry that is an older script that was hardcoded for my T420... meaning that kext is for the T420 not the T460.

 

ill update the package later but here is revised script that ought to work 

Thank you, I just saw there is:

sudo ln -s /System/Library/Extensions/AppleHDA.kext/Contents/MacOS/AppleHDA

but I don't have AppleHDA.kext ?¿?¿ Does it make sense?


Thank you, I just saw there is:

sudo ln -s /System/Library/Extensions/AppleHDA.kext/Contents/MacOS/AppleHDA

but I don't have AppleHDA.kext ?¿?¿ Does it make sense?

 

Sorry, I found it was on /Backup Extensions folder, I restored it but I don't have any sound device, how did you got it working?



#26
tluck

tluck

    InsanelyMac Deity

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,960 posts
  • Gender:Male
  • Location:NC, USA

i presume you installed VoodooHDA? if your AppleHDA.kext is in /Backup

 

for my AppleHDA_ALC293.kext to work.

1) make sure original AppleHDA.kext is in /S/L/E

2) remove VoodooHDA.kext (from either /L/E or /S/L/E)

3) remove AppleHDADisabler.kext (from either /L/E or /S/L/E)

 

run the _kext-install.command in the EFI/CLOVER/kext folder to install Apple_ALC293.kext in /L/E - which creates a symbolic link to original AppleHDA.kext binary in /S/L/E

make sure the config.plist stuff for HDEF/HDA patching is in your config.plist

the SSDT-HDEF file defines codec etc.



#27
aleixsr

aleixsr

    InsanelyMac Protégé

  • Members
  • Pip
  • 20 posts

@tluck it is now working fine thanks.

 

I'm having another strage issue, when I wakeup from sleep touchpad doesn't work, do you know how I can debug it? Do you have same issue?

 

Thanks.



#28
tluck

tluck

    InsanelyMac Deity

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,960 posts
  • Gender:Male
  • Location:NC, USA

well yes and no.  sometimes the trackpad and trackPoint work before and after sleep for me. but sometimes not.

 

so look in the sleepwatcher -  rc.sleep and rc.wakeup files. which unloads the Trackpad kext before sleep and loads it in back after wake.

perhaps not the best way - but seeming effective workaround.

 

meant to document those files in the misc folder. if one googles  "sleepwatcher" you can download the installer package and then these are /etc/rc files that i use - which seem to help with both networking and Trackpad.



#29
aleixsr

aleixsr

    InsanelyMac Protégé

  • Members
  • Pip
  • 20 posts

Hello,

I just updated new OS X 10.11.6 Security update an now my laptop keyboard is not working, do you know anything about it?

 

I can see this error trying to refresh Kexts:

"Can't read info dictionary for VoodooPS2Keyboard.kext: IOCFUnserialize: syntax error near line 299"



#30
tluck

tluck

    InsanelyMac Deity

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,960 posts
  • Gender:Male
  • Location:NC, USA

hmm. i installed the recent security patch without issue? i just test and rebuild caches ok.  what SIP (CsrActiveConfig). otherwise could be file corruption? how did you get that kext onto the system?



#31
aleixsr

aleixsr

    InsanelyMac Protégé

  • Members
  • Pip
  • 20 posts

I solved it removing /Library/Extensions/VoodooPS2Keyboard.kext and loading it again.

sudo touch /Library/Extensions/
sudo kextcache -i /
sudo kextload /Library/Extensions/VoodooPS2Controller.kext/
kextstat | grep -i voodoo


#32
aleixsr

aleixsr

    InsanelyMac Protégé

  • Members
  • Pip
  • 20 posts

FYI. i am on Sierra 10.12.1 now. I had to roll back the SKLFramebuffer kext to 10.11.6 version to avoid KP on startup. but i do not (or did not) have have full GFX anyway! will investigate more to understand why. but otherwise things are looking just fine.

 

Do you get all working like 10.11.6 ?



#33
azerty076

azerty076

    InsanelyMac Protégé

  • Members
  • Pip
  • 39 posts

Hi Tluck!

 

I think you should go on the other site, there is apparently the solution for HD520/530 for Sierra (and maybe El Capitan) ;)



#34
vusun123

vusun123

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,079 posts
  • Gender:Male

The solution you are talking about is for the glitching/flickering in the finder bar. Tluck's problem comes from the screen connector itself



#35
aleixsr

aleixsr

    InsanelyMac Protégé

  • Members
  • Pip
  • 20 posts

Hi Tluck!

 

I think you should go on the other site, there is apparently the solution for HD520/530 for Sierra (and maybe El Capitan) ;)

 

This fix is not working for me on El Capitan, is it working for you ?



#36
vusun123

vusun123

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,079 posts
  • Gender:Male

This fix is not working for me on El Capitan, is it working for you ?

If you are looking for the glitch fix, create a SSDT with this snipet

DefinitionBlock ("ssdt.aml", "SSDT", 2, "APPLE ", "igpu", 0x00001000)
{
    External (_SB_.PCI0, DeviceObj)
    External (IGPU, DeviceObj)
 
    Scope (\_SB.PCI0)
    {
        Device (IGPU)
        {
            Name (_ADR, 0x00020000)  
 
            Method (_DSM, 4, NotSerialized)
            {
                If (LEqual (Arg2, Zero))
                {
                    Return (Buffer (One)
                    {
                        0x03
                    })
                }
 
                Return (Package (0x02)
                {
                    "AAPL,GfxYTile",
                    Buffer (0x4)
                    {
                        0x01, 0x00, 0x00, 0x00
                    }                    
                })
            }
        }
    }
}

Credits to PikeRAlpha



#37
thedeliveryboy

thedeliveryboy

    InsanelyMac Protégé

  • Members
  • Pip
  • 20 posts

thanks again for your efforts.

 

just to clarify something:

  • when i create a bootable installer via terminal, the T460s won't boot into clover - even after copying the files across as per the instructions.
  • when i create it via that other app thing which shall not be named, it boots into clover. however, i then boot in verbose mode it keeps crashing after the "Missing Bluetooth Controller Transport"and "USBMSC Identifier (non-unique)"

the question:

  • must i create the install USB via that other app thing which shall not be named or the terminal command? once i have that sorted, i'll keep going until i solve the next issue.

 

thanks

sparkypants

 

p.s. edit to remove the name of that other app thing which shall not be named. sorry about that.

 

 

My Hardware:

Mobo: Lenovo T460s (Clover)
CPU: Intel® Core™ i5-6300U CPU @ 2.40GHz/HM76
Graphics: Intel® HD Graphics 520 / 1920x1080



#38
tluck

tluck

    InsanelyMac Deity

  • Members
  • PipPipPipPipPipPipPipPipPipPip
  • 1,960 posts
  • Gender:Male
  • Location:NC, USA

no you can install OS X via Clover with USB.  how is the USB formatted?  you may have to check some bios settings to make sure UEFI USB is set right. 

my USB is formatted GPT and i don't use any tools from other websites - Clover + macOS

 

for Recovery and Installers, I inject IntelGFX and use device Id 0x12345678



#39
thedeliveryboy

thedeliveryboy

    InsanelyMac Protégé

  • Members
  • Pip
  • 20 posts

Awesome! Thanks - that worked and I can boot using the USB I created using terminal and adding the custom files.

 

Added the device id in Clover options, but still failing at "Missing Bluetooth..." error message. 

 

Will keep trying!



#40
vusun123

vusun123

    InsanelyMac Legend

  • Members
  • PipPipPipPipPipPipPipPip
  • 1,079 posts
  • Gender:Male

Take a picture of the verbose log, and we will see, it's hard to know exactly what error you are facing







Also tagged with one or more of these keywords: Lenovo, T460, Skylake


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users

© 2017 InsanelyMac  |   News  |   Forum  |   Downloads  |   OSx86 Wiki  |   Designed by Ed Gain  |   Logo by irfan  |   Privacy Policy