[TOOL] [UPDATE 04/09/2015] Flashtool version 0.9.19.10 - Windows / Linux / Mac

ch3mn3y

Senior Member
Sep 11, 2011
2,903
577
193
Seaside Voivodeships
www.xperiasite.pl
I'm trying to run it on Linux (Xubuntu 14.04), but got this error:
Code:
Running as root.
Used java home : ./x10flasher_lib/linjre32
./x10flasher_lib/linjre32/bin/java: 1: ./x10flasher_lib/linjre32/bin/java: ELF: not found
./x10flasher_lib/linjre32/bin/java: 2: ./x10flasher_lib/linjre32/bin/java: Syntax error: "(" unexpected
Java is installed (or at last I think it is):
Code:
java version "1.8.0_151"
Java(TM) SE Runtime Environment (build 1.8.0_151-b12)
Java HotSpot(TM) Client VM (build 25.151-b12, mixed mode)
 

AndriyeZ

Senior Member
Jul 24, 2012
201
18
0
Surabaya
any suggest guys?

java.io.EOFException: Have read only 524256 byte(s) instead of 708740 byte(s)
at com.igormaznitsa.jbbp.io.JBBPBitInputStream._readArray(JBBPBitInputStream.java:172)
at com.igormaznitsa.jbbp.io.JBBPBitInputStream.readByteArray(JBBPBitInputStream.java:212)
at org.sinfile.parsers.v3.SinParser.parseDataHeader(SinParser.java:101)
at org.sinfile.parsers.SinFile.<init>(SinFile.java:106)
at flashsystem.Bundle.getMaxProgress(Bundle.java:455)
at flashsystem.X10flash.sendLoader(X10flash.java:415)
at flashsystem.X10flash.flashDevice(X10flash.java:708)
at gui.tools.FlashJob.run(FlashJob.java:44)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
java.io.EOFException: Have read only 524256 byte(s) instead of 708740 byte(s)
at com.igormaznitsa.jbbp.io.JBBPBitInputStream._readArray(JBBPBitInputStream.java:172)
at com.igormaznitsa.jbbp.io.JBBPBitInputStream.readByteArray(JBBPBitInputStream.java:212)
at org.sinfile.parsers.v3.SinParser.parseDataHeader(SinParser.java:101)
at org.sinfile.parsers.SinFile.<init>(SinFile.java:106)
at flashsystem.X10flash.isBoot(X10flash.java:787)
at flashsystem.X10flash.sendSystem(X10flash.java:831)
at flashsystem.X10flash.oldFlashEngine(X10flash.java:866)
at flashsystem.X10flash.flashDevice(X10flash.java:717)
at gui.tools.FlashJob.run(FlashJob.java:44)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
org.sinfile.parsers.SinFileException: Have read only 524256 byte(s) instead of 708740 byte(s)
at org.sinfile.parsers.SinFile.<init>(SinFile.java:112)
at flashsystem.X10flash.isBoot(X10flash.java:787)
at flashsystem.X10flash.sendSystem(X10flash.java:831)
at flashsystem.X10flash.oldFlashEngine(X10flash.java:866)
at flashsystem.X10flash.flashDevice(X10flash.java:717)
at gui.tools.FlashJob.run(FlashJob.java:44)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
 

dnnz

Senior Member
Jan 7, 2013
107
22
0
I have a X Compact and have installed both drivers from drivers.exe "flashmode" and "fastboot" still flashtool is giving me this error:

24/057/2017 23:57:33 - ERROR - Drivers need to be installed for connected device.
24/057/2017 23:57:33 - ERROR - You can find them in the drivers folder of Flashtool.

The drivers specific to the X Compact are not in the list (like it does to older devices), what extra driver i need?
 

iXaidyiu

Recognized Contributor
Aug 18, 2015
5,658
2,581
253
In My Drunk Mess
I have a X Compact and have installed both drivers from drivers.exe "flashmode" and "fastboot" still flashtool is giving me this error:

24/057/2017 23:57:33 - ERROR - Drivers need to be installed for connected device.
24/057/2017 23:57:33 - ERROR - You can find them in the drivers folder of Flashtool.

The drivers specific to the X Compact are not in the list (like it does to older devices), what extra driver i need?
You have to install the drivers with disabled digital signature verification in Windows Advanced Boot Menu.
 

dnnz

Senior Member
Jan 7, 2013
107
22
0
Reinstall or try with another pc.

Sent from my Sony F8332 using XDA Labs
I tried all this:
- Download again and reinstall newer version
- Try with older version

This PC has windows 8.1, i tried in two other PCs with windows 10 and the result is different in those:

ERROR - No device is registered in Flashtool.
ERROR - You can only flash devices.

It's strange bc 2 months before everything was working fine in fact it was how i installed the latin FTF to have a fingerprint sensor, and then i didn't touch anything i had the drivers and latest flashtool already installed but this time is not working no matter what i do. It could be the latin firmware?
 

dnnz

Senior Member
Jan 7, 2013
107
22
0
I tried with linux and flashtool is working.
Still i got some problems.
I got two popups:

There is a fsc file, you want to use it? i put YES
these data are not in the fsc script reset-kernel-cmd-debug. Continue? I put YES

The process failed.

27/006/2017 01:06:51 - INFO - Flashtool Version 0.9.23.2 built on 19-01-2017 21:50:00
27/006/2017 01:06:51 - INFO - libusb version 1.0.20
27/006/2017 01:06:51 - INFO - Executing search strategies to find proxy selector
27/006/2017 01:06:51 - INFO - No proxy found for gnome. Trying next one
27/006/2017 01:06:51 - INFO - No proxy found for kde. Trying next one
27/006/2017 01:06:51 - INFO - Strategy firefox failed trying next one : No Firefox installation found
27/006/2017 01:06:51 - INFO - Syncing devices from github
27/006/2017 01:06:52 - INFO - Opening devices repository.
27/006/2017 01:06:52 - INFO - Scanning devices folder for changes.
27/006/2017 01:06:52 - INFO - Pulling changes from github.
27/006/2017 01:06:52 - INFO - Pull failed. Trying to clone repository instead
27/006/2017 01:06:52 - INFO - Quietly closing devices repository.
27/006/2017 01:06:52 - INFO - Cloning devices repository to /root/.flashTool/devices
27/027/2017 01:27:32 - INFO - Quietly closing devices repository.
27/027/2017 01:27:32 - WARN - close() called when useCnt is already zero
27/027/2017 01:27:32 - INFO - Devices sync finished.
27/027/2017 01:27:32 - INFO - Loading devices database
27/027/2017 01:27:32 - INFO - Loaded 98 devices
27/027/2017 01:27:32 - INFO - Starting phone detection
27/027/2017 01:27:35 - INFO - Device disconnected
27/027/2017 01:27:47 - INFO - Device connected with USB debugging off
27/027/2017 01:27:47 - INFO - For 2011 devices line, be sure you are not in MTP mode
27/027/2017 01:27:54 - INFO - Device connected with USB debugging on
27/027/2017 01:27:55 - INFO - Connected device : Sony Xperia X Compact
27/027/2017 01:27:55 - INFO - Installed version of busybox : N/A
27/027/2017 01:27:55 - INFO - Android version : 7.1.1 / kernel version : 3.10.84-perf-g83e017e / Platform : 64bits / Build number : 34.3.A.0.244
27/027/2017 01:27:55 - INFO - Root access denied
27/028/2017 01:28:11 - INFO - Device disconnected
27/028/2017 01:28:27 - INFO - Device connected with USB debugging off
27/028/2017 01:28:27 - INFO - For 2011 devices line, be sure you are not in MTP mode
27/031/2017 01:31:27 - INFO - Device disconnected
27/031/2017 01:31:38 - INFO - Device connected in flash mode
27/031/2017 01:31:42 - INFO - Device disconnected
27/031/2017 01:31:53 - INFO - Device connected in flash mode
27/032/2017 01:32:08 - INFO - Selected Bundle for Sony Xperia X Compact(F5321). FW release : 34.3.A.0.244. Customization : Customized FR
27/032/2017 01:32:08 - INFO - Preparing files for flashing
27/032/2017 01:32:19 - INFO - Please connect your device into flashmode.
27/032/2017 01:32:20 - INFO - Opening device for R/W
27/032/2017 01:32:20 - INFO - Device ready for R/W.
27/032/2017 01:32:20 - INFO - Reading device information
27/032/2017 01:32:20 - INFO - Phone ready for flashmode operations.
27/032/2017 01:32:20 - INFO - Opening TA partition 2
27/032/2017 01:32:20 - INFO - Current device : F5321 - QV701CJK0B - 1305-2001_R2D - 1302-7793_34.3.A.0.244 - GENERIC_34.3.A.0.244
27/032/2017 01:32:20 - INFO - Closing TA partition
27/032/2017 01:32:20 - INFO - Start Flashing
27/032/2017 01:32:20 - INFO - No loader in the bundle. Searching for one
27/032/2017 01:32:20 - INFO - No matching loader found
27/032/2017 01:32:20 - WARN - No loader found or set manually. Skipping loader
27/032/2017 01:32:20 - INFO - Loader : S1_Root_d553 - Version : 1299-4841_S1_Boot_MSM8956_LA1.0.1_N_164 / Boot version : 1299-4841_S1_Boot_MSM8956_LA1.0.1_N_164 / Bootloader status : ROOTABLE
27/032/2017 01:32:20 - INFO - Max packet size set to 4M
27/032/2017 01:32:20 - INFO - USB buffer size set to 512K
27/032/2017 01:32:21 - INFO - Parsing boot delivery
27/037/2017 01:37:55 - INFO - Found a template session. Using it : /root/.flashTool/devices/F53XX/34.fsc
27/037/2017 01:37:56 - INFO - Set loader configuration : [00 01 00 00 00 0C]
27/037/2017 01:37:56 - INFO - Opening TA partition 2
27/037/2017 01:37:56 - INFO - Writing TA unit 00002774. Value : 01
27/037/2017 01:37:56 - INFO - Closing TA partition
27/037/2017 01:37:57 - INFO - Processing partition.sin
27/037/2017 01:37:57 - INFO - Checking header
27/037/2017 01:37:57 - INFO - Flashing data
27/037/2017 01:37:57 - INFO - Opening TA partition 2
27/037/2017 01:37:57 - INFO - Processing cmnlib_S1_Boot_MSM8956_LA1_0_1_N_164_AID_4_PLATFORM-LOIRE-COM-LIVE-HWID009B00E1-SWID0C-APPID01-OEM1-AID4-DEBUG00_S1-BOOT-LIVE-D553-0004-MMC.sin
27/037/2017 01:37:57 - INFO - Checking header
27/037/2017 01:37:57 - INFO - Flashing data
27/037/2017 01:37:57 - INFO - Processing emmc_appsboot_S1_Boot_MSM8956_LA1_0_1_N_164_AID_4_PLATFORM-LOIRE-COM-LIVE-HWID009B00E1-SWID09-OEM1-AID4-DEBUG00_S1-BOOT-LIVE-D553-0004-MMC.sin
27/037/2017 01:37:57 - INFO - Checking header
27/037/2017 01:37:57 - INFO - Flashing data
27/037/2017 01:37:57 - INFO - Processing hyp_S1_Boot_MSM8956_LA1_0_1_N_164_AID_4_PLATFORM-LOIRE-COM-LIVE-HWID009B00E1-SWID15-OEM1-AID4-DEBUG00_S1-BOOT-LIVE-D553-0004-MMC.sin
27/037/2017 01:37:57 - INFO - Checking header
27/037/2017 01:37:58 - INFO - Flashing data
27/037/2017 01:37:58 - INFO - Processing keymaster_S1_Boot_MSM8956_LA1_0_1_N_164_AID_4_PLATFORM-LOIRE-COM-LIVE-HWID009B00E1-SWID0C-APPID01-OEM1-AID4-DEBUG00_S1-BOOT-LIVE-D553-0004-MMC.sin
27/037/2017 01:37:58 - INFO - Checking header
27/037/2017 01:37:58 - INFO - Flashing data
27/037/2017 01:37:58 - INFO - Processing rpm_S1_Boot_MSM8956_LA1_0_1_N_164_AID_4_PLATFORM-LOIRE-COM-LIVE-HWID009B00E1-SWID0A-OEM1-AID4-DEBUG00_S1-BOOT-LIVE-D553-0004-MMC.sin
27/037/2017 01:37:58 - INFO - Checking header
27/037/2017 01:37:58 - INFO - Flashing data
27/037/2017 01:37:59 - INFO - Processing s1sbl_S1_Boot_MSM8956_LA1_0_1_N_164_AID_4_S1-BOOT-LIVE-D553-0004-ELF_S1-BOOT-LIVE-D553-0004-MMC.sin
27/037/2017 01:37:59 - INFO - Checking header
27/037/2017 01:37:59 - INFO - Flashing data
27/038/2017 01:38:00 - INFO - Processing sbl1_S1_Boot_MSM8956_LA1_0_1_N_164_AID_4_PLATFORM-LOIRE-COM-LIVE-HWID009B00E1-SWID00-OEM1-AID4-DEBUG00_S1-BOOT-LIVE-D553-0004-MMC.sin
27/038/2017 01:38:00 - INFO - Checking header
27/038/2017 01:38:00 - INFO - Flashing data
27/038/2017 01:38:00 - INFO - Closing TA partition
27/038/2017 01:38:00 - INFO - Opening TA partition 2
27/038/2017 01:38:00 - 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
27/038/2017 01:38:00 - INFO - Writing TA unit 000008FD. Value : 00
27/038/2017 01:38:00 - INFO - Closing TA partition
27/038/2017 01:38:01 - INFO - Opening TA partition 2
27/038/2017 01:38:01 - INFO - Processing tzs1attest_S1_Boot_MSM8956_LA1_0_1_N_164_AID_4_PLATFORM-LOIRE-COM-LIVE-HWID009B00E1-SWID0C-APPID01-OEM1-AID4-DEBUG00_S1-BOOT-LIVE-D553-0004-MMC.sin
27/038/2017 01:38:01 - INFO - Checking header
27/038/2017 01:38:01 - INFO - Flashing data
27/038/2017 01:38:01 - INFO - Processing tz_S1_Boot_MSM8956_LA1_0_1_N_164_AID_4_PLATFORM-LOIRE-COM-LIVE-HWID009B00E1-SWID07-OEM1-AID4-DEBUG00_S1-BOOT-LIVE-D553-0004-MMC.sin
27/038/2017 01:38:01 - INFO - Checking header
27/038/2017 01:38:01 - INFO - Flashing data
27/038/2017 01:38:02 - INFO - Processing tzs1sbl_S1_Boot_MSM8956_LA1_0_1_N_164_AID_4_PLATFORM-LOIRE-COM-LIVE-HWID009B00E1-SWID0C-APPID01-OEM1-AID4-DEBUG00_S1-BOOT-LIVE-D553-0004-MMC.sin
27/038/2017 01:38:02 - INFO - Checking header
27/038/2017 01:38:02 - INFO - Flashing data
27/038/2017 01:38:03 - INFO - Closing TA partition
27/038/2017 01:38:03 - INFO - Opening TA partition 2
27/038/2017 01:38:03 - INFO - Processing apps_log.sin
27/038/2017 01:38:03 - INFO - Checking header
27/038/2017 01:38:04 - INFO - Flashing data
27/038/2017 01:38:04 - INFO - Processing diag.sin
27/038/2017 01:38:04 - INFO - Checking header
27/038/2017 01:38:04 - INFO - Flashing data
27/038/2017 01:38:04 - INFO - Processing ssd.sin
27/038/2017 01:38:04 - INFO - Checking header
27/038/2017 01:38:04 - INFO - Flashing data
27/038/2017 01:38:05 - INFO - Processing adspso.sin
27/038/2017 01:38:05 - INFO - Checking header
27/038/2017 01:38:05 - INFO - Flashing data
27/038/2017 01:38:06 - INFO - Processing cache.sin
27/038/2017 01:38:06 - INFO - Checking header
27/038/2017 01:38:06 - INFO - Flashing data
27/038/2017 01:38:07 - INFO - Processing modem.sin
27/038/2017 01:38:07 - INFO - Checking header
27/038/2017 01:38:07 - INFO - Flashing data
27/038/2017 01:38:09 - INFO - Processing Qnovo.sin
27/038/2017 01:38:09 - INFO - Checking header
27/038/2017 01:38:09 - INFO - Flashing data
27/038/2017 01:38:10 - INFO - Processing amss_fs_1.sin
27/038/2017 01:38:10 - INFO - Checking header
27/038/2017 01:38:10 - INFO - Flashing data
27/038/2017 01:38:10 - INFO - Processing amss_fs_2.sin
27/038/2017 01:38:10 - INFO - Checking header
27/038/2017 01:38:10 - INFO - Flashing data
27/038/2017 01:38:11 - INFO - Processing amss_fsg.sin
27/038/2017 01:38:11 - INFO - Checking header
27/038/2017 01:38:11 - INFO - Flashing data
27/038/2017 01:38:11 - INFO - Processing persist.sin
27/038/2017 01:38:11 - INFO - Checking header
27/038/2017 01:38:11 - INFO - Flashing data
27/038/2017 01:38:11 - INFO - Processing kernel.sin
27/038/2017 01:38:11 - INFO - Checking header
27/038/2017 01:38:11 - INFO - Flashing data
27/038/2017 01:38:14 - INFO - Processing fotakernel.sin
27/038/2017 01:38:14 - INFO - Checking header
27/038/2017 01:38:14 - INFO - Flashing data
27/038/2017 01:38:15 - INFO - Processing ramdump.sin
27/038/2017 01:38:15 - INFO - Checking header
27/038/2017 01:38:15 - INFO - Flashing data
27/038/2017 01:38:17 - INFO - Processing system.sin
27/038/2017 01:38:17 - INFO - Checking header
27/038/2017 01:38:17 - INFO - Flashing data
27/038/2017 01:38:40 - ERROR - Processing of system.sin finished with errors.
Now when i start the phone it says "the software update failed. Make sure your phone is connected to the computer and try again".
 
Last edited:

iXaidyiu

Recognized Contributor
Aug 18, 2015
5,658
2,581
253
In My Drunk Mess
I tried with linux and flashtool is working.
Still i got some problems.
I got two popups:

There is a fsc file, you want to use it? i put YES
these data are not in the fsc script reset-kernel-cmd-debug. Continue? I put YES

The process failed.

...

Now when i start the phone it says "the software update failed. Make sure your phone is connected to the computer and try again".
For the second prompt you should put no.

Sent from my Sony F8332 using XDA Labs
 

ch3mn3y

Senior Member
Sep 11, 2011
2,903
577
193
Seaside Voivodeships
www.xperiasite.pl
0.9.24.0 is the new one with support for XZ Premium and both XZ1?

Coz I'm trying to create .fsc script for Premium, but it seems that parsing doesn't work - no .fsc file or even any folder is created in /mydevices. At first try there is no log in USB Log Viewer after parsing window disappears and when tried again, whole app just freezes.
 

Androxyde

Recognized Developer
Aug 3, 2010
1,096
2,832
143
46
Paris
www.flashtool.net
0.9.24.0 is the new one with support for XZ Premium and both XZ1?

Coz I'm trying to create .fsc script for Premium, but it seems that parsing doesn't work - no .fsc file or even any folder is created in /mydevices. At first try there is no log in USB Log Viewer after parsing window disappears and when tried again, whole app just freezes.
I pushed FSC to devices repository and yes Flashtool can parse usb log for new devices (this is how I created my FSC) :)
 

ch3mn3y

Senior Member
Sep 11, 2011
2,903
577
193
Seaside Voivodeships
www.xperiasite.pl
I seem to not be able, however Fileset i tms file are little old (don't own any newer Xperia, just wanted to check).

Wanted to say that there is no fsc, but it seems You just pushed them ti GutHub.

If it's needed than Im attaching the device folders for XA1 Ultra, XA1 Plus, Touch and Hello!. Buth XA1 were tested on live devices, don't have Touch and Hello! so could only simulate them (should work as platform is same as with X and X Compact).
 

Attachments