Jump to content
High_Voltage

Lenovo Y410p/Y510p BIOS mod to enable Nvidia eGPU support

Recommended Posts

In case you own a Lenovo Y410p or Y510p laptop, you might be interested in upgrading its performance by installing an external graphics card. Ultrabay eGPU adapter designed by @gerald was proven to be a convenient plug-and-play option to do exactly that. However, for a long time only an AMD-branded GPUs could be used due to limitations in the Lenovo's stock BIOS. The purpose of the modified firmware presented here is to expand the range of available GPUs by enabling Nvidia support on Gerald's Ultrabay eGPU adapter.

 

Huge thanks to:

  • @MWichni - For efficiently assisting me during the development of this mod. By flashing dozens of BIOS builds over the course of several weeks and thoroughly describing the effects observed (or the lack thereof), he enabled me to fully understand necessary parts in BIOS structure and come up with a final solution.
  • @svl7 - Whose unlocked BIOS / Whitelist mod has served as a basis for this modification. His discovery of a security hole in V2.07 BIOS has provided us with a convenient BIOS flashing method that does not require a physical programmer. The Unlocked BIOS and WLAN whitelist mods originally designed by him are also implemented in this BIOS mod.
  • @gerald - For designing the aforementioned adapter. Without it, all this work would make very little sense.

 

Key features:

  • Resolves the "40-second reboot" issue normally encountered while using Nvidia graphics cards with Ultrabay eGPU adapter, thus allowing all Nvidia cards to be used.
  • Based on the latest V3.08 BIOS.
  • Includes Svl7's WLAN whitelist removal mod - for the convenience of aftermarket WLAN card users.
  • Includes Svl7's BIOS debug menu mod - for the ease of experimentation with newly available features, e.g. attempting to use Nvidia Optimus to pass eGPU video back to laptop's display.

 

NB! Svl7's Debug Menu is not a toy! It contains a lot of options that are either not supported or partially supported by the hardware platform and/or can disturb its normal operation or prevent the PC from booting up at all. Any of the entries not originally present in the stock BIOS should be modified at your own risk!

 

DISCLAIMER:
ANY MODIFICATIONS YOU ARE APPLYING TO YOUR HARDWARE ARE PERFORMED AT YOUR OWN RISK! AUTHOR OF THIS MOD DOES NOT HOLD ANY LIABILITY FOR LOSS OR DAMAGE RELATED TO USING THIS SOFTWARE.

 

Screenshots:

Spoiler

 

5aa713dff2206_workingbiosmod2.png.cacec4b56d9819d05615f58764afb6ca.png

5aa713e69ce54_E6639A6453529E031F33E62698E3985F840966CDCAD603274Cpimgpsh_fullsize_distr.thumb.png.957635edd91a756b1edd2ea22801abb5.png

Unigine.png.992006853e75c1861792b86e94b956fa.thumb.png.31d2b61697cfa00b0efe78fd99289983.png

 

 

Installation instructions:

Spoiler

 

WARNING:

BEFORE INITIATING ANY FLASHING PROCESS, MAKE SURE THAT THE AC POWER IS CONNECTED AND THE BATTERY HAS AT LEAST 20% CHARGE LEFT. AN UNPLANNED POWER-OFF DURING FLASHING PROCESS IS GUARANTEED TO RESULT IN A BRICKED MOTHERBOARD.

 

  1. Install fresh, unmodified V3.08 BIOS. The installation file can be found on official Lenovo product support page for your PC.
  2. Enter the BIOS settings (by hitting F2 during boot) and enable BIOS Back Flash option.
  3. Following the instructions here, download and use Rufus utility to create a bootable USB drive running FreeDOS.
  4. Copy the CONTENTS of THIS_GOES_TO_DOS_FLASH_FIRST folder into the root of your FreeDOS flash drive.
  5. Download Universal BIOS Backup Toolkit 2.0, then by running program as Administrator, read your BIOS dump and save it as backup.bin.
  6. Place a copy of the backup.bin into PATCHERS folder.
  7. Depending on whether your system is GT750m-based or GT755m-based, run corresponding patcher.
  8. Carefully study patcher's output. If the patcher reports success, MDDED308.bin file will be created in the same folder.
  9. Once you've acquired MDDED308.bin, copy it to the root of your FreeDOS flash drive as well.
  10. Install stock V2.07 BIOS (Provided). This is a necessary step because later versions of BIOS contain additional flash-protect features.
  11. Connect your FreeDOS USB drive to the PC, reboot into BIOS. In BIOS boot settings change Boot mode from UEFI to Legacy Support, and Boot priority to Legacy first. Press F10 to save and exit.
  12. Once you have booted into DOS environment, type BIOS and press Enter to flash BIOS.
  13. Then, once finished, type EC and hit Enter in order to flash the EC.
  14. Once the EC flash is over, the system will reboot. Both BIOS and EC versions should now be V3.08. Svl7's advanced menu should be accessible at this point.
  15. Enjoy your modded BIOS!
  16. Should you ever decide to revert to Stock BIOS, simply flash the original V3.08 BIOS using the official update file provided by Lenovo.

 

 

 

If things don't go right:

Spoiler

 

In case BIOS flash process was interrupted or didn't go as planned and your computer is unable to boot anymore, don't panic! The DOS flash drive you've created is conveniently supplied with the Crisis Recovery file. Just follow the instructions below in order to perform the Crisis Recovery:

Spoiler

 

  • Disconnect both battery and the AC power from your computer.
  • Connect your flash drive to the USB3 port closest to the HDMI port.
  • Reconnect the AC power cable while holding Win+R key combination.
  • While continuing to hold the keys, turn on the PC.
  • After some time, the access indicator on your flash drive will start blinking. At this point you can release the keys.
  • Your PC will spin the fans and beep occasionally during the course of several minutes.
  • After the operation is complete, you should be able to boot again.

 

 

 

 

It has also been observed that very rarely some users experience problems while flashing the EC. The system would report "DOS  memory buffer 2 allocate failed" error. If this is your case, just reboot the system. You will stay at the EC version 2.07 which although is not recommended, doesn't seem to have any negative effect on the PC. If you still want to attempt flashing the EC to the latest version, you could try preparing Svl7's original DOS flash drive instead of Rufus FreeDOS one.

 

 

 

 

Error 43:

If you intend using the GTX10XX-series Nvidia card as the eGPU (which you probably do), you are very likely to encounter the infamous Error 43 in Windows Device Manager. This is a widely known issue in the eGPU community and is not related to this particular mod in any way. Following this guide thoroughly will in most cases resolve the Error 43 issue.

 

Download:

Get your copy here!

 

P.S.:

Version of this mod for Lenovo Y400/Y500 models is coming soon!

 

Edited by High_Voltage
  • Thumbs Up 9

Share this post


Link to post
Share on other sites

In everyones name i just would like to thank you guys

  • Thumbs Up 3

Share this post


Link to post
Share on other sites

Thank you very much for your hard work.

 

Is there a way with this mod to use the internal display?

 

Also i have a slightly older adapter but i havent used it since amd prices were up in the sky. but i would appreciate it a lot if you can tell me if i can use a GTX 1050 Ti on my older adapter.  I own a 2nd generation adapter as far as i know

Edited by balint234
  • Thumbs Up 1

Share this post


Link to post
Share on other sites
1 hour ago, balint234 said:

Thank you very much for your hard work.

 

Is there a way with this mod to use the internal display?

 

There should be. @Swung Huang has reported that his friend got it working with internal screen. It would be great if he explained us all how to do it.

Share this post


Link to post
Share on other sites

On my side, some netizens have tested lenovo y410p and y400 for N CARDS, without setting, which is directly in the inner screen.

Share this post


Link to post
Share on other sites
43 minutes ago, FLY AWAY said:

On my side, some netizens have tested lenovo y410p and y400 for N CARDS, without setting, which is directly in the inner screen.

 

By that, do you mean it starts working with internal screen straight away, without any set-up?

Share this post


Link to post
Share on other sites
Just now, High_Voltage said:

 

那么,你的意思是它马上开始与内部屏幕一起工作,没有任何设置?

YES

Share this post


Link to post
Share on other sites
On 3/17/2018 at 6:44 PM, balint234 said:

i would appreciate it a lot if you can tell me if i can use a GTX 1050 Ti on my older adapter.  I own a 2nd generation adapter as far as i know

 

Sorry, didn't notice your edit straight away...

 

As far as I'm aware, the only difference between the two versions of the adapter is the pull-down resistor on #CLKREQ (middle one in the vertical column of three near the ultrabay connector). In the version 3 of the adapter it is changed from 1k to 10k. But let me tell you, removing it completely will have exactly the same effect. Your adapter will work with this BIOS mod afterwards.

  • Thumbs Up 1

Share this post


Link to post
Share on other sites
On 2018. 03. 19. at 3:08 PM, High_Voltage said:

 

Sorry, didn't notice your edit straight away...

 

As far as I'm aware, the only difference between the two versions of the adapter is the pull-down resistor on #CLKREQ (middle one in the vertical column of three near the ultrabay connector). In the version 3 of the adapter it is changed from 1k to 10k. But let me tell you, removing it completely will have exactly the same effect. Your adapter will work with this BIOS mod afterwards.

Do you think i can make it to work without replacing or removing anything?

Share this post


Link to post
Share on other sites
15 minutes ago, balint234 said:

Do you think i can make it to work without replacing or removing anything?

 

There is a very very small chance it would work on modified V2.07 BIOS (which I'd have to make). However, it's so much faster to just cut the track on the pcb with something sharp.

Share this post


Link to post
Share on other sites
17 minutes ago, High_Voltage said:

 

There is a very very small chance it would work on modified V2.07 BIOS (which I'd have to make). However, it's so much faster to just cut the track on the pcb with something sharp.

 

Im not very into these things but if im not mistaken the resistor we are talking about is the thing i circled with orange. But you saying if i cut the adapter where i put a red line it will work just fine?

Adapter.jpg

Share this post


Link to post
Share on other sites

You have correctly identified the resistor, but the track you selected is not connected to the resistor and cutting it would render the adapter unusable. I've marked the correct one for you with an orange cross.

Adapter.jpg.4928f5fc77675311f2e3d66413304775.jpg

Share this post


Link to post
Share on other sites
13 minutes ago, High_Voltage said:

You have correctly identified the resistor, but the track you selected is not connected to the resistor and cutting it would render the adapter unusable. I've marked the correct one for you with an orange cross.

Adapter.jpg.4928f5fc77675311f2e3d66413304775.jpg

Alright, thank you for your help and sorry for wasting your time. I have one last question for now: Should i cut at the cross you just showed me or should i ask my IT teacher at school to help me remove the resistor itself. Which one do you recommend?

Share this post


Link to post
Share on other sites

It's something simple, you can do by yourself, unless you are insecure about it, then you can ask someone with my experience on electronics to do it for you.

 

Thank you all so much!

Share this post


Link to post
Share on other sites
26 minutes ago, balint234 said:

lright, thank you for your help and sorry for wasting your time. I have one last question for now: Should i cut at the cross you just showed me or should i ask my IT teacher at school to help me remove the resistor itself. Which one do you recommend?

 

No problem. You haven't wasted any time of mine (yet). Regarding the modification, I'd strongly recommend you to get the resistor desoldered if your teacher has access to soldering equipment (simply because you can always solder it back later if something goes wrong).

 

Anyway, good luck with the mod and please report back whether it worked.

Share this post


Link to post
Share on other sites
30 minutes ago, High_Voltage said:

 

No problem. You haven't wasted any time of mine (yet). Regarding the modification, I'd strongly recommend you to get the resistor desoldered if your teacher has access to soldering equipment (simply because you can always solder it back later if something goes wrong).

 

Anyway, good luck with the mod and please report back whether it worked.

 

Thank you and sure i will report how things went. :)

Share this post


Link to post
Share on other sites

Much thanks! Can I undervolt my CPU/GPU with this BIOS? Is this an updated version of svI7's BIOS?

Share this post


Link to post
Share on other sites

I don't quite understand what you mean by "updated" (possibly because I didn't read the entire thread related to his mod). This mod uses the version provided by Svl7 in the head of his thread, but manually ported to V3.08 BIOS by me. The Svl7's custom GPU VBIOS is not included with this mod.

Share this post


Link to post
Share on other sites
6 hours ago, High_Voltage said:

I don't quite understand what you mean by "updated" (possibly because I didn't read the entire thread related to his mod). This mod uses the version provided by Svl7 in the head of his thread, but manually ported to V3.08 BIOS by me. The Svl7's custom GPU VBIOS is not included with this mod.

I see. Thank you.

Share this post


Link to post
Share on other sites

Did someone managed to send the eGPU signal back to the laptop screen without needing a external display connected to the eGPU?

Share this post


Link to post
Share on other sites
8 hours ago, YG-Zombies said:

Update Bios lenovo Y410p Bios 3.08   DC Detect Erro ?

 

Make sure your battery is connected and fully charged.

Share this post


Link to post
Share on other sites

Good evening, 

 

I'm unable to achieve step 1. When I install stock 3.08, my pc attempts to restart, turns off, boots again, and returns 

 

'INSYDEH20 - Secure Flash

 

Error : Invalid firmware image!!! 

 

Please press any key to reset system.....' 

 

At which point it reboots just fine with the slv7 modded 2.07

 

I'm not sure what the cause is. Possibly the fact that I have a aftermarket wifi card installed? Any help appreciated. 

 

For reference, I am using a 2nd generation adapter, trying to achieve modded 3.08 with the resistor fix in this topic. 

 

Thanks. 

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

  • Similar Content

    • By ounces
      After spending significant time and effort to obtain "DC" screen for 8770w (which is essentially a regular IPS panel with fancy board that converts 8bpc LVDS to 10bpc DP), I have finally got and installed one. All works great, except of the one problem...

      It has pretty bad banding / posterization in lower shadows. I have tried profiling it in different modes (full range, sRGB, rec709) - issue persists, and it indeed shows only in the lowest part of the characteristic curve. Mids and highlights are represented fine and show low deviation from reference values.

      GPU is HP K4000M, Nvidia drivers installed "as it is", video-card is identified without a hitch.
      Banding was not present with the original TN panel using the same GPU.
       
      While checking a software side, I have noticed that Win10 has bit depth set to 8-bit...
       

       
      My initial reaction was, - "Easy, let's change it in `nvidia-settings` and we're all set":

      ...but that would be too easy, right? After selecting 10bpc and clicking "Apply" screen went off and back on, only to show that depth stayed at 8bpc. Repeating the above few times yielded exactly the same result and I'm not in a hurry to meet a cliched (and laymen) definition of insanity.
       
      Let's check GPU-Z. So far so good, nothing unusual. Notice the highlighted BIOS version and subvendor string:
       
      Time to delve into other tabs. We are running WDDDM v2.4 which supports GPU dithering, but hey... BIOS version has changed!
       
      Briefly back to `nvidia-settings` to check what is reported by vendor's own utility:

       
      So far, we have two strings for BIOS version:
      80.04.5A.00.02 (let's call it an "A") 80.4.33.0.37 (let's call it a "B")  
      Notice how 2nd one seems to not follow hexademical notation. Lastly, "NVIDIA BIOS" drop-down, reports "A" version:
       
      ...and monitor section which confirms that rig is indeed capable of 10bpc, but currently running at mere 8bpc:

       
      Windows "Adapter settings", reports version "B". It's 2019, diversity is a must.

       
      "NVidia inspector" is of the same opinion:

       
      Now, let's use some seriously legit tools and check-in exported BIOS file in `nvflash`:

       
      Here we have two three interesting findings:
      Reported vendor is Dell, not an HP. See this link for details. BIOS version is back to "A". Have I already mentioned diversity? MXM module uses MX25L2005 flash storage in WSON-8 packaging. If things go real nasty, we should be able to rescue a patient via Pomona clip and external programmer.  
      Loading the same file in "Kepler BIOS tweaker" confirms the facts:

       
      EDID settings, courtesy of NVidia Control Panel. Hex dump can be found at the bottom of this post.
      ...Shall I be worried about "60.02Hz" refresh rate?
       
      To summarize:
      Why two different BIOS versions are reported? Anything to do with UEFI (e.g. HP is sideloading its own during boot)?.. Why two different vendors reported? As far as I remember, this is branded HP GPU. Where to get "clean" BIOS of K4000M for future experiments? Ideally from 8770w equipped with "DreamColor" panel from a factory.  
      Link to the dumps, BIOS ROM and monitor EDID: https://mega.nz/#F!zGgRmQIL!9q2QFZtHuK2RQ-WHXMA4Mg (also attached to this post)
      K4000M.zip
    • By Blocker35
      Hi guys, bit of a rookie to the whole EGPU scene. Currently I have:
       
      - MacBook Pro 2015 13inch (3.1GHz Core i7 16GB RAM)
      - Razer X Core 
      - Apple TB3 to TB2 Adapter
      -  TB2 Cable (Cable Matters)
      - 23inch AOC External Monitor
       
      I am wonder about what graphics card to get to run X-Plane11 with high graphic settings?
      I have purgewrangler set up and ready to use with an AMD graphics card, but am also open to the idea of an Nvidia graphics card.
      Any advice appreciated. I did not buy a Windows PC as I need a Mac for various other things and wanted an all-in-one laptop.
    • By svl7
      As it got pretty difficult for me to keep track of all the mod requests I decided to make a separate thread for bios / vbios modification requests. I hope it will make it easier for me to fulfill as many requests as possible.
      If you want to request a mod make sure you read through the following guidelines / rules, posts that do not comply with them will be deleted without further notice.
      Rules:
      You need to have a minimum of five approved posts (or 'T|I elite' status) in order to request a mod. Make sure I didn't already modify the corresponding bios / vbios. When posting a request you agree to flash and test the mod once it's done and post some feedback. (If you don't plan on using the mod then don't bother posting.) I only modify stock firmware. I don't work on anything that has already been tampered with.
      . For BIOS mods I need a link to an original BIOS update directly from the vendor (no mirror link) and most likely a dump of your BIOS (see instructions below).
      I only work on the latest BIOS versions unless there's a very specific reason for using an older one (in this case you need to specify so).
      In addition to this I need a dump of your BIOS as well as some additional information, read the "BIOS backup" section below, provide all the specified files.
      . For VBIOS mods I need a copy of your original vbios. (Only as attachment in a post here or per link to cloud storage such as dropbox, gdrive etc. per PM, filehosters are not accepted). No custom GPU clock requests unless it is for some reason not possible to overclock the corresponding system / GPU per software. No Windows activation mods. Check MDL for this kind of request. I can't guarantee that I will be able to fulfill a request.
      While I will try to keep it fair and consider the order of the requests at least up to a certain degree I will generally work on what I want and feel up to. Popular requests might be treated with higher priority.
      BIOS backup:
      For Intel 7 series chipsets run the attached flashChk tool from DOS and post the created flashchk.bin file (as attachment).
      Also grab this tool, run the backup.bat and send me created file. You will need to run it as administrator. If it reports and issue with the PCIe driver you have a crappy AV software and need to disable it temporarily.
      If you don't use Windows let me know and I will provide a different tool.
      For systems using the 8 series chipsets run the attached flashChk tool from DOS and post the created flashchk.bin file (as attachment) and wait for further instructions.
      - Thread under construction, more information will be added -
      flashChk.zip
      Fptw64_(8_series).zip
      Fpt_DOS_(8_series).zip
    • By adam.jakey
      Hey Everyone. I'm looking through the forums and found out that I can make my old Lenovo a Hackintosh. Is it worth doing? Can you dual boot Windows 10 and OS10? 
×

Important Information

By using this site, you agree to our Terms of Use. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.