Jump to content
Kogen Mantis

Lenovo ThinkPad T420 with UEFI Only

4,138 posts in this topic

Recommended Posts

@Smith@@ -- bummer. too bad that this EDID does not work for 17" HP.  

 

to answer the question. the comment in the Graphics config.plist is just a convenience to remind one what the EDID is for. as far as i can tell, the system will use the contents of the file /S/L/Displays/Override/Vendor-X/Product-Y by matching what vendor/product is in the EDID. but it gets the EDID first by looking at the LCD/Display HW if found then it will use it if it is a complete/valid EDID and then ignore anything in the same file i.e. EDID in the file.

 

the only way i found that system would use a different EDID was to use Clover to inject (overwrite) the EDID or put in DSDT in IGPU as AAPL00,override-no-connect property. i guess i just got lucky to find an EDID that works. TimeWalker mentioned he used SwitchResX to rework his EDID to a glitch-free state.

Share this post


Link to post
Share on other sites
Advertisement
TimeWalker mentioned he used SwitchResX to rework his EDID to a glitch-free state.

 

Do you know which parameters he use?

Share this post


Link to post
Share on other sites

i am doing many tries with switchresx but no lucky. For example if i boot always with

 

 

i have lowered pixel clock and tried many combination, more soft, more hard, but nothing, problem is always the same, the same always.

Share this post


Link to post
Share on other sites

I have officially abandoned clover on my hp, and stop. With chameleon i have not these fu cking artifacts, so i don't know why on clover them come back always..  thanks for all buddy;)

Share this post


Link to post
Share on other sites

Hi everyone, 

I had created my USB installer (10.8.3) with the Kogen's tutorial of the first post and yesterday I've installed the tluck's ZIP files to the ESP of my USB, then I've re-installed the system (10.8.3).

As I already had downloaded the 10.9 to an external HD, all that I did was to double click on it, right from the external HD, after check the files, it restarted the computer and I choose the 10.9 installer at the boot.

 

For my surprise, this worked pretty much better. 

 

Now, I have all the applications which require Apple ID working fine. The only things that didn't work yet was the sound, the USB 3.0 and Flash videos just play some seconds and freeze.

What do you recommend for solving that?

I'm afraid to install Extra folder with AppleHDA and things go wrong after reboot... 

 

 

Thanks, Kogen and tluck, and all for the hard work!

 

p.s.: almost forgot to tell you, Brightness control are working perfect with ScrLk to decrease and Pause to increase. I had an issue before, when the screen came off, it always came so bright to the point I should restart to control again. Now, with your help, it's working fine! :D

Share this post


Link to post
Share on other sites

@Fabiano_Nomad - it sounds like you did not install the custom kexts from my zip file to your /System/Library/Extensions folder. 

the zip contains kexts for 10.8.5 - i would upgrade to this level and then install the kexts to your HD according to the instructions (kext wizard is a good way). /Extra is not used by clover.

Share this post


Link to post
Share on other sites

Clover will inject kexts if they don't exist in /S/L/E but they may conflict and not actually be used. you can certainly leave kexts on ESP and have Clover inject them. There are 2 that conflict with existing kexts: AppleHDA and BroadcomBluetooth.  you can just move these out of /S/L/E to say /Temp and test clover is injecting the alternative kexts. you should have sound then!

Share this post


Link to post
Share on other sites

Clover will inject kexts if they don't exist in /S/L/E but they may conflict and not actually be used. you can certainly leave kexts on ESP and have Clover inject them. There are 2 that conflict with existing kexts: AppleHDA and BroadcomBluetooth.  you can just move these out of /S/L/E to say /Temp and test clover is injecting the alternative kexts. you should have sound then!

YEAH!! \o/

 

You're the man! 

 

Now, only left to work USB 3.0, the mini wi-fi card DW 1510 I gave up to try to make it work... Lenovo put some kind of locking which verifies the wi-fi as not original and don't let it work.

Share this post


Link to post
Share on other sites

Hmm,

I just updated to Mavericks and now I have some problems. (Using the dsdt from tlucks bundle)

The first one: When I press the "Mute Vol" button, the system freezes. (Manually turning down volume to 0 works)

 

The second one: Sleep does not really work, the Power LED flashes but nothing happens.

 

I looked through the latest posts, but I havent really seen anyone else with this problem.

I installed OSX on my 2nd HDD, maybe that is the problem?

 

Another annoying problem is scrolling. In most apps scrolling works like on windows. But using firefox it doesnt really work, I get this thing, that you also have in windows without drivers. http://0.tqn.com/d/webdesign/1/0/r/H/1/cursor_all-scroll_ie.gif

PS: Does anyone know how this guy got multitouch?

Share this post


Link to post
Share on other sites

Yeah i believe there is more multi gesture support than we are taking advantage in the default configuration. Rehabman changed the implementation to be more flexible in the later revs but it may require some mapping changes? I would particularly like to use the swipe left/right thing. i hope someone can figure it out! 

 

Anyway, I reposted a zip today that has a few minor changes since the October version.

 

10-Nov-2013

  • Updated Clover to b2293
  • Made high-res vs low-res config.plist and DSDT more consistent - difference is EDID and DualLink
  • Revised EDID and DSDT for 1600x900 - added 50Mhz option
  • Added folder for Displays/Overrides (for more natural color gamma curves and more screen size options) in this zip

One thing i suggest folks try ... boot with MBR USB instead of UEFI on HD

I have been booting CloverEFI MBR on a USB vs the HD for the last week or so and this seems to resolves a number of the very annoying UEFI issues - but i still get all the benefits of Clover. For example, my system always sleeps vs somes goes in limbo land. It always shuts all the way down. and the mute doesn't total hang it.

 

No other changes as the same EFI/Clover folder is copied to the USB EFI folder... takes about 2 seconds longer but i have a much more stable system. here is how i built the USB: 

 

1) format USB MBR with 1 fat32 partition 

2) install clover like in picture (below)

3) copy/replace /Volumes/USB/EFI/CLOVER with same folder from HD - that is the ESP/EFI/CLOVER

4) in bios, make boot from USB 1st choice - instead of UEFI Cloverx64.efi (2nd choice)

post-954945-0-90674700-1384106919_thumb.png

 

I did a lot of fiddling the EDIDs over the last week. So i think i know definitively why the 1600x900 default EDID was broken. i spent too much time looking at detailed timings and in the end found out what was causing the drastic VRSYNC/buffer hang messages. The problem was  in the EDID "basic timings" section - the built-in AUO EDID had a bogus string. i looked at MAC EDID and the one Lenovo installs for Windows... and could see a pattern!

 

the symptoms were sometime it boots up with white/blank screen. GFX splotches, glitches and stalls were common. Especially when using mission control or moving windows around it would really hang up - sometimes never to recover. well the EDID from LGD for 1600x900 fixed all that --- but know i know why!!! To prove it (3rd Take!) I was able to take the built-in EDID and just change 90 to 80 and everything worked fine - which happened to have 2 sets of detailed timings. So then i decided to rebuild the EDID and add a 2nd set of detailed timings. so now it has 60 and 50 Hz

 

post-954945-0-38229800-1384106648_thumb.png

Built-in EDID from AUO (mfg)

Extracted contents:
header:          00 ff ff ff ff ff ff 00
serial number:   06 af 3e 21 00 00 00 00 21 14
version:         01 04
basic params:    90 1f 11 78 02
 
Lenovo EDID from LCD driver for windows:
Extracted contents:
header:          00 ff ff ff ff ff ff 00
serial number:   30 ae a1 40 00 00 00 00 01 14
version:         01 03
basic params:    80 1f 11 78 ea
 
Final working EDID for 14" 1600x900 based on LGD:
 
Extracted contents:
header:          00 ff ff ff ff ff ff 00
serial number:   30 e4 e2 02 00 00 00 00 01 14
version:         01 03
basic params:    80 1f 11 78 ea
chroma info:     33 85 99 56 55 91 27 17 50 54
established:     00 00 00
standard:        01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01
descriptor 1:    80 25 40 80 60 84 1a 30 30 20 35 00 36 ae 10 00 00 18
descriptor 2:    40 1f 40 80 60 84 1a 30 30 20 35 00 36 ae 10 00 00 18
descriptor 3:    00 00 00 fe 00 4c 65 6e 6f 76 6f 0a 20 20 20 20 20 20
descriptor 4:    00 00 00 fe 00 31 36 30 30 78 39 30 30 0a 20 20 20 20
extensions:      00
checksum:        c7
 
Manufacturer: LGD Model 2e2 Serial Number 0
Made week 1 of 2010
EDID version: 1.3
Digital display
Maximum image size: 31 cm x 17 cm
Gamma: 2.20
DPMS levels: Standby Suspend Off
Supported color formats: RGB 4:4:4, YCrCb 4:2:2
First detailed timing is preferred timing
Established timings supported:
Standard timings supported:
Detailed mode: Clock 96.000 MHz, 310 mm x 174 mm
               1600 1648 1680 1728 hborder 0
                900  903  908  926 vborder 0
               -hsync -vsync 
Detailed mode: Clock 80.000 MHz, 310 mm x 174 mm
               1600 1648 1680 1728 hborder 0
                900  903  908  926 vborder 0
               -hsync -vsync 
ASCII string: Lenovo
ASCII string: 1600x900
Checksum: 0xc7 (valid)
EDID block does NOT conform to EDID 1.3!
Missing name descriptor
Missing monitor ranges
 
 
 

Share this post


Link to post
Share on other sites

I just installed your new package and it looks like the sleep issues are gone. :o

Also Volume-Mute does work again.

 

But RehabMans Kext doesnt seem to work for me yet.

It seems to recognise inputs with 3+ fingers, but it only beeps. :D

Share this post


Link to post
Share on other sites

@vapayo - great.  thanks for feedback.

 

the VoodooPS2controller works for 2 finger scrolling by default. but for 3+ fingers, i think there is some keyboard mapping that may have to happen? 

look in the VoodooPSController Plugins folder and there are 3 kexts - the keyboard Info.plist has some swipe settings.

Share this post


Link to post
Share on other sites

last pack install without issue

i test : resolution 1366 and 1600 without problem

and the last provided DisplayProductID-313c

Thanks for this pack again. :)

Share this post


Link to post
Share on other sites

@tluck-

I installed latest pack and used your suggestion about MBR USB, and the sleep is much better (perfect so far). The mute problem was resolved with the latest pack, even without MBR USB boot.

Why would this make a difference, booting from an USB? It is loading the same Clover and configuration, right?

Share this post


Link to post
Share on other sites

usb3? do you have a PCI card?  for the the dell wifi you need to install a white-list modded biios. 

Yep, I have three USB ports: one at the left side and two at rear, one of that is 3.0; I couldn't find yet a way to have it working.

Share this post


Link to post
Share on other sites

@fabiano_Nomad - do you have T420S vs T420? i think there is a GenericUSBXHCI  kext or patched AppleUSBXCHI that may get your USB3 working. look in the downloads area.

Share this post


Link to post
Share on other sites

@tetonne - that EDID is 60Hz - same as the original. the change for that one compared to the original was just to change panel size to 310 instead of 309

Share this post


Link to post
Share on other sites

@tetonne - that EDID is 60Hz - same as the original. the change for that one compared to the original was just to change panel size to 310 instead of 309

oups did not understood sorry

Share this post


Link to post
Share on other sites

 

Yeah i believe there is more multi gesture support than we are taking advantage in the default configuration. Rehabman changed the implementation to be more flexible in the later revs but it may require some mapping changes? I would particularly like to use the swipe left/right thing. i hope someone can figure it out! 

 

Anyway, I reposted a zip today that has a few minor changes since the October version.

 

10-Nov-2013

  • Updated Clover to b2293
  • Made high-res vs low-res config.plist and DSDT more consistent - difference is EDID and DualLink
  • Revised EDID and DSDT for 1600x900 - added 50Mhz option
  • Added folder for Displays/Overrides (for more natural color gamma curves and more screen size options) in this zip

One thing i suggest folks try ... boot with MBR USB instead of UEFI on HD

I have been booting CloverEFI MBR on a USB vs the HD for the last week or so and this seems to resolves a number of the very annoying UEFI issues - but i still get all the benefits of Clover. For example, my system always sleeps vs somes goes in limbo land. It always shuts all the way down. and the mute doesn't total hang it.

 

No other changes as the same EFI/Clover folder is copied to the USB EFI folder... takes about 2 seconds longer but i have a much more stable system. here is how i built the USB: 

 

1) format USB MBR with 1 fat32 partition 

2) install clover like in picture (below)

3) copy/replace /Volumes/USB/EFI/CLOVER with same folder from HD - that is the ESP/EFI/CLOVER

4) in bios, make boot from USB 1st choice - instead of UEFI Cloverx64.efi (2nd choice)

 

I did a lot of fiddling the EDIDs over the last week. So i think i know definitively why the 1600x900 default EDID was broken. i spent too much time looking at detailed timings and in the end found out what was causing the drastic VRSYNC/buffer hang messages. The problem was  in the EDID "basic timings" section - the built-in AUO EDID had a bogus string. i looked at MAC EDID and the one Lenovo installs for Windows... and could see a pattern!

 

the symptoms were sometime it boots up with white/blank screen. GFX splotches, glitches and stalls were common. Especially when using mission control or moving windows around it would really hang up - sometimes never to recover. well the EDID from LGD for 1600x900 fixed all that --- but know i know why!!! To prove it (3rd Take!) I was able to take the built-in EDID and just change 90 to 80 and everything worked fine - which happened to have 2 sets of detailed timings. So then i decided to rebuild the EDID and add a 2nd set of detailed timings. so now it has 60 and 50 Hz

 

attachicon.gifScreen Shot 2013-11-10 at 12.47.56 PM.png

Built-in EDID from AUO (mfg)

Extracted contents:
header:          00 ff ff ff ff ff ff 00
serial number:   06 af 3e 21 00 00 00 00 21 14
version:         01 04
basic params:    90 1f 11 78 02
 
Lenovo EDID from LCD driver for windows:
Extracted contents:
header:          00 ff ff ff ff ff ff 00
serial number:   30 ae a1 40 00 00 00 00 01 14
version:         01 03
basic params:    80 1f 11 78 ea
 
Final working EDID for 14" 1600x900 based on LGD:
 
Extracted contents:
header:          00 ff ff ff ff ff ff 00
serial number:   30 e4 e2 02 00 00 00 00 01 14
version:         01 03
basic params:    80 1f 11 78 ea
chroma info:     33 85 99 56 55 91 27 17 50 54
established:     00 00 00
standard:        01 01 01 01 01 01 01 01 01 01 01 01 01 01 01 01
descriptor 1:    80 25 40 80 60 84 1a 30 30 20 35 00 36 ae 10 00 00 18
descriptor 2:    40 1f 40 80 60 84 1a 30 30 20 35 00 36 ae 10 00 00 18
descriptor 3:    00 00 00 fe 00 4c 65 6e 6f 76 6f 0a 20 20 20 20 20 20
descriptor 4:    00 00 00 fe 00 31 36 30 30 78 39 30 30 0a 20 20 20 20
extensions:      00
checksum:        c7
 
Manufacturer: LGD Model 2e2 Serial Number 0
Made week 1 of 2010
EDID version: 1.3
Digital display
Maximum image size: 31 cm x 17 cm
Gamma: 2.20
DPMS levels: Standby Suspend Off
Supported color formats: RGB 4:4:4, YCrCb 4:2:2
First detailed timing is preferred timing
Established timings supported:
Standard timings supported:
Detailed mode: Clock 96.000 MHz, 310 mm x 174 mm
               1600 1648 1680 1728 hborder 0
                900  903  908  926 vborder 0
               -hsync -vsync 
Detailed mode: Clock 80.000 MHz, 310 mm x 174 mm
               1600 1648 1680 1728 hborder 0
                900  903  908  926 vborder 0
               -hsync -vsync 
ASCII string: Lenovo
ASCII string: 1600x900
Checksum: 0xc7 (valid)
EDID block does NOT conform to EDID 1.3!
Missing name descriptor
Missing monitor ranges
 
 
 

 

Hi, i want make another try, can you pass me a new edid with these fixes?

Do you have changed only panel size and timing? Because i think to have make already these tries..

Share this post


Link to post
Share on other sites

ok so to make use of 3+ finger swipes was very easy. the swipes will send certain key strokes and all you have to do is map them to something using the system keyboard prefs. it took me longer to finger out how to swipe on the small pad. left/right swipe are best detected by touching 3 fingers and swipe in the direction fingers are pointing vs sliding hand sideways.  from his notes:

  • Swipe Up, Down, Left, Right are now assigned by default to the following keyboard combinations: Control+Command+UpArrow, Control+Command+DownArrow, Control+Command+LeftArrow, Control+Command+RightArrow. This should work better with international keyboards. You will need to use System Preferences -> Keyboard -> Keyboard Shortcuts to adjust to assign these keys to your desired actions. If you were using three finger swipe left and right for back/forward in your web browser, you will need to reconfigure these actions via the Info.plist or use a program like KeyRemap4MacBook to remap the keys generated to the keys used by your browser for forward/back (that's what I plan to do).

I chose to change what keys the swipes send in Info.plist. i just changed left/right swipe to match Command+[ and Command+] which are what Safari and Finder use for Back/Forward.

i changed Info.plist here: 

/System/Library/Extensions/VoodooPS2Controller.kext/Contents/PlugIns/VoodooPS2Keyboard.kext/Contents

from

$ diff Info.plist Info.orig.plist 

56c56

< <string>37 d, 21 d, 21 u, 37 u</string>

---

> <string>3b d, 37 d, 7b d, 7b u, 37 u, 3b u</string>

58c58

< <string>37 d, 1e d, 1e u, 37 u</string>

---

> <string>3b d, 37 d, 7c d, 7c u, 37 u, 3b u</string>

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 Slice
      Now I want to add vector graphics support in Clover. See rev 4560 and later.
      It is not working yet but designers may begin to create Vector Themes.
      It supposed to consist of SVG elements and has design size. It will be rendered to any screen size scaled from design size.
       
    • By fusion71au
      Clover r4542 ISO compiled with GCC and minimal config.plist compatible for use in VMWare Workstation.
       
      Tested with unlocked Workstation 14 running OSX 10.9 -->10.14 guest in Windows X64 host.
       
      Installation
      1. Download and unzip "EFI_Clover_r4542 for VMware.zip". Mount Clover-v2.4k-4542-X64.iso by double clicking on it.
      2. Mount your VM's EFI System Partition eg in terminal
      sudo diskutil mount disk0s1   3. Copy EFI folder from step 1 into the EFI partition
      4. Shutdown the VM, add bios.bootDelay = "3000" to your VM's vmx file
      5. Reboot your VM, press <F2> to access the VMware Boot Manager and add CLOVERX64.efi to the boot menu.
       
      Substitute your own unique and valid MLB and ROM variables in the /EFI/CLOVER/config.plist (Rt Variables section) to activate iMessage/Facetime on your VM.
    • By nysander
      I start this topic to make my Lenovo Thinkpad W540 usable with High Sierra
       
      I followed many guides but this one started by @tluck made me most progress: 
      My setup as in signature
       
      I will update first post with statuses of working features:
       
      Graphics:
      Nvidia Quadro - disabled
      Intel HD 4600 - working @ 1920x1080 and 1,5GB RAM (had to set ig-plaform-id as Haswell desktop, mobile do not work)
      using intelGraphicsFixUp.kext
       
      Sound:
      internal speakers and mic works with AppleACL.kext and profile 28

      USB:
      i boot MacOS from USB drive and it works, mouse and pendrive also works
      USB power not work yet, so USB WiFi dongle and iPhone connection not work (no power @ USB)
      IOReq finds only USB 3.0 controller not USB 2.0 even though I have 2 ports USB 3.0 and 2 ports USB 2.0
       
       
      Integrated Camera:
      recognised in IOReq but not working now (probably due to USB)
       
      Bluetooth:
      as USB but works without problem

      Ethernet:
      works with intelMausiEthernet.kext

      Keyboard:
      internal is PS2 so VoodooPS2Controller.kext is needed - some mappings I would like to have different but works

      Touchpad:
      works with VoodooPS2Controller.kext from @tluck topic
       
      Trackpoint:
      One time works mostly not - debugging in progress
       
      Batery Status:
      not working
       
      Integrated WiFi:
      intel -  not working
       
      Sleep / Hibernate:
      not working
       
      Backlight:
      not working
       
      Other found issues:
      besides that graphics works @ 1920x1080 and have a lots of ram window shadows (especially dock shadow) looks bad
       
      External VGA:
      not tested yet
       
      External Mini Display Port / Thunderbolt:
      not tested yet
       
      I will post my clover / debug config later
       
       
×