[Sony Cross-Device General] dogtagundergrounder:
Hello, I have XZ1 compact and was running Pie 47.2.A.11.228.

Tried downgrading using the latest newflasher to the recommended versions in the renoroot thread.

I am using Linux and extracted the firmware to a folder, put newflasher inside, removed all *.ta files and persist.sin.

At first dumped the ta but then I flashed and since then it's been bootlooping, tried flashing the other version, same thing.

I didn't unpack partition.zip! Was that the problem? I've since then tried to flash with the partition files in "partition" folder but I still get the same problems.

I have attached the tadump before the first flash.

Here is the log while trying to flash version 47.1.A.8.49 with .ta files except simlock .ta and partition folder complete with files:

--------------------------------------------------------
newflasher.x64 v48 by Munjeni @ 2017/2020
--------------------------------------------------------

Determining available free space:

Available space to caller = 210606 MB
Total space on current drive = 469325 MB
Free space on drive = 234469 MB
found device with vid:0x0fce pid:0xb00b.

Reboot mode at the end of flashing:
typa 'a' for reboot to android, type 'f' for reboot to fastboot, type 's' for reboot to same mode, type 'p' for poweroff, and press ENTER.
a

Optional step! Type 'y' and press ENTER if you want dump trim area, or type 'n' and press ENTER to skip.
Do in mind this doesn't dump drm key since sake authentifiction is need for that! But it is recommend to have dump in case hard brick!
n
Product: G8441
Version: 0.4-SONY-0.31
Bootloader version: 1306-5035_X_Boot_MSM8998_LA1.1_O_79
Baseband version: 1307-7511_47.2.A.11.228
Serialno: BH905DEH9E
Secure: yes
Loader version: XFL-MSM8998-N-45
Phone ID: 0000:35835408140184
Device ID: 37CFE750
Platform ID: 2005E0E1
Max download size: 104857600
Sector size: 4096
Rooting status: ROOTABLE
Ufs info: SKhynix,H28U62301AMR,D003
Emmc info: FAILEmmc-info not supported
Default security: ON
Keystore counter: 1
Security state: 162509AE6B4B54D487F2496DDC4D4B6C6747A73B
Sake root: D159
S1 root: S1_Root_e69c
Root key hash: C30DEC2471CEA311E6918657367B51068A39583BBF89FD68B379BCD5A709AB1B
Slot count: 0
Current slot: F
Battery level: 0 unsupported command

Device is put now in flash mode.

Repartitioning...
partition_delivery.xml not exist in partition folder or no partition folder.

Processing partition-image-LUN2_X-FLASH-ALL-C93B.sin
- setting up inflate...
- infflating, please wait...

- inflate returned: 0
- gzpipe: ok.
- gunziped ok.
- Extracting from partition-image-LUN2_X-FLASH-ALL-C93B.sin
- Extracting signature partitionimage_2.cms
- Uploading signature ./partition/partitionimage_2.cms
signature:0000053e
OKAY.
- Extracting sparse chunk partitionimage_2.000
- Uploading sparse chunk ./partition/partitionimage_2.000
download:00006000
OKAY.
Repartition:2
OKAY.
- End of partition-image-LUN2_X-FLASH-ALL-C93B.sin

Processing partition-image-LUN0_X-FLASH-ALL-C93B.sin
- setting up inflate...
- infflating, please wait...

- inflate returned: 0
- gzpipe: ok.
- gunziped ok.
- Extracting from partition-image-LUN0_X-FLASH-ALL-C93B.sin
- Extracting signature partitionimage_0.cms
- Uploading signature ./partition/partitionimage_0.cms
signature:0000053e
OKAY.
- Extracting sparse chunk partitionimage_0.000
- Uploading sparse chunk ./partition/partitionimage_0.000
download:00006000
OKAY.
Repartition:0
OKAY.
- End of partition-image-LUN0_X-FLASH-ALL-C93B.sin

Processing partition-image-LUN1_X-FLASH-ALL-C93B.sin
- setting up inflate...
- infflating, please wait...

- inflate returned: 0
- gzpipe: ok.
- gunziped ok.
- Extracting from partition-image-LUN1_X-FLASH-ALL-C93B.sin
- Extracting signature partitionimage_1.cms
- Uploading signature ./partition/partitionimage_1.cms
signature:0000053e
OKAY.
- Extracting sparse chunk partitionimage_1.000
- Uploading sparse chunk ./partition/partitionimage_1.000
download:00006000
OKAY.
Repartition:1
OKAY.
- End of partition-image-LUN1_X-FLASH-ALL-C93B.sin

Processing .sin files...
Created ouput folder flash_session

Processing cache_X-FLASH-ALL-C93B.sin
- setting up inflate...
- infflating, please wait...

- inflate returned: 0
- gzpipe: ok.
- gunziped ok.
- Extracting from cache_X-FLASH-ALL-C93B.sin
- Extracting signature cache.cms
- Uploading signature ./flash_session/cache.cms
signature:00000533
OKAY.
- Extracting sparse chunk cache.000
- Uploading sparse chunk ./flash_session/cache.000
download:0080f094
OKAY.
erase:cache
OKAY.
flash:cache
OKAY.
- End of cache_X-FLASH-ALL-C93B.sin

Processing adspso_X-FLASH-ALL-C93B.sin
- setting up inflate...
- infflating, please wait...

- inflate returned: 0
- gzpipe: ok.
- gunziped ok.
- Extracting from adspso_X-FLASH-ALL-C93B.sin
- Extracting signature dsp.cms
- Uploading signature ./flash_session/dsp.cms
signature:00000531
OKAY.
- Extracting sparse chunk dsp.000
- Uploading sparse chunk ./flash_session/dsp.000
download:01000000
OKAY.
erase:dsp
OKAY.
flash:dsp
OKAY.
- End of adspso_X-FLASH-ALL-C93B.sin

Processing Qnovo_X-FLASH-ALL-C93B.sin
- setting up inflate...
- infflating, please wait...

- inflate returned: 0
- gzpipe: ok.
- gunziped ok.
- Extracting from Qnovo_X-FLASH-ALL-C93B.sin
- Extracting signature Qnovo.cms
- Uploading signature ./flash_session/Qnovo.cms
signature:00000533
OKAY.
- Extracting sparse chunk Qnovo.000
- Uploading sparse chunk ./flash_session/Qnovo.000
download:0046e034
OKAY.
erase:Qnovo
OKAY.
flash:Qnovo
OKAY.
- End of Qnovo_X-FLASH-ALL-C93B.sin

Processing fotakernel_X-FLASH-ALL-C93B.sin
- setting up inflate...
- infflating, please wait...
..........
- inflate returned: 0
- gzpipe: ok.
- gunziped ok.
- Extracting from fotakernel_X-FLASH-ALL-C93B.sin
- Extracting signature FOTAKernel.cms
- Uploading signature ./flash_session/FOTAKernel.cms
signature:00000538
OKAY.
- Extracting sparse chunk FOTAKernel.000
- Uploading sparse chunk ./flash_session/FOTAKernel.000
download:018853ef
OKAY.
erase:FOTAKernel
OKAY.
flash:FOTAKernel
OKAY.
- End of fotakernel_X-FLASH-ALL-C93B.sin

Processing system_X-FLASH-ALL-C93B.sin
- setting up inflate...
- infflating, please wait...
............................................................
............................................................
............................................................
............................................................
............................................................
...............
- inflate returned: 0
- gzpipe: ok.
- gunziped ok.
- Extracting from system_X-FLASH-ALL-C93B.sin
- Extracting signature system.cms
- Uploading signature ./flash_session/system.cms
signature:000009da
OKAY.
- Extracting sparse chunk system.000
- Uploading sparse chunk ./flash_session/system.000
download:063ff034
OKAY.
erase:system
OKAY.
flash:system
OKAY.
- Extracting sparse chunk system.001
- Uploading sparse chunk ./flash_session/system.001
download:063ff088
OKAY.
flash:system
OKAY.
- Extracting sparse chunk system.002
- Uploading sparse chunk ./flash_session/system.002
download:063ff070
OKAY.
flash:system
OKAY.
- Extracting sparse chunk system.003
- Uploading sparse chunk ./flash_session/system.003
download:063ff088
OKAY.
flash:system
OKAY.
- Extracting sparse chunk system.004
- Uploading sparse chunk ./flash_session/system.004
download:063ff040
OKAY.
flash:system
OKAY.
- Extracting sparse chunk system.005
- Uploading sparse chunk ./flash_session/system.005
download:063ff070
OKAY.
flash:system
OKAY.
- Extracting sparse chunk system.006
- Uploading sparse chunk ./flash_session/system.006
download:063ff088
OKAY.
flash:system
OKAY.
- Extracting sparse chunk system.007
- Uploading sparse chunk ./flash_session/system.007
download:063ff070
OKAY.
flash:system
OKAY.
- Extracting sparse chunk system.008
- Uploading sparse chunk ./flash_session/system.008
download:063ff088
OKAY.
flash:system
OKAY.
- Extracting sparse chunk system.009
- Uploading sparse chunk ./flash_session/system.009
download:063ff040
OKAY.
flash:system
OKAY.
- Extracting sparse chunk system.010
- Uploading sparse chunk ./flash_session/system.010
download:063ff070
OKAY.
flash:system
OKAY.
- Extracting sparse chunk system.011
- Uploading sparse chunk ./flash_session/system.011
download:063ff088
OKAY.
flash:system
OKAY.
- Extracting sparse chunk system.012
- Uploading sparse chunk ./flash_session/system.012
download:063ff070
OKAY.
flash:system
OKAY.
- Extracting sparse chunk system.013
- Uploading sparse chunk ./flash_session/system.013
download:063ff070
OKAY.
flash:system
OKAY.
- Extracting sparse chunk system.014
- Uploading sparse chunk ./flash_session/system.014
download:063ff040
OKAY.
flash:system
OKAY.
- Extracting sparse chunk system.015
- Uploading sparse chunk ./flash_session/system.015
download:063ff070
OKAY.
flash:system
OKAY.
- Extracting sparse chunk system.016
- Uploading sparse chunk ./flash_session/system.016
download:063ff0d0
OKAY.
flash:system
OKAY.
- Extracting sparse chunk system.017
- Uploading sparse chunk ./flash_session/system.017
download:063ff070
OKAY.
flash:system
OKAY.
- Extracting sparse chunk system.018
- Uploading sparse chunk ./flash_session/system.018
download:063ff040
OKAY.
flash:system
OKAY.
- Extracting sparse chunk system.019
- Uploading sparse chunk ./flash_session/system.019
download:063ff070
OKAY.
flash:system
OKAY.
- Extracting sparse chunk system.020
- Uploading sparse chunk ./flash_session/system.020
download:063ff0d0
OKAY.
flash:system
OKAY.
- Extracting sparse chunk system.021
- Uploading sparse chunk ./flash_session/system.021
download:063ff070
OKAY.
flash:system
OKAY.
- Extracting sparse chunk system.022
- Uploading sparse chunk ./flash_session/system.022
download:063ff070
OKAY.
flash:system
OKAY.
- Extracting sparse chunk system.023
- Uploading sparse chunk ./flash_session/system.023
download:063ff040
OKAY.
flash:system
OKAY.
- Extracting sparse chunk system.024
- Uploading sparse chunk ./flash_session/system.024
download:063ff070
OKAY.
flash:system
OKAY.
- Extracting sparse chunk system.025
- Uploading sparse chunk ./flash_session/system.025
download:063ff070
OKAY.
flash:system
OKAY.
- Extracting sparse chunk system.026
- Uploading sparse chunk ./flash_session/system.026
download:063ff088
OKAY.
flash:system
OKAY.
- Extracting sparse chunk system.027
- Uploading sparse chunk ./flash_session/system.027
download:063ff070
OKAY.
flash:system
OKAY.
- Extracting sparse chunk system.028
- Uploading sparse chunk ./flash_session/system.028
download:063ff040
OKAY.
flash:system
OKAY.
- Extracting sparse chunk system.029
- Uploading sparse chunk ./flash_session/system.029
download:063ff088
OKAY.
flash:system
OKAY.
- Extracting sparse chunk system.030
- Uploading sparse chunk ./flash_session/system.030
download:063ff070
OKAY.
flash:system
OKAY.
- Extracting sparse chunk system.031
- Uploading sparse chunk ./flash_session/system.031
download:063ff070
OKAY.
flash:system
OKAY.
- Extracting sparse chunk system.032
- Uploading sparse chunk ./flash_session/system.032
download:063ff070
OKAY.
flash:system
OKAY.
- Extracting sparse chunk system.033
- Uploading sparse chunk ./flash_session/system.033
download:063ff040
OKAY.
flash:system
OKAY.
- Extracting sparse chunk system.034
- Uploading sparse chunk ./flash_session/system.034
download:063ff070
OKAY.
flash:system
OKAY.
- Extracting sparse chunk system.035
- Uploading sparse chunk ./flash_session/system.035
download:063ff070
OKAY.
flash:system
OKAY.
- Extracting sparse chunk system.036
- Uploading sparse chunk ./flash_session/system.036
download:063ff100
OKAY.
flash:system
OKAY.
- Extracting sparse chunk system.037
- Uploading sparse chunk ./flash_session/system.037
download:02673034
OKAY.
flash:system
OKAY.
- End of system_X-FLASH-ALL-C93B.sin

Processing elabel-G8441-row-row_201709190503668.1_47.1.A.8.49_X-FLASH-LTALABEL-C93B.sin
- setting up inflate...
- infflating, please wait...

- inflate returned: 0
- gzpipe: ok.
- gunziped ok.
- Extracting from elabel-G8441-row-row_201709190503668.1_47.1.A.8.49_X-FLASH-LTALABEL-C93B.sin
- Extracting signature LTALabel.cms
- Uploading signature ./flash_session/LTALabel.cms
signature:0000055b
OKAY.
- Extracting sparse chunk LTALabel.000
- Uploading sparse chunk ./flash_session/LTALabel.000
download:01000000
OKAY.
erase:LTALabel
OKAY.
flash:LTALabel
OKAY.
- End of elabel-G8441-row-row_201709190503668.1_47.1.A.8.49_X-FLASH-LTALABEL-C93B.sin

Processing ssd_X-FLASH-ALL-C93B.sin
- setting up inflate...
- infflating, please wait...

- inflate returned: 0
- gzpipe: ok.
- gunziped ok.
- Extracting from ssd_X-FLASH-ALL-C93B.sin
- Extracting signature ssd.cms
- Uploading signature ./flash_session/ssd.cms
signature:00000531
OKAY.
- Extracting sparse chunk ssd.000
- Uploading sparse chunk ./flash_session/ssd.000
download:00000001
OKAY.
erase:ssd
OKAY.
flash:ssd
OKAY.
- End of ssd_X-FLASH-ALL-C93B.sin

Processing amss_fsg_X-FLASH-ALL-C93B.sin
- setting up inflate...
- infflating, please wait...

- inflate returned: 0
- gzpipe: ok.
- gunziped ok.
- Extracting from amss_fsg_X-FLASH-ALL-C93B.sin
- Extracting signature fsg.cms
- Uploading signature ./flash_session/fsg.cms
signature:00000531
OKAY.
- Extracting sparse chunk fsg.000
- Uploading sparse chunk ./flash_session/fsg.000
download:00036328
OKAY.
erase:fsg
OKAY.
flash:fsg
OKAY.
- End of amss_fsg_X-FLASH-ALL-C93B.sin

Processing fsmetadata_X-FLASH-ALL-C93B.sin
- setting up inflate...
- infflating, please wait...

- inflate returned: 0
- gzpipe: ok.
- gunziped ok.
- Extracting from fsmetadata_X-FLASH-ALL-C93B.sin
- Extracting signature fsmetadata.cms
- Uploading signature ./flash_session/fsmetadata.cms
signature:00000538
OKAY.
- Extracting sparse chunk fsmetadata.000
- Uploading sparse chunk ./flash_session/fsmetadata.000
download:00000001
OKAY.
erase:fsmetadata
OKAY.
flash:fsmetadata
OKAY.
- End of fsmetadata_X-FLASH-ALL-C93B.sin

Processing bootloader_X_BOOT_MSM8998_LA1_1_O_79_X-FLASH-ALL-C93B.sin
- setting up inflate...
- infflating, please wait...
....
- inflate returned: 0
- gzpipe: ok.
- gunziped ok.
- Extracting from bootloader_X_BOOT_MSM8998_LA1_1_O_79_X-FLASH-ALL-C93B.sin
- Extracting signature bootloader.cms
- Uploading signature ./flash_session/bootloader.cms
signature:00000538
OKAY.
- Extracting sparse chunk bootloader.000
- Uploading sparse chunk ./flash_session/bootloader.000
download:013b1000
OKAY.
erase:bootloader
OKAY.
flash:bootloader
OKAY.
- End of bootloader_X_BOOT_MSM8998_LA1_1_O_79_X-FLASH-ALL-C93B.sin

Processing oem_X-FLASH-ALL-C93B.sin
- setting up inflate...
- infflating, please wait...
..........
- inflate returned: 0
- gzpipe: ok.
- gunziped ok.
- Extracting from oem_X-FLASH-ALL-C93B.sin
- Extracting signature oem.cms
- Uploading signature ./flash_session/oem.cms
signature:00000531
OKAY.
- Extracting sparse chunk oem.000
- Uploading sparse chunk ./flash_session/oem.000
download:022440c4
OKAY.
erase:oem
OKAY.
flash:oem
OKAY.
- End of oem_X-FLASH-ALL-C93B.sin

Processing appslog_X-FLASH-ALL-C93B.sin
- setting up inflate...
- infflating, please wait...

- inflate returned: 0
- gzpipe: ok.
- gunziped ok.
- Extracting from appslog_X-FLASH-ALL-C93B.sin
- Extracting signature appslog.cms
- Uploading signature ./flash_session/appslog.cms
signature:00000535
OKAY.
- Extracting sparse chunk appslog.000
- Uploading sparse chunk ./flash_session/appslog.000
download:0044e034
OKAY.
erase:appslog
OKAY.
flash:appslog
OKAY.
- End of appslog_X-FLASH-ALL-C93B.sin

Processing userdata_X-FLASH-ALL-C93B.sin
- setting up inflate...
- infflating, please wait...

- inflate returned: 0
- gzpipe: ok.
- gunziped ok.
- Extracting from userdata_X-FLASH-ALL-C93B.sin
- Extracting signature userdata.cms
- Uploading signature ./flash_session/userdata.cms
signature:00000556
OKAY.
- Extracting sparse chunk userdata.000
- Uploading sparse chunk ./flash_session/userdata.000
download:063ff094
OKAY.
erase:userdata
OKAY.
flash:userdata
OKAY.
- Extracting sparse chunk userdata.001
- Uploading sparse chunk ./flash_session/userdata.001
download:02399168
OKAY.
flash:userdata
OKAY.
- End of userdata_X-FLASH-ALL-C93B.sin

Processing bootloader_X_Boot_MSM8998_LA1_1_O_79_X-FLASH-ALL-5ADA.sin
- setting up inflate...
- infflating, please wait...
.....
- inflate returned: 0
- gzpipe: ok.
- gunziped ok.
- Extracting from bootloader_X_Boot_MSM8998_LA1_1_O_79_X-FLASH-ALL-5ADA.sin
- Extracting signature bootloader.cms
- Uploading signature ./flash_session/bootloader.cms
signature:00000538
Error, didn't got signature OKAY reply! Got reply: FAILFailed to verify cms

=========== BOOTLOADER LOG =============
INIT: Tue Feb 23 11:31:55 1971
[ERROR @ fastboot.c:2125]:
fastboot_get_variable: Could not find variable Emmc-info
[ERROR @ authenticate.c:595]:
Failed to get key. (-1007)
[ERROR @ fastboot.c:2125]:
fastboot_get_variable: Could not find variable Battery
[ERROR @ file.c:211]:
unlink failed, errno (2)
[ERROR @ storage.c:239]:
could not find dev
[ERROR @ rule_openssl.c:329]:
verify_cb:
[ERROR @ rule_openssl.c:330]:
cert: 0x7599030300
[ERROR @ rule_openssl.c:331]:
depth: 0
[ERROR @ rule_openssl.c:333]:
error:20 (unable to get local issuer certificate)
[ERROR @ cms_verifier.c:196]:
CMS_verify failed.
[ERROR @ cms_verifier.c:198]:
Reason: error:2E099064:lib(46):func(153):reason(100)
[ERROR @ fastboot.c:3835]:
Failed to verify cms
INIT: Tue Feb 23 11:36:04 1971
amss_aù
=================================================

=========== FIRMWARES HISTORY LOG =============
NEW_VERSION: erased_user_data:true, variant:user, s1boot_version:1306-5035_X_Boot_MSM8998_LA1.1_O_77, cdf_version:1310-9560_R6B, fs_version:GENERIC_47.1.A.2.324, sw_version:1307-7511_47.1.A.2.324
NEW_VERSION: erased_user_data:true, variant:user, s1boot_version:1306-5035_X_Boot_MSM8998_LA1.1_O_79, cdf_version:1310-6856_R16B, fs_version:GENERIC_47.1.A.12.145, sw_version:1307-7511_47.1.A.12.145
NEW_VERSION: erased_user_data:false, variant:user, s1boot_version:1306-5035_X_Boot_MSM8998_LA1.1_O_79, cdf_version:1310-6856_R16B, fs_version:GENERIC_47.1.A.12.179, sw_version:1307-7511_47.1.A.12.179
NEW_VERSION: erased_user_data:false, variant:user, s1boot_version:1306-5035_X_Boot_MSM8998_LA1.1_O_79, cdf_version:1310-6856_R16B, fs_version:GENERIC_47.1.A.12.205, sw_version:1307-7511_47.1.A.12.205
NEW_VERSION: erased_user_data:false, variant:user, s1boot_version:1306-5035_X_Boot_MSM8998_LA1.1_O_82, cdf_version:1310-6856_R17B, fs_version:GENERIC_47.1.A.12.235, sw_version:1307-7511_47.1.A.12.235
NEW_VERSION: erased_user_data:false, variant:user, s1boot_version:1306-5035_X_Boot_MSM8998_LA1.1_O_82, cdf_version:1310-6856_R18B, fs_version:GENERIC_47.1.A.12.270, sw_version:1307-7511_47.1.A.12.270
NEW_VERSION: erased_user_data:false, variant:user, s1boot_version:1306-5035_X_Boot_MSM8998_LA1.1_O_82, cdf_version:1310-6856_R18B, fs_version:GENERIC_47.1.A.16.20, sw_version:1307-7511_47.1.A.16.20
NEW_VERSION: erased_user_data:false, variant:user, s1boot_version:1306-5035_X_Boot_MSM8998_LA2.0_P_106, cdf_version:1310-6856_R2C, fs_version:GENERIC_47.2.A.4.45, sw_version:1307-7511_47.2.A.4.45
NEW_VERSION: erased_user_data:false, variant:user, s1boot_version:1306-5035_X_Boot_MSM8998_LA2.0_P_107, cdf_version:1310-6856_R2C, fs_version:GENERIC_47.2.A.6.30, sw_version:1307-7511_47.2.A.6.30
NEW_VERSION: erased_user_data:false, variant:user, s1boot_version:1306-5035_X_Boot_MSM8998_LA2.0_P_107, cdf_version:1310-6856_R2C, fs_version:GENERIC_47.2.A.8.24, sw_version:1307-7511_47.2.A.8.24
NEW_VERSION: erased_user_data:false, variant:user, s1boot_version:1306-5035_X_Boot_MSM8998_LA2.0_P_110, cdf_version:1310-6856_R2C, fs_version:GENERIC_47.2.A.10.28, sw_version:1307-7511_47.2.A.10.28
NEW_VERSION: erased_user_data:false, variant:user, s1boot_version:1306-5035_X_Boot_MSM8998_LA2.0_P_110, cdf_version:1310-6856_R2C, fs_version:GENERIC_47.2.A.10.45, sw_version:1307-7511_47.2.A.10.45
NEW_VERSION: erased_user_data:false, variant:user, s1boot_version:1306-5035_X_Boot_MSM8998_LA2.0_P_110, cdf_version:1310-6856_R2C, fs_version:GENERIC_47.2.A.10.62, sw_version:1307-7511_47.2.A.10.62
NEW_VERSION: erased_user_data:false, variant:user, s1boot_version:1306-5035_X_Boot_MSM8998_LA2.0_P_110, cdf_version:1310-6856_R2C, fs_version:GENERIC_47.2.A.10.80, sw_version:1307-7511_47.2.A.10.80
NEW_VERSION: erased_user_data:false, variant:user, s1boot_version:1306-5035_X_Boot_MSM8998_LA2.0_P_114, cdf_version:1310-6856_R2C, fs_version:GENERIC_47.2.A.10.107, sw_version:1307-7511_47.2.A.10.107
NEW_VERSION: erased_user_data:false, variant:user, s1boot_version:1306-5035_X_Boot_MSM8998_LA2.0_P_114, cdf_version:1310-6856_R2C, fs_version:GENERIC_47.2.A.11.228, sw_version:1307-7511_47.2.A.11.228

=================================================

Device is put now out of flash mode.
Sent command: Sync
Waiting sync to finish...
...............sync response[0x4]:

00000000 4F 4B 41 59 OKAY

done
Sent command: continue.

Done.
Closing device.

Thank you

EDIT:

Problem was I needed to create a folder named "boot" inside of the firmware folder with all the boot associated files (Lilac_XBootConfig_MiscTA.ta, boot_delivery.xml, bootloader_X_BOOT_MSM8998_LA2_0_P_114_X-FLASH-ALL-5D31.sin, bootloader_X_BOOT_MSM8998_LA2_0_P_114_X-FLASH-ALL-C93B.sin, bootloader_X_Boot_MSM8998_LA2_0_P_114_X-FLASH-ALL-5ADA.sin), next to the .sin files and "partition" folder. This fixed the issue.

Also, while bootlooping I tried XperiaFirm with the same as the one I had before the bootloop, removing persist....sin and simlock.ta of course and it also fixed the bootloop.