Jump to content

Lenovo ThinkPad T420 with UEFI Only


K0gen
 Share

5,282 posts in this topic

Recommended Posts

On 10/30/2018 at 8:46 PM, goodguess said:

Thanks tluck.

As I was uncertain how to get back the trackpad function, installed from scratch again on the USB2 volume.

Until right now trackpad, trackpoint and keyboard do work. Same for sound, volume keys and camera.

Why the kexts were no loaded last time remains the question.

I´ll try some more, than replacing HS with Mojave will be on schedule.

 

I´m getting system crashes in an early stage, three out of four times.

I´ll try with my other T420, as there may be a ACPI issue as seen before.

The crash report (first lines) is attached.

 

For the lost trackpad and sound, could HWSensors be the culprit?

The devices did work on my second trial until installation.

Afterwards Trackpad and sound are missing and HWSensors are not loaded either - strange.

panic_report.rtf

 

I've got the same problem, after HS/Mojave install laptop keyboard/trackpad/sound/network was working, but on some subsequent boot not anymore.. I only realized this later at some point, since I'm using usb keyboard/mouse while docked, and usb speakers..

Gonna try a reinstall also, and try to pay attention at when/what's happening.

 

Link to comment
Share on other sites

@davidian: Did you install the HWSensors package too, from tluck´s repository?

Is 10.14 booting flawlessly on your side - without KP?

I could not make HiDPI work either, not that I would need it actually.

 

@Tetonne: I seem to recall that there was no valid whitelist removal after 1.46, things may have changed meanwhile.

Downgrading BIOS from Windows did not work for me back in the days either.

The DOS flash solution did work as described, see my txt file included with the upload.

Best stay with the patched 1.46 with WL removal, I think that the spyware Intel AMT function is disabled that way too. ;)

 

Link to comment
Share on other sites

3 minutes ago, goodguess said:

@davidian: Did you install the HWSensors package too, from tluck´s repository?

Is 10.14 booting flawlessly on your side - without KP?

I could not make HiDPI work either, not that I would need it actually.

 

@Tetonne: I seem to recall that there was no valid whitelist removal after 1.46, things may have changed meanwhile.

Downgrading BIOS from Windows did not work for me back in the days either.

The DOS flash solution did work as described, see my txt file included with the upload.

Best stay with the patched 1.46 with WL removal, I think that the spyware Intel AMT function is disabled that way too. ;)

 

 

I did install it, yes. Are you suggesting not to install it after a fresh install? I like having that, would be good to know if that affects things somehow.

 

Another thing that I noticed with HS was that I could not boot a lot of times. After selecting to boot HS in clover, my laptop would reboot as soon as the boot process started. Then I would switch on verbose logging, and it would boot all the way.. This seems sporadic, because sometimes I could boot normally. I did not have this issue with Mojave though.

I didnt check back the logs, so I do not know for sure if I had KPs or not.

I also need to do a compare between tluck's patched DSDT and my own, as some things (addresses) might be different, so I need to keep only the patched bits. I assume (maybe wrongly) most people don't do this if things work out of the box, but sometimes the problem lies there, some things might not work, because someones T420 DSDT is a bit different than the patched one posted in the guide. A compare of the decompiled DSDT's would show of there's some difference there besides the patches.

 

 

Link to comment
Share on other sites

@davidianI have not been installing kexts to my HD OS for awhile now - I just leave them in the ESP. so the _kext-install.command is optional in that regard. in fact needs to be updated for use with Mojave to perhaps install gfx kexts in /S/L/E vs /L/E. 

 

i compared the 1.52 DSDT to the 1.46 DSDT and i could not find any differences that would matter for macOS. The fix-region clover patch may make a change so i always use that option.

 

My 8GB/AUO LCD system has 2 disks, Disk0 (main disk) is Mojave and Windows10 and Disk1 (in my expansion bay) is a backup Mojave and HighSierra. So in essence has 3 OS.

i use the same config.plist kexts to boot Mojave and HighSierra - and I cannot see any difference in performance etc. otherthan some minor issues with Mojave LightMode etc.

both 10.13 and 10.14 have random glitches.

Link to comment
Share on other sites

@tluck thanks for the info!

I have not run the kext install command either, just wondering.. I know that I did when installing El Capitan, but it was not written as mandatory in the current guide, so I didn't.

 

What I meant about the DSDT file, was sthing like this:

OperationRegion (MNVS, SystemMemory, 0xDAF9D018, 0x1000)

vs

OperationRegion (MNVS, SystemMemory, 0xBAF9D018, 0x1000)

 

On my Fujitsu Laptop I had differences like this in my old and new DSDT after a motherboard replacement.

I only checked for that because some of the things did not work after mobo replacement, like battery, sound...

Maybe it was because it came with a newer BIOS, but I didn't check.

Is it correct to assume that if people use the same BIOS like yours, differences like this one should not be present?

It might not be relevant here, I don't know, but since then, I check for things like this :)

 

I just tried to boot now with the mojave plist in high sierra, and it worked. First time I tried it didnt, donno why.

 

EGPU also works in High Sierra with the appropriate nvidia web drivers, and reverting your SLOT1 modification in DSDT for EXP4, thats where is connected. Unfortunately no web drivers yet for Mojave..

 

Edited by davidian
  • Like 1
Link to comment
Share on other sites

Comrades, I got a fresh small SSD today and let CCC do its job to clone from my USB-2 external.

10.14 is booting without crashing/lagging now. Could have very well been the old pATA drive via USB having issues.

 

The 10.14.1 upgrade did work without issues, a couple of boot trials were needed though.

GPU support did persist after upgrading.

 

Thanks all for keeping the T420 alive and updated!

 

Edit: KP got even worse now. I can boot MJ maybe 1 out of 8 times.

Don´t know whether I´d better give up and be content with Windows 10 / Sierra / HS.

The few times 10.14 boots, everything seems to be OK (except Preview) but a OS not booting can really become annoying. :(

 

I´m attaching my latest KP, hoping that someone finds the issue.

KP_MJ_10-14-1.rtf

Edited by goodguess
Link to comment
Share on other sites

@goodguess Does it happen also if you boot with -v flag (verbose)? It's just a curiosity, shouldn't have any effect unless it's maybe a timing issue or sthing I have no idea about. Everytime I couldn't boot and I tried to do a verbose boot after, to see what's what, it booted (for me it was High Sierra, Mojave didn't do this so far)..

Edited by davidian
  • Like 1
Link to comment
Share on other sites

I tried with both my T420, the usual 16GB rig and the 8GB Windows machine.

As expected its not a -v issue. Both Thinkpads do have kernel panics, the Windows flavour maybe a bit less.

The KP always is like this, cpu 1 caller or cpu 2 caller do change. I never saw such in Sierra or HS.

 

Quote

*** Panic Report ***
panic(cpu 1 caller 0xffffff80084d84dd): Kernel trap at 0xffffff8008a067a0, type 14=page fault, registers:
CR0: 0x000000008001003b, CR2: 0xffffff8008f6342d, CR3: 0x000000000bfb6000, CR4: 0x00000000000626e0
RAX: 0x0000000000000000, RBX: 0xffffff801997a8c0, RCX: 0x0000000000000000, RDX: 0x000000000000c7c8
RSP: 0xffffff81093abb10, RBP: 0xffffff81093abb10, RSI: 0xffffff8008fb46ea, RDI: 0xffffff8008f6342d
R8:  0x0000000000005cee, R9:  0x000000000000b9dc, R10: 0x0000000000000001, R11: 0x0000000000000000
R12: 0x0000000000000853, R13: 0x0000000000000853, R14: 0xffffff801997a968, R15: 0xffffff801997a968
RFL: 0x0000000000010246, RIP: 0xffffff8008a067a0, CS:  0x0000000000000008, SS:  0x0000000000000000
Fault CR2: 0xffffff8008f6342d, Error code: 0x0000000000000000, Fault CPU: 0x1, PL: 0, VF: 2


Edit1: I´m booting with -v in the config.plist meanwhile, and don´t see KP right now.

Whether this is some voodoo, or related to swapping SSD/HDD I can´t tell.

Maybe the T420´s sATA connectors degrade too over decades.

 

Edit2: Does anybody else have the issue with Preview (Mojave HD3000) not opening .jpg files?

PNG files do work as expected. Not a big issue, just wondering whether it´s a problem on my side.

Edited by goodguess
  • Like 1
Link to comment
Share on other sites

Hi, 

Finally got Mojave working on the T420 (HD300 1600X900).

Noticed that the Brightness keys were not working. But then I see that the brightness slider is missing from the System Pref --> Display option. I thought we did have a brightness slider there.

 

Not sure where to look, is it a problem with the keyboard mapping or is some kext not working as it should.

 

I have done the Mojave Hack and also updated to the 10-31 zip. 

Link to comment
Share on other sites

Hey, 

 

i have a question again... i am running 10.13.6 and just bought a new wifi card: AR9280 AR5BHB92. it should be able to do 5GHZ, but i cannot see any network! The only think wich looks strange to me is, that the profiler just sais it can do up to channel 140 - and shuldnt be there 160 channels for 5GHZ? So if anyone knows how to fix that it would be just awesome!!!!

 

So my goal is to have it running in 300mbit 5hgz. Any chance to do that?

 

Cheers,

 

Pcace

32718776_Bildschirmfoto2018-11-12um21_11_23.jpg.74ceabc3a68299a553010534c71e2a6c.jpg932197702_Bildschirmfoto2018-11-12um21_28_46.thumb.jpg.b1857f7d1c7d62d671c6732a1a66b252.jpgB

Link to comment
Share on other sites

Hi,

 

Im kinda new to the hackintosh community and i have been trying to get OS X High sierra 10.13.6 to work on my T420 (2436)

So the problem that im facing is the graphics, i cant seem to get any higher resolutions than 960x600 with HD3000.

I have done everything as instructed in the tutorial, yet cant make it work?

Link to comment
Share on other sites

@goodguess I also have problems with Preview (Mojave) opening pictures, don't know why and didn't think to mention it here or check for different formats, but glad that you did!

 

As for the sATA connector degrade hunch, my gut tells me it can't be that, because then ElCapitan should do that too.. and for me it never did, it's the most stable Hackintosh I had so far on T420.

Edited by davidian
  • Like 1
Link to comment
Share on other sites

@ snike: Not sure what you did, actually. The Mojave Hack is for Macs afaik.

Are you using the pre-build EFI folder, tluck posted at GitHub?

I have the slider and the brightness keys with my T420.

603007708_Screenshot2018-11-15at17_33_00.png.f689f1ef02fdebf646d58d042b7d8803.png

 

@ pcace: Thats really weird. You will hardly need channels above 140 though. :)

Ch 100 to 140 may run with 1000 mW, Ch 149 to 165 may only output 25 mW !

As a lazy guy, I´m using a DELL 1510 WiFi card, as I wanted a Broadcom chip.

 

345703376_Screenshot2018-11-15at17_41_25.png.63f53635084ba7b24309a1961da9cf8d.png

 

@Arttu: Did you select the correct config.plist in EFI/EFI/Clover from the package tluck offers?

A small screen lets me assume that your HD3000 kexts did not load correctly and/or that your T420 is running without GPU hardware acceleration.

Does Alt-Shift-3 work for taking a screenshot on your side?

Does your Graphics/Display section look like this?

 

2029603044_Screenshot2018-11-15at17_43_08.png.4a13bf389724f149c00a2eed56676bd8.png

 

 

Link to comment
Share on other sites

On 11/15/2018 at 12:20 PM, goodguess said:

@ snike: Not sure what you did, actually. The Mojave Hack is for Macs afaik.

Are you using the pre-build EFI folder, tluck posted at GitHub?

I have the slider and the brightness keys with my T420.

603007708_Screenshot2018-11-15at17_33_00.png.f689f1ef02fdebf646d58d042b7d8803.png

 

@ pcace: Thats really weird. You will hardly need channels above 140 though. :)

Ch 100 to 140 may run with 1000 mW, Ch 149 to 165 may only output 25 mW !

As a lazy guy, I´m using a DELL 1510 WiFi card, as I wanted a Broadcom chip.

 

345703376_Screenshot2018-11-15at17_41_25.png.63f53635084ba7b24309a1961da9cf8d.png

 

@Arttu: Did you select the correct config.plist in EFI/EFI/Clover from the package tluck offers?

A small screen lets me assume that your HD3000 kexts did not load correctly and/or that your T420 is running without GPU hardware acceleration.

Does Alt-Shift-3 work for taking a screenshot on your side?

Does your Graphics/Display section look like this?

 

2029603044_Screenshot2018-11-15at17_43_08.png.4a13bf389724f149c00a2eed56676bd8.png

 

 

I mean the hack for getting the HD3000 kexts. I am using the Pre built folder from Tluck's Github. This is how it looks for me 

 

Screen Shot 2018-11-17 at 10.09.02 PM.png

Screen Shot 2018-11-17 at 10.11.06 PM.png

Link to comment
Share on other sites

Hi, I don't know how but I'm just fresh install my hack 10.13.6, but even install all install*.command in Utilities, my Hack still got Sleep Wake Failure after wake from sleep, bluetooth, wifi and usb port is not working, and a few moment later my hack got panic!!

Link to comment
Share on other sites

SuperReaper, are you talking about Conti´s MyHack?

AFAIK Conti did stop development of his repository years ago.

Conti was using a Chameleon boot loader, fundamentally different from Clover, which is common grounds in this thread.

For a working T420 Hackintosh, you should install with Clover and use the repo tluck posted at GitHub.

There are many guides how to create a USB installer, every search engine will come up with some.

As you already seem to have a High Sierra OS installer, I would strongly recommend to go the Clover way.

After preparing the USB stick for the macOS installer, copy the EFI folder from tluck into the EFI partition of the stick. 

Select the config.plist from EFI/EFI/Clover that matches your T420´s screen, rename it to config.plist.

Boot from the USB device, set up your macOS volume and install - thats all.

 

On a side note, Chameleon was great work, back in the days.

I´m still using it with Snow Leo on my T60 - installed with Nawcom´s Mod CD. :)

Link to comment
Share on other sites

@SuperReaper - hard to know what is going on in your situation. i was able to install Sierra, HighSierra and Mojave with the same configuration i posted... 

 

 

@snike - where did you install the GFX kext in /L/E or /S/L/E? - i cant figure out how to not get the slider!? 

 

run these commands to see what you get:

 

ioreg -l|grep -v Diag |grep IODisplayPar

    | |   | | |   "IODisplayParameters" = "IOFramebufferParameterHandler is not serializable"

    | |   | | |       "IOMatchCategory" = "IODisplayParameters"

    | |   | | |       "IODisplayParameters" = {"commit"={"reg"=0},"fade-time2"={"min"=0,"max"=10000,"value"=4000},"linear-brightness-probe"={"min"=0,"max"=4866,"value"=4866},"ggsc"={"min"=0,"max"=65536,"value"=65536},"vblm"={"min"=0,"max"=196608,"value"=65536},"dsyp"={"min"=0,"max"=2,"value"=2},"rgsc"={"min"=0,"max"=65536,"value"=65536},"fade-style"={"min"=0,"max"=10,"value"=0},"fade-time1"={"min"=0,"max"=10000,"value"=500},"bgsc"={"min"=0,"max"=65536,"value"=65536},"brightness-probe"={"min"=0,"max"=1024,"value"=1024},"fade-time3"={"min"=0,"max"=10000,"value"=500},"bklt"={"min"=0,"max"=4882,"value"=4866},"linear-brightness"={"min"=0,"max"=4866,"value"=4866},"brightness"={"max"=1024,"min"=0,"value"=1024},"brightness-fade"={"min"=0,"max"=1023,"value"=0},"usable-linear-brightness"={"min"=1220,"max"=4866,"value"=4866}}

    | |   | | |   "IODisplayParameters" = "IOFramebufferParameterHandler is not serializable"

    | |   | | |       "IOMatchCategory" = "IODisplayParameters"

    | |   | | |   "IODisplayParameters" = "IOFramebufferParameterHandler is not serializable"

    | |   | | |       "IOMatchCategory" = "IODisplayParameters"

    | |   | | |   "IODisplayParameters" = "IOFramebufferParameterHandler is not serializable"

    | |   | | |       "IOMatchCategory" = "IODisplayParameters"

    | |       "IOMatchCategory" = "IODisplayParameters"

    | |       "IODisplayParameters" = {"brightness"={"max"=255,"min"=40},"commit"={"reg"=0}}

 

 

$ ioreg -l|grep -v Diag |grep ApplePanel

    | | |   "ApplePanelRawBrightness" = 4882

    | |       "ApplePanel" = {"F10T02e3"=<00110000008c00d80136018f01fe02a3034503e704c70535075a091c0b130d9b10591312>}

 

Link to comment
Share on other sites

@pcace on your wifi -- i have the same card. but i wonder if the range of values has to do with the locale set? mine is set to FCC... a long time ago i remember re-flashing the chip. i connect at 300 at 5 Ghz on channel 48

 

 

Quote

 

  Software Versions:

  CoreWLAN: 13.0 (1370.8)

  CoreWLANKit: 13.0 (1370.8)

  Menu Extra: 13.0 (1376.2)

  System Information: 12.0 (1300.2)

  IO80211 Family: 12.0 (1200.12.2)

  Diagnostics: 1.0 (805)

  AirPort Utility: 6.3.9 (639.7)

  Interfaces:

en1:

  Card Type: AirPort Extreme  (0x168C, 0x1081)

  Firmware Version: Atheros 9280: 4.0.74.0-P2P

  MAC Address: xxxxxxxxxxxx

  Locale: FCC

  Country Code: US 

  Supported PHY Modes: 802.11 a/b/g/n

  Supported Channels: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 36, 40, 44, 48, 52, 56, 60, 64, 100, 104, 108, 112, 116, 120, 124, 128, 132, 136, 140, 149, 153, 157, 161, 165

  Wake On Wireless: Supported

  AirDrop: Supported

  Status: Connected

  Current Network Information:

LuckyDog:

  PHY Mode: 802.11n

 Current Network Information:

LuckyDog:

  PHY Mode: 802.11n

  BSSID: xxxxxxxxxxxx

  Channel: 48,-1

  Country Code: US 

  Network Type: Infrastructure

  Security: WPA2 Personal

  Signal / Noise: -45 dBm / -96 dBm

  Transmit Rate: 300

  MCS Index: 15

 

  • Thanks 1
Link to comment
Share on other sites

On 11/15/2018 at 6:20 PM, goodguess said:

 

@tluck Hey, Thank you for your quick response! I originally looked for the channels, because i cannot see my 5Ghz network, (which runs at channel 140 ?!)  - but with my proper MacPro i can see it. The second strange thing is, that it only uses a single channel, even if it is dualchannel - wich should allow connections up to 300mbit even in 2,4ghz. 

That was the reason why i imagined that there might be a problem related to the channels the card can see? But probably i am wrong. 
What exact chipset are you using? Or can you suggest one wich fits in the T420 and maybe also does triplechannel wifi on 5GHZ + runs out of the box? ?

If you have any idea... ....that would be just awesome!

Oh, there is no way to tell you how much i appreciate your work, support and help here! Just amazing!!! Thanks!

 

Quote

@ pcace: Thats really weird. You will hardly need channels above 140 though. :)

Ch 100 to 140 may run with 1000 mW, Ch 149 to 165 may only output 25 mW !

As a lazy guy, I´m using a DELL 1510 WiFi card, as I wanted a Broadcom chip.

  

345703376_Screenshot2018-11-15at17_41_25.png.63f53635084ba7b24309a1961da9cf8d.png

 

 

 

 

EDIT: 

@tluck

i just saw your second post! Thats what i was reading around but i never really found a definite answer, nor a definite way to reflash it.
I Guess i would have to reflash Vendor, Device and subvendor ID, + Vendor name? Do you know of any working tutorial for this?

I got the card working by just adding  "                <string>pci168c,2a</string>
" to "/System/Library/Extensions/IO80211Family.kext/Contents/PlugIns/AirPortAtheros40.kext/Contents/Info.plist 

 

Soooo if you know of any method... ...let me know!! Or maybe you could let me know what exact values your card runs on... ...ill figure out a way to flash it ;)

 

EDIT2: i guess i found a method. At least i dumped the Firmware as hex from the Atheros... did this with a tool i found here: https://github.com/andyvand/AtherosROMKit

 

But i just cannot find the appropiate hex to change.. is anyone clever enough to find it? It is attached...

 

Thanks!!

hex_dump2

Edited by pcace
Link to comment
Share on other sites

@pcace do you have windows to test this card? the macOS atheros driver does not seem to be as "good" as the atheros windows drivers.
meaning i recall connecting at like 450 on windows, but just 300 for macOS? Note: i didnt have to edit/modify any atheros kexts drivers (other than adding in Mojave), it just works out of the box for that same card.

 

Edited by tluck
Link to comment
Share on other sites

Hi,

running 10.13.6 on my Lenovo W520 i7, 32 GB RAM, IntelHD3000 since 2 months or so.

Everything fine so far ... till last system update, maybe two weeks ago. Probably minor security update or so.

Since then I am not able to open some preference panes any more (keyboard, mouse, trackpad, accessibility)

Regarding the first three i get a message that it's not possible to open the panel because I am on an intel machine, with accessibility its's just a 'could not be loaded' message.

 

...added screenshots

 

Anybody having the same problem ?

Clue of a solution ?

 

 

accessibilty.png

keyboard.png

Link to comment
Share on other sites

On 11/20/2018 at 10:56 PM, goodguess said:

i bought this cos the one i had wasn't compatible

Link to comment
Share on other sites

On 10/24/2018 at 4:19 AM, tluck said:

@davidian - I successfully tested the HD3000 kexts from Sierra and High Sierra with Mojave, but i recall a failure with the el cap gfx kexts. 

High Sierra is the last properly supported version for aHD 3000 system like the T420

 

 

I have a problem while booting Mojave. I installed the latest EFI from github, and when i'm booting i choose one of the .plist files. But, it shows me the apple logo for two secs and then my system is rebooting. I choosed some of the .plists from the folder and doing the same thing. But sometimes the same plist that reboot, booting successfully! Then i reboot again and i'm choosing the latest succesful plist and it don't work. Any help?

Edited by Lucratskill
Link to comment
Share on other sites

 Share

×
×
  • Create New...