Git Product home page Git Product logo

Comments (32)

Rawit-git avatar Rawit-git commented on September 28, 2024 2

I've used revision 5 on my x230 which had its TPM stuck in MFG mode since my flash attempt with the first release of 1vyrain. TPM seems fully functional again (BIOS options are back to normal) with revision 5 and setting up BitLocker went perfect where it before it would get stuck on TPM provisioning and didn't allow encryption.

I did change the SSD (Samsung 860 EVO) in the meantime and did a fresh install of Windows 10 Pro so I do need to verify what actually is being used. The recently addressed flaws in hardware encryption/BitLocker updates makes it a bit non-transparent to the end-user to what combination of encryption and software/hardware is being used.

Revision 4 (the Google Drive link) didn't work for me at all. It gave me an "Error: Image size (0 B) doesn't match the flash chip's size" error, which makes me think it was missing a file.

Edit: Checked with "manage-bde -status C:", TPM is utilized. I enabled hardware encryption on the drive, secure erased it, reset the security chip (TPM) through the BIOS and did a clean install of Windows 10 again. Works perfectly and BitLocker was able to software and hardware encrypt and use the TPM.

from 1vyrain.

digmorepaka avatar digmorepaka commented on September 28, 2024 1

@Pentaphon If you need the fixed features, you can update by downgrading with IVprep. And then installing the new revision.

from 1vyrain.

dte102 avatar dte102 commented on September 28, 2024

I'm getting a no valid BIOS error on my L430, what's the BIOS version needed to perform this on a L430? I recently change the motherboard on my L430 so I'm on G3ET93WW(2.53) instead of G3ET94WW(2.54). Did the compatibility test again and also got a compatible for this BIOS version as well.

from 1vyrain.

digmorepaka avatar digmorepaka commented on September 28, 2024

@dte102 I just checked, 2.54 and below is compatible according to the report. This is an error in the script, as we forgot to add the L430. Do the exploit "test", after resuming from suspend exit the script, and run the following commands
dd if=/dev/zero of=/tmp/pad.img bs=1M count=4
cat /tmp/pad.img /root/bios/L430.rom > /tmp/padded.rom
flashrom -p internal:laptop=force_I_want_a_brick --ifd -i bios -N -w /tmp/padded.rom
And report back the results, if there are any errors during flashing, or if the worked.

from 1vyrain.

digmorepaka avatar digmorepaka commented on September 28, 2024

Image and md5sum updated. Link is the same.

from 1vyrain.

dte102 avatar dte102 commented on September 28, 2024

@digmorepaka Getting an error when trying to flash for the L430.
Found Winbound flash chip "W25Q64.V" (8192 kb, SPI) mapped at physical address 0x00000000ff800000.
Reading ich descriptor.. done.
Using region: "bios".
Write/erase is not working yet on your programmer in its current configuration.
Aborting.

from 1vyrain.

digmorepaka avatar digmorepaka commented on September 28, 2024

@dte102 add /root/flashrom/ before the flashrom command to point to the newer binary, Debian's flashrom looks to be ancient

from 1vyrain.

dte102 avatar dte102 commented on September 28, 2024

@digmorepaka it went through an initial flash and then came upon the same error again except it ended with the line "verified flash" or something and close after aborting when it was flashing something else. Decided to reboot to test out what flashed but unfortunately it seems like the laptop bricked cause it rebooted to a blank screen, no bios or anything for a couple minutes. Once I unplug everything and re-plug it in, it refuses to boot nor do any indicator lights come on. I've got my previous motherboard that still boots, replaced it because I accidentally ripped the touch pad port off of the motherboard. I can place that inside and still test for things out if needed.

from 1vyrain.

digmorepaka avatar digmorepaka commented on September 28, 2024

@dte102 do you have an SPI flasher(for example ch341a)? We can recover the bricked board.

from 1vyrain.

dte102 avatar dte102 commented on September 28, 2024

@digmorepaka Not at the moment, was always planning to get one before 1vyrain came out for my T430 but still never got around to it. I do have a raspberry pi that can be used in place of it, but I don't have a test clip nor jumper wires either.

from 1vyrain.

digmorepaka avatar digmorepaka commented on September 28, 2024

@dte102 damn that sucks, both from the standpoint of you having a bricked board, and the inability to test L430 support properly

from 1vyrain.

dte102 avatar dte102 commented on September 28, 2024

@digmorepaka I've ordered a SPI kit so we can recover that board whenever it arrives since it was cheap. In the mean time when I have more free time, I'll swap boards and try flashing it again to see what happens on my 2.54 board. I'll take a picture if it comes up with the same error as before.

from 1vyrain.

digmorepaka avatar digmorepaka commented on September 28, 2024

If you are going to flash, set a custom url and point to the image in the patched-bios repo.

from 1vyrain.

digmorepaka avatar digmorepaka commented on September 28, 2024

Image updated due to issue pointed out in #39. MD5 of course updated and links stays the same.

from 1vyrain.

n4ru avatar n4ru commented on September 28, 2024

Will finally be merging this in later this week if there are no further updates.

from 1vyrain.

digmorepaka avatar digmorepaka commented on September 28, 2024

Updated with a fix for TPMs. You should now be able to use the TPM normally. Tested on T430 so far there it worked, report any bricks or success

from 1vyrain.

digmorepaka avatar digmorepaka commented on September 28, 2024

Image was broken. Rolled back debian to known working version with proper roms.

from 1vyrain.

Pentaphon avatar Pentaphon commented on September 28, 2024

@n4ru If we have Revision 4 already installed, do we just flash Revision 5 over that when it comes out?

from 1vyrain.

Pentaphon avatar Pentaphon commented on September 28, 2024

you can update by downgrading with IVprep. And then installing the new revision.

Will I experience any issues if I have a non-whitelisted Wifi card installed?

from 1vyrain.

digmorepaka avatar digmorepaka commented on September 28, 2024

Will I experience any issues if I have a non-whitelisted Wifi card installed?

Yes, you will need to remove the WLAN card. IVprep flashes an unmodified rom.

from 1vyrain.

HarMaximus avatar HarMaximus commented on September 28, 2024

Tested version 5 on T430s. Fixed TPM issue.
Thanks :)

from 1vyrain.

iXPert12 avatar iXPert12 commented on September 28, 2024

Tested v5 on T430. TPM fixed. All good. Thanks.

from 1vyrain.

n4ru avatar n4ru commented on September 28, 2024

Thank you digmo for staying on top of this while my lazy ass hasn't found time/motivation to push out Rev 5. Will be finally merging the remaining changes and posting the new iso/md5 today (hopefully...).

from 1vyrain.

digmorepaka avatar digmorepaka commented on September 28, 2024

rev.5 merged

from 1vyrain.

pgera avatar pgera commented on September 28, 2024

Is tpm supposed to be entirely fixed in this version, or does it still require provisioning in the stock state ? I just flashed the current version, and I can't provision the tpm.

from 1vyrain.

iXPert12 avatar iXPert12 commented on September 28, 2024

Hi pgera. Did you use ivprep before flashing the new version? As far as i remember, i cleared the TPM from bios after flashing ivprep, and then used ivyrain to update to latest version.

from 1vyrain.

pgera avatar pgera commented on September 28, 2024

I didn't clear or take ownership on the stock bios. That should work. My question was about whether you can clear and take ownership again on the modified one. Are you able to clear/provision the tpm right now on the modified one ?

from 1vyrain.

digmorepaka avatar digmorepaka commented on September 28, 2024

Personally i have only tested going from when it was in "inactive". There it worked fine. More testing has to be done to know exactly.

from 1vyrain.

iXPert12 avatar iXPert12 commented on September 28, 2024

Yes, i can clear it on the latest bios now.

from 1vyrain.

pgera avatar pgera commented on September 28, 2024

@iXPert12 , after you clear the tpm from tpm.msc, it reboots and you get the confirmation screen, right ? In my case, it reboots, but fails to show the confirmation screen.

from 1vyrain.

tlaurion avatar tlaurion commented on September 28, 2024

@iXPert12 @pgera @n4ru :
Testing on W530, trying to only unlock ifd+flash exposed w530 chip under palmrest with 1vyprepped verson backupd, unlocked and flashed back to then flash internally (ctrl+c after 1vyrain Bios lock exploit chain) to flash heads maximized build internally. No problem there.

Steps

  • Use pamona clip not chinese kit alternative, assemble as described under linuxboot/heads-wiki#120 (comment)
  • Backup exposed 8mb chip into backup.rom, run ifdtool -u backup.rom, flashrom back backup.rom.new (with unlocked ifd) to 8mb chip.
  • Run 1vyprep from windows on laptop (wish 1vyprep was containing wlan chip whitelist).
  • Run 1vyrain exploint chain to unlock Bios lock, get to prompt to flash, CTRL-C and then get backup of full 12mb combined flash with flashrom -p internal:laptop=force_I_want_a_brick -r w530_1vypreppred_unlocked_ifd_backup.rom
  • Do other experiments below

Problem arises under Heads when attempting to set a TPM Disk Unlock Key, where TPM reset works as expected.
I'm also wondering in which state the TPM should be left in.

Eg:
signal-2023-12-21-111322

Past testings from 1vyprep unlocked ifd reflashed to 8mb spi:

TPM active, clear settings

  • reflash heads maximized build from 1vyrain ( CTRL+C at flashing choice to drop to shell. flashrom -p internal:laptop=force_I_want_a_brick -w heads-w530-maximized.rom required)
  • reset tpm works
  • sealing additional secret fails (Add TPM Disk Unlock Key (DUK) from show boot option and selecting new boot default): NVWrite can't set new nvram range

TPM Active, Windows Security chip settings -> clear

  • redoing 1vyrain, flashing heads from above manual flashrom command
  • From heads, reset tpm works as expected
  • adding TPM DUK still fails

TPM clear settings + TPM set to inactive

  • redoing 1vyrain, flashing heads from above manual flashrom command
  • From heads, reset tpm works as expected
  • Same error as in picture...

TPM clear settings + TPM deactivated
signal-2023-12-21-120346

  • redoing 1vyrain, flashing heads from above manual flashrom command
  • From heads, reset tpm works as expected
  • Same error as in picture...

Looking to prepare a step-by-step instruction guide here. But cannot replicate a successful TPM reset where TPM is properly owned (TPM presence?! all settings in stock BIOS were set to disabled under TPM. ... Confused here!)

from 1vyrain.

tlaurion avatar tlaurion commented on September 28, 2024

Nevermind, it was linuxboot/heads#1565 which is now fixed.

from 1vyrain.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.