Jump to content
joshhh

[GUIDE] Lenovo ThinkPad T510/510i (plus T410 and W510) 10.6-10.7-10.8-10.9 all working OK! 2013.11.12 Update

499 posts in this topic

Recommended Posts

OS X Lion on ThinkPad T510i:

ThinkPad T510i 4314-6BG (also works on T410, T410 AMT, T510 and W510)

Before asking it thread. Please fill data about your hardware and software. Without it I can't help


0_a1d97_54460065_orig.jpg
0_a1d98_63ca6ab7_orig.jpg
0_a1d96_1cd1e1fb_orig.jpg

0_a1d9e_d0030ba2_orig.jpg

0_a1d9a_bd7b5a60_orig.jpg0_a1d9c_e97dfcba_orig.jpg0_a1d9f_ccbd1fa6_orig.jpg

0_a1d9b_af92e8a5_orig.jpg0_a1d9d_63ce4c51_orig.jpg0_a1da0_9750dc5c_orig.jpg


Custom working WLAN cards in Lenovos


There is a list of current half and full size WLAN cards working native in OSX

I use Atheros AR5BHB92 (Atheros 9280) in my T510i + modded BIOS without whitelist check

And one important remark about full size cards in all lenovo lineup - WWAN slot is only USB or USB+mSATA capable on Lenovos, there is no mini-PCIe lines in WWAN slot - so full size cards won't work at all. Only way to drive it is to make some mini-PCIe cable extender for WLAN slot and place connected to that cable card instead of WWAN.

Half size cards

Atheros AR5B93


- 802.11 b/g/n

- single-band: 2.4GHz only. МасOS up to 150 Mbps, Windows up to 300 Mbps.

- PCI-id [168c:002a]

- Native in Mac OS X 10.6, 10.7 и 10.8. AirDrop Works.

Atheros AR5BHB92

- 802.11 a/b/g/n

- dual-band: 2.4GHz + 5GHz. МасOS up to 150 Mbps on 2.4GHz and up to 300 Mbps on 5GHz, Windows up to 300 Mbps on both bands.

- PCI-id [168c:002a]

- Native in Mac OS X 10.6, 10.7 и 10.8. AirDrop Works.

Broadcom BCM94322HM8L


- 802.11 a/b/g/n

- dual-band: 2.4GHz + 5GHz. МасOS up to 150 Mbps on 2.4GHz and up to 300 Mbps on 5GHz, Windows up to 300 Mbps on both bands.

- PCI-id [14e4,432b]

- Native in Mac OS X 10.6, 10.7 и 10.8. AirDrop Works.

Full list of supported cards is here


Recent changes

 

2013.11.12

 

-OS X Mavericks update guide with links

2012.12.02

- Calibration profile for
 

1920x1080 AUO B156HW01 V5 95% Gamut screen

dispcalGUI ThinkPad W520 Display 1920 2012-04-30 D6500 2.2 HQ 3xCurve+MTX.icm.zip


2012.11.29

- Fixed and tested with WWAN card whitelist in Lenovo T510 Bios file (T410 and W510 bioses was patched successfully before)

Sierra MC8781 works fine and depends on signal strength works UMPS or HSPA speeds

post-120553-0-83199200-1354207246_thumb.png
post-120553-0-61853900-1354207176.png
post-120553-0-27494900-1354207187.png

2012.11.14

- Starting huge update of files for all T/W*10 Thinkpads lineup
- Added file packs for T410/T510/W510 for OSX 10.6/10.7/10.8 installation
- Added modified versions of Thinkpad's BIOS with removed whitelist for WLAN and WWAN cards

2012.10.02

Simple install guide for Lion and Mountain Lion

added T510 step by step patches archive
added T410/W510/W520 dsdts


2012.09.13

Kexts + dsdt + info update

2012.08.01

DSDT + Kexts update

2012.07.18

LAN kext updated for OSX 10.8

2012.07.14

OSX Mountain Lion easy install guide

2012.07.13

Files updated for OSX 10.8 GM Installation

2012.02.07


Latest DSDT with Battery indication fix and fan sensor fix by acediac, works del with Lion AppleACPI 1.4, but for now USB wake after sleep doesn't work well, hope to deal with usb soon



2012.02.05



- I updated OSX to 10.7.3 11D50 build, everything works fine except few things,
first - AR9285 not working with current dsdt and Atheros40.kext id's patch, need to revert to 10.7.2 version, Intel E1000 Lan didn't work few times after update but now working well
second - laptop sometimes freeze after wake from sleep, only full reset helps, possible thats because I've try to add NVS3100 id to AppleGraphicsPowerManagement.kext, removed id now for test

- Tested ExpressCard USB 3.0 Nec card, works great, hot plug of this card is not working well, if you add card to working laptop and try to reboot osx you'll get KP on reboot, with cold plug it works perfect, reed-write speed is insane 110/90 mb/sec at seagate go-flex 3.5 hdd

post-120553-0-94221200-1328438251_thumb.png

post-120553-0-02926700-1328438317_thumb.png

- Received and replaced my ugly 1366*768 LCD screen with 95% gamut Full HD 1920*1080, thats awesome!

post-120553-0-89777100-1328438429_thumb.png

post-120553-0-66483300-1328438461_thumb.jpg

- Tried to replace Core i3 330M CPU with Core i7 720QM but for now without luck, laptop starts with it spins fans for a 5 seconds as 330M do and after that turn it off and nothing happend next. Possible solution is to get W510 bios and place cpu section from it

One interesting thing - At least T510 have one unsoldered mini-PCIe slot, possible two - one right from chipset between touchpad and fingerprint sensor, second under touchpad

First one
post-120553-0-96479000-1328438863_thumb.jpg

Second one
post-120553-0-30307800-1328438984_thumb.jpg

I think its possible to get mini-pcie bracket and solder it on board)

-AppleHDA with my little changes works now in W520 with CX20590 codec with auto detection and mic

That's all for now




2012.01.22

HDMI Audio freeze desktop after boot for about few minutes
I rollback some changes to dsdt and replaced older AppleHDA with no HDMI patch applied

Files here http://www.insanelym...dpost&p=1788533


2012.01.21



1) Graphics Card

Native DSDT for graphics card was corrected to proper NVCAP values. There was a problem in detection monitors connected to DisplayPort before. None of connected devices was detected, only internal display and VGA worked.

NVCAP was changed to:


NEW

/* 0000 */ 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00,

/* 0008 */ 0x3e, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0a,

/* 0010 */ 0x00, 0x00, 0x00, 0x00

from

OLD

/* 0000 */ 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00,

/* 0008 */ 0x02, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x07,

/* 0010 */ 0x00, 0x00, 0x00, 0x00

So now I'm able to connect my laptop to DVI input on my 24" monitor and also to HDMI devices like TVs.

2) Native HDMI/DisplayPort Audio output

a) First of all we need to add hda-gfx and connector-type sections in graphics card properties in DSDT




Method (_DSM, 4, NotSerialized)

{

Store (Package (0x28)

{

"AAPL,backlight-control",

Buffer (0x04)

{

0x01, 0x00, 0x00, 0x00

},

"@0,backlight-control",

Buffer (0x04)

{

0x01, 0x00, 0x00, 0x00

},

"@0,compatible",

Buffer (0x0B)

{

"NVDA,NVMac"

},

"@0,device_type",

Buffer (0x08)

{

"display"

},

"@0,display_cfg",

Buffer (0x08)

{

0xFF, 0xFF, 0xFF, 0xFF

},

"@0,connector-type",

Buffer (0x04)

{

0x00, 0x08, 0x00, 0x00

},

"@0,name",

Buffer (0x0F)

{

"NVDA,Display-A"

},

"@1,compatible",

Buffer (0x0B)

{

"NVDA,NVMac"

},

"@1,device_type",

Buffer (0x08)

{

"display"

},

"@1,display_cfg",

Buffer (0x08)

{

0xFF, 0xFF, 0xFF, 0xFF

},

"@1,connector-type",

Buffer (0x04)

{

0x00, 0x08, 0x00, 0x00

},

"@1,name",

Buffer (0x0F)

{

"NVDA,Display-B"

},

"@0,built-in",

Buffer (One)

{

0x01

},

"@0,pwm-info",

Buffer (0x14)

{

/* 0000 */ 0x01, 0x14, 0x00, 0x64, 0xA8, 0x61, 0x00, 0x00,

/* 0008 */ 0x08, 0x52, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00,

/* 0010 */ 0x00, 0x04, 0x00, 0x00

},

"NVCAP",

Buffer (0x14)

{

/* 0000 */ 0x04, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01, 0x00,

/* 0008 */ 0x3e, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x0a,

/* 0010 */ 0x00, 0x00, 0x00, 0x00

},

"VRAM,totalsize",

Buffer (0x04)

{

0x00, 0x00, 0x00, 0x20

},

"device_type",

Buffer (0x0D)

{

"NVDA,Parent"

},

"hda-gfx",

Buffer (0x0A)

{

"onboard-1"

},

"model",

Buffer (0x15)

{

"NVidia GeForce 9400M"

},

"rom-revision",

Buffer (0x23)

{

"NVidia GeForce 9400M OpenGL Engine"

}

}, Local0)

DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))

Return (Local0)

}

B) Second - add HDAU device to the end of PEG device in DSDT




Device (HDAU)

{

Name (_ADR, One)

Method (_DSM, 4, NotSerialized)

{

Store (Package (0x02)

{

"hda-gfx",

Buffer (0x0A)

{

"onboard-1"

}

}, Local0)

DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))

Return (Local0)

}

}

c) Third - make binary patch of AppleHDA.kext

In AppleHDA

[nVIDIA HDMI/DP ]
Device ID 10DE-000B ->>> 0B 00 DE 10

In HEX editor Find 0A 00 DE 10, Replace 4 times with 0B 00 DE 10

In AppleHDAController

[ nVIDIA GT218 - High Definition Audio Controller ]

Device ID 10DE-0BE3 ->>> DE 10 E3 0B

In HEX editor Find DE 10 E2 0B, Replace 4 times with DE 10 E3 0B

Save changes and reinstall next

After that you'll be able to connect TV and get sound output via HDMI/DisplayPort device


3) Bluetooth lost on long time sleep working with workaround

First I've changed some sections in UHCI1/UHCI2 devices in DSDT

Method (_DSM ) looks now:




Method (_DSM, 4, NotSerialized)

{

Store (Package (0x0F)

{

"device-id",

Buffer (0x04)

{

0xA6, 0x0A, 0x00, 0x00

},

"AAPL,clock-id",

Buffer (One)

{

0x0A

},

"built-in",

Buffer (One)

{

0x00

},

"device_type",

Buffer (0x05)

{

"EHCI"

},

"AAPL,current-available",

0x04B0,

"AAPL,current-extra",

0x02BC,

"AAPL,current-in-sleep",

0x03E8,

Buffer (One)

{

0x00

}

}, Local0)

DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))

Return (Local0)

}

After that Bluetooth wakes up after workaround:
-If computer sleeps short period of time bluetooth may wake with all other devices
-If computer sleep a lot, bluetooth wakes after second short sleep. Wake laptop first, than sleep it again, after few second wake it again - bluetooth should wake



2012.01.17



1) AppleHDA for sound - autodetect speakers/headphones working, internal Mic working with boost (still no noise reduction checkbox in system preferences)

DSDT HDEF device should be modified to make AppleHDA working, also you should remove VoodooHDA before installing AppleHDA:




Device (HDEF)

{

Name (_ADR, 0x001B0000)

Name (_S3D, 0x03)

Name (RID, Zero)

Name (_PRW, Package (0x02)

{

0x0D,

0x04

})

Method (_DSM, 4, NotSerialized)

{

Store (Package (0x0E)

{

"AAPL,slot-name",

Buffer (0x09)

{

"Built in"

},

"device-id",

Buffer (0x04)

{

0x69, 0x50, 0xF1, 0x14

},

"layout-id",

Buffer (0x04)

{

0x0C, 0x00, 0x00, 0x00

},

"model",

Buffer (0x1A)

{

"HD Audio Conexant Cx20585"

},

"name",

Buffer (0x11)

{

"Conexant Cx20585"

},

"device_type",

Buffer (0x11)

{

"Audio Controller"

},

"PinConfigurations",

Buffer (One)

{

0x00

}

}, Local0)

DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))

Return (Local0)

}

}

2) Keyboard - now Fn keys working and if I press Power button for a second system shutdown menu now appear
3) Sleep - sleep now works perfect!
4) Shutdown - works perfect too!
5) AC Adapter - worked before, now maybe works without replacing some kexts
6) HPET and RTC fixes was changed a little



Donations are welcome


btn_donateCC_LG.gif


Latest DSDT and kexts are included in archive below



Latest DSDT with Battery indication fix and fan sensor fix by acediac, works well with Lion AppleACPI 1.4, but for now USB wake after sleep doesn't work well

 

Share this post


Link to post
Share on other sites
Advertisement

Hey,

 

thanks for Mini-Guide :king: . I tried the AppleHDA.kext but looks like it doesn't work with my W520.

 

Video - screen brightness values was corrected a bit

Can you explain how? Did you get the same brightness level after a reboot?

Share this post


Link to post
Share on other sites

For AppleHDA you need to add this code to your dsdt

 

After AppleHDA should work well

 

Screen brightness levels saved after reboot if i change it but scale levels not correct compare to ubuntu

 

On ubuntu I have linear brightness level changing, in osx I've got exponential growth from minimal brightness(screen is off, in ubuntu it's dim a little) to maximum, first 3-5 low levels increase brightness fast to about 70% of maximum, other do it with little steps.

 

If you know how to fix pwm-info section in video card settings in dsdt tell us, I have dump of brightness levels from ubuntu think it may help

 

	    Device (HDEF)
	    {
		    Name (_ADR, 0x001B0000)
		    Name (_S3D, 0x03)
		    Name (RID, Zero)
		    Name (_PRW, Package (0x02)
		    {
			    0x0D,
			    0x04
		    })
		    Method (_DSM, 4, NotSerialized)
		    {
			    Store (Package (0x0E)
				    {
					    "AAPL,slot-name",
					    Buffer (0x09)
					    {
						    "Built in"
					    },
					    "device-id",
					    Buffer (0x04)
					    {
						    0x69, 0x50, 0xF1, 0x14
					    },
					    "layout-id",
					    Buffer (0x04)
					    {
						    0x0C, 0x00, 0x00, 0x00
					    },
					    "model",
					    Buffer (0x1A)
					    {
						    "HD Audio Conexant Cx20585"
					    },
					    "name",
					    Buffer (0x11)
					    {
						    "Conexant Cx20585"
					    },
					    "device_type",
					    Buffer (0x11)
					    {
						    "Audio Controller"
					    },
					    "PinConfigurations",
					    Buffer (One)
					    {
						    0x00
					    }
				    }, Local0)
			    DTGP (Arg0, Arg1, Arg2, Arg3, RefOf (Local0))
			    Return (Local0)
		    }
	    }

Hey,

 

thanks for Mini-Guide :king: . I tried the AppleHDA.kext but looks like it doesn't work with my W520.

 

 

Can you explain how? Did you get the same brightness level after a reboot?

Share this post


Link to post
Share on other sites

I've seen this guide yesterday. Good work!

 

Everything works except that the sleep on psu will not work. The ThinkPad goes to sleep, but 2 seconds later it wakes up.

 

Is there a little tool for the menubar to switch from the speakers to headphones?

 

I have a T510 4349 with nVidia NVS 3100m (512MB).

Share this post


Link to post
Share on other sites

For sleep on psu check my dsdt in sections UHCI1/UHCI2 and replace its content, after that sleep should work perfect

 

Everything works except that the sleep on psu will not work. The ThinkPad goes to sleep, but 2 seconds later it wakes up.

 

 

If you still use VoodooHDA you can switch speakers with Alt/Option+Click, for AppleHDA auto switching works perfect itself

 

Is there a little tool for the menubar to switch from the speakers to headphones?

Share this post


Link to post
Share on other sites

Thanks, i have installed Lion new and i found a bug in the applehda kext or in the dsdt.

 

If I turn the sound with the - button to no mute, the volume bar in the menubar is at 0 percent. If i press the + volume button on the keyboard, the volume bar at the menubar is at 95% and the thinkpad displays 1 from 15?. So the sound volume display isn't sync.

 

The turbo fan mode is also broken.

 

However, the hdd was recognized as an external hdd. (The hdd is in the ultrabay, the ssd with win7 is in the hdd bay)

 

The sleep was fixed with the new install.

 

But anyways, your work is great. I'm happy to have osx on my T510 ;)

 

Update:

 

At home I'm using a Docking Station, so i've tested 2 things:

 

Audio isn't working

No Displayport-port isn't working

Share this post


Link to post
Share on other sites

Can you share the updated files from the 21.01.2012 Update?

 

I would like to test the new Displayport-feature ;)

 

It's great to see someone that wants a T510 with Lion. Have you a docking station? I would like to use the external screen in the dock without the internal display - like a real mac :)

 

Update 21-01-2012 19:51:

 

I've seen your "easy install" zip file, just great. I would remove the default partition from the plist. Just a little tip from me.

 

By the way, any solution for the fingerprint reader?

Share this post


Link to post
Share on other sites

I recommend you to see my latest updates above.

 

Try to update your installation with all my kexts and dsdt

 

Yes this may occur with AppleHDA until I get correct pin configuration of CX20585 codec. Now It works 99% perfect with sound.

 

Thanks, i have installed Lion new and i found a bug in the applehda kext or in the dsdt.

 

If I turn the sound with the - button to no mute, the volume bar in the menubar is at 0 percent. If i press the + volume button on the keyboard, the volume bar at the menubar is at 95% and the thinkpad displays 1 from 15?. So the sound volume display isn't sync.

 

I've changed Turbo fan mode to silent mode. If you need this check ghotic860 post about osx on w520

The turbo fan mode is also broken.

 

That strange about hdd. Mine default hdd shows as internal. eSATA and SataLink card hdds as external as it should be.

 

However, the hdd was recognized as an external hdd. (The hdd is in the ultrabay, the ssd with win7 is in the hdd bay)

 

I've changed some things about sleep in latest changes(USB and bluetooth detection)

 

The sleep was fixed with the new install.

 

About docking station. Please check my latest edits, I've fixed DisplayPort detection and maybe it will work with Dock now

 

About sound via docking station, I need more info about that. Maybe some switches inside lock sound or it electronically enabled/disabled. Need more info from ioreg to deal with.

 

Update:

 

At home I'm using a Docking Station, so i've tested 2 things:

 

Audio isn't working

No Displayport-port isn't working

Share this post


Link to post
Share on other sites

So, i've installed your update, i found something that will interest you:

 

 

I found why the hdd is recognized as a external drive:

HDD-bay SSD: IODeviceTree:/PCI0@0/SAT1@1F,2/PRT0@0/PMP@0

Ultrabay HDD: IODeviceTree:/PCI0@0/SAT1@1F,2/PRT1@1/PMP@0

 

The macbook pro has only one hdd, the second hard drive or sad must be external. It's cosmetic, i have to change the drives.

 

I found that you fixed the display with F14 and F15, nice!

 

You know "About your mac"? There is a little bug, my Thinkpad shows "spdisplays_display" integrated.

 

The next things are the important things:

 

Sound isn't working if the headphones are connected with the dock.

The internal display is on while the TP is in the docking station, it should be of in the docking station

Lion is after about 1 minute usable, while this time, i cannot click or write, but i am able to move the cursor.

Ethernet is buggy, i have sometimes a APIPA adress, but after sleep it works again.

 

 

The sound works with the 21.01.2012 Update very well.

 

If i can help you with the docking station problem, feel free to ask!

Edited by Erdbeeere

Share this post


Link to post
Share on other sites

I'll check this thing, should be easy. I did masking on my desktop hackinposh

 

I found why the hdd is recognized as a external drive:

HDD-bay SSD: IODeviceTree:/PCI0@0/SAT1@1F,2/PRT0@0/PMP@0

Ultrabay HDD: IODeviceTree:/PCI0@0/SAT1@1F,2/PRT1@1/PMP@0

 

The macbook pro has only one hdd, the second hard drive or sad must be external. It's cosmetic, i have to change the drives.

 

 

 

Thats voodoops2 fix. Ideal way map brightness to system fn+home/end

I found that you fixed the display with F14 and F15, nice!

 

This possible. Guide later to come

 

post-120553-0-34537200-1327231540_thumb.png

 

You know "About your mac"? There is a little bug, my Thinkpad shows "spdisplays_display" integrated.

 

 

I need two linux codec dumps from ubuntu 10.04 live cd

 

run in terminal

 

cat /proc/asound/card0/codec#0 > ~/Desktop/codecDump0.txt

or

cat /proc/asound/card0/codec#1 > ~/Desktop/codecDump1.txt

or

cat /proc/asound/card0/codec#2 > ~/Desktop/codecDump2.txt

 

do it with dock and without

 

Sound isn't working if the headphones are connected with the dock.

 

The sound works with the 21.01.2012 Update very well.

 

If i can help you with the docking station problem, feel free to ask!

 

 

 

Now I'm try to figure out this bug with freeze screen after boot. You can temporary try to use GraphicsEnabler=Yes to fix that until dsdt section will be corrected

 

The internal display is on while the TP is in the docking station, it should be of in the docking station

 

Lion is after about 1 minute usable, while this time, i cannot click or write, but i am able to move the cursor.

 

Didn't have ethernet problems at all before I replaced wi-fi intel module to atheros 9285 and start using only wi-fi. With some old E1000 next ethernet was unstable

but with new one its stable

 

Ethernet is buggy, i have sometimes a APIPA adress, but after sleep it works again.

Share this post


Link to post
Share on other sites

Well, here is the dump:

 

t510-audio-dock.zip

 

Update: I enabled the GraphicsEnabler, but no difference.

 

Are you using the wlan card also with Windows 7? If yes, are you able to deactivate the card with FN+F5? However, thats important for me.

 

What wlan card do you recommend for me?

 

eBay is full of cards ;)

 

http://www.ebay.at/i...#ht_3011wt_1165

 

Update 2: The new AppleIntelE1000e.kext from here have the same bug. If I plugged out the ethernet cable and plug it in, there will be a apipa adress and no adress from my dhcp. However, standby fixes the problem. (Tested in the dock, i havn't tested it with the port on the T510)

Edited by Erdbeeere

Share this post


Link to post
Share on other sites

Ok

 

I'll check dumps today or maybe tomorrow

 

No, fn+f5 don't do anything with my wlan under osx, under win 7 it deactivate wireless cards. Think its possible to fix with dsdt Device (_QXX sections but I don't need it for now

 

For Lenovo T and W series only half height card can be installed

 

Here is list of card with native support:

 

Atheros AR5B91

b/g up to 54mbps

 

Atheros AR5B93

2.4ghz b/g/n up to 150mbps in OSX

 

Atheros AR5BHB92

2.4 and 5ghz a/b/g/n up to 150mbps in OSX on 2.4ghz and up to 300 on 5ghz

 

Broadcom BCM94322HM8L

2.4 and 5ghz a/b/g/n up to 150mbps in OSX on 2.4ghz and up to 300 on 5ghz

 

On desktop hack I used AR5BXB92 full height card from 2010 iMac, this card doesn't fit lenovo slot without little dremeling magnesium chassis of laptop. So I temporary replace Intel Wi-Fi Link 1000 to AR9285 from brother's laptop. Asus has this card locked to b/g mode so max speed is only 54mbps. AR9285 with enabled N mode can operate up to 65mbps because of 1x1 MIMO configuration, that's why OSX driver drops speed from 150mbps as possible with 1x2 and 2x2 configs.

 

So the best card I think is half AR9280 or possible AR9380 3x3 MIMO up to 450mbps on 5ghz. I ordered AR5BHB112 AR9380 card few weeks ago for replacement of AR9280.

 

http://www.ebay.at/s...-All-Categories

 

Well, here is the dump: t510-audio-dock.zip

 

Update: I enabled the GraphicsEnabler, but no difference.

 

Are you using the wlan card also with Windows 7? If yes, are you able to deactivate the card with FN+F5? However, thats important for me.

 

What wlan card do you recommend for me? eBay is full of cards ;)http://www.ebay.at/i...#ht_3011wt_1165

Share this post


Link to post
Share on other sites

The unuasble-time after start is about 140 seconds, i changed the GraphicsEnabler to yes, but no difference.

 

Maybe you are able to fix the bug with the screen: The ThinkPad is closed, only the external display at display-port should be display osx. I mean that only external devices should display something if the notebook is closed bud on.

 

I've seen jet that you are using a modded BIOS "

BIOS with removed whitelist + small DSDT mod + terminal"

 

What do you mean with small DSDT mod? Is that maybe the reason that the fan control doesn't work?

 

Next thing that i have changed are the drives. I put the Lion HDD into the HDD-Bay and yet it is shown as a internal HDD - Great!

 

Are you able to share the BIOS-Update with us? I prefer BIOS Updates as a ISO

:)

Share this post


Link to post
Share on other sites

I figured out freeze problem. That was HDMI audio patch. So I removed code from DSDT and replaced AppleHDA with older one

 

No freeze now and DisplayPort working fine with it

 

AppleHDA+dsdt-fixed-screen-freez.zip

 

 

 

The unuasble-time after start is about 140 seconds, i changed the GraphicsEnabler to yes, but no difference.

 

Maybe you are able to fix the bug with the screen: The ThinkPad is closed, only the external display at display-port should be display osx. I mean that only external devices should display something if the notebook is closed bud on.

 

I'll try to figure out this case if it's possible

 

 

Maybe you are able to fix the bug with the screen: The ThinkPad is closed, only the external display at display-port should be display osx. I mean that only external devices should display something if the notebook is closed bud on.

 

Ok I patched Lenovo bios version 1.47 to remove whitelist both WLAN and WWAN card slots. It works fine

 

Also found 1.48 version patched by one man

 

Whitelisted BIOS Lenovo T510/510i

Len_T510_6muj27us_NWL_ByCamiloml-1.48.zip

 

Small dsdt mod is to be able use AR9285 card that is not supported by default in osx. For cards listed above this mod is not necessary

 

To fix fan control on ThinkVantage button find

 

Method (_Q19, 0, NotSerialized)

 

and replace code to following, after that fan boost should work

 

 

Method (_Q19, 0, NotSerialized)
					 {
							 Name (FANS, One)
							 Store (HFSP, FANS)
							 XOr (FANS, 0x40, Local0)
							 If (Local0)
							 {
									 LED (0xFF, 0x80)
									 Store (0x40, HFSP)
							 }
							 Else
							 {
									 LED (0xFF, 0x80)
									 Store (0x80, HFSP)
							 }
					 }

 

 

I've seen jet that you are using a modded BIOS "

BIOS with removed whitelist + small DSDT mod + terminal"

 

What do you mean with small DSDT mod? Is that maybe the reason that the fan control doesn't work?

Next thing that i have changed are the drives. I put the Lion HDD into the HDD-Bay and yet it is shown as a internal HDD - Great!

Are you able to share the BIOS-Update with us? I prefer BIOS Updates as a ISO

:)

 

Here is guide how to fix this annoying spdisplay

 

[GUIDE] How to fix [spdisplays_display] in About This Mac window

 

spdisplay

Share this post


Link to post
Share on other sites

If tested OSX few days and in my opinion OSX Lion is running very stable and fast on the T510.

 

There are some bugs at the moment. joshhh, if you have time please fix it :) Just a summary:

 

- audio isn't shown the correct volume if i am using the speaker of the notebook

- mic can't be muted with the button on the keyboard (unnessesary, i know)

- the internal display is active if the display is closed and a external display is connected - the internal display should be of

- Fingerprint is buggy with the official driver from authentec

 

That components never worked:

 

Intel WLAN (I ordered on ebay another card, I am waiting for it)

Gobi 2000 WWAN Card (Just draming for a working solution :))

Share this post


Link to post
Share on other sites

I use osx on my T510 about two month and it works perfect

 

 

I'm working on audio solution now, possible I'll fix slider bug and hdmi audio too

 

display fixing is on the way too

 

fingerprint working not so precise as I expected, faster enter pass with keyboard than 4-5 times to swipe finger on reader, don't use this capabilities now

 

- audio isn't shown the correct volume if i am using the speaker of the notebook

- mic can't be muted with the button on the keyboard (unnessesary, i know)

- the internal display is active if the display is closed and a external display is connected - the internal display should be of

- Fingerprint is buggy with the official driver from authentec

 

That components never worked:

 

Intel WLAN (I ordered on ebay another card, I am waiting for it)

Gobi 2000 WWAN Card (Just draming for a working solution :))

Share this post


Link to post
Share on other sites

So, i've tested Lion one week more and there are two other bugs/limitations:

 

* Don't plug a battery in the notebook while its on, you will receive a OS X Bluescreen.

* Final Cut, iMovie and Quick Time isn't able to play mpeg4 videos, its very buggy - I can't use iMovie for video editing, thats bad.

 

Have you found some bugfix for the audio and display?

Share this post


Link to post
Share on other sites

Almost fixed sound bug with slider

 

sound output from dock station is limitation of dock not OSX, there is no any electronics between laptop out and dock out, only mechanical switch somewhere

 

Screen disable is not yet finally tested

 

So, i've tested Lion one week more and there are two other bugs/limitations:

 

* Don't plug a battery in the notebook while its on, you will receive a OS X Bluescreen.

* Final Cut, iMovie and Quick Time isn't able to play mpeg4 videos, its very buggy - I can't use iMovie for video editing, thats bad.

 

Have you found some bugfix for the audio and display?

Share this post


Link to post
Share on other sites

LAN Intel E1000 kext not working after 10.7.3 update, need something to deal with it

AR9285 not working too, but if I revert to 10.7.2 driver it's working again

Share this post


Link to post
Share on other sites

LAN Intel E1000 kext not working after 10.7.3 update, need something to deal with it

AR9285 not working too, but if I revert to 10.7.2 driver it's working again

 

I just updated to 10.7.3 and my Intel E1000 is working. In fact there is no new kext for it in the update, so not sure why yours is not working. Maybe reinstall the files? I have attached my kext if you want to compare.

 

I have BRCM4322 wireless and that is also working without needing changes.

AppleIntelE1000e.kext.tar.gz

Share this post


Link to post
Share on other sites

Thanks for this stuff :thanks_speechbubble:

in fact i have a T410, i'll try your source on it.

It's a pleasure to see a community that seems to live :-).

i propose to feed back about my T410 and yours stuff

even if i cannot modify my bios (locked with password)

best regards

Share this post


Link to post
Share on other sites

T410 is absolutely working solution for OSX with Intel3000HD or Nvidia discrete graphics, other things is almost same as in T510

 

Ask your questions for help

 

And I think you can find whitelisted bios on mydigitallife.com site in bios request section

 

Thanks for this stuff :thanks_speechbubble:

in fact i have a T410, i'll try your source on it.

It's a pleasure to see a community that seems to live :-).

i propose to feed back about my T410 and yours stuff

even if i cannot modify my bios (locked with password)

best regards

Share this post


Link to post
Share on other sites

T410 is absolutely working solution for OSX with Intel3000HD or Nvidia discrete graphics, other things is almost same as in T510

 

Ask your questions for help

 

And I think you can find whitelisted bios on mydigitallife.com site in bios request section

Waoou Thanks for the tip

but i think that the bios update is not possible on my firm's computer (bitlocked), it ask for the 128bit key :-(

AHCI mode OK now

Share this post


Link to post
Share on other sites

You can check your hdd connection state from windows with tool like AIDA 64

 

In my case AHCI was enabled by default

 

Waoou Thanks for the tip

but i think that the bios update is not possible on my firm's computer (bitlocked), it ask for the 128bit key :-(

i'm preparing the hackintosh hd even i'm not able to change AHCI

as asked there "be sure in your BIOS under Config > SATA > Mode Option is set to AHCI"

tips are welcome ;-) as Erdbeeere begin on T410 treat

All the best

do i have to change something for busration it is 18 here?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By ludufre
      Installing macOS Mojave on Lenovo ThinkPad L440

       
      There are two version of this laptop:
      - 20AS = Chipset QM87, without Express Card (mine).
      - 20AT = Chipset HM86, with Express Card.
      I strong believe is the same thing...
       

      Changelog:
       
      02/05/2019 18:47h GMT-0
      - Updated info about CPU replacement and 4G LTE modem.
       
      02/04/2019 15:24h GMT-0
      - Sometimes the VoodooHDA.kext doesn't work.
      - Added AppleHDADisabler.kext to fix that (attached bellow).
       
      01/24/2019 14:42h GMT-0
      - Added more adjustments to use of VoodooHDA.
      - Updated VoodooHDA links to 2.9.1 official (without installer).
      - Changed PCM volume from 90 to 180 in Info.plist (attached modified VoodooHDA.kext bellow)
      - Updated SSDT-L440.aml (Removed HDEF and HDAU, not needed).
      - Updated config.plist (Changed to user Audio layout to 1).
       
      01/22/2019 20:47h GMT-0
      - I gave up on the AppleALC.
      - Headset does not work.
      - Now with VoodooHDA is perfect and the sound even louder.
       
      01/22/2019 14:37h GMT-0
      - Add info about update 10.14.3. 
       
      01/22/2019 13:46h GMT-0
      - Add link to BIOS reassing guide.
       
      01/20/2019 11:49h GMT-0
      - First version.
       
      What works and what does not
       
      - Processor: Intel Core i5-4300M ->  Work. All SpeedStep stages.
      - Video Card: Intel HD4600 ->  Work. QE/CI and Metal.
      - Chipset: Intel QM87 ->  Work.
      - Mini DisplayPort ->  Work. But no audio, yet.
      - VGA ->  Not work. Normal.
      - Audio: ALC292 ->  Work.
      - WiFi/Bluetooth: Intel AC 7260 ->  Not work. Replaced with DW1560 (need whitelist removal).
      - Ethernet: Intel I217-LM ->  Work.
      - Card Reader: Realtek RTS5227 ->  Not work.
      - Keyboard and Touchpad ->  Work.
      - Webcam ->  Work.
      - Fingerprint Reader ->  Not work. Normal.
      - USB3.0 ->  Work.
      - Sleep ->  Work.
      - Airdrop, Handoff, Instant Hotspot and Continuity ->  Work after replaced wireless.
       
       
      Extras
       
      - FullHD 1920x1080 display upgrade: 
      Replaced with AU Optronics B140HAN01.1 30pin eDP (B140HAN01.2 and B140HAN01.3 also compatible)
      Apparently same screen as Dell Latitude E6440, E7440, Lenovo Ideapad U430 and E129.
       

      Todo
       
      - Make DP audio work.
      - Make Card Reader work.
      - Upgrade CPU to i7-4712MQ (Ordered. It's on the way) Done, but received i7-4700MQ (47w TDP and I have overheating issues)
      - Replace touchpad with T460 model (Ordered. It's on the way)
      - Sierra Gobi5000 4G LTE modem EM7355 (Ordered. It's on the way. I hope works. ) Done, but not work. Do not even recognize in LSPCI...
      - Upgrade to 16GB RAM Done
       
       
      What you need to install

      - Running install of macOS
      - One USB flash drive of 8GB or bigger
      - macOS Mojave install app
      - Clover EFI
      - Clover Configurator
      - Some KEXTs and SSDT patches


      How create create the install flash drive
       
      Prepare install flash drive

      Format the flash drive with GUID partition mapping and name it "Install".

      - Open Disk Utility.
      - Click in View, then "Show All Devices".
      - Select the destination flash drive, then Erase.
      - Name: Install, Format: Mac OS Extended (Journaled) and Scheme: GUID Partition Map
       
      Create install flash drive

      Open terminal and run this command:
      sudo /Applications/Install\ macOS\ .app/Contents/Resources/createinstallmedia --volume /Volumes/Install --nointeraction This will take about 30 minutes.
       


      Install bootloader

      Download the RehabMan's CloverEFI fork (used 4701) and install with this options on "Install macOS Mojave":
       
      - Install for UEFI booting only
      - Install Clover in the ESP
      - UEFI Drivers - ApfsDriverLoader-64
      - UEFI Drivers - AptioMemoryFix64


       
       
      Make things works

      Will be created a partition named EFI and mounted in Desktop.
      - Replace the /Volumes/EFI/CLOVER/config.plist with mine attached below
                    If you have modded BIOS with Advanced Menu and enabled 128MB DRAM-prealloc use 128MB_DRAM-prealloc_config.plist.zip
                    If no, then use 32MB_DRAM-prealloc_config.plist.zip
      - Put SSDT-L440.aml attached below in /Volumes/EFI/CLOVER/ACPI/patched/
       
      Generate your Serial, MLB and SmUUID
       
      - Open the replaced config.plist with Clover Configurator (used 5.3.2.0)
      - Go to SMBIOS, click few times in "Generate New" in Serial Number and SmUUID.
       
      Download those Kexts and put in /EFI/CLOVER/kexts/Other/
       
      - Download the FakeSMC.kext from here. I used the version 2018-0915.
      - Download the VoodooPS2Controller.kext from here. I used version 2018-1008.
      - Download the IntelMausiEthernet.kext from here. I used the version 2018-1031.
      - Download the Lilu.kext from here. I used the version 1.3.1.
      - Download the AppleALC.kext from here. I used the version 1.3.4.
      - Download the VoodooHDA from here. I used the version 2.9.1.
      - Download the WhateverGreen.kext from here. I used the version 1.2.6.
      - Download the AppleBacklightFixup.kext from here. I used the version 2018-1013.
      - Download the USBInjectAll.kext from here. I used the version 2018-1108.
      - Download the ACPIBatteryManager.kext from here. I used the version 2018-1005.
       
       
      Wifi and Bluetooth (DW1560 / BCM94352Z)
       
      Unfortunately, some notebook manufacturers are currently blocking the replacement of wireless cards. They want you to only use the models sold by them. And of course, none of them from Lenovo for this notebook model is compatible with MacOS.
       
      If you try to start with an unauthorized wifi card for them, you will receive a screen error:
      1802: Unauthorized network card is plugged in - Power off and remove the network card. Since this check is done directly in the BIOS, the only solution is to modify it.
      But since nothing is easy in this life, there is one small big problem:
      - The BIOS update procedure does not allow you to use modded files as it used to be.
      - You will need to physically reach your BIOS on the motherboard and make use of a USB BIOS reader/writer.
       
      So what you need to do:
      1. Disassembly your laptop;
      2. Dump your BIOS with an USB BIOS reader with SOIC8 clip (to not desolder from the motherboard);
      3. Patch it (In addition to removing the whitelist, add the advanced menu);
      4. Fix RSA signature;
      5. Reflash BIOS;
      6. Replace wireless card;
      7. Remount your laptop;
      8. Done.
       
      Soon, I'll provide step by step in this process. Probably until end of this week.
      In the meantime, if you need to, send me your dump that I do steps 3 and 4 for you.
      I also add the Advanced Menu so you can increase to 128MB the DRAM-prealloc.
       
      To fix a Modded BIOS to remove the 5 beeps on boot, you need this guide: https://www.insanelymac.com/forum/topic/337333-guide-fix-insyde-h2o-bios-signature-5-beeps-on-lenovo (traduzido: pt-BR)
       
       
      After replaced the wireless card. Download those Kexts and put in /EFI/CLOVER/kexts/Other/
       
      - Download the AirportBrcmFixup.kext from here. I used the version 1.1.9.
      - Download the BrcmFirmwareRepo.kext and BrcmPatchRAM2.kext from here. I used the version 2018-0505.
      - Download the BT4LEContinuityFixup.kext from here. I used the version 1.1.2.
       
       
      Now you can start the instalation without problem (I guess).
       
       
      How install
       
      UEFI Setup Configuration and Installation

      UEFI configuration
       
      My BIOS is the latest: 1.93 (J4ET93WW) 

      - Shutdown and insert the flash drive.
      - Power on with F1 pressed to enter BIOS setup.
      - Change value: Config - Intel(R) AMT - Intel(R) AMT Control to DISABLED
      - Change value: Security - Security Chip to DISABLED
      - Change value: Security - Anti-Theft - Intel(R) AT Module Activation to DISABLED
      - Change value: Security - Anti-Theft - Computrace to DISABLED
      - Change value: Security - Secure Boot to DISABLED
      - Change value: Startup - UEFI/Legacy Boot to BOTH, Legacy First and CSM Support = Yes
      - Save & Exit Setup (F10)
       
      - Now, hold the F12
      - In the list, select your flash drive.
       
      The installer will start. 
      
      Format destination disk

      Format the disk with GUID partition mapping and name it "Macintosh".

      - Select Disk Utility in the list, then press Continue.
      - Click in View, then "Show All Devices".
      - Select the destination Disk, then Erase.
      - Name: HD, Format: APFS and Scheme: GUID Partition Map

      Close Disk Utility.
      
      Select "Install macOS", then Continue.
      Follow instructions in screen.

      After install

      After first part install the system will reboot. Maybe you have to press F12 again and select the flash drive.
      
      The second part of the installation will begin. This will take 16 minutes.
       

      Post installation

      Install bootloader
       
      When the second part of install finish, the system will reboot again.

      After performing the user initial setup and go to the desktop, you need to install Clover on internal disk.

      Open the Clover installer inside flash drive that you copied before.

      Use same options above but choose the system partition this time.

      Now you need to replace the config.plist inside your destination disk EFI parittion with config.plist inside flash card EFI partition.

      The flash drive EFI partition is unmounted. Mount with terminal "sudo diskutil mount /dev/rdiskXs1". To know what X is, use "diskutil list", most likely is 1.
       
      Last step
       
      Copy all Kexts from flash drive to /Library/Extensions, with those commands in Terminal:
      sudo cp -R /Volumes/EFI/EFI/CLOVER/kexts/Other/* /Library/Extensions/ sudo chmod -R 755 /Library/Extensions sudo chown -R root:wheel /Library/Extensions sudo kextcache -i / Restart the system.
       
       
      It's done!
       
       
      Updates
       
      System update 10.14.3
       
      - Updated with success;
      - Everything works perfectly after reboot;
       

       
       

       
      And last but not least
       
      I would like to thank the following community members, by making these dream possible:
      @crushers, @snatch, @apianti, @blackosx, @blusseau, @dmazar, @slice2009, @autumnrain, @phpdev32, @EMlyDinEsH, @RehabMan, @Scellow, @mitch_de, @Shailua, @Andy Vandijck, @maxfierke, @ArturXXX, @LexHimself, @brumas, @Shiki and all others members involved directly or indirectly.
       
       
       
       
       
       
      32MB_DRAM-prealloc_config.plist.zip
      128MB_DRAM-prealloc_config.plist.zip
      SSDT-L440.aml
      VoodooHDA.kext.zip
      AppleHDADisabler.kext.zip
    • By MaLd0n
      Now have a Olarila app, just download app and clover folder for your Chipset! https://olarila.com/forum/viewtopic.php?f=81&t=6771   Install MacOS with Olarila Image, Step by Step, Install and Post Install
       
      https://olarila.com/forum/viewtopic.php?f=50&t=8685
          First... If you need DSDT edits... -Post your full Clover folder with original tables in Origin folder(Extract with F4 in Clover boot screen) -Run it, post files generated in your desktop RunMe.app  Installation   --Create a bootable copy of macOS Sierra Check out the link http://www.insanelymac.com/forum/files/file/559-flash-drive-maker/   --Create a bootable copy of macOS HighSierra Check out the link http://diskmakerx.com/   --Install Clover in USB stick https://sourceforge.net/projects/cloverefiboot/files/Installer/   --Replace with my Clover folder  CLOVER.zip   --Install Sierra/High Sierra and boot into system!   Post Installation   --Install Clover in HDD/SSD and replace with my folder CLOVER.zip   --Reboot and activate video!   -Nvidia WebDriver Sierra http://www.insanelymac.com/forum/topic/312525-nvidia-web-driver-updates-for-macos-sierra-update-07212017/ -Nvidia WebDriver High Sierra http://www.insanelymac.com/forum/topic/324195-nvidia-web-driver-updates-for-macos-high-sierra-update-10162017/ -Cuda http://www.insanelymac.com/forum/topic/302795-cuda-90214-is-out-update-10162017/   -DSDT My DSDT DSDT.GA H97M-DS3P MaLd0n.zip   -Patches -FIX ERRORS AND WARNINGS -HPET -SATA -DMAC -SLPB -DARWIN -LPC -XHCI -HDEF -RTC -IRQs -SBUS -MIKEY -BUS1 -MCHC -ALS0 -SHUTDOWN -LAN -EC -PNLF -HDMI





      -FakeSMC
      https://bitbucket.org/RehabMan/os-x-fakesmc-kozlek -Audio https://github.com/vit9696/AppleALC -LAN https://github.com/Mieze/IntelMausiEthernet   -Credits and thanks to the old and new people in the community who developed patches, kexts and bootloaders!   Slice, Kabyl, usr-sse2, jadran, Blackosx, dmazar, STLVNUB, pcj, apianti, JrCs, pene, FrodoKenny, skoczy, ycr.ru, Oscar09, xsmile, SoThOr, RehabMan, Download-Fritz, Zenit432, cecekpawon, Intel, Apple, Oracle, Chameleon Team, crazybirdy, Mieze, Mirone, Oldnapalm, netkas, Elconiglio, artut-pt, ErmaC, Pavo, Toleda, Master Chief and family, bcc9, The King, PMheart, Sherlocks, Micky1979, vit9696, vandroiy2013, Voodoo Team, Pike R. Alpha, lvs1974, Austere.J, CVad and many, many, many others!   We're all here to have fun and learn from each other!   ENJOY!  
    • By tluck
      Lenovo T460 macOS with Clover Guide
      Latest Release on GitHub Updated to Clover r4861 Updated Kexts Shift to use WhatEvergreen.kext SSDT updates for T460 Added Frank's T470p DSDT files Added T470 DSDT Remove kextunload/kextload in /etc/rc.sleep and /etc/rc.wake to avoid KP on sleep
        Various Tweaks over Last months The zip file is a complete Clover ESP (/EFI) bundle and kext pack for the Lenovo T460. The current file bundle is tested on Sierra. 
      Note: I never got the GFX fully working on El Capitan. 
      Full Clover file set - config.plist etc. Includes all custom kexts Includes custom DSDT/SSDT scripts and patches Utility scripts The zip bundles are posted to GitHub: https://github.com/tluck/Lenovo-T460-Clover/releases
      Caveat: The T460 systems used here was configured with: i5-6300U, Intel HD Graphics 520, 1920x1080 touch screen. If you have a different system model, then extract the ACPI files and use the included scripts to create a set of files consistent with your system type and BIOS version. See below for details.
      Credits: RehabMan, Shmilee, vusun123, TimeWalker, Mieze from which, much of their work and help is/was was used to get the T460 to this point.
      Devices and aspects working:
      Ethernet -  Intel I219LM is enabled via IntelMausiEthernext.kext WiFi/BT - substitute the Intel WiFi/BT with a compatible Broadcom or Atheros chip Audio - ALC293 codec implemented via AppleALC.kext (old AppleHDA_ALC293 and CodecCommander kexts are not needed) PS2 - ClickPad + TrackPoint + all 3 buttons - using a modified VoodooPS2Controller to support new layouts - and added some custom Fn key maps based on 440/450 dsdt USB - implemented via custom SSDT + USBInjectAll kext. All USB3/USB2 ports are intel-based and work -  3 external USB and internal Camera, BT, etc  Sleep/Wake - the sleepwatcher package and custom sleep/wake scripts are used to help with sleep/wake for BT and PS2 devices. Note: have not tried to implement the SD card reader - no driver found.
      ACPI Files
      New Installation - Steps and Details
      Part 1 - OS Installation
      Part 2- Post OS Installation and Setup
      Notes on Custom Kexts
       
    • By ludufre
      [GUIA] Correção de assinatura BIOS Insyde H2O
       
      Recentemente comprei um notebook Lenovo L440 pra instalar o macOS Mojave e fui substituir a placa wireless pela DW1560 porque a atual não é compatível. Descobri que existia uma whitelist de placas permitidas que as fabricantes estão adotando recentemente (no meu caso utiliza uma bios Phoenix Insyde BIOS H2O).
       
      Procurei em fórums de BIOS MODDING e encontrei pessoas que fizeram o patch pra mim. Só que após substituir a BIOS notei que o computador ficava apitando 5 vezes todas vez que ligava e fui me aprofundar no caso. E foi aí que descobri como resolver isso e por isso criei esse guia baseado nas informações que achei em alguns fóruns russos.
       
       
      Prefácio
       
      Quando a BIOS falha no teste te integridade, algumas funcionalidades Intel AMT param de funcionar e é emitido uma sequência de 5 apitos duas vezes no boot.
      Após modificar para remover whitelist (habilitar placas WI-FI não autorizadas), destravar MSR 0xe2 (hackintosh), habilitar menu avançado, etc. a BIOS não vai passar no teste de integridade causando esse problema.
      Essa verificação de integridade é feita através da assinatura RSA do bloco da BIOS chamado TCPABIOS (mais informações abaixo) com a chave pública no formato modulus 3 também armazenada na BIOS.
      Esse bloco TCPABIOS armazena os checksums de cada volume da BIOS.
       
      O que faremos é gerar novos checkums para esses volumes que foram modificados, gerar um para de chaves RSA (privada e pública), assinar esse bloco com a chave privada e substituir a chave pública.
       
       
      Ferramentas necessárias
       
      - EFITool NE alpha 54: https://github.com/LongSoft/UEFITool/releases
      - HxD 2.1.0: https://mh-nexus.de/en/hxd/
      - OpenSSL: http://gnuwin32.sourceforge.net/packages/openssl.htm (Download -> Binaries)
      - Microsoft File Checksum Integrity Verifier (FCIV.exe): https://www.microsoft.com/en-us/download/details.aspx?id=11533
       
      Passo a passo
       
      Vamos abrir a BIOS modificada, localizar o bloco TCPABIOS e entender sua anatomia.
       
      1. Abra a BIOS no HxD
       

      (Vamos utilizar nesse guia a BIOS modificada no fórum MyDigitalLife.com pelo usuário Serg008 para o notebook Lenovo B590)
       
      2. Busque a palavra TCPABIOS:
       


       
      3. O bloco começa com TCPABIOS e termina com antes de TCPACPUH
       

       
      4. Anatomia:
       
      54 43 50 41 42 49 4F 53 48 31 38 34 61 31 31 2F
      32 36 2F 31 33 49 42 4D 53 45 43 55 52 00 FD 27
      34 2A 35 AB 41 26 39 E3 32 E5 B6 8A D6 49 5B 0B
      77 F9 82 58 48 00 00 00 CE 18 1F 00 00 00 03 00
      00 00 00 00 00 00 27 00 00 00 00 00 00 00 00 00
      00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
      00 00 00 00 00 00 00 00 00 00 00 FF FF 83 04 D4
      52 52 95 C5 D7 21 55 78 0E 5C AD 47 EE C4 3D 1D
      C1 EC 69 03 2B 51 A5 42 61 96 22 F9 7B 88 57 B7
      A8 9D D0 20 DB 5B 11 10 55 07 84 6C 62 DF FA 2F
      6A A8 43 0C 8A 40 AF 79 0D 31 DB 5A 5D C8 2F EB
      F8 7C 87 B0 A6 3D 2A 88 AE 91 9D 88 E3 AA 85 E3
      5A B3 91 7F 28 68 1F BA 92 C4 7E 10 F5 1A 7E 75
      A9 6F CE C0 4F BA FA 79 A5 98 2B 50 60 BA 09 73
      7B 03 D1 0C 3E A2 9C 44 DF E9 F2 92 34 7B
       
      Cinza: Nome e informações do bloco
      Vermelho: Informações dos volumes (Checksum e Cabeçalho)
      Azul: Separação da lista de volumes para a assinatura do bloco
      Verde: Assinatura do bloco TCPABIOS são os últimos 128 bytes
       
      Lista de Volumes:
       
      Cada volume tem o formato: 00 FD 27 34 2A 35 AB 41 26 39 E3 32 E5 B6 8A D6 49 5B 0B 77 F9 82 58 48 00 00 00 CE 18 1F 00 00 00 03 00 00 00 00 00
                                                      (prefixo 3 bytes + checksum 20 bytes + offset 4 bytes + tamanho do volume 6 bytes + separador do fim 6 bytes)
       
      Os volumes são enumerados e utilizam o primeiro byte no prefixo para isso (00 FD 27), começando do 0.
      A BIOS utilizada nesse exemplo possui somente um volume, mas no caso de mais de um volume, seria: 00 FD 27 .., 01 FD 27 ..., 02 FD 27 ...
      - Checksum é o cálculo SHA1 do volume.
      - Offset é a posição do volume dentro da BIOS. Os bytes ficam invertidos, nesse caso seria 00 00 00 48 ou seja: 48h
      - Tamanho do volume também está com os bytes invertidos, então: 1F18CEh
       
      Então é isso. Precisamos corrigir essas informações (checksum, offset e tamanho)
       
      5. Para extrair os volumes abra a BIOS com o UEFITool e veja como identificar os volumes (nosso exemplo há somente um volume, se houvessem outros estariam também dentro de EfiFirmwareFileSystemGuid):
       

       
      Na BIOS original, circulado em vermelho podemos ver o nosso volume.
      Observe que em azul temos Offset e verde o tamanho. Exatamente como verificamos acima no HxD. Já na BIOS modificada vemos que está diferente o tamanho:
      Oridinal: 1F18CEh
      Modificada: 1F12D5h (vamos precisar disso mais tarde)
       
      6. Vamos extrair esse volume escolhendo a opção “Extract as is...”
       
       
       
      7. Utilize esse comando para obter o checkum desse volume: fciv.exe -sha1 File_Volume_image_FvMainCompact.ffs
       

       
      Agora temos o checksum que é 396e0dc987219b4369b1b9e010166302ce635202
       
      8. Substitua as informações no bloco TCPABIOS:
       

       
      Observe que o tamanho do volume precisa ter os bytes invertidos, então se o total são 6 bytes e é 1F12D5h, fica D5 12 1F 00 00 00 no lugar de CE 18 1F 00 00 00.
      Se o offset for diferente, também realizar o mesmo procedimento invertendo os bytes.
      Checksum alterar de 34 2A 35 AB 41 26 39 E3 32 E5 B6 8A D6 49 5B 0B 77 F9 82 58 para 39 6E 0D C9 87 21 9B 43 69 B1 B9 E0 10 16 63 02 CE 63 52 02
       
      Faça esse procedimento para cada volume na BIOS.
       
      9. Agora precisamos gerar o checksum de todo o bloco TCPABIOS mas sem considerar os últimos 131 bytes, ou seja desconsiderar de FF FF 83 + 80 bytes da assinatura anterior.
       
      Copie para um novo arquivo no HxD e salve como tcpabios
       

       
      Utilize o comando para gerar o checksum desse bloco: fciv.exe -sha1 tcpabios
       

       
      Checksum do bloco TCPABIOS: 0da6715509839a376b0a52e81fdf9683a8e70e52
       
      Crie um novo arquivo no HxD e adicione 108 bytes com 00 e cole o checksum no final e salve como tcpabios_sha, ficando assim:
       

       
      10. Agora vamos gerar a chave privada RSA com modulus 3: openssl genrsa -3 -out my_key.pem 1024
       

       
      Assinar o arquivo tcpabios_sha: openssl rsautl -inkey my_key.pem -sign -in tcpabios_hash -raw > tcpabios_sign
       

       
      Agora aproveite para gerar a chave publica: openssl rsa -in my_key.pem -outform der -pubout -out my_key_pub.der
       

       
      E gerar modulus 3 da chave pública: openssl rsa -pubin -inform der -in my_key_pub.der -text -noout
       

       
      Copie e cole a chave em um arquivo de texto para utilizar daqui a pouco. Remova todos os “:” e coloque tudo em uma única linha, ficando assim:
       

       
      11.   Abra o arquivo tcpabios_sign no HxD, copie o conteúdo e substitua a assinatura no final do bloco TCPABIOS:
       
       
       
      12. Agora vamos localizar na BIOS o local da chave pública e substituir. Essa chave começa com 12 04 e termina com 01 03 FF e fica após o bloco TCPABBLK.
       
      A chave fica assim: 12 04 + 81 bytes + 01 03 FF. Faça uma busca por 01 03 FF para localizar mais facilmente. Verifique se antes dos 81 bytes tem os bytes 12 04 para ter certeza que achou.
       

       

       
      Agora substitua pela chave pública que ficou anotado no arquivo de texto anteriormente, ficando assim:
       

       
       
      Salve e está pronto. Sua BIOS está assinada e pronta.
       
    • By ludufre
      [GUIDE] Fix Insyde H2O BIOS signature (5 beeps on Lenovo)
       
      I recently bought a Lenovo L440 laptop to install the Mojave macOS and I replaced the wireless card with the DW1560 because the current one is not compatible. I discovered that there was a whitelist of enabled cards that manufacturers are adopting recently (in my case it uses a Phoenix Insyde BIOS H2O).
       
      I searched the BIOS Modding forums and found people who did the patch for me. But after replacing the BIOS I noticed that the computer keep beeping 5 times every time I boot. So, I went deeper into this issue and that's when I figured out how to solve it. Then I created this guide based on the information I found in some Russian forums.
       
      Preface
       
      When the BIOS integrity test fails, some Intel AMT functionality stops working and a sequence of 5 whistles is issued twice at boot.
      After modifying to remove whitelist (enable unauthorized WI-FI cards), unlock MSR 0xe2 (hackintosh), enable advanced menu, etc. the BIOS will not pass the integrity test causing this problem.
      This integrity check is done through the RSA signature of the BIOS block called TCPABIOS (more information below) with the public key in modulus 3 format also stored in the BIOS.
      This TCPABIOS block stores the checksums of each BIOS volume.
       
      What we will do is generate new checksum for those volumes that have been modified, generate a RSA (private and public) key pair, sign that block with the private key, and replace the public key.
       
       
      Tools needed
       
      - EFITool NE alpha 54: https://github.com/LongSoft/UEFITool/releases
      - HxD 2.1.0: https://mh-nexus.de/en/hxd/
      - OpenSSL: http://gnuwin32.sourceforge.net/packages/openssl.htm (Download -> Binaries)
      - Microsoft File Checksum Integrity Verifier (FCIV.exe): https://www.microsoft.com/en-us/download/details.aspx?id=11533
       
      Step by step
       
      Let's open the modified BIOS, locate the TCPABIOS block and understand its anatomy.
       
      1. Open the BIOS with HxD
       

      (We will use the modded BIOS in the MyDigitalLife.com forum by the Serg008 user for the Lenovo B590 laptop in this guide)
       
      2. Find the word TCPABIOS:
       


       
      3. The block starts with TCPABIOS and ends before TCPACPUH
       

       
      4. Anatomy:
       
      54 43 50 41 42 49 4F 53 48 31 38 34 61 31 31 2F
      32 36 2F 31 33 49 42 4D 53 45 43 55 52 00 FD 27
      34 2A 35 AB 41 26 39 E3 32 E5 B6 8A D6 49 5B 0B
      77 F9 82 58 48 00 00 00 CE 18 1F 00 00 00 03 00
      00 00 00 00 00 00 27 00 00 00 00 00 00 00 00 00
      00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
      00 00 00 00 00 00 00 00 00 00 00 FF FF 83 04 D4
      52 52 95 C5 D7 21 55 78 0E 5C AD 47 EE C4 3D 1D
      C1 EC 69 03 2B 51 A5 42 61 96 22 F9 7B 88 57 B7
      A8 9D D0 20 DB 5B 11 10 55 07 84 6C 62 DF FA 2F
      6A A8 43 0C 8A 40 AF 79 0D 31 DB 5A 5D C8 2F EB
      F8 7C 87 B0 A6 3D 2A 88 AE 91 9D 88 E3 AA 85 E3
      5A B3 91 7F 28 68 1F BA 92 C4 7E 10 F5 1A 7E 75
      A9 6F CE C0 4F BA FA 79 A5 98 2B 50 60 BA 09 73
      7B 03 D1 0C 3E A2 9C 44 DF E9 F2 92 34 7B
       
      Gray: Name and Block Information
      Red: Volume Information (Checksum and Header)
      Blue: Separation of the list of volumes and the block signature
      Green: Signature of the TCPABIOS block are the last 128 bytes
       
      List of Volumes:
       
      Each volume has the format: 00 FD 27 34 2A 35 AB 41 26 39 E3 32 E5 B6 8A D6 49 5B 0B 77 F9 82 58 48 00 00 00 CE 18 1F 00 00 00 03 00 00 00 00 00
                                              (Prefix 3 bytes + checksum 20 bytes + offset 4 bytes + volume size 6 bytes + end delimiter 6 bytes)
       
      The volumes are enumerated and use the first byte in the prefix for this (00 FD 27), starting at 0.
      The BIOS used in this example has only one volume, but in the case of more than one volume, it would be: 00 FD 27 .., 01 FD 27 ..., 02 FD 27 ...
      - Checksum is SHA1 calculation of the volume.
      - Offset is the volume position within the BIOS. The bytes are inverted, in this case it would be 00 00 00 48, equals to 48h
      - Volume Size is also with the bytes inverted, then: 1F18CEh
       
      Then that's it. We need to correct this information (checksum, offset and size)
       
      5. To extract the volumes open the BIOS with the UEFITool and see how to identify the volumes (our example there is only one volume if there were others would also be inside EfiFirmwareFileSystemGuid):
       

       
      In the original BIOS, circled in red we can see our volume.
      Note that in blue we have offset and green the size. Exactly as we checked up on HxD. In the modified BIOS we see that the size is different:
      Original: 1F18CEh
      Modified: 1F12D5h (we'll need this later)
       
      6. Let's extract this volume to calculate the checksum by choosing the "Extract as is ..."
       
       
       
      7. Use this command to get the checksum of this volume: fciv.exe -sha1 File_Volume_image_FvMainCompact.ffs
       

       
      Now we have the checksum that is 396e0dc987219b4369b1b9e010166302ce635202
       
      8. Replace the information in the TCPABIOS block:
       

       
      Note that the volume size must have the bytes inverted, so if the total is 6 bytes and is 1F12D5h, becomes D5 12 1F 00 00 00 in place of CE 18 1F 00 00 00.
      If the offset is different, also perform the same process by inverting the bytes.
      Checksum change from 34 2A 35 AB 41 26 39 E3 32 E5 B6 8A D6 49 5B 0B 77 F9 82 58 to 39 6E 0D C9 87 21 9B 43 69 B1 B9 E0 10 16 63 02 CE 63 52 02
       
      Do this for each volume in the BIOS.
       
      9. Now we need to generate the checksum of the whole TCPABIOS block but without considering the last 131 bytes, that is to dismiss FF FF 83 + 80 bytes from the previous signature.
       
      Copy to a new file in HxD and save as tcpabios
       

       
      Use the command to generate the checksum of this block: fciv.exe -sha1 tcpabios
       

       
      Checksum of TCPABIOS block: 0da6715509839a376b0a52e81fdf9683a8e70e52
       
      Create a new file in HxD and add 108 bytes with 00 and paste the checksum at the end and save as tcpabios_hash, thus:
       

       
      10. Now let's generate the RSA private key with modulus 3: openssl genrsa -3 -out my_key.pem 1024
       

       
      Sign the file tcpabios_hash: openssl rsautl -inkey my_key.pem -sign -in tcpabios_hash -raw > tcpabios_sign
       

       
      Now enjoy to generate the public key: openssl rsa -in my_key.pem -outform der -pubout -out my_key_pub.der
       

       
      And generate public key modulus 3: openssl rsa -pubin -inform der -in my_key_pub.der -text -noout
       

       
      Copy and paste the key into a text file to use soon. Remove all ":" and put everything on a single line, thus:
       

       
      11.   Open the tcpabios_sign file in HxD, copy the contents and replace the signature at the end of the TCPABIOS block:
       
       
       
      12. Now let's locate the location of the public key in the BIOS and replace it. This key starts with 12 04 and ends with 01 03 FF and is after the TCPABBLK block.
       
      The key looks like this: 12 04 + 81 bytes + 01 03 FF. Search for 01 03 FF to locate more easily. Verify that before the 81 bytes have bytes 12 04 to make sure you found.
       

       

       
      Now substitute for the public key that was annotated in the text file previously, thus:
       

       
       
      Save and you're ready. Your BIOS is signed and ready.
×