LENOVO (IBM) Bioses, especially Thinkpad.

Discussion in 'BIOS Mod Requests. Post Requests Only' started by ancestor(v), Jun 17, 2009.

  1. Serg008

    Serg008 MDL BIOS/EFI Guru

    Joined:
    Feb 23, 2010
    Messages:
    22,777
    Likes Received:
    10,073
    Trophy Points:
    390
    #7901 Serg008, Mar 30, 2017
    Last edited: Mar 30, 2017
    try
    NB2MFG1.exe /? (for available options)

    add. for oldest version
    /R SL UEFI BIOS Get SLP2 Information
    /S SL UEFI BIOS Set SLP2
    /S CL UEFI BIOS Clear SLP2
     
  2. Adamante

    Adamante MDL Novice

    Joined:
    Jan 2, 2016
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    0
    #7902 Adamante, Mar 30, 2017
    Last edited by a moderator: Apr 20, 2017
    Code:
    
    /R BF1                    Get Main Battery Flag1 Information
    /R BF2                    Get Main Battery Flag2 Information
    /R KBV                    Get KBC Version Information
    /R UEB                    Get UEFI Boot Status Information
    /R SDC                    Get Shut Down Code
    /S CCD "ON/OFF"           Set CCD ON or OFF
    /S WAN "ON/OFF"           Set WWAN ON or OFF
    /S WL  "ON/OFF"           Set WLAN ON or OFF
    /S BT  "ON/OFF"           Set BT ON or OFF
    /S HDH                    Set HDD to AHCI Mode
    /S HDC                    Set HDD to Compatibility Mode
    /S SM3                    Set SMBIOST1 to Type 0
    /S SM3                    Set SMBIOST1 to Type 1
    /S SM3                    Set SMBIOST1 to Type 2
    /S SM3                    Set SMBIOST1 to Type 3
    /S DEC "ON/OFF"           Set or Clear DEC flag
    /S BMT [Binary File]      (Set)Load BIOS Setup Menu Table
    /S RFD "ON/OFF"           Unlock or Lock RFID
    /S BSC [CHARGE]           Set Battery Start Charge Point
    /S BCS                    Clear Battery Start Charge Point
    /S BTC [CHARGE]           SetBattery Stop Charge Point
    /S BCT                    Clear Battery Stop Charge Point
    /S FS  [SPEED]            Set Fan Speed (SPEED =0, 2000 to 9999)
    /S SFS                    Stop Set Fan Speed
    /S MBA "ON/OFF"           Enable or Disable MBAT (Main Battery Auto-Learning)
    /S ABA "ON/OFF"           Enable or Disable ABAT (Aux. Battery Auto-Learning)
    /S MAB "ON/OFF"           Charge or Discharge Main Battery
    /S AUB "ON/OFF"           Charge or Discharge Aux. Battery
    /S HKF "ON/OFF"           Enable or Disable Hotkey Function Scan Code
    /S LED "ON/OFF"           Turn ON or OFF Power LED
    /S PN2                    Set Project Name
    /R FD                     Get Family Name
    /S FD                     Set Family Name
    /R FF                     Get Function Flag
    /R UU                     Get UUID Status
    /S UU                     Set UUID
    /R LS                     Get Lenovo Serial Number Information(SMBIOST2)
    /S LS  "Invalid"          Set(Write) Lenovo Serial Number(SMBIOST2)
    /R PN                     Get Product Name String
    /S PN  "Invalid"          Set Product Name String
    /R MT                     Get MTM String
    /S MT                     Set MTM String
    /R BR                     Get Brand Type
    /S BR  "C"                Set Brand Type
    /R KB                     Get Keyboard ID
    /S KB  "K"                Set Keyboard ID
    /R EP                     Get EPA Flag
    /S EP  "E"                Set EPA Flag
    /R LO                     Get LOGO Flag
    /S LO  "L"                Set LOGO Flag
    /R 13                     Get 1394 UUID
    /S 13  "1122334455667788" Set 1394 UUID
    /R SN                     Get Mother Board Serial Number
    /S SN  "Invalid"          Set Mother Board Serial Number
    /R IF                     Get IFFS Flag Status
    /R IF                     Get IFFS Flag Status
    /R AO                     Get AOAC Flag Status
    /S AO  "ON/OFF"           Set or Clear AOAC Flag
    /S CV                     Clear Variable
    /R RFD                    Check RFID Status
    /R AT                     Check Asset Tag
    /R BN                     Check Brand Name
    /R BL                     Check Billed Type
    /S AT                     Set Asset Tag
    /S BN                     Set Brand Name
    /S BL                     Set Billed Type
    /S MA  "AABBCCDDEEFF"     Set MAC ID
    /R BBV                    Get Main Battery Device Chemistry
    /R BDN                    Get Main Battery Device Name
    /R BMN                    Get Main Battery Manufacturer Name
    /R BCH                    Get Main Battery Charging Current
    /R BCV                    Get Main Battery Charging Voltage
    /R BMO                    Get Main Battery Mode
    /R BMA                    Get Main Battery Manufacture Access
    /R BVO                    Get Main Battery Voltage
    /R UBV                    Get Aux. Battery Device Chemistry
    /R UDN                    Get Aux. Battery Device Name
    /R UMN                    Get Aux. Battery Manufacturer Name
    /R UCH                    Get Aux. Battery Charging Current
    /R UCV                    Get Aux. Battery Charging Voltage
    /R UMO                    Get Aux. Battery Mode
    /R UMA                    Get Aux. Battery Manufacture Access
    /R UVO                    Get Aux. Battery Voltage
    /R UTM                    Get Aux. Battery Temperature
    /R UCU                    Get Aux. Battery Current
    /R UAC                    Get Aux. Battery Average Current
    /R URC                    Get Aux. Battery Relative state of Charge Information
    /R UBC                    Get Aux. Battery Absolute state of Charge Information
    /R UCA                    Get Aux. Battery Remain Capacity Information
    /R UFC                    Get Aux. Battery Full Charge Capacity Information
    /S FF                     Set Function Flag
    /R UAE                    Get Aux. Battery Average Time to Empty Information
    /R UAF                    Get Aux. Battery Average Time to Full information
    /R UCC                    Get Aux. Battery Cycle Count Times
    /R UDC                    Get Aux. Battery Design Capacity Information
    /R UDV                    Get Aux. Battery Design Voltage Information
    /R USP                    Get Aux. Battery Specification Information
    /R UMD                    Get Aux. Battery Manufacture Date information
    /R USN                    Get Aux. Battery Serial Number information
    /R UAI                    Get Aux. Battery Alarm Information
    /R USI                    Get Aux. Battery Status Information
    /R UEC                    Get Aux. Battery Error Code Information
    /R UF1                    Get Aux. Battery Flag1 Information
    /R UF1                    Get Aux. Battery Flag1 Information
    /R UF2                    Get Aux. Battery Flag2 Information
    /S BWL "ON/OFF"           Turn ON or OFF Battery White LED
    /S BAL "ON/OFF"           Turn ON or OFF Battery Amber LED
    /S HDR                    Set HDD to RAID Mode
    /R BUD                    Get Main Battery Manufacture Data Information
    /R UUD                    Get Aux. Battery Manufacture Data Information
    /S LES                    Stop Set LED
    /R EDI                    Check Panel EDID
    /R RBV                    Get RTC Battery Voltage
    /S RBS                    Reset Battery Start Charge Point
    /S RBT                    Reset Battery Stop Charge Point
    /S BFU                    Get Battery First Used Date Information
    /S HDI                    Get HDD Identify Information
    /S ODI                    Get ODD Identify Information
    /R BSA                    Get Main Battery Software Authentication
    /R USA                    Get Auxiliary Battery Software Authentication
    /S UEB "ON/OFF"           Set UEFI Boot
    /S LEB                     Set Boot mode to Legacy
    /R MF                     Get MACID Flag Status Information
    /S MF  "ON/OFF"           Set or Clear MACID Flag
    /R P1A                    Get PCIE1 Root ASPM Status Information
    /S P10 "ON/OFF"           Enable or Didable PCIE1 Root ASPM L0s
    /S P11 "ON/OFF"           Enable or Didable PCIE1 Root ASPM L1
    /R P2A                    Get PCIE2 Root ASPM Status Information
    /S P20 "ON/OFF"           Enable or Didable PCIE2 Root ASPM L0s
    /S P21 "ON/OFF"           Enable or Didable PCIE2 Root ASPM L1
    /R P3A                    Get PCIE3 Root ASPM Status Information
    /S P30 "ON/OFF"           Enable or Didable PCIE3 Root ASPM L0s
    /S P31 "ON/OFF"           Enable or Didable PCIE3 Root ASPM L1
    /R P4A                    Get PCIE4 Root ASPM Status Information
    /S P40 "ON/OFF"           Enable or Didable PCIE4 Root ASPM L0s
    /S P41 "ON/OFF"           Enable or Didable PCIE4 Root ASPM L1
    /R P5A                    Get PCIE5 Root ASPM Status Information
    /S P50 "ON/OFF"           Enable or Didable PCIE5 Root ASPM L0s
    /S P51 "ON/OFF"           Enable or Didable PCIE5 Root ASPM L1
    /R P6A                    Get PCIE6 Root ASPM Status Information
    /S P60 "ON/OFF"           Enable or Didable PCIE6 Root ASPM L0s
    /S P61 "ON/OFF"           Enable or Didable PCIE6 Root ASPM L1
    /R P7A                    Get PCIE7 Root ASPM Status Information
    /S P70 "ON/OFF"           Enable or Didable PCIE7 Root ASPM L0s
    /S P71 "ON/OFF"           Enable or Didable PCIE7 Root ASPM L1
    /R P8A                    Get PCIE8 Root ASPM Status Information
    /S P80 "ON/OFF"           Enable or Didable PCIE8 Root ASPM L0s
    /S P81 "ON/OFF"           Enable or Didable PCIE8 Root ASPM L1
    /R DVA                    Get Discrete VGA ASPM Status Information
    /S DV0 "ON/OFF"           Enable or Didable Discrete VGA ASPM L0s
    /S DV1 "ON/OFF"           Enable or Didable Discrete VGA ASPM L1
    /R DRA                    Get Discrete VGA Root ASPM Status Information
    /S DR0 "ON/OFF"           Enable or Didable Discrete VGA Root ASPM L0s
    /S DR1 "ON/OFF"           Enable or Didable Discrete VGA Root ASPM L1
    /R LAA                    Get LAN ASPM Status Information
    /S LA0 "ON/OFF"           Enable or Didable LAN ASPM L0s
    /S LA1 "ON/OFF"           Enable or Didable LAN ASPM L1
    /R CRA                    Get CardReader ASPM Status Information
    /S CR0 "ON/OFF"           Enable or Didable CardReader ASPM L0s
    /S CR1 "ON/OFF"           Enable or Didable CardReader ASPM L1
    /R WWA                    Get WWAN ASPM Status Information
    /S WW0 "ON/OFF"           Enable or Didable WWAN ASPM L0s
    /S WW1 "ON/OFF"           Enable or Didable WWAN ASPM L1
    /R WLA                    Get WLAN ASPM Status Information
    /S WL0 "ON/OFF"           Enable or Didable WLAN ASPM L0s
    /S WL1 "ON/OFF"           Enable or Didable WLAN ASPM L1
    /R BFF                    Get BIOS Back Flash Flag Status Information
    /S BFF "ON/OFF"           Enable or Didable BIOS Back Flash Flag
    /S SSB "ON/OFF"           Enable or Didable Secure Boot
    /S ULB [TYPE]             Set Boot mode to Legacy Boot Legacy First
    /S RSB                    Reset Secure Boot Database
    /S CSB                    Clear Secure Boot Database
    /S SOO "ON/OFF"           Enable or disable OS Optimized Defaults
    /R VTP                    Get VGA Type Information
    /S TLL                    Turn ON or OFF ThinkPad Light LED
    /S TLL                    Turn ON or OFF ThinkPad Light LED
    /S BBF                    Set Built-In Battery Flag
    /S BFU "OFF"              Clear Battery First Used Date
    /R SOO                    Get OS Optimized Defaults Status Information
    /R SSB                    Get Secure Boot Option Status Information
    /R OSP                    Get OS PN Number
    /S OSP  "Invalid"          Set OS PN Number
    /S TPS "ON/OFF"           Set Touch Panel Screen ON or OFF
    /R TPS                    Get TPS Status
    /R CKB                    Get MB Board ID
    /R MAI                    Get I/O Space MAC Address
    /R MAF                    Get Manufacturer Name
    /S MAF                    Set Manufacturer Name
    /R OSS                    Get OS Descriptor
    /S OSS  "Invalid"          Set OS Descriptor
    /R SFD                     Get Secure Flash Disable Status Information
    /S SFD  "ON/OFF"           Set or Clear Secure Flash Disable Flag
    /R MN                     Get Machine Serial Number
    /S MN  "Invalid"          Set Machine Serial Number
    /R CNV                    Get MB Board NV type
    /S MEU                    Set ME unlock for ME update
    /S MEL                    Set ME lock for ME update
    /S SDC                    Set system to do cold boot
    /R M1                     Get M1 BIOS Support Status Information
    /S M1  "ON/OFF"           Set or Clear M1 BIOS Support Flag
    /R AC                     Get AC status
    /S SPM                    Set Battery Ship Mode
    /S STC                    Stop Battery Charge
    /S RBC                    Reset Battery charge and discharge command
    /R EDT                    Check Panel EDID Type
    /S FS2  [SPEED]            Set Fan2 Speed (SPEED =0, 2000 to 9999)
    /R GBT                     Get Boot Type
    /S DAB                     Set Boot mode to Dual
    /S ADT                     Set Adapter Type into EEPROM
    /R ADT                     Read Adapter Type from EEPROM
    /R OID                     Read OemID from EEPROM
    /R OTI                     Read OemTableID from EEPROM
    /S OID                     Write OemID into EEPROM
    /S OTI                     Write OemTableID into EEPROM
    /R MBM                    Get Type 2 Manufacturer Name
    /S MBM                    Set Type 2 Manufacturer Name
    /R MCM                    Get Type 3 Manufacturer Name
    /S MCM                    Set Type 3 Manufacturer Name
    /R FCB                    Get First Char of Bios Version
    /S FCB                    Set First Char of Bios Version
    /R T1V                    Get Type1 Version data
    /S T1V                    Set Type1 Version data
    /R T2V                    Get Type2 Version data
    /S T2V                    Set Type2 Version data
    /R T3V                    Get Type3 Version data
    /S T3V                    Set Type3 Version data
    /R T3S                    Get Type3 Serial Number
    /S T3S                    Set Type3 Serial Number
    /R OUL                     Get USB Legacy Status Information
    /R OWL                     Get Wireless LAN Information
    /R OPB                     Get Power Beep Information
    /R OIV                     Get U Oil VT Status Information
    /R OBF                     Get Downgrade Allow Information
    /R OHM                     Get Hotkey Switch Information
    /S OUL  "ON/OFF"           Set or Clear USB Legacy Flag
    /S OWL  "ON/OFF"           Set or Clear Wireless LAN Flag
    /S OOP  "ON/OFF"           Set or Clear Power Beep Flag
    /S OIV  "ON/OFF"           Set or Clear  Oil VT Flag
    /S OHM  "ON/OFF"           Set or Clear Hotkey Switch Flag
    /S OBF  "ON/OFF"           Set or Clear Downgrade Allow Flag
    /S LD  "ON"           Set BIOS Load Default Flag
    /R LIF                     Get Lid inhibit function
    /S LIF  "ON/OFF"           Set Lid inhibit function
    /S ASC [CHARGE]           Set Second Battery Start Charge Point
    /S ACS                    Clear Second Battery Start Charge Point
    /S ATC [CHARGE]           Set Second Battery Stop Charge Point
    /S ACT                    Clear Second Battery Stop Charge Point
    /R LSL                    Get Lenovo SLP2
    /S BC1                    Clear discharge flag Main Battery
    /S BC2                    Clear discharge flag Aux Battery
    /S BC3                    Set stop battery charging
    /S BC4                    Clear stop battery charging
    /R CPU                    Get MB Board CPU type
    /R LO3                    Get Lenovo OA3
    /R LPL                    Get MB Board support Prolink Duck or not
    /S LMM  "ON/OFF"           Set or Clear Lenovo MFG Mode
    /R LMM                     Get Lenovo MFG Mode status
    /R LMM                     Get Lenovo MFG Mode status
    /S DIL "ON/OFF"           Turn ON or OFF DC in LED
    /S IP6  "ON/OFF"           Enable or disable IPV6
    /R IP6                       Get  IPV6 status
    /S PX1  "ON/OFF"           Enable or disable PXE retry 10 times
    /R PX1                       Get  PXE retry 10 times funciton status
    /R TF8                     Read Type248CountryCode from EEPROM
    /S TF8                     Write Type248CountryCode into EEPROM
    /S S0H  "ON/OFF"           Enable or disable Sata port0 hot plug
    /R S0H                       Get Sata port0 hot plug status
    /R SAR                     Read SAR from EEPROM
    /S SAR                     Write SAR into EEPROM
    /R AMC                     Get Absolute Message Status
    /S AMC  "ON/OFF"           Set or Clear Absolute Message
    /S LUB                     Set Boot mode to Legacy mode UEFI First
    /R TPM                     Get TPM Function Support Information
    /S TPM  "ON/OFF"         Set TPM Function Support or Unsupport
    /R CMH                    Check CMOS Health Status
    /S CMH OFF                Clear CMOS Health Status
    /S PXE               Set PXE Boot First
     
  3. Serg008

    Serg008 MDL BIOS/EFI Guru

    Joined:
    Feb 23, 2010
    Messages:
    22,777
    Likes Received:
    10,073
    Trophy Points:
    390
    try
    /R LSL to Get Lenovo SLP2
    /S LSL to Set Lenovo SLP2
     
  4. Adamante

    Adamante MDL Novice

    Joined:
    Jan 2, 2016
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    0

    C:\BIOS\BIOS>NB2MFG1.exe /R LSL
    ::NB2MFG1 : 1.13_LV6 (For Lenovo Windows)
    ::Copyright 2016 Quanta - 2016/01/04

    Lenovo LV6 OA2 INVALID , Return value is 0x00

    C:\BIOS\BIOS>NB2MFG1.exe /S LSL
    ::NB2MFG1 : 1.13_LV6 (For Lenovo Windows)
    ::Copyright 2016 Quanta - 2016/01/04

    Invalid Command
     
  5. Adamante

    Adamante MDL Novice

    Joined:
    Jan 2, 2016
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    0
    /R SFD Get Secure Flash Disable Status Information
    /S SFD "ON/OFF" Set or Clear Secure Flash Disable Flag

    It seems we can disable SecureFlash and flash modified bios. I'll try and post result.
     
  6. Serg008

    Serg008 MDL BIOS/EFI Guru

    Joined:
    Feb 23, 2010
    Messages:
    22,777
    Likes Received:
    10,073
    Trophy Points:
    390
  7. Adamante

    Adamante MDL Novice

    Joined:
    Jan 2, 2016
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    0
  8. Serg008

    Serg008 MDL BIOS/EFI Guru

    Joined:
    Feb 23, 2010
    Messages:
    22,777
    Likes Received:
    10,073
    Trophy Points:
    390
  9. Adamante

    Adamante MDL Novice

    Joined:
    Jan 2, 2016
    Messages:
    12
    Likes Received:
    0
    Trophy Points:
    0
    I've tried with
    ::LBGRW : 1.05 (For Lenovo Windows)
    ::Copyright 2016 Quanta - 2016/08/02

    ::NB2MFG1 : 1.06 (For Lenovo Windows)
    ::Copyright 2013 Quanta - 2013/03/22

    ::NB2MFG1 : 1.13_LV6 (For Lenovo Windows)
    ::Copyright 2016 Quanta - 2016/01/04

    But nothing helps..
     
  10. quid

    quid MDL Addicted

    Joined:
    Oct 22, 2010
    Messages:
    567
    Likes Received:
    718
    Trophy Points:
    30
    #7910 quid, Mar 30, 2017
    Last edited by a moderator: Apr 20, 2017
    Can you run NB2MFG1.exe /? for the older (1.06) version?

    Give DNB2MFG1.EXE (DOS) (from 0zcn11ww.zip) a go as well as it's older than Windows versions

    Other options that might work:
    LERW.EXE (DOS) / LC4K.EXE (DOS) / WLERW.EXE (Windows) / UpToolSu.exe (Windows)

    You can find some of those by searching google for: U310_U410_BIOS_65CN13WW

    I want to say at least one of those was posted here at one time, maybe in the tools thread. Might have been lost with the massive post deletion though.

    You might see what values the following shows:
    Code:
    LBGRW_x64.exe /R OSP                  Get OS PN Number
    LBGRW_x64.exe /R OSS                  Get OS Descriptor
    Maybe modifying those values could do something.

    As an aside, do the following commands report anything?:
    Code:
    LBGRW_x64.exe /R AT
    Code:
    NB2MFG1.exe /R AT
     
  11. quid

    quid MDL Addicted

    Joined:
    Oct 22, 2010
    Messages:
    567
    Likes Received:
    718
    Trophy Points:
    30
    You also might look at the tools with a hex editor. The marker is still embedded in the latest tools and it looks like there are undocumented options.
     
  12. Nate001

    Nate001 MDL Novice

    Joined:
    Apr 3, 2017
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
  13. Serg008

    Serg008 MDL BIOS/EFI Guru

    Joined:
    Feb 23, 2010
    Messages:
    22,777
    Likes Received:
    10,073
    Trophy Points:
    390
  14. GreyFoxRED

    GreyFoxRED MDL Novice

    Joined:
    Apr 4, 2017
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
  15. Serg008

    Serg008 MDL BIOS/EFI Guru

    Joined:
    Feb 23, 2010
    Messages:
    22,777
    Likes Received:
    10,073
    Trophy Points:
    390
  16. stolmik

    stolmik MDL Novice

    Joined:
    Apr 14, 2017
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
  17. Serg008

    Serg008 MDL BIOS/EFI Guru

    Joined:
    Feb 23, 2010
    Messages:
    22,777
    Likes Received:
    10,073
    Trophy Points:
    390
  18. johnblazer

    johnblazer MDL Novice

    Joined:
    Mar 1, 2013
    Messages:
    18
    Likes Received:
    10
    Trophy Points:
    0
  19. Serg008

    Serg008 MDL BIOS/EFI Guru

    Joined:
    Feb 23, 2010
    Messages:
    22,777
    Likes Received:
    10,073
    Trophy Points:
    390
  20. johnblazer

    johnblazer MDL Novice

    Joined:
    Mar 1, 2013
    Messages:
    18
    Likes Received:
    10
    Trophy Points:
    0