[Sony Xperia X Questions & Answers] thegumptiontrap:
I've been trying to do this for days, and I think I've found a solution but I'm a little concerned about doing it.

The phone is an X Compact. The .fsc I found is labelled 34, not 34.2. The firmware, of course, is 34.2.

I added the .fsc to the files then created the bundled and did a "simulation" flash. I got this:

20/029/2017 19:29:41 - INFO - Selected Bundle for Sony Xperia X Compact(F5321). FW release : 34.2.A.2.47_R5C. Customization : Customized UK 2

20/029/2017 19:29:41 - INFO - Preparing files for flashing

20/031/2017 19:31:19 - INFO - Please connect your device into flashmode.

20/031/2017 19:31:19 - INFO - Start Flashing

20/031/2017 19:31:19 - INFO - No loader in the bundle. Searching for one

20/031/2017 19:31:19 - INFO - No matching loader found

20/031/2017 19:31:19 - WARN - No loader found or set manually. Skipping loader

20/031/2017 19:31:19 - INFO - Max packet size set to 512K

20/031/2017 19:31:20 - INFO - USB buffer size set to 512K

20/031/2017 19:31:23 - INFO - Parsing boot delivery

20/031/2017 19:31:23 - INFO - Found a template session. Using it : /var/root/.flashTool/firmwares/prepared/34.fsc

20/031/2017 19:31:23 - INFO - Set loader configuration : [00 01 00 00 00 0C]

20/031/2017 19:31:23 - INFO - Opening TA partition 2

20/031/2017 19:31:23 - INFO - Writing TA unit 00002774. Value : 01

20/031/2017 19:31:23 - INFO - Closing TA partition

20/031/2017 19:31:23 - INFO - Processing partition.sin

20/031/2017 19:31:23 - INFO - Checking header

20/031/2017 19:31:23 - INFO - Flashing data

20/031/2017 19:31:23 - INFO - Opening TA partition 2

20/031/2017 19:31:23 - INFO - Processing cmnlib_S1_Boot_MSM8956_LA1_0_1_N_160_AID_4_PLATFORM-LOIRE-COM-LIVE-HWID009B00E1-SWID0C-APPID01-OEM1-AID4-DEBUG00_S1-BOOT-LIVE-D553-0004-MMC.sin

20/031/2017 19:31:23 - INFO - Checking header

20/031/2017 19:31:23 - INFO - Flashing data

20/031/2017 19:31:24 - INFO - Processing emmc_appsboot_S1_Boot_MSM8956_LA1_0_1_N_160_AID_4_PLATFORM-LOIRE-COM-LIVE-HWID009B00E1-SWID09-OEM1-AID4-DEBUG00_S1-BOOT-LIVE-D553-0004-MMC.sin

20/031/2017 19:31:24 - INFO - Checking header

20/031/2017 19:31:24 - INFO - Flashing data

20/031/2017 19:31:24 - INFO - Processing hyp_S1_Boot_MSM8956_LA1_0_1_N_160_AID_4_PLATFORM-LOIRE-COM-LIVE-HWID009B00E1-SWID15-OEM1-AID4-DEBUG00_S1-BOOT-LIVE-D553-0004-MMC.sin

20/031/2017 19:31:24 - INFO - Checking header

20/031/2017 19:31:24 - INFO - Flashing data

20/031/2017 19:31:24 - INFO - Processing keymaster_S1_Boot_MSM8956_LA1_0_1_N_160_AID_4_PLATFORM-LOIRE-COM-LIVE-HWID009B00E1-SWID0C-APPID01-OEM1-AID4-DEBUG00_S1-BOOT-LIVE-D553-0004-MMC.sin

20/031/2017 19:31:24 - INFO - Checking header

20/031/2017 19:31:24 - INFO - Flashing data

20/031/2017 19:31:24 - INFO - Processing rpm_S1_Boot_MSM8956_LA1_0_1_N_160_AID_4_PLATFORM-LOIRE-COM-LIVE-HWID009B00E1-SWID0A-OEM1-AID4-DEBUG00_S1-BOOT-LIVE-D553-0004-MMC.sin

20/031/2017 19:31:24 - INFO - Checking header

20/031/2017 19:31:24 - INFO - Flashing data

20/031/2017 19:31:24 - INFO - Processing s1sbl_S1_Boot_MSM8956_LA1_0_1_N_160_AID_4_S1-BOOT-LIVE-D553-0004-ELF_S1-BOOT-LIVE-D553-0004-MMC.sin

20/031/2017 19:31:24 - INFO - Checking header

20/031/2017 19:31:24 - INFO - Flashing data

20/031/2017 19:31:24 - INFO - Processing sbl1_S1_Boot_MSM8956_LA1_0_1_N_160_AID_4_PLATFORM-LOIRE-COM-LIVE-HWID009B00E1-SWID00-OEM1-AID4-DEBUG00_S1-BOOT-LIVE-D553-0004-MMC.sin

20/031/2017 19:31:24 - INFO - Checking header

20/031/2017 19:31:24 - INFO - Flashing data

20/031/2017 19:31:24 - INFO - Closing TA partition

20/031/2017 19:31:24 - INFO - Opening TA partition 2

20/031/2017 19:31:24 - INFO - Writing TA unit 0000084F. Value : 1A CE 33 00 01 00 08 03 00 02 04 02 05 00 02 02 80 00 10 05 00 01 02 71 00 00 05 00 04 82 82 00 10 02 00 04 85 05 00 03 02 82 00 10 05 00 05 82 71 00 00 02 00 05 85 1A 00 02 00 A9 09 BE BA A9 09 00 00 B3 08 BE BA B3 08 00 00 7E 13 BE BA 7E 13 00 00 04 00 03 00 02 00 04 00 04 00 B0 04 0E 00 06 00 B8 0B 01 4B 00 00 00 03 96 00 2C 01 03 00 09 00 01

20/031/2017 19:31:24 - INFO - Writing TA unit 000008FD. Value : 00

20/031/2017 19:31:24 - INFO - Closing TA partition

20/031/2017 19:31:24 - INFO - Opening TA partition 2

20/031/2017 19:31:24 - INFO - Processing tzs1attest_S1_Boot_MSM8956_LA1_0_1_N_160_AID_4_PLATFORM-LOIRE-COM-LIVE-HWID009B00E1-SWID0C-APPID01-OEM1-AID4-DEBUG00_S1-BOOT-LIVE-D553-0004-MMC.sin

20/031/2017 19:31:24 - INFO - Checking header

20/031/2017 19:31:24 - INFO - Flashing data

20/031/2017 19:31:24 - INFO - Processing tz_S1_Boot_MSM8956_LA1_0_1_N_160_AID_4_PLATFORM-LOIRE-COM-LIVE-HWID009B00E1-SWID07-OEM1-AID4-DEBUG00_S1-BOOT-LIVE-D553-0004-MMC.sin

20/031/2017 19:31:24 - INFO - Checking header

20/031/2017 19:31:24 - INFO - Flashing data

20/031/2017 19:31:24 - INFO - Processing tzs1sbl_S1_Boot_MSM8956_LA1_0_1_N_160_AID_4_PLATFORM-LOIRE-COM-LIVE-HWID009B00E1-SWID0C-APPID01-OEM1-AID4-DEBUG00_S1-BOOT-LIVE-D553-0004-MMC.sin

20/031/2017 19:31:24 - INFO - Checking header

20/031/2017 19:31:24 - INFO - Flashing data

20/031/2017 19:31:24 - INFO - Closing TA partition

20/031/2017 19:31:24 - INFO - Opening TA partition 2

20/031/2017 19:31:24 - WARN - apps_log is excluded from bundle

20/031/2017 19:31:24 - WARN - diag is excluded from bundle

20/031/2017 19:31:24 - WARN - ssd is excluded from bundle

20/031/2017 19:31:24 - INFO - Processing adspso.sin

20/031/2017 19:31:24 - INFO - Checking header

20/031/2017 19:31:24 - INFO - Flashing data

20/031/2017 19:31:24 - INFO - Processing cache.sin

20/031/2017 19:31:24 - INFO - Checking header

20/031/2017 19:31:24 - INFO - Flashing data

20/031/2017 19:31:24 - INFO - Processing modem.sin

20/031/2017 19:31:24 - INFO - Checking header

20/031/2017 19:31:24 - INFO - Flashing data

20/031/2017 19:31:25 - WARN - Qnovo is excluded from bundle

20/031/2017 19:31:25 - INFO - Processing amss_fs_1.sin

20/031/2017 19:31:25 - INFO - Checking header

20/031/2017 19:31:25 - INFO - Flashing data

20/031/2017 19:31:25 - INFO - Processing amss_fs_2.sin

20/031/2017 19:31:25 - INFO - Checking header

20/031/2017 19:31:25 - INFO - Flashing data

20/031/2017 19:31:25 - INFO - Processing amss_fsg.sin

20/031/2017 19:31:25 - INFO - Checking header

20/031/2017 19:31:25 - INFO - Flashing data

20/031/2017 19:31:25 - WARN - persist is excluded from bundle

20/031/2017 19:31:25 - INFO - Processing kernel.sin

20/031/2017 19:31:25 - INFO - Checking header

20/031/2017 19:31:25 - INFO - Flashing data

20/031/2017 19:31:25 - INFO - Processing fotakernel.sin

20/031/2017 19:31:25 - INFO - Checking header

20/031/2017 19:31:25 - INFO - Flashing data

20/031/2017 19:31:25 - INFO - Processing ramdump.sin

20/031/2017 19:31:25 - INFO - Checking header

20/031/2017 19:31:25 - INFO - Flashing data

20/031/2017 19:31:26 - INFO - Processing system.sin

20/031/2017 19:31:26 - INFO - Checking header

20/031/2017 19:31:26 - INFO - Flashing data

20/031/2017 19:31:57 - INFO - Closing TA partition

20/031/2017 19:31:57 - INFO - Opening TA partition 2

20/031/2017 19:31:57 - INFO - Processing oem.sin

20/031/2017 19:31:57 - INFO - Checking header

20/031/2017 19:31:57 - INFO - Flashing data

20/031/2017 19:31:57 - WARN - userdata is excluded from bundle

20/031/2017 19:31:57 - INFO - Closing TA partition

20/031/2017 19:31:57 - INFO - Opening TA partition 2

20/031/2017 19:31:57 - WARN - Unit 2212 not found in bundle

20/031/2017 19:31:57 - INFO - Closing TA partition

20/031/2017 19:31:57 - INFO - Opening TA partition 2

20/031/2017 19:31:57 - INFO - Writing TA unit 00000964. Value : 00

20/031/2017 19:31:57 - INFO - Closing TA partition

20/031/2017 19:31:57 - INFO - Opening TA partition 2

20/031/2017 19:31:57 - INFO - Writing TA unit 000009B6. Value :

20/031/2017 19:31:57 - INFO - Closing TA partition

20/031/2017 19:31:57 - INFO - Opening TA partition 2

20/031/2017 19:31:57 - INFO - Writing TA unit 00000907. Value : 00

20/031/2017 19:31:57 - INFO - Closing TA partition

20/031/2017 19:31:57 - INFO - Opening TA partition 2

20/031/2017 19:31:58 - INFO - Writing TA unit 0000091A. Value : 00

20/031/2017 19:31:58 - INFO - Closing TA partition

20/031/2017 19:31:58 - INFO - Opening TA partition 2

20/031/2017 19:31:58 - WARN - Unit 2550 not found in bundle

20/031/2017 19:31:58 - INFO - Closing TA partition

20/031/2017 19:31:58 - INFO - Opening TA partition 2

20/031/2017 19:31:58 - WARN - Unit 2553 not found in bundle

20/031/2017 19:31:58 - INFO - Closing TA partition

20/031/2017 19:31:58 - INFO - Opening TA partition 2

20/031/2017 19:31:58 - INFO - Processing elabel.sin

20/031/2017 19:31:58 - INFO - Checking header

20/031/2017 19:31:58 - INFO - Flashing data

20/031/2017 19:31:58 - INFO - Closing TA partition

20/031/2017 19:31:58 - INFO - Opening TA partition 2

20/031/2017 19:31:58 - INFO - Writing TA unit 00002725. Value : 32 30 31 37 2D 30 35 2D 32 30 20 31 39 3A 33 31 3A 35 38 00

20/031/2017 19:31:58 - INFO - Writing TA unit 00002774. Value : 00

20/031/2017 19:31:58 - INFO - Closing TA partition

20/031/2017 19:31:58 - INFO - Ending flash session

20/031/2017 19:31:58 - INFO - Flashing finished.

20/031/2017 19:31:58 - INFO - Please unplug and start your phone

20/031/2017 19:31:58 - INFO - For flashtool, Unknown Sources and Debugging must be checked in phone settings