Blaggah Posted January 8, 2019 Share Posted January 8, 2019 @tluck Any chance on getting my X1 Carbon running like it should? What do i need to provide in order to get the patched files i'd need? Link to comment Share on other sites More sharing options...
kolodzieski Posted January 8, 2019 Share Posted January 8, 2019 CPU nodes in ioRegistryEplorer ? I dumped IntelPlatformPluginInjector.kext from /L/E and replaced the SSDT-CPU.dsl ith the generic SSDT-XCPM.dsl from rehabmas repo. Seems like scaling and power management is working very well. I get basic GeekBench scores of 4036/7829, the Intel Power Gadget shows me idling @ 1GH (100 * 10) with PKG power of around 0.9. Everything looks and feels good. However in ioRegistryExplorer, I do not get any CPU nodes, i just see "--> cpus". All references I have seem in power management threads say I should be seeing a CPU0 node, that is expandable and shows me details? Any clues? Cheers, Scott. Link to comment Share on other sites More sharing options...
kolodzieski Posted January 8, 2019 Share Posted January 8, 2019 Duh, I figured it out. My T470's namespace is just different. Instead of CPUX, I have PR0X. So changing SSDT-XCPM.dsl to use PR00 instead of CPU0, allows the injection of X86PlatformPlugin automatically. This gives me PM as @tluckdescribes in different thread. The minimum freq is 1.3GHz. I can add in @tluck's X86PlatformPluginInjector to get the idle down to 800MHz (but the Geekbench suffers some -- 3800 verses 4000). Hopefully this helps someone else. Cheers, Scott. 1 Link to comment Share on other sites More sharing options...
tluck Posted January 9, 2019 Author Share Posted January 9, 2019 23 hours ago, Blaggah said: @tluck Any chance on getting my X1 Carbon running like it should? What do i need to provide in order to get the patched files i'd need? so what is missing? you should be able to follow the same recipe/procedure outlined in the guide - for example kolodzieski and others have for say T470 etc. his repo and files are the most current. Link to comment Share on other sites More sharing options...
aleixsr Posted January 15, 2019 Share Posted January 15, 2019 Hello, is there any way to obtain a full set of EFI files for Mojave installation? Thank you very much. Link to comment Share on other sites More sharing options...
tluck Posted January 15, 2019 Author Share Posted January 15, 2019 the github repo is up to date for latest EFI (clover and kexts), but i would look at the config.plist in DSDT.T470 by @kolodzieski to be the most current for 10.14 Link to comment Share on other sites More sharing options...
Blaggah Posted January 16, 2019 Share Posted January 16, 2019 Well to start, my x1 carbon 4th gen runs with the same EFI folder from T460 but x1 carbon's performance lags especially when accessing Apps. I could clone my T460 SSD and run it on my x1 and apply the necessary patches there once I finish copying the partitions. Link to comment Share on other sites More sharing options...
aleixsr Posted January 16, 2019 Share Posted January 16, 2019 On 1/3/2019 at 7:52 PM, nijhawank said: My backlight adjustment is working but not all brightness levels are present before the sleep (just between 70 - 100%). After the sleep cycle, all brightness levels are present. From the WEG documentation... igfxcflbklt=1 boot argument (and enable-cfl-backlight-fix property) to enable CFL backlight patch applbkl=0 boot argument to disable AppleBacklight.kext patches for IGPU Isn't the boot flag (igfxcflbklt and related property in config.plist) only for Coffylake? T460 is Skylake and I assume that applbkl=0 boot entry controls for everything other than coffylake and I assume that by default WEG applies the backlight patches and applblk=0 is only needed to disable backlight patches? Is the understanding correct? Hello, I don't have any brightness controls under 10.13.6, do you know how to fix it ? Link to comment Share on other sites More sharing options...
nijhawank Posted January 16, 2019 Share Posted January 16, 2019 1 hour ago, aleixsr said: Hello, I don't have any brightness controls under 10.13.6, do you know how to fix it ? I never tried 10.13.6 (directly Mojave) but I guess that should not make any difference. Assuming standard knowledge of doing things in hackintosh... Use the latest Lilu, WhateverGreen (put in /Library/Extensions). Take SSDT-PNLF.aml (put in /EFI/CLOVER/ACPI/patched) from Rahabman's AppleBacklightFixup package. Your DSDT must not have any brightness fix. If you have coffelake cpu, then use the config parameters in clover config. Link to comment Share on other sites More sharing options...
tluck Posted January 16, 2019 Author Share Posted January 16, 2019 (edited) the more recent Whatevergreen replaces AppleBacklightInjector. - you need to make sure the _UID in SSDT-PNLF.aml is set to 16 (0x10) vs 10 (0xA) - remove AppleBacklightInjector.kext - remove levels patch in config.plist - so it wont change level range for 0-1000 Edited January 16, 2019 by tluck Link to comment Share on other sites More sharing options...
Blaggah Posted January 17, 2019 Share Posted January 17, 2019 Well to start, my x1 carbon 4th gen runs with the same EFI folder from T460 but x1 carbon's performance lags especially when accessing Apps. I could clone my T460 SSD and run it on my x1 and apply the necessary patches there once I finish copying the partitions. -------------Edit. Forgot to add that my x1 carbon is running but with no audio. I used the same clover files from my T460. I recompiled the screen brightness kext and that's working fine. Where's the repo with the files you're talking about? Link to comment Share on other sites More sharing options...
tluck Posted January 17, 2019 Author Share Posted January 17, 2019 @Blaggah this thread guide refers to this file repo: https://github.com/tluck/Lenovo-T460-Clover - cloning your macOS HD is a great approach. i just did that very thing for my 2 systems to get them in sync. each system has is own folder for their specific config files, ACPI, kexts - CLOVER/OEM/<board_id>/... - so everything works on the X1 but the audio? what is the audio codec? AppleALC supports so many codecs now but the config.plist file may be setting an invalid layout. 1 Link to comment Share on other sites More sharing options...
aleixsr Posted January 17, 2019 Share Posted January 17, 2019 (edited) 23 hours ago, tluck said: the more recent Whatevergreen replaces AppleBacklightInjector. Ok, I updated Whatevergreen v1.2.6 and Lilu v1.3.1 - you need to make sure the _UID in SSDT-PNLF.aml is set to 16 (0x10) vs 10 (0xA) . I used your zip file that is OK, nothing changed - remove AppleBacklightInjector.kext . Done in /Library/Extensions and in /EFI/CLOVER/kexts/Other - remove levels patch in config.plist - so it wont change level range for 0-1000 I don't know how to do it Hi, I marked in bold what I did to make brightness control work, thank you very much. Now my issue is that when I try to sleep computer it reboots, do you know what can I check? Thank you. Edited January 17, 2019 by aleixsr Link to comment Share on other sites More sharing options...
tluck Posted January 18, 2019 Author Share Posted January 18, 2019 (edited) sorry. i just updated the zip (now) to have the latest files. so maybe you should pull it down again. @blaggah - is your audio CX11852 - (lhttps://www.cnet.com/products/thinkpad-x1-carbon-4th-generation/) not sure AppleALC support this codec, but you can use the general VoodooHDA to get audio. Edited January 18, 2019 by tluck Link to comment Share on other sites More sharing options...
Blaggah Posted January 18, 2019 Share Posted January 18, 2019 7 hours ago, tluck said: @Blaggah this thread guide refers to this file repo: https://github.com/tluck/Lenovo-T460-Clover - cloning your macOS HD is a great approach. i just did that very thing for my 2 systems to get them in sync. each system has is own folder for their specific config files, ACPI, kexts - CLOVER/OEM/<board_id>/... - so everything works on the X1 but the audio? what is the audio codec? AppleALC supports so many codecs now but the config.plist file may be setting an invalid layout. Thanks tluck, i took your advice and i managed to run patched the dsdt on my x1 and i deleted all the other ssdt in patched folder. I don't know what codec it is, but im assuming it's the same for the T470. Because it uses the same layout id as my x1 carbon 4th gen. Now the lappy doesn't seem to lag.. Now my audio is working but screen brightness doesn't seem to be working anymore. I only have DSDT.aml in patched folder now.. Do i need the PLNF ssdt in there as well? Because it was working prior to removing the files and patched dsdt. Link to comment Share on other sites More sharing options...
tluck Posted January 18, 2019 Author Share Posted January 18, 2019 @Blaggah yeah you will need SSDT-PNLF for brightness Link to comment Share on other sites More sharing options...
Blaggah Posted January 18, 2019 Share Posted January 18, 2019 (edited) @tluck I did just that and now i have screen brightness working again and my X1 Carbon doesn't feel sluggish at all. I'm so glad i got this thing working. Thank you for all the help m8.. One quick question though, the x1 has a password where it needs to be typed on cold boot, i tried disabling it but it doesn't work. ----------Edited.. I downloaded the latest kext from Rehabman and it's working properly now. I must say that my X1 Carbon is now a success.. Thanks guys.. Edited January 18, 2019 by Blaggah Link to comment Share on other sites More sharing options...
aleixsr Posted January 22, 2019 Share Posted January 22, 2019 Hello, using High Sierra I got a reboot when I try to enter sleep mode, what can I check? Thank you. Link to comment Share on other sites More sharing options...
osmac Posted January 23, 2019 Share Posted January 23, 2019 (edited) 10 hours ago, aleixsr said: Hello, using High Sierra I got a reboot when I try to enter sleep mode, what can I check? Thank you. Huge thanks for the guide first of all. It allowed me to have a fully working install of Sierra on my T460s. I upgraded to High Sierra then Mojave which both mostly worked. Right now I'm dealing with the same issues as quoted - sleep and shutdown just reboot the machine. I also have an issue with the trackpad - if I track my finger slowly across the trackpad it works ok. But quicker movements aren't recognized. So, swiping quickly across the trackpad to get from one side of the screen to the other only move the cursor a small bit. Also for some reason bluetooth isn't recognized. Wifi is. All the above issues weren't issues in Sierra. Just in High Sierra and Mojave *EDIT* Tried Clover 4844 and 4849, tried with release 01.17.2019 and 10.12.2018, tried 4 different USB drives, used ACPI files from my laptop/BIOS and the ones included in the releases Edited January 23, 2019 by osmac Link to comment Share on other sites More sharing options...
aleixsr Posted January 23, 2019 Share Posted January 23, 2019 (edited) 1 hour ago, osmac said: Huge thanks for the guide first of all. It allowed me to have a fully working install of Sierra on my T460s. I upgraded to High Sierra then Mojave which both mostly worked. Right now I'm dealing with the same issues as quoted - sleep and shutdown just reboot the machine. I also have an issue with the trackpad - if I track my finger slowly across the trackpad it works ok. But quicker movements aren't recognized. So, swiping quickly across the trackpad to get from one side of the screen to the other only move the cursor a small bit. Also for some reason bluetooth isn't recognized. Wifi is. All the above issues weren't issues in Sierra. Just in High Sierra and Mojave *EDIT* Tried Clover 4844 and 4849, tried with release 01.17.2019 and 10.12.2018, tried 4 different USB drives, used ACPI files from my laptop/BIOS and the ones included in the releases Hello, bluetooth is working ok for me (i'm using High Sierra), you can't see your bluetooth device? Did you upgraded High Sierra to Mojave using App Store and using same EFI folder? On 1/18/2019 at 2:33 PM, Blaggah said: @tluck I did just that and now i have screen brightness working again and my X1 Carbon doesn't feel sluggish at all. I'm so glad i got this thing working. Thank you for all the help m8.. One quick question though, the x1 has a password where it needs to be typed on cold boot, i tried disabling it but it doesn't work. ----------Edited.. I downloaded the latest kext from Rehabman and it's working properly now. I must say that my X1 Carbon is now a success.. Thanks guys.. @Blaggah can you please share your EFI folder? I've a friend with X1 Carbon also. Thank you. Edited January 23, 2019 by aleixsr 1 Link to comment Share on other sites More sharing options...
osmac Posted January 23, 2019 Share Posted January 23, 2019 17 minutes ago, aleixsr said: Hello, bluetooth is working ok for me (i'm using High Sierra), you can't see your bluetooth device? Did you upgraded High Sierra to Mojave using App Store and using same EFI folder? Tried with same EFI folder that I used with Sierra, and using the folder from a fresh install. There's no bluetooth option in System Preferences or in Network. It's strange since it worked fine in Sierra. If I use Time Machine to go back to Sierra everything is perfect. Honestly I only upgraded so I could get the latest version of Xcode. I'm not a dev but I'd like to be one day I could attach whatever files anyone would need that might help me narrow down the issues Link to comment Share on other sites More sharing options...
tluck Posted January 23, 2019 Author Share Posted January 23, 2019 sorry i can't be of more help on T460 upgrades. reboot on sleep could a problem with USB? but looking in the system log may help understand what is not right? i cant recall if there is a need to patch to allow more than 15 usb ports or not. if so, they are not in the config for High Sierra or Mojave - same for any BRCM patches. Maybe if someone has a working T460 on HS or Mojave they can share their EFI and I will retrofit the patches to the repo. @osmac - what is your BT device? meaning do you have a replacement Broadcom for example? Link to comment Share on other sites More sharing options...
Blaggah Posted January 23, 2019 Share Posted January 23, 2019 (edited) On 1/23/2019 at 3:39 AM, aleixsr said: @Blaggah can you please share your EFI folder? I've a friend with X1 Carbon also. Thank you. I'll send you the EFI folder sometime this weekend. I'm out of town and don't have my X1 Carbon with me. It's 99% stable, just have issues with battery indication not syncing properly sometimes. Other than that, it's rock solid.@aleixsr here's the clover from my x1 carbon.. I only have the DSDT and plnf.ssdt inside patched folder as they are the only ones i need for my machine. if you friend's x1 is the same as mine, he could use the same dsdt or else i'd recommend patching one himself for his machine.. Sent from my iPhone using Tapatalk X1 Carbon 4thGen CLOVER.zip Edited January 24, 2019 by Blaggah Link to comment Share on other sites More sharing options...
aleixsr Posted January 24, 2019 Share Posted January 24, 2019 On 1/23/2019 at 8:26 PM, tluck said: sorry i can't be of more help on T460 upgrades. reboot on sleep could a problem with USB? but looking in the system log may help understand what is not right? i cant recall if there is a need to patch to allow more than 15 usb ports or not. if so, they are not in the config for High Sierra or Mojave - same for any BRCM patches. Maybe if someone has a working T460 on HS or Mojave they can share their EFI and I will retrofit the patches to the repo. @osmac - what is your BT device? meaning do you have a replacement Broadcom for example? Hello here it is: - EFI folder - backtrace.log kernel panic when trying to sleep Thank you! EFI.zip backtrace.log Link to comment Share on other sites More sharing options...
tluck Posted January 24, 2019 Author Share Posted January 24, 2019 @aleixsr darn. thought i did this already - but i just cleaned up the clean/wake scripts to remove the kextunload - this is not needed. in fact you can decide if you need to totally remove the /etc/rc.sleep /etc/rc.wake scripts. but for now just remove the kextunload/kextload lines in these files: /etc/rc.sleep /etc/rc.wake Link to comment Share on other sites More sharing options...
Recommended Posts