Just to make sure it’s noticed, I’ll copy here again what happened when I tried to flash the Sony Android using Flashtool:
16/037/2020 22:37:18 - INFO - Selected Bundle for Sony Xperia X(F5121). FW release : 34.4.A.2.118-R1E. Customization : 3-AT
16/037/2020 22:37:18 - INFO - Preparing files for flashing
16/037/2020 22:37:51 - INFO - Please connect your device into flashmode.
16/037/2020 22:37:52 - INFO - Opening device for R/W
16/037/2020 22:37:52 - INFO - Device ready for R/W.
16/037/2020 22:37:52 - INFO - Reading device information
16/037/2020 22:37:52 - INFO - Phone ready for flashmode operations.
16/037/2020 22:37:52 - INFO - **Opening TA partition 2**
16/037/2020 22:37:52 - INFO - **Current device : Unknown:** Sep 6 2018/05:53:44 - CB512A07NC - Unknown: Sep 6 2018/05:53:44 - Unknown: Sep 6 2018/05:53:44 - Unknown: Sep 6 2018/05:53:44
16/037/2020 22:37:52 - INFO - Closing TA partition
16/037/2020 22:37:52 - ERROR - The bundle does not match the connected device
16/037/2020 22:37:52 - INFO - Ending flash session
Is the TA partition the one that gets deleted when unlocking the bootloader?
Also, at first it seems to recognize the phone, but then it tries to open that TA partition 2 and there it says Current device : Unknown
… What does it all mean?