[Sony Xperia XZ1  ROMs, Kernels, Recoveries, & Othe] dcrin3:
Newsflasher route:

I take back everything I've said about .TA files. If you want to upgrade while keeping userdata, do the following.(newflasher).

While inside the firmware folder, move this file out or delete it: userdata_X-FLASH-CUST-C93B.sin

I know how this sounds, I just finished testing this theory with 'newflasher' and it works. ***

The reason my camera was not working is because of possibly removing a .TA file somewhere in the firmware folder. My money's on this file: Poplar_XBootConfig_MiscTA.ta

By design, newflasher will ignore one pesky .TA file: simlock.ta

Processing simlock.ta
- Partition: 2
-[B] Unit: 7DA[/B] (2010)
- Unit size: 0x13d
- Skipping unit 7DA

Leave every file alone, DO NOT move or delete anything else. It's crazy believe me, the camera works and the phone is fully functional.

** We only need to worry about userdata_X-FLASH-CUST-C93B.sin -- that's it.**

*** Some side notes, I needed fingerprint support and group MMS on my end.

I went G8342_Customized US_1310-4358_47.1.A.16.20_R6B but borrowed system_X-FLASH-ALL-C93B.sin && vendor_X-FLASH-ALL-C93B.sin from G8342_Customized CE1_1310-4354_47.1.A.16.20_R7B

=============================== LOG ===============================

--------------------------------------------------------
newflasher.exe v13 by Munjeni @ 2017/2018
--------------------------------------------------------

Determining available free space by GetDiskFreeSpaceEx:

Available space to caller = 386385 MB
Total space on current drive = 476388 MB
Free space on drive = 386385 MB

Optional step! Type 'y' and press ENTER if you need GordonGate flash driver, or type 'n' to skip.
This creates GordonGate.7z archive in the same dir with newflasher.exe!
n
Device path: \\?\usb#vid_0fce&pid_b00b#6&REDACTED&0&8#{REDACTED}
Class Description: Universal Serial Bus controllers
Device Instance Id: USB\VID_0FCE&PID_B00B\REDACTED

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!
n
Product: G8342
Version: 0.4-SONY-0.31
Bootloader version: 1306-5035_X_Boot_MSM8998_LA1.1_O_82
Baseband version: 1307-7471_47.1.A.16.20
Serialno: REDACTED
Secure: no
Loader version: XFL-MSM8998-N-47
Phone ID: 0000:REDACTED,0000:REDACTED
Device ID: REDACTED
Platform ID: REDACTED
Max download size: 104857600
Sector size: 4096
Rooting status: ROOTED
Ufs info: TOSHIBA,REDACTED,0100
Emmc info: FAILEmmc-info not supported
Default security: ON
Keystore counter: 1
Security state: REDACTED
Sake root: D159
S1 root: S1_Root_e69c
Root key hash: REDACTED
Slot count: 0
Current slot: F

Device is put now in flash mode.

Repartitioning...

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

- infflate returned: 0
- gzpipe: ok.
- gunziped ok.
- Extracting from partition-image-LUN0_X-FLASH-ALL-C93B.sin
- Extracting signature partition/partitionimage_0.cms
- Uploading signature partition/partitionimage_0.cms
signature:0000053e
OKAY.
- Extracting sparse chunk partition/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 infflate...
- infflating, please wait...

- infflate returned: 0
- gzpipe: ok.
- gunziped ok.
- Extracting from partition-image-LUN1_X-FLASH-ALL-C93B.sin
- Extracting signature partition/partitionimage_1.cms
- Uploading signature partition/partitionimage_1.cms
signature:0000053e
OKAY.
- Extracting sparse chunk partition/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 partition-image-LUN2_X-FLASH-ALL-C93B.sin
- setting up infflate...
- infflating, please wait...

- infflate returned: 0
- gzpipe: ok.
- gunziped ok.
- Extracting from partition-image-LUN2_X-FLASH-ALL-C93B.sin
- Extracting signature partition/partitionimage_2.cms
- Uploading signature partition/partitionimage_2.cms
signature:0000053e
OKAY.
- Extracting sparse chunk partition/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 .sin files...
Created ouput folder flash_session

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

- infflate returned: 0
- gzpipe: ok.
- gunziped ok.
- Extracting from adspso_X-FLASH-ALL-C93B.sin
- Extracting signature flash_session/dsp.cms
- Uploading signature flash_session/dsp.cms
signature:00000531
OKAY.
- Extracting sparse chunk flash_session/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 amss_fsg_X-FLASH-ALL-C93B.sin
- setting up infflate...
- infflating, please wait...

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

Processing amss_fs_1_X-FLASH-ALL-C93B.sin
- setting up infflate...
- infflating, please wait...

- infflate returned: 0
- gzpipe: ok.
- gunziped ok.
- Extracting from amss_fs_1_X-FLASH-ALL-C93B.sin
- Extracting signature flash_session/modemst1.cms
- Uploading signature flash_session/modemst1.cms
signature:00000536
OKAY.
- Extracting sparse chunk flash_session/modemst1.000
- Uploading sparse chunk flash_session/modemst1.000
download:00000400
OKAY.
erase:modemst1
OKAY.
flash:modemst1
OKAY.
- End of amss_fs_1_X-FLASH-ALL-C93B.sin

Processing amss_fs_2_X-FLASH-ALL-C93B.sin
- setting up infflate...
- infflating, please wait...

- infflate returned: 0
- gzpipe: ok.
- gunziped ok.
- Extracting from amss_fs_2_X-FLASH-ALL-C93B.sin
- Extracting signature flash_session/modemst2.cms
- Uploading signature flash_session/modemst2.cms
signature:00000536
OKAY.
- Extracting sparse chunk flash_session/modemst2.000
- Uploading sparse chunk flash_session/modemst2.000
download:00000400
OKAY.
erase:modemst2
OKAY.
flash:modemst2
OKAY.
- End of amss_fs_2_X-FLASH-ALL-C93B.sin

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

- infflate returned: 0
- gzpipe: ok.
- gunziped ok.
- Extracting from appslog_X-FLASH-ALL-C93B.sin
- Extracting signature flash_session/appslog.cms
- Uploading signature flash_session/appslog.cms
signature:00000535
OKAY.
- Extracting sparse chunk flash_session/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 bluetooth_X-FLASH-ALL-C93B.sin
- setting up infflate...
- infflating, please wait...
.
- infflate returned: 0
- gzpipe: ok.
- gunziped ok.
- Extracting from bluetooth_X-FLASH-ALL-C93B.sin
- Extracting signature flash_session/bluetooth.cms
- Uploading signature flash_session/bluetooth.cms
signature:00000537
OKAY.
- Extracting sparse chunk flash_session/bluetooth.000
- Uploading sparse chunk flash_session/bluetooth.000
download:0005b000
OKAY.
erase:bluetooth
OKAY.
flash:bluetooth
OKAY.
- End of bluetooth_X-FLASH-ALL-C93B.sin

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

- infflate returned: 0
- gzpipe: ok.
- gunziped ok.
- Extracting from cache_X-FLASH-ALL-C93B.sin
- Extracting signature flash_session/cache.cms
- Uploading signature flash_session/cache.cms
signature:00000533
OKAY.
- Extracting sparse chunk flash_session/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 diag_X-FLASH-ALL-C93B.sin
- setting up infflate...
- infflating, please wait...

- infflate returned: 0
- gzpipe: ok.
- gunziped ok.
- Extracting from diag_X-FLASH-ALL-C93B.sin
- Extracting signature flash_session/diag.cms
- Uploading signature flash_session/diag.cms
signature:00000532
OKAY.
- Extracting sparse chunk flash_session/diag.000
- Uploading sparse chunk flash_session/diag.000
download:00493034
OKAY.
erase:diag
OKAY.
flash:diag
OKAY.
- End of diag_X-FLASH-ALL-C93B.sin

Processing elabel-G8342-row-row_201809030842515.1_47.1.A.12.270_X-FLASH-LTALABEL-C93B.sin
- setting up infflate...
- infflating, please wait...

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

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

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

- infflate returned: 0
- gzpipe: ok.
- gunziped ok.
- Extracting from fsmetadata_X-FLASH-ALL-C93B.sin
- Extracting signature flash_session/fsmetadata.cms
- Uploading signature flash_session/fsmetadata.cms
signature:00000538
OKAY.
- Extracting sparse chunk flash_session/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 kernel_X-FLASH-ALL-C93B.sin
- setting up infflate...
- infflating, please wait...
......
- infflate returned: 0
- gzpipe: ok.
- gunziped ok.
- Extracting from kernel_X-FLASH-ALL-C93B.sin
- Extracting signature flash_session/boot.cms
- Uploading signature flash_session/boot.cms
signature:00000532
OKAY.
- Extracting sparse chunk flash_session/boot.000
- Uploading sparse chunk flash_session/boot.000
download:013ee3e9
OKAY.
erase:boot
OKAY.
flash:boot
OKAY.
- End of kernel_X-FLASH-ALL-C93B.sin

Processing modem_X-FLASH-ALL-C93B.sin
- setting up infflate...
- infflating, please wait...
....
- infflate returned: 0
- gzpipe: ok.
- gunziped ok.
- Extracting from modem_X-FLASH-ALL-C93B.sin
- Extracting signature flash_session/modem.cms
- Uploading signature flash_session/modem.cms
signature:00000533
OKAY.
- Extracting sparse chunk flash_session/modem.000
- Uploading sparse chunk flash_session/modem.000
download:059cd000
OKAY.
erase:modem
OKAY.
flash:modem
OKAY.
- End of modem_X-FLASH-ALL-C93B.sin

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

Processing persist_X-FLASH-ALL-C93B.sin
- setting up infflate...
- infflating, please wait...

- infflate returned: 0
- gzpipe: ok.
- gunziped ok.
- Extracting from persist_X-FLASH-ALL-C93B.sin
- Extracting signature flash_session/persist.cms
- Uploading signature flash_session/persist.cms
signature:00000535
OKAY.
- Extracting sparse chunk flash_session/persist.000
- Uploading sparse chunk flash_session/persist.000
download:00490034
OKAY.
erase:persist
OKAY.
flash:persist
OKAY.
- End of persist_X-FLASH-ALL-C93B.sin

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

- infflate returned: 0
- gzpipe: ok.
- gunziped ok.
- Extracting from Qnovo_X-FLASH-ALL-C93B.sin
- Extracting signature flash_session/Qnovo.cms
- Uploading signature flash_session/Qnovo.cms
signature:00000533
OKAY.
- Extracting sparse chunk flash_session/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 ramdump_X-FLASH-ALL-C93B.sin
- setting up infflate...
- infflating, please wait...

- infflate returned: 0
- gzpipe: ok.
- gunziped ok.
- Extracting from ramdump_X-FLASH-ALL-C93B.sin
- Extracting signature flash_session/rdimage.cms
- Uploading signature flash_session/rdimage.cms
signature:00000535
OKAY.
- Extracting sparse chunk flash_session/rdimage.000
- Uploading sparse chunk flash_session/rdimage.000
download:00000001
OKAY.
erase:rdimage
OKAY.
flash:rdimage
OKAY.
- End of ramdump_X-FLASH-ALL-C93B.sin

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

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

Processing vendor_X-FLASH-ALL-C93B.sin
- setting up infflate...
- infflating, please wait...
..............
- infflate returned: 0
- gzpipe: ok.
- gunziped ok.
- Extracting from vendor_X-FLASH-ALL-C93B.sin
- Extracting signature flash_session/vendor.cms
- Uploading signature flash_session/vendor.cms
signature:000005f7
OKAY.
- Extracting sparse chunk flash_session/vendor.000
- Uploading sparse chunk flash_session/vendor.000
download:063ff034
OKAY.
erase:vendor
OKAY.
flash:vendor
OKAY.
- Extracting sparse chunk flash_session/vendor.001
- Uploading sparse chunk flash_session/vendor.001
download:063ff0d0
OKAY.
flash:vendor
OKAY.
- Extracting sparse chunk flash_session/vendor.002
- Uploading sparse chunk flash_session/vendor.002
download:063ff0a0
OKAY.
flash:vendor
OKAY.
- Extracting sparse chunk flash_session/vendor.003
- Uploading sparse chunk flash_session/vendor.003
download:063ff0a0
OKAY.
flash:vendor
OKAY.
- Extracting sparse chunk flash_session/vendor.004
- Uploading sparse chunk flash_session/vendor.004
download:063ff040
OKAY.
flash:vendor
OKAY.
- Extracting sparse chunk flash_session/vendor.005
- Uploading sparse chunk flash_session/vendor.005
download:063ff0e8
OKAY.
flash:vendor
OKAY.
- Extracting sparse chunk flash_session/vendor.006
- Uploading sparse chunk flash_session/vendor.006
download:039fd04c
OKAY.
flash:vendor
OKAY.
- End of vendor_X-FLASH-ALL-C93B.sin

Processing .ta files...

Processing auto-boot.ta
- Partition: 2
- Unit: 90C (2316)
- Unit size: 0x1
download:00000001
OKAY.
Write-TA:2:2316
OKAY.

Processing cust-reset.ta
- Partition: 2
- Unit: 8A4 (2212)
- Unit size: 0xe
download:0000000e
OKAY.
Write-TA:2:2212
OKAY.

Processing fota-reset.ta
- Partition: 2
- Unit: 964 (2404)
- Unit size: 0x1
download:00000001
OKAY.
Write-TA:2:2404
OKAY.

Processing master-reset.ta
- Partition: 2
- Unit: 9F6 (2550)
- Unit size: 0x1
download:00000001
OKAY.
Write-TA:2:2550
OKAY.

Processing osv-restriction.ta
- Partition: 2
- Unit: 91A (2330)
- Unit size: 0x1
download:00000001
OKAY.
Write-TA:2:2330
OKAY.

Processing reset-kernel-cmd-debug.ta
- Partition: 2
- Unit: 9A9 (2473)
- Unit size: 0x1
download:00000001
OKAY.
Write-TA:2:2473
OKAY.

Processing reset-non-secure-adb.ta
- Partition: 2
- Unit: 9B6 (2486)
- Found specific unit which don't contain data.
download:00000000
OKAY.
Write-TA:2:2486
OKAY.

Processing reset-wipe-reason.ta
- Partition: 2
- Unit: 9F9 (2553)
- Found specific unit which don't contain data.
download:00000000
OKAY.
Write-TA:2:2553
OKAY.

Processing simlock.ta
- Partition: 2
- Unit: 7DA (2010)
- Unit size: 0x13d
- Skipping unit 7DA

Processing boot delivery...

Found boot_delivery.xml in boot folder.
- Boot delivery version: 1306-5035
- Verifying if boot delivery match with device...
searching for: PLATFORM_ID="REDACTED";PLF_ROOT_HASH="REDACTED"
Found bootdelivery match: COMMERCIAL_0005E0E1
TA file: Poplar_XBootConfig_MiscTA.ta

Processing ./boot/Poplar_XBootConfig_MiscTA.ta
- Partition: 2
- Unit: 84F (2127)
- Unit size: 0x74
download:00000074
OKAY.
Write-TA:2:2127
OKAY.
- Unit: 8FD (2301)
- Unit size: 0x1
download:00000001
OKAY.
Write-TA:2:2301
OKAY.
SIN file: bootloader_X_BOOT_MSM8998_LA1_1_O_82_X-FLASH-ALL-C93B.sin

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

Device is put now out of flash mode.
Sent command: Sync

End. You can disconnect your device when you close newflasher.exe
Press any key to continue . . .

For those struggling with newsflasher/Magisk/camera drmfix, this is your way out.

--My camera works and root is live.--

Thanks to [MENTION=4120742]munjeni[/MENTION] and [MENTION=8363210]sToRm//[/MENTION] and [MENTION=490110]janjan[/MENTION]