Jump to content

Lenovo ThinkPad T420 with UEFI Only


K0gen
 Share

5,271 posts in this topic

Recommended Posts

1 hour ago, datagr said:

Thank you for the support on the windows update question! Windows 10 is now running normally!

 

So, I kept a backup from High Sierra partition, I downloaded a full copy of Catalina and I created a usb installer using the transmac app in windows. I’m trying to make a clean install of Catalina but it says I cannot. Here is a screenshot of the message that pops up. I used the disk utility from the installer to create an APFS partition.

 

 

Why not try the dosdude1 patcher, it worked great for a lot of us here.

 

Edited by davidian
Link to comment
Share on other sites

26 minutes ago, davidian said:

 

Why not try the dosdude1 patcher, it worked great for a lot of us here.

 

I tried that patcher but I changed the clover files before I install Catalina. After the restart my laptop wasn’t able to boot in macOS. So, I had to make a fresh installation. Is there any guide for a fresh installation of Catalina?

Link to comment
Share on other sites

26 minutes ago, datagr said:

I tried that patcher but I changed the clover files before I install Catalina. After the restart my laptop wasn’t able to boot in macOS. So, I had to make a fresh installation. Is there any guide for a fresh installation of Catalina?

 

Did u check the guide here? For Mojave/Catalina, you need to create the patched installer stick with the dosdude1 patcher, then copy on the ESP partition the EFI folder from tluck's zip. Then boot it, create the APFS partition and install on it. After install is completed, boot again from the stick and run the patch (altough I think for Catalina is run automatically). Oh and at the end of course copy the same EFI on the ESP of your HDD if its not there already.

That's it in a nutshell.

Edited by davidian
Link to comment
Share on other sites

I think I’m on the right path! I put the files fro tluck’s zip file in both usb stick and the HDD EFI partition. I was able to get the patched Catalina installer on a usb stick. Firstly, I booted from the clover usb stick. I did the APFS partition and started the installation. Then, after it rebooted, I booted directly from the HDD after the 1st step of the installation. Here is my screen now. I keep my fingers crossed!

 

 

984EC6FA-5640-4652-9FCA-871B877D451C.jpeg

Link to comment
Share on other sites

I was getting stuck in a black screen until I figured out that the problem was the internal LCD monitor. I plugged an external monitor and Catalina was actually working fine! I used the config.patchedDSDT.plist

 

Thank you for the support!

 

 

 

 

image.jpg

Link to comment
Share on other sites

1 hour ago, datagr said:

I have installed the .kext files from the utilities folder but now the screen remains black. I have image only on the external monitor through VGA port. Am I doing something wrong?

 

 

On the screenshot it looks like its working on the laptop screen, what exactly is the scenario? You only have image on the laptop when the external monitor is plugged in?

I also noticed you have a T520. What screen do you have in your laptop? Resolution, manufacturer/Brand..

At this point I can't really give you specific advice, since I have T420. I did not need to install any additional .kexts from the utilities folder, only use the 2e2 config file.

However I remember other users who had T520 commented here, but maybe it was before Catalina/Mojave, you could search back the thread.

Or someone who is familiar with your issue will give you hints.

 

Link to comment
Share on other sites

It booted only once in the internal monitor but after the installation of the kext I can have screen only in the external monitor.

So, now it boots in the laptop monitor and when the apple logo disappears it switches automatically to the external monitor. How do I see the manufacturer’s ID? It’s a 1600x900 LCD monitor. Is there any guide to specify my monitor? Am I doing something wrong? In High Sierra everything was working fine.

 

 

 

 

image.jpg

Link to comment
Share on other sites

10 hours ago, datagr said:

It booted only once in the internal monitor but after the installation of the kext I can have screen only in the external monitor.

So, now it boots in the laptop monitor and when the apple logo disappears it switches automatically to the external monitor. How do I see the manufacturer’s ID? It’s a 1600x900 LCD monitor. Is there any guide to specify my monitor? Am I doing something wrong? In High Sierra everything was working fine.

 

 

 

So after install it was working fine? What kext did you install and why, do you need it? Have you tried without installing the kext that you mention?

 

Link to comment
Share on other sites

4 hours ago, tluck said:

Did you boot the dosdude installer after you installed catalina to install all his patches?

No. I am going back home now to try that. I must have missed that step when I read your guide. Thanks for the guidance!

 

12 hours ago, davidian said:

 

So after install it was working fine? What kext did you install and why, do you need it? Have you tried without installing the kext that you mention?

 

 

It was working with the config.patchedDSDT.plist file. But then I installed the kext from the clover of tluck’s guide and I can’t use the internal LCD monitor anymore.

 

I will reinstall the Catalina tonight and see if it’s ok.

Link to comment
Share on other sites

7 hours ago, tluck said:

Did you boot the dosdude installer after you installed catalina to install all his patches?

 

 

So that was the trick that fixed basically everything!

 

After I installed everything (Catalina, kexts etc.) I booted again from the usb stick I created that had the Catalina installer. This time I run the macOS Post Install (last option in the list). Then, I clicked the Force Cache Rebuild and finally Restart.

 

Thank you all for the support! I’ve learned something today!

image.jpg

  • Like 1
Link to comment
Share on other sites

7 hours ago, Tetonne said:

10.14 upgrade is pain and the neck

i use dude installer made the installation and the post install 

but my t420 doesn’t boot

apple and white bar appear but instantly reboot grr

 

1) In BIOS you need to use only the integrated graphic card (Intel HD 3000).

Also setup your BIOS according to tluck’s guide.

 

2) Try all .config files from the tluck’s post.

 

3) Every time you’re changing a config file run the macOS post install from dosdude1.

  • Like 1
Link to comment
Share on other sites

@Tetonne 

how are you my old friend!?

 

boot with verbose to see what is crashing.

then try to boot up without HD3000 gfx (try inject id 0x12345678)

 and then make sure you use config.2e2 as config.list

 

the latest patches for HD3000 got rid of weird gray menubar and finder panel. woohoo!

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

^ Hi tluck, i'm fine thanks a lot and hope is the same for you and your little world.

 

I'll try this thanks a lot my friend :)

 

Update : 10.4.6 is there with 1600*900 résolution Thanks again to tluck!!!!

 

HUGE THANKS TO YOU TLUCK!!!

 

here is my DisplayVendorID-dae/1471

don't understand why it change but now matter

 

DisplayProductID-1471

-----

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>DisplayProductID</key>
    <integer>45061</integer>
    <key>DisplayProductName</key>
    <string>Lenovo LCD</string>
    <key>DisplayVendorID</key>
    <integer>1552</integer>
    <key>IODisplayEDID</key>
    <data>
    AP///////wAGEBKgAAAAABwWAQS1MBt4Im+xp1VMniUMUFQAAAABAQEBAQEBAQEBAQEB
    AQEBEhtWZFAAFDAwIBQANa4QAAAYAAAA/ABpTWFjCiAgICAgICAgAAAA/gBDTU4KICAg
    ICAgICAgAAAA/gBOMTQwQkdFLUwzMgogAFs=
    </data>
    <key>scale-resolutions</key>
    <array>
        <data>
        AAAGQAAAA4QAAAAB
        </data>
        <data>
        AAAFVgAAAwAAAAAB
        </data>
        <data>
        AAAFAAAAAtAAAAAB
        </data>
        <data>
        AAAEcAAAAoAAAAAB
        </data>
        <data>
        AAAEAAAAAwAAAAAB
        </data>
    </array>
</dict>
</plist>

 

Edited by Tetonne
​​​​​​​Update : 10.4.6 is there with 1600*900 :)
  • Thanks 1
Link to comment
Share on other sites

@Tetonne glad you are back in business!

by the way, if I look at the EDID encoded in this display override I was surprised by the values.

 

does this EDID in this file match the EDID you inject via clover? 

 

The EDID in this file it comes up as

00FFFFFF FFFFFF00 061012A0 00000000 1C160104 B5301B78 226FB1A7 554C9E25 0C505400 00000101 01010101 01010101 01010101 0101121B 56645000 14303020 140035AE 10000018 000000FC 00694D61 630A2020 20202020 20200000 00FE0043 4D4E0A20 20202020 20202020 000000FE 004E3134 30424745 2D4C3332 0A20005B

VendorID 0x0610 hex = 1552 decimal ...which is APP for Apple.

Product ID 0xA012 = 40978 decimal

 

The way it works in my understanding is as follows. (so you need to rename your file)

1) an EDID is injected either by the BIOS or Clover. 

2) then the VendorID and productID encoded in the EDID are used to find matching DisplayOverride file -

3) it loads the file based on this original Vendor/Product

 

In your case it would look for

/System/Library/Displays/Contents/Resources/Overrides/DisplayVendorID-610/DisplayProductID-a012

for example on my real Mac, my EDID is:

 

    | |   | |         "IODisplayEDID" = <00ffffffffffff00061040a000000000101b0104b5211578020fa1ae5243b0260c5054000000010101010101010101010101010101017c804050b0083470082068084bcf1000001a000000fc00436f6c6f72204c43440a20202000000010000000000000000000000000000000000010000000000000000000000000000001b570127903007f813ffa10000301180f28170000000000000000000000000000004c503135345754352d534a41310a200044434e38333634303043594a343652414d0a20202020207f8129fa1000020100110000029003650489061808380b200f19148a1c00263d345147ae625a8721b9e3fd710000000000000000000000db90>

 

if you look at 16 chars from the beginning (00ff...ff00 0610 40a0 00 00)  means Vendor 0610 product a040 (byte swap) = 0xa040 (hex) is 410124 decimal

so looks for file:

$ cat /System/Library/Displays/Contents/Resources/Overrides/DisplayVendorID-610/DisplayProductID-a040

<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">

<plist version="1.0">

<dict>

        <key>DisplayVendorID</key>

        <integer>1552</integer>

        <key>DisplayProductID</key>

        <integer>41024</integer>

<key>DisplayProductName</key>

<string>Color LCD</string>

        <key>DisplayBacklight</key>

        <real>500.00</real>

        <key>DisplayLeakage</key>

        <real>0.333</real>

        <key>DisplayLowestLevel</key >

        <real>1</real>

        <key>DisplayLowestMeasured</key>

        <real>0.4323</real>

        <key>DisplayDarkReflection</key>

        <real>1.10</real>

        <key>DisplayBrightReflection</key>

        <real>505.00</real>

        <key>IOGFlags</key>

<integer>4</integer>

<key>scale-resolutions</key>

<array>

  • Like 1
Link to comment
Share on other sites

6 hours ago, tluck said:

...

The way it works in my understanding is as follows. (so you need to rename your file)

1) an EDID is injected either by the BIOS or Clover. 

2) then the VendorID and productID encoded in the EDID are used to find matching DisplayOverride file -

3) it loads the file based on this original Vendor/Product

 

...

 

Thanks for this break down, I was thinking about asking you if you could do sthing like this a couple of weeks ago.

Link to comment
Share on other sites

13 hours ago, Sherlocks said:

@tluck
long time no see.
can you improve old script?
in catalina, disable sleeo proxy client.local script not work.

https://github.com/CloverHackyColor/CloverBootloader/blob/master/CloverPackage/CloverV2/rcScripts/etc/rc.boot.d/70.disable_sleep_proxy_client.local.disabled

나의 SM-N960N 의 Tapatalk에서 보냄
 

 

hey Sherlocks how you!? I am still here now and then.

 

so the reason the script is not effective is that the target file is on the Catalina read-only filesystem.

to fix, just add/run this before: 

sudo mount -rw / 

then the script will work:

 

$ sudo mount -rw /

 

$ sudo cp -a /System/Library/LaunchDaemons/com.apple.mDNSResponder.plist /System/Library/LaunchDaemons/com.apple.mDNSResponder.plist.orig

 

$ sudo /usr/libexec/PlistBuddy -c 'Add ProgramArguments: string -DisableSleepProxyClient' /System/Library/LaunchDaemons/com.apple.mDNSResponder.plist

 

$ diff /System/Library/LaunchDaemons/com.apple.mDNSResponder.plist*

...

22,28d25

< <key>POSIXSpawnType</key>

< <string>Interactive</string>

< <key>ProgramArguments</key>

< <array>

< <string>/usr/sbin/mDNSResponder</string>

< <string>-DisableSleepProxyClient</string>

< </array>

35,36d31

...

 

  • Like 1
Link to comment
Share on other sites

 
hey Sherlocks how you!? I am still here now and then.
 
so the reason the script is not effective is that the target file is on the Catalina read-only filesystem.
to fix, just add/run this before: 
sudo mount -rw / 
then the script will work:
 

$ sudo mount -rw /

 

$ sudo cp -a /System/Library/LaunchDaemons/com.apple.mDNSResponder.plist /System/Library/LaunchDaemons/com.apple.mDNSResponder.plist.orig

 

$ sudo /usr/libexec/PlistBuddy -c 'Add ProgramArguments: string -DisableSleepProxyClient' /System/Library/LaunchDaemons/com.apple.mDNSResponder.plist

 

$ diff /System/Library/LaunchDaemons/com.apple.mDNSResponder.plist*

...

22,28d25

POSIXSpawnType

Interactive

ProgramArguments

/usr/sbin/mDNSResponder

-DisableSleepProxyClient

35,36d31

...

 
thank you.
can we consider it for keep work without manual type when install script?

나의 SM-N960N 의 Tapatalk에서 보냄

Link to comment
Share on other sites

19 hours ago, Sherlocks said:

thank you.
can we consider it for keep work without manual type when install script?

나의 SM-N960N 의 Tapatalk에서 보냄
 

if I understand your question, then you could add the "mount" command into the script installer or add into the script when it runs

Link to comment
Share on other sites

 Share

×
×
  • Create New...