[Sony Cross-Device General] :
Xperia XA2 under Ubuntu 18.04

--------------------------------------------------------
newflasher v11 by Munjeni @ 2017/2018
--------------------------------------------------------

Determining available free space:

Available space to caller = 2436955 MB
Total space on current drive = 2798212 MB
Free space on drive = 2579165 MB
found device with vid:0x0fce pid:0xb00b.

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: H4113
Version: 0.4
Bootloader version: 1310-0301_X_Boot_SDM630_LA1.0_O_120
Baseband version: 1311-2918_50.1.A.5.59
Serialno: CQ3000BERG
Secure: no
Loader version: XFL-SDM630-113
Phone ID: 0000:35276609148496,0000:35276609148497
Device ID: 66E3B6F4
Platform ID: 000AC0E1
Max download size: 104857600
Sector size: 512
Rooting status: ROOTED
Ufs info: FAILUfs-info not supported
Emmc info: SAMSUNG,0x0100,0x0
Default security: ON
Keystore counter: 2
Security state: TvF2l+0Or40aQudMdC8LLMt1auy6bg2DtGVLnpGqPyk=
Sake root: A672
S1 root: S1_Root_70f0
Root key hash: 5F01088791F1DDAD20DB0DF59453943E4D275929A01705C83502AD5403F9010F
Slot count: 2
Current slot: a

Device is put now in flash mode.

Repartitioning...

Processing partition-image_X-FLASH-ALL-18AE.sin
- setting up infflate...
- infflating, please wait...

- infflate returned: 0
- gzpipe: ok.
- gunziped ok.
- Extracting from partition-image_X-FLASH-ALL-18AE.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:00004400
OKAY.
Repartition:0
OKAY.
- End of partition-image_X-FLASH-ALL-18AE.sin

Processing .sin files...
Using existing folder flash_session

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

- infflate returned: 0
- gzpipe: ok.
- gunziped ok.
- Extracting from amss_fs_2_X-FLASH-ALL-18AE.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.
*** Error in `./newflasher': double free or corruption (fasttop): 0x0000000000cf7330 ***
======= Backtrace: =========
[0x43f871]
[0x447db6]
[0x44bde7]
[0x401d07]
[0x403f6e]
[0x42a9f6]
[0x42abea]
[0x404fe9]
======= Memory map: ========
00400000-00513000 r-xp 00000000 fd:03 73144403 /home/frantisheq/Documents/decrypted/newflasher
00712000-00715000 rw-p 00112000 fd:03 73144403 /home/frantisheq/Documents/decrypted/newflasher
00715000-00723000 rw-p 00000000 00:00 0
00cec000-00f1e000 rw-p 00000000 00:00 0 [heap]
7fc058000000-7fc058024000 rw-p 00000000 00:00 0
7fc058024000-7fc05c000000 ---p 00000000 00:00 0
7fc05fc64000-7fc05fc65000 rw-p 00000000 00:00 0
7ffeb7f5c000-7ffeb7f7d000 rw-p 00000000 00:00 0 [stack]
7ffeb7fad000-7ffeb7fb0000 r--p 00000000 00:00 0 [vvar]
7ffeb7fb0000-7ffeb7fb2000 r-xp 00000000 00:00 0 [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall]
Aborted (core dumped)