[Request] Modded TPM Firmware (downgrade Infineon 9665 FW)

If anybody can modify for my this file (see first post) and change both final 0 of version numbers to 2 (see #6 post, TPM20_5.62.3126.0_to_TPM12_4.43.258.0 ----->TPM20_5.62.3126.2_to_TPM12_4.43.258.2) and give back to me modified and with checksum corrected (to avoid flasher "corrupt file" error) I will thank you!
I’m not able to do it…

@snowind :
As you can see, I have moved this thread into the better matching "BIOS Modding Requests" Sub-Forum. Furthermore I have customized the thread title. If you are not satisfied with the new title, you can change it at any time by editing the start post.


@Fernando your decision is perfect.
Maybe you can help me with this thread. I’m lost with this binary modification to get flash possible.

@snowind :
Please attach the original (not modded) *.bin file.
I would like to test, whether the UEFITool corrects the checksum automaticly while inserting or replacing an Option ROM module.

@Fernando

You have the file on post #1 and modification needed on #7
Thanks a lot

@snowind :
I generally do not modify BIOSes or BIOS modules on request.
If you want help from my side regarding the checksum correction, please attach the original *.bin file and the one, which has been modified by you (except the checksum correction).
Additional question: Where did you get the original *.bin file?

@Fernando
Sry to steep in… i do believe that the user has problems with a modified BIN file of a TPM module FW that he owns and was flashed at his own will, based on shared info from another user, its not a bios file.
The user can correct me if im wrong.

Initial post from user: (REQUEST) MSI 970A-G43 PLUS TPM 2.0 SUPPORT MOD

Shared info by another user: (REQUEST) MSI 970A-G43 PLUS TPM 2.0 SUPPORT MOD

@MeatWar not exactly.
I bought a TPM 2.0 module, and I like to downgrade it to 1.2 via software.
Firstly I updated between versions based on 2.0, totally official, not mod inside.
The other user give to me a compressed file with Infineon TPM flasher and lot of versions, all official, both to update and downgrade too. Only some combination possible.
Issue is that I can’t officially downgrade from my TPM 2.0 version to 1.2, I told the issue on both posts. This is the reason because I want the mod.

@Fernando

I get the files from another user, he uploaded one copy of Infineon flasher and a lot of official combinations of upgrade and downgrades.
Infineon since 2017 has not more updates because now every brand make the changes, not Infineon.
I uploaded the files into a rar file, the original has the end of the file name on "0", the mod ones has number "2".

TPM downgrade mod.rar (570 KB)

@snowind :
MeatWar is right - I thought, that your *.bin file is a mainboard BIOS module (I didn’t read all posts of the related threads).
Since it is obviously a Firmware for a specific TPM device, I cannot help you at all. I have never tried to modify a device’s Firmware.
Sorry!

@Fernando
Some troubles with my English and both your messages and @MeatWar
This is not a mainboard BIOS module. It is a TPM module that plugs into a motherboard header.
It is a specific firmware for TPM device, mine is an external TPM module with 14-1 pins.
It is not a BIOS module! My MSI motherboard has TPM 1.2 BIOS module into UEFI, this is another thing! This is the reason: my MSI motherboard with TPM 1.2 module “into” the BIOS sees the TPM 2.0 physical module on UEFI menu when I plug it, but it doesn’t work on Windows, there is a lot of similar cases over internet.
Infineon flasher works over Windows and it sees the physically inserted module.
I need a “forced” downgrade to v4 (TPM 1.2). In my particular case, there is no file to downgrade from v5 to v4, it is not on official possible combinations (but I think we can force it).

For Infineon chip:

TPM 1.2 module - 4.x firmware
TPM 2.0 module - 5.x firmware

UEFI with TPM 1.2 needs TPM 1.2 module (4.x firmware)
UEFI with TPM 2.0 needs TPM 2.0 module (5.x firmware)

Sometimes TMP module is solder into the board, for example notebooks. Firmware update is allowed independently of motherboard.
Sometimes board brand updates UEFI TPM 1.2 to 2.0 support, so both BIOS update and firmware update are needed.
Sorry my English and I hope you can help me!

More info:

silvenga.com/upgrading-firmware-infineon-tpm/

@maxdarksol Now, with this all information, can you help me modding the file that I need?

The chip that has my TPM module:

infineon.com/cms/en/product/security-smart-card-solutions/optiga-embedded-security-solutions/optiga-tpm/slb-9665tt2.0/

I think these firmware are incremental rather than full, and FIPS firmware is different from common criteria, so we can’t simply modify the version number to install incremental updates.
By the way, I didn’t found the downgrade 1.2 firmware for FIPS.

Maybe you have the truth, I don’t know if it is incremental.
This is a screenshot trying to modify the last version number.
I’m very lost with this…

screenshot.jpg

I need fw 5.63.3353.2
this key are “2”

I want a modified TPM.

I have TPM20_5.62.3126.2 but I wish to upgrade to the latest TPM20_5.63.3144.0

Can anyone do a mod for me PLEASE? → (Like: TPM20_5.62.3126.2_to_TPM20_5.63.3144.0.BIN)

Note: UEFI Tool does not help. “UEFI volumes not found” error appears. :frowning:

With HxD it is not possible to grab a single file inside the .BIN file of: TPM20_5.0.1089.2_to_TPM20_5.62.3126.2.BIN, TPM20_5.51.2098.0_to_TPM20_5.63.3144.0.BIN etc.

Seing this post of yours last year…

Isn’t this an offboard bought TPM module? …
You downgraded, now you’re back 2.0…isn’t the FW in the module itself, why are you opening the main bios image with UEFI tool, this is no tool for such data, the TPM one.
Why looking for TPM fw in main bios image…

MeatWar

You are right. This one is another Chinese TPM module, for another x99 mainboard not for x79.

I have many but 2 type TPM modules for MSI, Asus. I have managed to remove MSI 14 pin TPM 2.0 chip and soldered to Asus 20 pin type. Seen it works revision was TPM20_5.0.1089.2 flashed to TPM20_5.62.3126.2 I have bought this MSI TPM 2.0 module for pin modding earlier. Tried changing pins for Huanan dual processor X99 but did not succeeded.

I have also 2 unused TPM 1.2 for MSI. Bought one for Z77A-GD65. But there is no TPM menu inside the Bios menu of this board suprisingly, I couln’t use it. Other TPM 1.2 module was for MSI Big Bang Marshal, it was fine. (But one of Ram transistor chips burned, I have no chance to try after ordering.) I may think removing one of their chip later after trying a lately purchased one, that is an Asrock module.

I have seen an 18 pin Asrock cheap second hand TPM 2.0 module, asked TPM version but seller does not know. I will remove the chip and see what it is soon.

“why are you opening the main bios image with UEFI tool, this is no tool for such data.” I have not tried to open bios image, I have tried to open the BIN file of TPM image such like TPM20_5.0.1089.2_to_TPM20_5.62.3126.2.BIN, yes maybe was a stupid act.