How to extract and edit a Lenovo Phoenix TDK Bios

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • SMDFlea
    Super Moderator
    • Jan 2018
    • 20961
    • UK

    #1

    How to extract and edit a Lenovo Phoenix TDK Bios

    How to extract and edit a Lenovo Phoenix TDK Bios.

    For this guide we`ll use a Phoenix bios update for lenovo AMD models: 320-15AST, 320-17AST, 320-14AST as an example how you can extract the bios and edit it to the correct size for bios programming.

    Download the bios update from: https://download.lenovo.com/consumer...s/5pcn20ww.exe
    EDIT: The bios has been added to the post as the link may go dead.

    The bios update needs extracting twice,using extraction software first then using the command line.

    Extract the 5pcn20ww.exe using UniversalExtractor RC2 ,or innoextractor from github.
    https://github.com/Bioruebe/UniExtra...ExtractRC2.zip




    After you`ve extracted the first exe check if the 5PCN20WW.exe is a phoenix TDK bios by looking at the file details,right click on the exe - select properties then the details tab.



    Next,make a new folder on your C: drive called TDK,then move or copy the 5PCN20WW.exe into that folder,then you need to use the command line,as admin, and change to the directory of the TDK folder.Press the enter/return key after each of the commands:

    cd C:\TDK

    5PCN20WW.exe /ext




    Now you should have a bunch of files inside the TDK folder including the bios (bios.cap) capsule.The capsule header needs removing but cannot be extracted using UEFITool,which is one of the popular methods to remove a capsule header from some bios vendors so it needs editing with a hex editor.
    I use HxD,its free and the latest version includes a portable edition: https://mh-nexus.de/en/downloads.php?product=HxD20

    Open the file bios.cap with HxD. Click on Edit - Select block or use Ctrl+E .The length of the header we need to remove in hex is 318 ,set the Start-offset at 0 and the End-offset at 317 and click on OK . Delete the selected part using Edit - delete ,or the Del/Delete key on your keyboard.




    Next, select Edit - Select Block or Ctrl+E and set the Start-offset at 0 ,click on the Length button and enter 800000 (as the length), or choose the End-offset instead and set to 7FFFFF.




    Next, select Cut or Copy. Make a new file using Ctrl+N or File - New ,then select Edit - paste insert or Ctrl+V to paste into the new file.
    Select Save or Save as to save the new 8,192KB 8MB bios.


    Just a sidenote: Some other phoenix bios headers need cutting from 0-1E7 (length 1E8),after selecting the bios/bios update length check the last hex line of your backup to make sure it matches.

    NEW SIDENOTE:Some newer phoenix bios headers need cutting from 0-31F (Length 320)

    Another new sidenote: Some older bios updates have a header from 0-1CF (Length 1D0)
    .
    Attached Files
    Last edited by SMDFlea; 10-09-2023, 06:33 AM. Reason: Added bios update to post
    All donations to badcaps are welcome, click on this link to donate. Thanks to all supporters
  • mcplslg123
    Badcaps Legend
    • Jun 2015
    • 7262
    • india

    #2
    Re: How to extract and edit a Lenovo Phoenix TDK Bios

    Thanks@smdflea. Though the process to extract these sort of file is known to some of us, it will still help a lot of members here.

    Comment

    • lapfix
      Badcaps Legend
      • Mar 2020
      • 2730
      • my workshop

      #3
      Re: How to extract and edit a Lenovo Phoenix TDK Bios

      Back about this great tutorial , for intel models and if the bios.cap was crypted , is there any solution or soft to decrypted !

      Comment

      • bachir2004
        Badcaps Veteran
        • Feb 2015
        • 437
        • maroc

        #4
        Re: How to extract and edit a Lenovo Phoenix TDK Bios

        good job.sticky thread?

        Comment

        • SMDFlea
          Super Moderator
          • Jan 2018
          • 20961
          • UK

          #5
          Re: How to extract and edit a Lenovo Phoenix TDK Bios

          Originally posted by lapfix
          Back about this great tutorial , for intel models and if the bios.cap was crypted , is there any solution or soft to decrypted !
          The Lenovo bios.cap files aren't crypted, they just have a capsule header. The guide is only for phoenix TDK packed bios'es.
          Last edited by SMDFlea; 10-16-2020, 12:13 AM.
          All donations to badcaps are welcome, click on this link to donate. Thanks to all supporters

          Comment

          • bilton2011
            New Member
            • Nov 2017
            • 5
            • Uganda

            #6
            Re: How to extract and edit a Lenovo Phoenix TDK Bios

            thanks for this good info. i learned something here and i would request to get more education from you
            Last edited by piernov; 01-22-2021, 07:44 AM. Reason: remove full quote of OP

            Comment

            • arif3203
              Senior Member
              • Feb 2021
              • 55
              • Banyumas

              #7
              Re: How to extract and edit a Lenovo Phoenix TDK Bios

              thanks for all my teacher

              Comment

              • menshawy
                Badcaps Veteran
                • Aug 2013
                • 400
                • egypt

                #8
                Re: How to extract and edit a Lenovo Phoenix TDK Bios

                thanks you teacher
                great job

                Comment

                • tony stark
                  Member
                  • Aug 2017
                  • 36
                  • india

                  #9
                  Re: How to extract and edit a Lenovo Phoenix TDK Bios

                  Last edited by SMDFlea; 07-16-2021, 02:19 AM. Reason: Removed full OP quote

                  Comment

                  • dspok
                    Badcaps Veteran
                    • Jan 2014
                    • 553
                    • Nepal

                    #10
                    Re: How to extract and edit a Lenovo Phoenix TDK Bios

                    thank you so much.

                    Comment

                    • nediam_nori
                      New Member
                      • Aug 2021
                      • 5
                      • Romania

                      #11
                      Re: How to extract and edit a Lenovo Phoenix TDK Bios

                      Hi all. What extention do you give the edited file?*.bin,*.cap?
                      Thanx

                      Comment

                      • SMDFlea
                        Super Moderator
                        • Jan 2018
                        • 20961
                        • UK

                        #12
                        Re: How to extract and edit a Lenovo Phoenix TDK Bios

                        Originally posted by nediam_nori
                        Hi all. What extention do you give the edited file?*.bin,*.cap?
                        Thanx
                        *.bin or *.rom
                        All donations to badcaps are welcome, click on this link to donate. Thanks to all supporters

                        Comment

                        • Adenilson10
                          New Member
                          • Sep 2015
                          • 2
                          • brasil

                          #13
                          Re: How to extract and edit a Lenovo Phoenix TDK Bios

                          Thank you so much.

                          Comment

                          • hcggbe
                            New Member
                            • Sep 2022
                            • 6
                            • cn

                            #14
                            Re: How to extract and edit a Lenovo Phoenix TDK Bios

                            If using thinkpad self extracting exe file, like "Thinkpad BIOS Update Utility", then this utility extract some file like *.fl1,*.fl2 files; then how cut and grap the bios blocks?

                            Comment

                            • SMDFlea
                              Super Moderator
                              • Jan 2018
                              • 20961
                              • UK

                              #15
                              Re: How to extract and edit a Lenovo Phoenix TDK Bios

                              Originally posted by hcggbe
                              If using thinkpad self extracting exe file, like "Thinkpad BIOS Update Utility", then this utility extract some file like *.fl1,*.fl2 files; then how cut and grap the bios blocks?
                              With a hex editor
                              All donations to badcaps are welcome, click on this link to donate. Thanks to all supporters

                              Comment

                              • munir100
                                Senior Member
                                • Dec 2018
                                • 179
                                • uae

                                #16
                                Re: How to extract and edit a Lenovo Phoenix TDK Bios

                                Originally posted by SMDFlea
                                With a hex editor
                                thank u r graed'

                                Comment

                                • munir100
                                  Senior Member
                                  • Dec 2018
                                  • 179
                                  • uae

                                  #17
                                  Re: How to extract and edit a Lenovo Phoenix TDK Bios

                                  Originally posted by munir100
                                  thank u r graed'
                                  hp and dell bios leates gen how to extere

                                  Comment

                                  • SMDFlea
                                    Super Moderator
                                    • Jan 2018
                                    • 20961
                                    • UK

                                    #18
                                    Re: How to extract and edit a Lenovo Phoenix TDK Bios

                                    Originally posted by munir100
                                    hp and dell bios leates gen how to extere
                                    This thread topic is for the "Lenovo Phoenix TDK Bios" only.

                                    Extracting HP and Dell bios updates are mentioned throughout the bios requests threads

                                    We do have a sticky thread called "BIOS guides, methods, resources and tools"

                                    https://www.badcaps.net/forum/showpo...45&postcount=8

                                    If other members can make some guides we will gladly add them to the sticky thread. Myself and piernov can`t do everything ourselves.
                                    Last edited by SMDFlea; 08-12-2023, 03:20 PM.
                                    All donations to badcaps are welcome, click on this link to donate. Thanks to all supporters

                                    Comment

                                    • coolshrimp
                                      Senior Member
                                      • Nov 2016
                                      • 54
                                      • Canada

                                      #19
                                      Re: How to extract and edit a Lenovo Phoenix TDK Bios

                                      Just a sidenote: Some other phoenix bios headers need cutting from 0-1E7 (length 1E8),after selecting the bios/bios update length check the last hex line of your backup to make sure it matches.

                                      NEW SIDENOTE:Some newer phoenix bios headers need cutting from 0-31F (Length 320)
                                      Is there a list for what models get cut where or how can I know?

                                      I have a X1 Carbon 5th Gen (.FLA1, .FLA2 Update Files For the Bios And EC).
                                      Where do i trim, and how is the EC update done?

                                      Currently I get powering on issues and on a boot "ME FW Downgrade - Request MeSpiLock Failed" cause I need to apply latest update?

                                      Comment

                                      • SMDFlea
                                        Super Moderator
                                        • Jan 2018
                                        • 20961
                                        • UK

                                        #20
                                        Re: How to extract and edit a Lenovo Phoenix TDK Bios

                                        Originally posted by coolshrimp
                                        Is there a list for what models get cut where or how can I know?

                                        I have a X1 Carbon 5th Gen (.FLA1, .FLA2 Update Files For the Bios And EC).
                                        Where do i trim, and how is the EC update done?

                                        Currently I get powering on issues and on a boot "ME FW Downgrade - Request MeSpiLock Failed" cause I need to apply latest update?
                                        Off-topic,but it can be done the same way by hex editing.Maybe someone else will post a guide/tutorial.
                                        All donations to badcaps are welcome, click on this link to donate. Thanks to all supporters

                                        Comment

                                        Related Topics

                                        Collapse

                                        • macabook
                                          🛠️ MSI GP75 Leopard MS-17E71 – No Display, Deep BIOS/EC Troubleshooting
                                          by macabook
                                          Hello everyone,

                                          I’m currently working on a dead MSI GP75 Leopard (MS-17E71) motherboard (i7 CPU, NVIDIA GPU) with a no display/no backlight issue initially. After extensive investigation, I’m at a critical stage involving EC firmware, BIOS/ME region interaction, and possible deep corruption. I'm seeking advanced insight from anyone with experience in EC/BIOS sync issues or PCH-level behavior. Here’s a full breakdown:
                                          🧩 Initial Issue
                                          • Board powers on (fans spin, keyboard lights up and can be adjusted, caps lock led lights), but no display or backlight
                                          • External display (HDMI) shows
                                          ...
                                          07-24-2025, 02:17 PM
                                        • survivalbloke
                                          Unable to extract bios file from Lenovo bios exectuable
                                          by survivalbloke
                                          I'm trying to extract a flashable bios file(ch341a) from the lenovo bios executable download. I have tried the instructions from this site https://starkeblog.com/lenovo/uefi/2...pdate-exe.html, which are not working. According to those instructions, after issuing the command
                                          Code:
                                          "innoextract 7wcn38ww.exe"
                                          it should create an \app folder, inside which, I should find a newly created "7wcn38ww.exe" file. I should then be able to extract that using 7zip and find my .FD file.

                                          The trouble I'm having is that I'm not getting the newly...
                                          06-12-2024, 07:55 AM
                                        • jbonavita
                                          ASUS TP500LA BIOS request/repair/merge?
                                          by jbonavita
                                          Hi, my laptop wont boot at all
                                          With original bios no POST, only LED lights
                                          With alternative BIOS from model TP500LN (flashed via programmer) the notebook works again
                                          Some issues
                                          A- with bios from 500LN, it won't update from bios of model 500LA (from 500LN v203 to 500LA v300)
                                          B- If updated from 500LN version 203 to 300, the battery stops being recognized

                                          Things I tried

                                          1- Update / clear ME: Took the non working bios, made a backup, and did this: https://www.badcaps.net/forum/troubl...theory/trouble...
                                          04-29-2025, 09:38 PM
                                        • zenius
                                          [REQUEST] Dell G3 3579 BIOS Password & AMI Protected Range/BIOS Guard Unlock
                                          by zenius
                                          Hello, I have an old Dell G3 3579 (ST: 2WQ7LP2-8FC8) with a newer 8FC8 BIOS password. I have successfully attached to the flash chip (W25Q128JVSQ) on the motherboard with a CH341A programmer and made several modifications using Intel FIT (e.g., allow software SPI write) without bricking. I was also able to boot to a modified GRUB shell where I attempted to edit many BIOS security related options like BIOS Guard/Lock, Flash Signature Override, ME FW Image Re-Flash, etc.

                                          Unfortunately, some of these modifications like to Intel BIOS Guard failed because it is fused into the PCH. Also,...
                                          12-08-2024, 06:13 AM
                                        • Bloodhoundje
                                          HP Pavilion Gaming Laptop 15-ec2523nd - Dimm2 slot disabled after corrupt bios repair? Advice requested.
                                          by Bloodhoundje
                                          Hi everyone,

                                          I have been doing hardware repair as a hobby for some years now and recently decided to learn about repairing laptops as a fun challenge.

                                          I managed to get my hands on a "HP Pavilion Gaming 15-ec2523nd" notebook that only shows a white power LED and doesnt respond to anything.

                                          After initial testing I concluded the bios seems to be corrupted since all voltages are normal and there are no shorts. HP has a feature for a bios restore from USB with winkey+B for this model. This did not work.

                                          I have desoldered the bios chip (GigaDevice...
                                          03-16-2024, 03:12 PM
                                        • Loading...
                                        • No more items.
                                        Working...