Take a look at our
ThinkPads.com HOME PAGE
For those who might want to contribute to the blog, start here: Editors Alley Topic
Then contact Bill with a Private Message

Modded T530 bios w/ DIY guide (external clip bypass = software method via flashrom)

T430 and later, plus T530 and later series specific matters only
Post Reply
Message
Author
anthony24kb
Posts: 1
Joined: Wed Jan 01, 2020 2:06 am
Location: New London, CT USA

Modded T530 bios w/ DIY guide (external clip bypass = software method via flashrom)

#1 Post by anthony24kb » Wed Jan 01, 2020 2:09 am

THIS IS FOR THE T530 BUT THE SAME PROCESS TO DUMP AND PATCH APPLIES TO THE W530 (I don't own a W530 myself so you would have to dump the W530 bios with flashrom after unlocking bios regions and use UEFIPatch to apply an applicable patches.txt.)

This is a bypass to flash bios without external clip, substituted by the software utility flashrom in linux.

Works on all bios versions released prior to 2.62 as the vulnerability was fixed on later bios.

I've been seeing people having trouble with it so I've simplified the process.

Modded 2.60 T530 Bios w/ 0xE2 Unlocked, Advanced Menu, Wifi whitelist removed, and hackintosh speedstep patch. Flash OEM 2.60 Bios by disabling secure rollback protection in bios. Flash with flashrom after unlocking protected registers with chipsec in linux. This can be done with a live usb bootable linux. My T530 thinkpad can now play 1080p video just fine. IMPORTANT: At erasing and writing prompt in flashrom make sure to have a reliable power source to prevent brick.

PROOF:

https://imgur.com/a/gsAMslR

AVX AND AES-NI INSTRUCTIONS

HELL YEAH:

https://imgur.com/a/c1bnSMV

YOU CAN ALSO FLASH COREBOOT. THAT IS NOT RECOMMENDED FOR PEOPLE WHO WANT TO RUN WINDOWS. STAY WITH LENOVO BIOS.

MODDED BIOS LINK:

https://easyupload.io/698e2t

RAW OEM BIOS DUMP:

https://easyupload.io/

How to make your own dump and write it back to the bios chip:

IN WINDOWS WITH 2.60 BIOS:

#rollback to older BIOS with by running:

winflash64.exe /sd /file <path_to_.fl_file>

*after disabling rollback protection in the bios settings *

NEXT, BOOT FROM LIVE LINUX USB DRIVE:

# Append relaxed iomem parameter to existing command line options

iomem=relaxed

# BIOS_CNTL

sudo chipsec_main -m tools.uefi.s3script_modify -a add_op,pci_wr,0x1f00dc,0x9,1

# FLOCKDN

sudo chipsec_main -m tools.uefi.s3script_modify -a replace_op,mmio_wr,0xFED1F804,0x6008,0x2

S3 suspend after this. Can be done with:

systemctl suspend

# After resume>>>

#Set BIOSWE:

sudo setpci -s 00:1f.0 dc.b=09

#Unlock protected registers

sudo chipsec_util mmio write SPIBAR 0x74 0x4 0xAAF0800

sudo chipsec_util mmio write SPIBAR 0x78 0x4 0xADE0AD0

sudo chipsec_util mmio write SPIBAR 0x7C 0x4 0xB100B10

sudo chipsec_util mmio write SPIBAR 0x80 0x4 0xBFF0B40

# Test with this:

sudo chipsec_main -m common.bios_wp

#Read bios chip to file

sudo flashrom -p internal -r /root/Desktop/bios_backup.rom --ifd -i bios

#Write bios rom back to bios chip

sudo flashrom -p internal -w /root/Desktop/newbios.rom --ifd --noverify-all -i bios

IMPORTANT: FOR ERASING AND WRITING STEP MAKE SURE LAPTOP IS ON A RELIABLE POWER SOURCE PRIOR TO RUNNING THE WRITE COMMAND

IMPORTANT:

If you have the W530 model laptop use this patches.txt file with UEFIPatch software from Github to patch your bios.

https://gofile.io/?c=m0kwV4

Windows UEFIPatch:

https://github.com/LongSoft/UEFITool/re ... _win32.zip

Linux UEFIPatch:

https://github.com/LongSoft/UEFITool/re ... x86_64.zip

PATCH RAW BIOS DUMP:

./UEFIPatch bios_backup.rom patches.txt -o newbios.bin

FLASH BIOS BACK TO CHIP:

sudo flashrom -p internal -w /root/Desktop/newbios.rom --ifd --noverify-all -i bios

-----------------

If you want to use setup_var utility to modify bios settings I've done the guesswork and found what is needed.

Two separate extracted ifrs as a text document containing all variables:

Advanced bios settings accessible in mod (Some that are visible in menu and some that are not):

https://filebin.net/3vlc2zr0zryjwxsk/Pl ... t=68ux18lc

Basic settings accessible on non-mod bios:

https://filebin.net/3vlc2zr0zryjwxsk/Le ... t=68ux18lc

JPOESQ
**SENIOR** Member
**SENIOR** Member
Posts: 232
Joined: Sun May 16, 2004 2:26 pm
Location: San Francisco, CA
Contact:

Re: Modded T530 bios w/ DIY guide (external clip bypass = software method via flashrom)

#2 Post by JPOESQ » Thu Jan 09, 2020 9:30 am

2.60 was about 16 updates ago. What’s left for us at 2.77?
John P. O'Banion, JD, PE, BSEE
Registered Patent Attorney
http://www.intellectual.com

600, X220 (McDonnell bios, Linux), X230, T530 (1vyrain bios), X1 Carbon 5th Signature Edition

JPOESQ
**SENIOR** Member
**SENIOR** Member
Posts: 232
Joined: Sun May 16, 2004 2:26 pm
Location: San Francisco, CA
Contact:

Re: Modded T530 bios w/ DIY guide (external clip bypass = software method via flashrom)

#3 Post by JPOESQ » Mon Feb 03, 2020 12:15 am

These links don't work:

MODDED BIOS LINK:

https://easyupload.io/698e2t

RAW OEM BIOS DUMP:

https://easyupload.io/
John P. O'Banion, JD, PE, BSEE
Registered Patent Attorney
http://www.intellectual.com

600, X220 (McDonnell bios, Linux), X230, T530 (1vyrain bios), X1 Carbon 5th Signature Edition

RealBlackStuff
Admin Emeritus
Admin Emeritus
Posts: 20992
Joined: Mon Sep 18, 2006 5:17 am
Location: Dublin, Éire
Contact:

Re: Modded T530 bios w/ DIY guide (external clip bypass = software method via flashrom)

#4 Post by RealBlackStuff » Mon Feb 03, 2020 12:39 am

I think the above has been made redundant by Ivyprep/1vyrain.
Lovely day for a Guinness! (the Real Black Stuff). And pigs CAN fly!
Check out The Boardroom for Parts, Mods and Other Services.

"Computers don't lie, but liars can compute." (Terry Hayes's I Am Pilgrim)

JPOESQ
**SENIOR** Member
**SENIOR** Member
Posts: 232
Joined: Sun May 16, 2004 2:26 pm
Location: San Francisco, CA
Contact:

Re: Modded T530 bios w/ DIY guide (external clip bypass = software method via flashrom)

#5 Post by JPOESQ » Mon Feb 03, 2020 8:32 am

One of the members posted that the 1vyrain bios were not working on his X230 so I want to compare the versions on my T530. I experienced one of the quirks that the other member noted.
John P. O'Banion, JD, PE, BSEE
Registered Patent Attorney
http://www.intellectual.com

600, X220 (McDonnell bios, Linux), X230, T530 (1vyrain bios), X1 Carbon 5th Signature Edition

Post Reply
  • Similar Topics
    Replies
    Views
    Last post

Return to “ThinkPad T430-T490 / T530-T590 Series”

Who is online

Users browsing this forum: No registered users and 18 guests