Lenovo-T420-Clover icon indicating copy to clipboard operation
Lenovo-T420-Clover copied to clipboard

x220 Installation consultation

Open m4ak opened this issue 2 years ago • 15 comments

Hello, I have an X220 with the following configuration CPU: I5-2540M MEM: 8G DISK :128G SSD WLAN: INTEL 7260AC Prepare to be replaced by DW 1550 BIOS : 1.46 It’s been upgraded. It’s got an advanced menu Resolution:1366×768

There are no special requirements for daily use. According to your tutorial, version 10.12 is the best, but this version does not support air drop. Would you like to install version 10.13.6?

Is there anything else I need to notice or change while following the tutorial?

m4ak avatar Jan 13 '22 05:01 m4ak

the tutorial will serve you well. Yes 10.12 (Sierra) and 10.13 (High Sierra) will be straightforward. You can also install later versions such as 10.14 or 1.15 (Catalina) using the "Dosdude1" tools

  • you need to use this method to install the driver frameworks to keep capability for the HD 3000 gfx.

tluck avatar Jan 13 '22 16:01 tluck

Excuse me, I have installed 10.13.6, now replace the DW 1550 wireless network card, but no drive, this unavoidable network card?

You can see the network card in the PCI message in hacknotool. How Do I do this?

The installation and use of EFI is done here at HTTP: X220.mcdonnell Tech. Com

Using your EFI, the run progress bar restarts when you install it

m4ak avatar Jan 20 '22 03:01 m4ak

ok. glad you found mcdonnell site. i have no experience with DW 1550 so there are probably information on insanelymac on how to make that card work. Someone said there is a driver for the intel WiFI card now so maybe use that instead of switching the card. google airportitlwm or itlwm.kext

tluck avatar Jan 20 '22 06:01 tluck

Hello. I don't know how to do this right now. I download your EFI configuration file to boot install 10.13.6, run for a while and the progress bar will reboot. Using mcdonnell's EFI profile can boot to 10.13.6, but I won't be driving my wireless card and plan to install Mojave version 10.14.6

I've downloaded images of macOS Mojave Patcher and Mojave from http: DOSDUDE1. commojave and created a USB boot disk. Will transfer you to EFI 1366 * 768. Config is changed to config.config. Plist, isn't that enough? Is there anything else you need to change? I don't have another Mac, I have Win10, and it has ProperTree on it, and I'd like to use OC instead of clover if it works, although OC has very detailed configuration requirements, but each configuration is documented, clover, I'm really bad at this. I don't know what those options are.

Please forgive very weak English, I am using a translator to translate over and then send up.

m4ak avatar Jan 26 '22 01:01 m4ak

my config is for T420 1600x900 -so yes you will need the rename the config.1366x738.plist to config.plist. Also since mcdonnell's package works, why don't you use that package instead? otherwise maybe you need to use the mcdonnell DSDT - which is for x220 - combined with my EFI bundle? I do provide a OC package for 1600x900 LCD, so you will need to change it for a low-res LCD. (DualLink and EDID)

tluck avatar Jan 26 '22 04:01 tluck

Hello,tluck. My X220 is now installed with Mojave 10.14.16, which follows this tutorial::https://forum.thinkpads.com/viewtopic.php?f=21&t=127240&p=825054#p825054 The normal work: sound card LAN WLAN the graphics card has been modified to support 1920-1080. 1536-864 and changed the video memory to 1024M trim Frequency conversion Back Light hotkey

no tested DP or VGA external monitors and airdrop have not been tested,We're not going to test it until the Bluetooth is working

Unidentified device BCM94352HMB does not display bluetooth device on the connected computer, and it is the same under Windows. I plan to connect a Bluetooth module separately.

My USB is not customized yet. I can see many of them in HACKINTOOL. I have customized them, but the problem is still there

I will upload my EFI file, could you please help me to see how to solve the USB problem? thank you very much indeed

vga info usb

EFI.zip

Please forgive my English. I translated it with my translator.

m4ak avatar Feb 10 '22 05:02 m4ak

what is the USB problem? quite possibly you mean USB3 ports - which may not be supported by native macOS?

tluck avatar Feb 16 '22 22:02 tluck

There's no USB 3 port, only 3 USB 2 ports, and I want to remove the unused USB ports that are only shown in the active USB port in hacknotool

m4ak avatar Feb 18 '22 02:02 m4ak

I gave up 10.14.6. I've reinstalled 10.13.6 Now I'd like to ask you a question about scaling Use ioreg-lw0 | grep IODisplayPrefsKey to find my "AppleBacklightDisplay-6af-106c" and configure it to achieve 1920 and 1536 scaling

<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
        <key>DisplayProductName</key>
        <string>Lenovo x220 Display</string>
        <key>DisplayVendorID</key>
        <integer>1711 /integer>
        <key>DisplayProductID</key>
        <integer>4204</integer>
        <key>scale-resolutions</key>
        <array>
                <data>AAAGAAAAA2A=</data>
                <data>AAAHgAAABDg=</data>
        </array>
</dict> 
</plist 

Change video memory to 1024m. Back up AppleIntelSNBGraphicsFB and drag the file to iHex, commond+F, look for C7 45 D00 00 00 20, fill in C7 45 D00 00 00 40 in the replacement field, click find, and then click replace.

my config is for T420 1600x900 -so yes you will need the rename the config.1366x738.plist to config.plist. Also since mcdonnell's package works, why don't you use that package instead? otherwise maybe you need to use the mcdonnell DSDT - which is for x220 - combined with my EFI bundle? I do provide a OC package for 1600x900 LCD, so you will need to change it for a low-res LCD. (DualLink and EDID)

Is this operation feasible? And the DualLink and EDID you're talking about, how to operate the configuration of this piece?

m4ak avatar Feb 21 '22 06:02 m4ak

hmm. OK. on video memory - why are you editing AppleIntelSNBGraphicsFB, when Clover does this for you? i provided examples to change from 512 to 1024 etc.

			<dict>
				<key>Comment</key>
				<string>1024MB memory</string>
				<key>Disabled</key>
				<false/>
				<key>Find</key>
				<data>
				x0XQAAAAIA==
				</data>
				<key>MatchOS</key>
				<string>10.13.x,10.14.x,10.15.x</string>
				<key>Name</key>
				<string>com.apple.driver.AppleIntelSNBGraphicsFB</string>
				<key>Replace</key>
				<data>
				x0XQAAAAQA==
				</data>
			</dict>

you can inject a new EDID if you need one. and for using higher resolution, you can use DisplayOverrides - which also should match your EDID product/vendor ID. I also provide examples - these are installed in /System/Library/Displays/Contents/Resources/Overrides. For example, i use a 1600x900 LCD but add one more LCD config scale option - 1920x1080. see my repo for examples. See diplayProductID-2e3

	<array>
		<data>
		AAAHgAAABDgAAAAB
		</data>
		<data>
		AAAGQAAAA4QAAAAB
		</data>
		<data>
		AAAGAAAAA2A=
		</data>
		<data>
		AAAFQAAAAvQAAAAB
		</data>
		<data>
		AAAFAAAAAtAAAAAB
		</data>
		<data>
		AAAEcAAAAoAAAAAB
		</data>
		<data>
		AAAEAAAAAwAAAAAB
		</data>
		<data>
		AAADIAAAAlgAAAAB
		</data>
		<data>
		AAACgAAAAeAAAAAB
		</data>
	</array>

and here AAAHgAAABDgAAAAB -> translates to 12 Bytes. 00000780 00000438 00000001 x780 = 1920 x438 = 1080 x001 = 1

and yes for OC, i provide a sample config for LCD 1600x900. but this config can be easily changed for non-high-res. where you would insert your custom EDID and change DualLink from 1 (high resolution) to 0 for low-resolution.

tluck avatar Feb 23 '22 21:02 tluck

I restored the AppleIntelSNBGraphicsFB to the original state from the backup, and configured it as in the example, now the video memory is 1024M, I saw the configuration of DualLink in OC's config.plist and understood how to operate it. Thank you very much At present, my X220 is working normally. I plan to refer to your OC's config.plist to make a OC boot file. I don't know if I can succeed. OC-config.plist-acpi---DSDT.aml AND SSDT-T420-PS2K-keys.aml,

Can I use both of them directly? If not, I will replace the DSDT with the DSDT of my machine, ssdt-t420-ps2k-keys AML I don't know what it does? Can I not use it?

m4ak avatar Feb 24 '22 07:02 m4ak

I used clover to extract the DSDT and compared it with your DSDT. There are some differences. It seems that the same DSDT cannot be used. Attached is my DSDT, help me see if I need to fix it? origin.zip

m4ak avatar Feb 24 '22 08:02 m4ak

hey glad your box is working well. not bad for 10+ year old system.

My T420 DSDT is heavily modified vs orginal. The 220 is different so the DSDT will be different. mcdonnelltech.com packages up his DSDT so maybe you can use that?

the ssdt-t420-ps2k-keys is used to map the F keys to be like a macbook...

i created an OpenCore (OC) and both Clover package for the T420 - there is no extra value to use OC for this old box.

tluck avatar Feb 24 '22 17:02 tluck

I'm looking at dortania's documentation, follow the section on "Intel Laptop config.plist", and combine your config. It is too difficult for me to make a config that suits me. My English is poor and I have to use a translator. And I don't know how to make SSDT either. Fortunately, dortania's document describes what kind of SSDT is needed.

m4ak avatar Feb 25 '22 01:02 m4ak

hey glad your box is working well. not bad for 10+ year old system.

My T420 DSDT is heavily modified vs orginal. The 220 is different so the DSDT will be different. mcdonnelltech.com packages up his DSDT so maybe you can use that?

the ssdt-t420-ps2k-keys is used to map the F keys to be like a macbook...

i created an OpenCore (OC) and both Clover package for the T420 - there is no extra value to use OC for this old box.

I haven't switched to oc and I'm still using clover. It's relatively stable at present, but sometimes the screen freezes with a small probability. Most of them have a horizontal line on the screen. Can the horizontal line be eliminated?

edid 6af-106c

ioreg -lw0 | grep IODisplayPrefsKey | | | | | "IODisplayPrefsKey" = "IOService:/AppleACPIPlatformExpert/PCI0@0/AppleACPIPCI/IGPU@2/AppleIntelFramebuffer@0/display0/AppleBacklightDisplay-6af-106c"

image

Only these configurations, do you need to add any parameters? Or rename 213e to 106c in your example, is this feasible?

image

m4ak avatar Mar 08 '22 07:03 m4ak