MrHackerVirus Posted November 17, 2016 Share Posted November 17, 2016 I'm getting a kernel panic while install Sierra. I'm using clover to inject intelGFX as id 00000000 Link to comment https://www.insanelymac.com/forum/topic/315451-guide-lenovo-t460t470-macos-with-clover-and-opencore/page/3/#findComment-2320466 Share on other sites More sharing options...
vusun123 Posted November 17, 2016 Share Posted November 17, 2016 I'm getting a kernel panic while install Sierra. I'm using clover to inject intelGFX as id 00000000 Your DVMT Pre-alloc is 32MB, hence it panics. Use Rehabman's hotpatch config, it has the minStolensize patch for Skylake to help you bypass this panic. You may need FakeID Intel = 12345678 to get into OS X without acceleration first Link to comment https://www.insanelymac.com/forum/topic/315451-guide-lenovo-t460t470-macos-with-clover-and-opencore/page/3/#findComment-2320472 Share on other sites More sharing options...
Asxetos Posted November 17, 2016 Share Posted November 17, 2016 Greetings to all, I am new to the hackintosh field, but it truly is very tempting (an almost real Macbook for no extra cost). I have a Thinkpad T460 i7-6600U with intel-HD 520 graphics, 8GB ram, an 128GB SSD and latest bios. I had no problem building the installer and installing Sierra 10.12.1 and Windows 10 (in a single SSD - dual boot) Looking in my display properties in Windows 10 it seems i have 128MB DVMT, (i guess it is a i7-6600U specific thing?) So according to the guides in here and other forums, i should be OK with full hardware acceleration and no glitches. BUT even after finishing setup (install Clover, all custom kexts etc) and booting from HDD, i still need to inject Intel graphics with the bogus ID or i get a kernel panic and reboot. Since the changes - patches needed to Kext's DSDT's and SSDT's are so complex, can someone guide me on what i should change - undo from the setup in this guide? Thanks... Link to comment https://www.insanelymac.com/forum/topic/315451-guide-lenovo-t460t470-macos-with-clover-and-opencore/page/3/#findComment-2320787 Share on other sites More sharing options...
tluck Posted November 17, 2016 Author Share Posted November 17, 2016 @Asxetos - i posted the zip of my ESP with the intent to make easy for someone to just drop all of that in place. detailed steps in post 1 - but it boils down to: install macOS install EFI folder in your own ESP on the HD install kexts on the HD in /L/E it seems you did all that. and this all worked ok for El Capitan for a few people. Sierra is much better and works for me. Note: the Dedicate video memory shown in windows is not a true indication of the pre-allocate memory which seems to be set to 32MB - there a patch to address that however. Link to comment https://www.insanelymac.com/forum/topic/315451-guide-lenovo-t460t470-macos-with-clover-and-opencore/page/3/#findComment-2320836 Share on other sites More sharing options...
Asxetos Posted November 18, 2016 Share Posted November 18, 2016 @Asxetos - i posted the zip of my ESP with the intent to make easy for someone to just drop all of that in place. detailed steps in post 1 - but it boils down to: install macOS install EFI folder in your own ESP on the HD install kexts on the HD in /L/E it seems you did all that. and this all worked ok for El Capitan for a few people. However, with Sierra and fully working gfx for others - not sure who has tried. For me on Sierra, I had to roll back the GFX kexts to 10.11.6 versions to get running on Sierra. Note: my GFX situation never fully worked seemingly due to touchscreen complications. Note: the Dedicate video memory shown in windows is not a true indication of the pre-allocate memory which seems to be set to 32MB - there a patch to address that however. Thanks for the answer tluck, i guess i will have to search a little bit more. Having to actually disable the graphics to boot, Sierra reports 7MB of graphics memory but that must be the standard VGA frame buffer Is there a more reliable method to check the actual amount of DVMT memory OSX will see with graphics enabled? Link to comment https://www.insanelymac.com/forum/topic/315451-guide-lenovo-t460t470-macos-with-clover-and-opencore/page/3/#findComment-2321075 Share on other sites More sharing options...
aleixsr Posted November 20, 2016 Share Posted November 20, 2016 Hello, I'm trying to build a new USB installer for El Capitan 11.10.6 and I always got stucked in "Still waiting for root device", I'm using latest EFI files in tluck's zip, can you help me please? UPDATE: Solved it Downloading El Capitan again and creating PenDrive again. Link to comment https://www.insanelymac.com/forum/topic/315451-guide-lenovo-t460t470-macos-with-clover-and-opencore/page/3/#findComment-2322299 Share on other sites More sharing options...
Ezak Posted November 26, 2016 Share Posted November 26, 2016 Just got my T460s installed with 10.12.1! So excited... Need to fix a few things - audio, swap CMD and Alt keys. Will post more later. Thanks for all your help. Hey, what is the spec of your T460s? Can you make an how to? Link to comment https://www.insanelymac.com/forum/topic/315451-guide-lenovo-t460t470-macos-with-clover-and-opencore/page/3/#findComment-2324910 Share on other sites More sharing options...
tluck Posted November 26, 2016 Author Share Posted November 26, 2016 @Ezak - how to what? If you use the DSDT/SSDT in the first post zip, then they define the PS2K as T460 and VoodooPS2Controller will handle the key swap. Link to comment https://www.insanelymac.com/forum/topic/315451-guide-lenovo-t460t470-macos-with-clover-and-opencore/page/3/#findComment-2324934 Share on other sites More sharing options...
azerty076 Posted December 1, 2016 Share Posted December 1, 2016 Hello, I finally get the wifi card, and it's now installed inside the T460. Before to start the installation, I have to : - increase the EFI partition, because on my 256Go SSD it's only 100Mo (200Mo is required I guess) - use the technic to increase the DVMT size (EFI shell???) Am I right? Thanks Link to comment https://www.insanelymac.com/forum/topic/315451-guide-lenovo-t460t470-macos-with-clover-and-opencore/page/3/#findComment-2327591 Share on other sites More sharing options...
vusun123 Posted December 2, 2016 Share Posted December 2, 2016 Hello, I finally get the wifi card, and it's now installed inside the T460. Before to start the installation, I have to : - increase the EFI partition, because on my 256Go SSD it's only 100Mo (200Mo is required I guess) - use the technic to increase the DVMT size (EFI shell???) Am I right? Thanks 1. EFI Partition 200MB is appreciated, but you can skip this if you format the macOS partition as HFS+ in Windows using Paragon Hard Disk Suite 2. EFI Shell is not working for T/X/W Thinkpad since they have tight security 1 Link to comment https://www.insanelymac.com/forum/topic/315451-guide-lenovo-t460t470-macos-with-clover-and-opencore/page/3/#findComment-2328045 Share on other sites More sharing options...
azerty076 Posted December 4, 2016 Share Posted December 4, 2016 1. EFI Partition 200MB is appreciated, but you can skip this if you format the macOS partition as HFS+ in Windows using Paragon Hard Disk Suite 2. EFI Shell is not working for T/X/W Thinkpad since they have tight security Thank you vusun123. Link to comment https://www.insanelymac.com/forum/topic/315451-guide-lenovo-t460t470-macos-with-clover-and-opencore/page/3/#findComment-2329260 Share on other sites More sharing options...
mangyvr Posted December 4, 2016 Share Posted December 4, 2016 Does anybody have an update for the kernel panic of AppleIntelSKLGraphicsFramebuffer? I can boot El Capitan with intelgfx injection with QE/CI, but not Sierra. Sierra installs fine on the VGA driver with fakeID = 0x1234567 and injection, and boots with that setting, but not with the injection and no fake ID. Link to comment https://www.insanelymac.com/forum/topic/315451-guide-lenovo-t460t470-macos-with-clover-and-opencore/page/3/#findComment-2329374 Share on other sites More sharing options...
vusun123 Posted December 5, 2016 Share Posted December 5, 2016 Does anybody have an update for the kernel panic of AppleIntelSKLGraphicsFramebuffer? I can boot El Capitan with intelgfx injection with QE/CI, but not Sierra. Sierra installs fine on the VGA driver with fakeID = 0x1234567 and injection, and boots with that setting, but not with the injection and no fake ID. Skylake framebuffer in Sierra now can cause kernel panic if your DVMT is not appopriately configure. You need to FakeID to a bogus one, then use the Skylake minStolenSize patch from Rehabman's repo Link to comment https://www.insanelymac.com/forum/topic/315451-guide-lenovo-t460t470-macos-with-clover-and-opencore/page/3/#findComment-2329413 Share on other sites More sharing options...
mangyvr Posted December 5, 2016 Share Posted December 5, 2016 Skylake framebuffer in Sierra now can cause kernel panic if your DVMT is not appopriately configure. You need to FakeID to a bogus one, then use the Skylake minStolenSize patch from Rehabman's repo I am using the config.plist that @tluck posted in the OP -- I think it has the patch already: <dict> <key>Comment</key> <string>Skylake minStolenSize patch (credit RehabMan based on original by Austere.J)</string> <key>Disabled</key> <false/> <key>Find</key> <data> iUXIOcZ2UQ== </data> <key>MatchOS</key> <string>10.12.x</string> <key>Name</key> <string>AppleIntelSKLGraphicsFramebuffer</string> <key>Replace</key> <data> iUXIOcbrUQ== </data> </dict> Link to comment https://www.insanelymac.com/forum/topic/315451-guide-lenovo-t460t470-macos-with-clover-and-opencore/page/3/#findComment-2329455 Share on other sites More sharing options...
vusun123 Posted December 5, 2016 Share Posted December 5, 2016 I am using the config.plist that @tluck posted in the OP -- I think it has the patch already: <dict> <key>Comment</key> <string>Skylake minStolenSize patch (credit RehabMan based on original by Austere.J)</string> <key>Disabled</key> <false/> <key>Find</key> <data> iUXIOcZ2UQ== </data> <key>MatchOS</key> <string>10.12.x</string> <key>Name</key> <string>AppleIntelSKLGraphicsFramebuffer</string> <key>Replace</key> <data> iUXIOcbrUQ== </data> </dict> Manually patch the kext first, if it isn't loaded in the kernel cache it can't be patched Link to comment https://www.insanelymac.com/forum/topic/315451-guide-lenovo-t460t470-macos-with-clover-and-opencore/page/3/#findComment-2329569 Share on other sites More sharing options...
mangyvr Posted December 6, 2016 Share Posted December 6, 2016 Manually patch the kext first, if it isn't loaded in the kernel cache it can't be patched I'll give that a try soon. I've read that Sierra doesn't use a cache and only prelinked kernels -- is there something I'm missing about how to rebuild the cache and/or kernel than just kextcache -u? yeah. i had troubles too on Sierra. so i went the "easy" route - and just rolled back to El Cap AppleIntelSKLGraphicsFramebuffer kext - which does not seem to even need patching? I went even easier and went back to El Cap haha. I imaged my setup so I can give Sierra a try again. Link to comment https://www.insanelymac.com/forum/topic/315451-guide-lenovo-t460t470-macos-with-clover-and-opencore/page/3/#findComment-2330048 Share on other sites More sharing options...
mangyvr Posted December 6, 2016 Share Posted December 6, 2016 I hex edited the AppleIntelSKLGraphicsFramebuffer kext, and it says that it cannot load the Framebuffer and just loaded Sierra in 2d. I am rolling back to El Capitan for the time being. Link to comment https://www.insanelymac.com/forum/topic/315451-guide-lenovo-t460t470-macos-with-clover-and-opencore/page/3/#findComment-2330061 Share on other sites More sharing options...
mangyvr Posted December 13, 2016 Share Posted December 13, 2016 OK guys: From reading the T460 thread on the other forum, RehabMan explained (indrectly) why the Sierra/10.12 MinStolenSize patch wasn't working for us. If you're using SSDT-IGPU-T460.aml in the OP, this will override the ig-platform-id in the Clover config.plist. This will cause AppleIntelSKLGraphicsFramebuffer.kext to assert from the incorrect DVMT-prealloc value no matter what you do in the config.plist. So the correct course of action to get the patch working is to: 1) Do NOT use the aforementioned SSDT (or rename it, whatever you like). 2) Change the ig-platform-id in the config.plist contained in the ESP to an invalid one (I used 0x1), WITHOUT a fake-id. According to RehabMan, this loads the AppleIntelSKLGraphicsFramebuffer.kext but not start it. 3) Rebuild the kextcache. 4) Change the config.plist back to the correct ig-platform-id and boot normally (including with SSDT-IGPU-T460.aml). My graphics appears to be working, albeit with some menu glitches -- I need to check out the thread with the solution for this. On the downside, my brightness keys now do not work. Both keys increase brightness. I need to look into this as well. 1 Link to comment https://www.insanelymac.com/forum/topic/315451-guide-lenovo-t460t470-macos-with-clover-and-opencore/page/3/#findComment-2333222 Share on other sites More sharing options...
Shad0wWalk3r Posted December 13, 2016 Share Posted December 13, 2016 @tluck THANKS A BUNCH FOR YOUR FILES!!!!!!!! used your DSDT.aml stored in your zip file just to give it a shot on my x260 coz i got no battery percentage and i just said ...well lets try it! and now my battery works!!!thanks so much!!!! although i use the dw1560 wifi card as you,wifi works fully but bluetooth doesn't....any suggestions?saw you had many files stored...i am just so happy with the battery fyi i use only OS X on the laptop so for the last week i had to just find out if it is charged or not...any chance fixing brightness etc ? thanks again Link to comment https://www.insanelymac.com/forum/topic/315451-guide-lenovo-t460t470-macos-with-clover-and-opencore/page/3/#findComment-2333610 Share on other sites More sharing options...
mangyvr Posted December 13, 2016 Share Posted December 13, 2016 Hi @tluck: Is there anywhere to grab the updated and compiled version of your VoodooPS2Controller.kext fork? Link to comment https://www.insanelymac.com/forum/topic/315451-guide-lenovo-t460t470-macos-with-clover-and-opencore/page/3/#findComment-2333694 Share on other sites More sharing options...
tluck Posted December 13, 2016 Author Share Posted December 13, 2016 @mangyvr - the VoodooPS2 kext in the T420 guide (see my sig) is the same kext. you can get it from there for now. its version 1.18.25a. i will update this zip soon. Link to comment https://www.insanelymac.com/forum/topic/315451-guide-lenovo-t460t470-macos-with-clover-and-opencore/page/3/#findComment-2333712 Share on other sites More sharing options...
mangyvr Posted December 13, 2016 Share Posted December 13, 2016 @mangyvr - the VoodooPS2 kext in the T420 guide (see my sig) is the same kext. you can get it from there for now. its version 1.18.25a. i will update this zip soon. The info.plist for the VoodooPS2Controller kext in your T420 package shows 1.8.24g -- I think I need the 1.8.25 update (Dec. 08) for the Sierra brightness key mapping. I also tried the Skylake glitch fix in Sierra and it works with no issues. HiDPI resolutions above 720p are not working for me though -- it works when the resolution is set (through Retina Display Manager) but the screen is garbled when the computer wakes up from sleep. Has anyone encountered something similar? Link to comment https://www.insanelymac.com/forum/topic/315451-guide-lenovo-t460t470-macos-with-clover-and-opencore/page/3/#findComment-2333762 Share on other sites More sharing options...
barrrrt Posted December 14, 2016 Share Posted December 14, 2016 Very nice guide. T560 runs with this very well. Do you have no flickers in the top left edge? I had to Add just one line in Clover->Devices-> Add Properties Device IntelGFX Key AAPL,GfxYTile Value AQAAAA== Vale Type String How did you configure the keyboard layout. Did you have a Gui-Tool for setting the right functions to the proper keys? Beside that: I find a "removed CD/DVD" with your kext and configs. Do you have a vague idea what could cause this? Link to comment https://www.insanelymac.com/forum/topic/315451-guide-lenovo-t460t470-macos-with-clover-and-opencore/page/3/#findComment-2334108 Share on other sites More sharing options...
tluck Posted December 14, 2016 Author Share Posted December 14, 2016 @barrrrt what do you mean by keyboard layout? well i just merged in my changes to the latest v1.8.25 voodooPS2controller. i will post a new zip. @mangyver - did you get the GFX working without KP on Sierra? I may look into replacing my LCD with non-touch LCD ... Link to comment https://www.insanelymac.com/forum/topic/315451-guide-lenovo-t460t470-macos-with-clover-and-opencore/page/3/#findComment-2334159 Share on other sites More sharing options...
mangyvr Posted December 14, 2016 Share Posted December 14, 2016 @barrrrt what do you mean by keyboard layout? well i just merged in my changes to the latest v1.8.25 voodooPS2controller. i will post a new zip. @mangyver - did you get the GFX working without KP on Sierra? I may look into replacing my LCD with non-touch LCD ... I compiled and installed your fork of 1.8.25. Brightness hotkeys are working great, but it doesn't seem like the trackpad right click works (registers as left click). The trackpoint right click works though. It was like this also in 1.8.24, although it was working in El Cap. No issues with scrolling or gestures that I see though. Yup gfx works with no KP using the minStolenPatch in your config.plist. I posted about it last page. However I am not able to get HiDPI 1920x1080 or 1600x900 to work (garbled screen on wakeup). This does not occur with the non-HiDPI versions of those resolutions, or 720p. This was also working in El Cap. The WQHD panel on the T460s is gorgeous but brings its own issues I guess. Link to comment https://www.insanelymac.com/forum/topic/315451-guide-lenovo-t460t470-macos-with-clover-and-opencore/page/3/#findComment-2334281 Share on other sites More sharing options...
Recommended Posts