Jump to content

Lenovo ThinkPad T420 with UEFI Only


K0gen
 Share

5,271 posts in this topic

Recommended Posts

Not yet. Artifacts on screen?

 

Even on Sierra I had some graphics glitches with 1000m. In the end I put it down purely to the Nvidia Web driver. System profiler was displaying dgpu properly as Nvidia Quadro 1000m 2gb.

 screen always gets stuck.

Link to comment
Share on other sites

@avdo, thanks for your help.

 

I am using the package from 22.8 (https://github.com/tluck/Lenovo-T420-Clover). I would like to get the T520 working in discrete mode. I am using the 1600x900 config.plist version. I have enclosed a dump of the log file as well as info regarding my model number.

 
I am using bios 1.46 with white list. My WLAN card is a ATHEROS AR 5BHB63 which is working super under WIN10.  If this WLAN card is too troublesome i just ordered a Dell DW1510 card.
 
If you need any more info, just let me know.
 
Thanks again.. rgs, law

post-1921598-0-72830000-1503819149_thumb.jpg

DumpLog.txt.zip

Link to comment
Share on other sites

@law

 

Thats a really old card. Only wireless g according to the data sheet. For the sake of around £6 I'd be throwing that away and putting in a DW1510.

 

I have no experience with the NVS4200 as my T420 is Hd3000 only so can't help you with a discrete setup. I myself have reverted to HD3000 on my W520 as I couldn't get the Quadro 100% in Sierra.

 

If you want to go with Hd3000 let me know and I'll take a look at the DSDT.

 

If your dead set on Nvidia, some pointers would be:

 

Hd3000 disabled in DSDT

 

Macbook 9,1 Smbios and generated Board Id etc

 

Fakesmc keys tweaked from mac mini to 9,1 huron-river

 

Try Installing Nvidiagraphicsfixup.Kext (fixed the black screen at login.)

Install with nvidia_drv=1 in boot flags to install

 

Download Nvidia Web drivers and install

 

Edit Clover config.plist to include Nvidia Web = true, dont use nvidia_drv=1 any more

Link to comment
Share on other sites

I would be careful with clover configurator - it can often generate garbage. I have never used it. i use PlistEditor Pro.

 

@SuperReaper - what is your system type? you may need make sure you have the right DSDT fix or patch kexts to recognize it

 

- i use this card:

 

Atheros 9280 - aka AR5BHB92   (0x168C, 0x1081)
https://www.amazon.com/Atheros-Wireless-300Mbps-AR5BHB92-Dual-band/dp/B008UNNG1Y

but it seem some have been able to make 9285 work

 

@lawnmanwilly - did you get your system running with just Integrated GFX? most find that easier. hard to understand how the BIOS is changing and not keeping your settings? 

 

@eman.morales - the config.plist includes a framebuffer kext patch/edit to add the VGA port on the left side. there are 4 framebuffers for you to play with. 

the patch as is replaces the 4th port/buffer (which is originally the DVI port on dock) with VGA on left side. The 4 ports after patch are: LCD, DisplayPort on side, DisplayPort on dock, VGA on side. If you need DVI on the dock - then disable this patch! Or modify the edit scheme to change the 2nd or 3rd port (DP) to be the DVI if still want the VGA port. 

Link to comment
Share on other sites

@tluck - Not yet, when i set the graphic mode in the BIOS to Integrated and Thinkpad LCD, then save, then reboot, it switches back too Discrete Mode, so i guess Ill have to use Discrete, but using Discrete I get the errors as described in my previous mails. If you have any tips for me, i would be grateful.  Rgs, Law

Link to comment
Share on other sites

awesome. I got my monitor to work to have the via plugged in before boot my main uses dvi so I don't need it, and I have no display port anymore lol. ill try to have dvi and via working since I have no DP devices. I can use my DVI to HDMI since the outputs are digital. ill try it out.

 

edit: l I have no idea how to just get vga and dvi working. don't know how to disable display port. how to do it?I don't know the hex find and replace. I use clover configurator

Link to comment
Share on other sites

@eman.morales - try this kext patch to turn OFF DP on side and enable VGA on side for buffer 2. the last 2 ports should be Dock. remember only 2 (screens) buffers can be active at time on a mac.

 

the kext buffer (4 ports)

Orig:

01020400 10070000 10070000 05030000 02000000 30000000 02050000 00040000 07000000 03040000 00040000 09000000 04060000 00040000 09000000

mod (changed Red - DP on side to VGA on side

01020400 12130000 12130000 05030000 02000000 30000000 06020000 10000000 09000000 03040000 00040000 09000000 04060000 00040000 09000000

<dict>
    <key>Comment</key>
    <string>Patch Framebuffer Levels and Replace 2nd port with VGA</string>
    <key>Find</key>
    <data>
    AQIEABAHAAAQBwAABQMAAAIAAAAwAAAAAgUAAAAEAAAH
    AAAAAwQAAAAEAAAJAAAABAYAAAAEAAAJAAAA
    </data>
    <key>Name</key>
    <string>AppleIntelSNBGraphicsFB</string>
    <key>Replace</key>
    <data>
    AQIEABITAAASEwAABQMAAAIAAAAwAAAABgIAABAAAAAJ
    AAAAAwQAAAAEAAAJAAAABAYAAAAEAAAJAAAA
    </data>
   </dict>
Edited by tluck
  • Like 1
Link to comment
Share on other sites

 

@eman.morales - try this kext patch to turn OFF DP on side and enable VGA on side for buffer 2. the last 2 ports should be Dock. remember only 2 (screens) buffers can be active at time on a mac.

 

the kext buffer (4 ports)

Orig:

01020400 10070000 10070000 05030000 02000000 30000000 02050000 00040000 07000000 03040000 00040000 09000000 04060000 00040000 09000000

mod (changed Red - DP on side to VGA on side

01020400 12130000 12130000 05030000 02000000 30000000 06020000 10000000 09000000 03040000 00040000 09000000 04060000 00040000 09000000

<dict>
    <key>Comment</key>
    <string>Patch Framebuffer Levels and Replace 2nd port with VGA</string>
    <key>Find</key>
    <data>
    AQIEABAHAAAQBwAABQMAAAIAAAAwAAAAAgUAAAAEAAAH
    AAAAAwQAAAAEAAAJAAAABAYAAAAEAAAJAAAA
    </data>
    <key>Name</key>
    <string>AppleIntelSNBGraphicsFB</string>
    <key>Replace</key>
    <data>
    AQIEABITAAASEwAABQMAAAIAAAAwAAAABgIAABAAAAAJ
    AAAAAwQAAAAEAAAJAAAABAYAAAAEAAAJAAAA
    </data>
   </dict>

 

 

 

 

EDIT: so I changed the values the same way. converted the base64 to hex. didn't work. just copied the hex values didn't work. when I plug vga on the laptop, monitor turns on says no signal, then turns of. it does this for the dock vga and dvi

Link to comment
Share on other sites

you should be able to cut/past the patch into the config.plist with vi or text editor. no extra conversion. download plisteditor pro....

 

there is patch already in the config.plist that you need to replace with this one - which changes which port VGA is defined.

Link to comment
Share on other sites

@tluck I swear I added the patch correctly I used PlistEditPro. I just get no signal, the monitor turns on then says no signal, then goes back to sleep.

 

https://drive.google.com/file/d/0B49CFFutunf0U2FPQjBBWUc0S2c/view?usp=sharingI removed my RT Variables and SMBIOS so ppl don't steal em.

hmm looks ok... are you using Product/model MBP8,1? -- note: the VGA must be attached at boot time. its not dynamic

Link to comment
Share on other sites

does it work with windows. i googled T420 and DVI and it seems if you have Optimus in the box - then you can only use the DP on the side? otherwise try to see if DVI works if you totally remove that kext patch for test

Link to comment
Share on other sites

does it work with windows. i googled T420 and DVI and it seems if you have Optimus in the box - then you can only use the DP on the side? otherwise try to see if DVI works if you totally remove that kext patch for test

I can't try display port, cuz I don't have any displays using DP. DVI only works with Nvidia GPU I tested it with windows. when I boot with DVI with the nvs 4200m in macOS, macOS crashes because of a power management problem. ill just stick with vga.

 

I just bought a DP to HDMI adapter. will test DP soon.

 

ThinkPads with switchable graphics can only drive DVI or DisplayPort outputs on Docks by using the high-performance discrete graphics card, the integrated GPU is just not attached to the DVI or DisplayPort outputs (though VGA output through the dock is possible) 

http://www.thinkwiki.org/wiki/Switchable_Graphics

awww. ill still use DP on the laptop itself for HDMI

Edited by eman.morales
Link to comment
Share on other sites

@Lawmanwilly - i seem to recall that dropping SSDT table MCFG and/or boot argument dart=0 will turn off discrete gfx. then perhaps you can run with integrated - odd that BIOS does not save your setting.

Link to comment
Share on other sites

What I do is set to Optimus for both. Save. Then set to integrated. The bios does the same thing for me. It doesn't like being set from discrete to integrated, so set to Optimus then save. Boot into the bios again and set to integrated then it'll save.

Link to comment
Share on other sites

High Sierra doesn't read a Hard Drive in the Ultrabay even after many formats and using terminal but 10.12.6 does. just want to mention it

 

somewhere around 10.12.5 or 10.12.6 i had to remove my bay drive. even though it was recognized, io was super slow.

Link to comment
Share on other sites

@ eman.morales  - Using your Method of first switching to Optimus mode, then rebooting, then switching to Integrated mode then Rebooting again, My T520 in now staying in Integrated graphics mode :-)  

 

However I still get a Kernal Panic at about 60% of the bar. I will upload a screenshot of the -v output.

Link to comment
Share on other sites

Hello everyone! Could I ask you if anyone has got a Lenovo T420s to give me a hand. I have problems with BIOS so I installed mod 1.41. If I put 1.43 of Lenovo, the installer doesn't start. Can you kindly help me with this matter? Thank you very much

Link to comment
Share on other sites

Hello everyone! Could I ask you if anyone has got a Lenovo T420s to give me a hand. I have problems with BIOS so I installed mod 1.41. If I put 1.43 of Lenovo, the installer doesn't start. Can you kindly help me with this matter? Thank you very much

I have a T420 but take mine as a example. I used 1.46 for my bios mod.

-First Step

Downloaded Original 1.46 from Lenovo and installed it. If your bios is newer like 1.49, you need to do some extra steps to downgrade to 1.46

-extra

run the 1.46 bios from Lenovo and it will extract the bios somewhere on your C: drive. You don't want to run the installer just quit it.

You then want to CD into the folder

cd C:\DRIVERS\FLASH\83uj28us

Then after u cd into the location u wanna run this

winflash.exe /sv /sd 83ET76WW\$01C8000.FL1

It should start flashing and when it is done your PC should shut restart and upon restart it should be flashing the embedded controller.

-MOD flash steps.

Download the modded bios and extract it. when you open it it should look like the folder from the original bios

CD into the modded bios location 

-example

cd C:\MODDED BIOS\FLASH\83uj28us

then run

winflash.exe /sv /sd 83ET76WW\$01C8000.FL1

it should flash and restart like the first one. When you boot back into windows shut down. Turn the laptop on and mash f1 to boot into the bios. You should see an Advanced Tab. That is how you know the modded bios is installed and the and wifi card installed should work now.

Link to comment
Share on other sites

I have a T420 but take mine as a example. I used 1.46 for my bios mod.

-First Step

Downloaded Original 1.46 from Lenovo and installed it. If your bios is newer like 1.49, you need to do some extra steps to downgrade to 1.46

-extra

run the 1.46 bios from Lenovo and it will extract the bios somewhere on your C: drive. You don't want to run the installer just quit it.

You then want to CD into the folder

cd C:\DRIVERS\FLASH\83uj28us

Then after u cd into the location u wanna run this

winflash.exe /sv /sd 83ET76WW\$01C8000.FL1

It should start flashing and when it is done your PC should shut restart and upon restart it should be flashing the embedded controller.

-MOD flash steps.

Download the modded bios and extract it. when you open it it should look like the folder from the original bios

CD into the modded bios location

-example

cd C:\MODDED BIOS\FLASH\83uj28us

then run

winflash.exe /sv /sd 83ET76WW\$01C8000.FL1

it should flash and restart like the first one. When you boot back into windows shut down. Turn the laptop on and mash f1 to boot into the bios. You should see an Advanced Tab. That is how you know the modded bios is installed and the and wifi card installed should work now.

Thanks for your help but the last BIOS org lenovo is 1.43, and I found 1.41 mod and whitelist. If i put 1.43 org doesn't start installer.

 

 

Sent from my iPhone using Tapatalk

Link to comment
Share on other sites

 Share

×
×
  • Create New...