[Sony Xperia S, Acro S, Ion] AnisErrais:
I now have a Xperia S with nAOSP 7.1.2 but i'm trying to go back to stock,

When i try flasing the stock ROM i get this weird error

22/014/2017 22:14:39 - INFO - Flashtool Version 0.9.23.1 built on 11-01-2017 15:12:00
22/014/2017 22:14:39 - INFO - Executing search strategies to find proxy selector
22/014/2017 22:14:39 - INFO - No proxy found for IE. Trying next one
22/014/2017 22:14:39 - INFO - Strategy firefox failed trying next one : No Firefox installation found
22/014/2017 22:14:39 - INFO - No proxy found for java. Trying next one
22/014/2017 22:14:39 - INFO - Syncing devices from github
22/014/2017 22:14:39 - INFO - Opening devices repository.
22/014/2017 22:14:40 - INFO - Scanning devices folder for changes.
22/014/2017 22:14:49 - INFO - Pulling changes from github.
22/014/2017 22:14:49 - INFO - Quietly closing devices repository.
22/014/2017 22:14:49 - INFO - Devices sync finished.
22/014/2017 22:14:49 - INFO - Loading devices database
22/014/2017 22:14:49 - INFO - Loaded 98 devices
22/014/2017 22:14:49 - INFO - Starting phone detection
22/014/2017 22:14:54 - INFO - Device connected in fastboot mode
22/035/2017 22:35:58 - INFO - Selected Bundle for Sony Xperia S(LT26i). FW release : 6.0.A.3.75. Customization : Oficial 2.3.7 zaloha
22/035/2017 22:35:58 - INFO - Preparing files for flashing
22/036/2017 22:36:06 - INFO - Please connect your device into flashmode.
22/036/2017 22:36:10 - INFO - Device disconnected
22/036/2017 22:36:15 - INFO - Device connected in flash mode
22/036/2017 22:36:16 - INFO - Opening device for R/W
22/036/2017 22:36:16 - INFO - Reading device information
22/036/2017 22:36:16 - INFO - Phone ready for flashmode operations.
22/036/2017 22:36:16 - INFO - Opening TA partition 2
22/036/2017 22:36:16 - INFO - Current device : Unknown: Jul 25 2013/14:37:45 - BX903CG72B - Unknown: Jul 25 2013/14:37:45 - Unknown: Jul 25 2013/14:37:45 - Unknown: Jul 25 2013/14:37:45
22/036/2017 22:36:16 - INFO - Closing TA partition
22/036/2017 22:36:16 - INFO - Start Flashing
22/036/2017 22:36:16 - INFO - Processing loader.sin
22/036/2017 22:36:16 - INFO - Checking header
22/036/2017 22:36:16 - INFO - Flashing data
22/036/2017 22:36:18 - INFO - Loader : S1_Root_de72 - Version : R5C004 / Boot version : R10C008 / Bootloader status : UNROOTABLE
22/036/2017 22:36:18 - INFO - Max packet size set to 63K
22/036/2017 22:36:18 - INFO - USB buffer size set to 512K
22/036/2017 22:36:18 - INFO - Ending flash session
22/036/2017 22:36:18 - ERROR - null
22/036/2017 22:36:18 - ERROR - Error flashing. Aborted
22/036/2017 22:36:19 - INFO - Device connected in flash mode

What can i do?

EDIT: 1 day later

Ive tried doing it again 1 day later, this time in debug mode:

23/044/2017 11:44:57 - INFO - (MainSWT.java:154) - Device disconnected
23/045/2017 11:45:00 - INFO - (MainSWT.java:158) - Device connected in flash mode
23/045/2017 11:45:16 - DEBUG - (Bundle.java:92) - Creating bundle from ftf file : D:\Users\anis1\.flashTool\LT26i_6.0.A.3.75.ftf
23/045/2017 11:45:16 - DEBUG - (Bundle.java:108) - Added this entry to the bundle list : loader.sin
23/045/2017 11:45:16 - DEBUG - (Bundle.java:108) - Added this entry to the bundle list : kernel.sin
23/045/2017 11:45:16 - DEBUG - (Bundle.java:108) - Added this entry to the bundle list : system.sin
23/045/2017 11:45:16 - DEBUG - (Bundle.java:108) - Added this entry to the bundle list : fotakernel.sin
23/045/2017 11:45:16 - DEBUG - (Bundle.java:108) - Added this entry to the bundle list : amss_fs_2.sin
23/045/2017 11:45:16 - DEBUG - (Bundle.java:108) - Added this entry to the bundle list : amss_fs_1.sin
23/045/2017 11:45:16 - DEBUG - (Bundle.java:108) - Added this entry to the bundle list : partition-image.sin
23/045/2017 11:45:16 - DEBUG - (Bundle.java:108) - Added this entry to the bundle list : simlock.ta
23/045/2017 11:45:16 - DEBUG - (Bundle.java:108) - Added this entry to the bundle list : apps_log.sin
23/045/2017 11:45:16 - DEBUG - (Bundle.java:108) - Added this entry to the bundle list : amss_fsg.sin
23/045/2017 11:45:16 - DEBUG - (Bundle.java:108) - Added this entry to the bundle list : userdata.sin
23/045/2017 11:45:16 - DEBUG - (Bundle.java:108) - Added this entry to the bundle list : cache.sin
23/045/2017 11:45:16 - DEBUG - (Bundle.java:92) - Creating bundle from ftf file : D:\Users\anis1\.flashTool\Sony_Xperia_S_LT26i_6.2.B.1.96_Customized_India.ftf
23/045/2017 11:45:16 - DEBUG - (Bundle.java:108) - Added this entry to the bundle list : loader.sin
23/045/2017 11:45:16 - DEBUG - (Bundle.java:108) - Added this entry to the bundle list : amss_fsg.sin
23/045/2017 11:45:16 - DEBUG - (Bundle.java:108) - Added this entry to the bundle list : amss_fs_1.sin
23/045/2017 11:45:16 - DEBUG - (Bundle.java:108) - Added this entry to the bundle list : amss_fs_2.sin
23/045/2017 11:45:16 - DEBUG - (Bundle.java:108) - Added this entry to the bundle list : apps_log.sin
23/045/2017 11:45:16 - DEBUG - (Bundle.java:108) - Added this entry to the bundle list : cache.sin
23/045/2017 11:45:16 - DEBUG - (Bundle.java:108) - Added this entry to the bundle list : fotakernel.sin
23/045/2017 11:45:16 - DEBUG - (Bundle.java:108) - Added this entry to the bundle list : kernel.sin
23/045/2017 11:45:16 - DEBUG - (Bundle.java:108) - Added this entry to the bundle list : partition.sin
23/045/2017 11:45:16 - DEBUG - (Bundle.java:108) - Added this entry to the bundle list : system.sin
23/045/2017 11:45:16 - DEBUG - (Bundle.java:108) - Added this entry to the bundle list : userdata.sin
23/045/2017 11:45:27 - INFO - (MainSWT.java:1465) - Selected Bundle for Sony Xperia S(LT26i). FW release : 6.0.A.3.75. Customization : Oficial 2.3.7 zaloha
23/045/2017 11:45:27 - INFO - (Bundle.java:475) - Preparing files for flashing
23/045/2017 11:45:27 - DEBUG - (Bundle.java:479) - Created the prepared folder
23/045/2017 11:45:27 - DEBUG - (BundleEntry.java:140) - Saving entry amss_fsg.sin to disk
23/045/2017 11:45:27 - DEBUG - (BundleEntry.java:72) - Streaming from jar entry : amss_fsg.sin
23/045/2017 11:45:27 - DEBUG - (BundleEntry.java:146) - Writing Entry to C:\Users\Anis\.flashTool\firmwares\prepared\amss_fsg.sin
23/045/2017 11:45:27 - DEBUG - (BundleEntry.java:140) - Saving entry amss_fs_1.sin to disk
23/045/2017 11:45:27 - DEBUG - (BundleEntry.java:72) - Streaming from jar entry : amss_fs_1.sin
23/045/2017 11:45:27 - DEBUG - (BundleEntry.java:146) - Writing Entry to C:\Users\Anis\.flashTool\firmwares\prepared\amss_fs_1.sin
23/045/2017 11:45:27 - DEBUG - (BundleEntry.java:140) - Saving entry amss_fs_2.sin to disk
23/045/2017 11:45:27 - DEBUG - (BundleEntry.java:72) - Streaming from jar entry : amss_fs_2.sin
23/045/2017 11:45:27 - DEBUG - (BundleEntry.java:146) - Writing Entry to C:\Users\Anis\.flashTool\firmwares\prepared\amss_fs_2.sin
23/045/2017 11:45:27 - DEBUG - (BundleEntry.java:140) - Saving entry cache.sin to disk
23/045/2017 11:45:27 - DEBUG - (BundleEntry.java:72) - Streaming from jar entry : cache.sin
23/045/2017 11:45:27 - DEBUG - (BundleEntry.java:146) - Writing Entry to C:\Users\Anis\.flashTool\firmwares\prepared\cache.sin
23/045/2017 11:45:27 - DEBUG - (BundleEntry.java:140) - Saving entry fotakernel.sin to disk
23/045/2017 11:45:27 - DEBUG - (BundleEntry.java:72) - Streaming from jar entry : fotakernel.sin
23/045/2017 11:45:27 - DEBUG - (BundleEntry.java:146) - Writing Entry to C:\Users\Anis\.flashTool\firmwares\prepared\fotakernel.sin
23/045/2017 11:45:27 - DEBUG - (BundleEntry.java:140) - Saving entry kernel.sin to disk
23/045/2017 11:45:27 - DEBUG - (BundleEntry.java:72) - Streaming from jar entry : kernel.sin
23/045/2017 11:45:27 - DEBUG - (BundleEntry.java:146) - Writing Entry to C:\Users\Anis\.flashTool\firmwares\prepared\kernel.sin
23/045/2017 11:45:27 - DEBUG - (BundleEntry.java:140) - Saving entry partition-image.sin to disk
23/045/2017 11:45:27 - DEBUG - (BundleEntry.java:72) - Streaming from jar entry : partition-image.sin
23/045/2017 11:45:27 - DEBUG - (BundleEntry.java:146) - Writing Entry to C:\Users\Anis\.flashTool\firmwares\prepared\partition-image.sin
23/045/2017 11:45:27 - DEBUG - (BundleEntry.java:140) - Saving entry system.sin to disk
23/045/2017 11:45:27 - DEBUG - (BundleEntry.java:72) - Streaming from jar entry : system.sin
23/045/2017 11:45:27 - DEBUG - (BundleEntry.java:146) - Writing Entry to C:\Users\Anis\.flashTool\firmwares\prepared\system.sin
23/045/2017 11:45:29 - DEBUG - (BundleEntry.java:140) - Saving entry loader.sin to disk
23/045/2017 11:45:29 - DEBUG - (BundleEntry.java:72) - Streaming from jar entry : loader.sin
23/045/2017 11:45:29 - DEBUG - (BundleEntry.java:146) - Writing Entry to C:\Users\Anis\.flashTool\firmwares\prepared\loader.sin
23/045/2017 11:45:29 - INFO - (FlashJob.java:36) - Please connect your device into flashmode.
23/045/2017 11:45:30 - INFO - (USBFlashWin32.java:32) - Opening device for R/W
23/045/2017 11:45:30 - INFO - (X10flash.java:963) - Reading device information
23/045/2017 11:45:30 - DEBUG - (USBFlashWin32.java:80) - Reading packet from phone
23/045/2017 11:45:39 - INFO - (X10flash.java:974) - Unable to read from phone after having opened it.
23/045/2017 11:45:39 - INFO - (X10flash.java:975) - trying to continue anyway
23/045/2017 11:45:39 - DEBUG - (X10flash.java:953) - First command reply (hook) :
23/045/2017 11:45:39 - INFO - (X10flash.java:979) - Phone ready for flashmode operations.
23/045/2017 11:45:39 - INFO - (X10flash.java:424) - Opening TA partition 2
23/045/2017 11:45:40 - DEBUG - (USBFlashWin32.java:51) - Writing packet to phone
23/045/2017 11:45:40 - INFO - (X10flash.java:707) - Start Flashing
23/045/2017 11:45:40 - INFO - (X10flash.java:306) - Processing loader.sin
23/045/2017 11:45:40 - INFO - (X10flash.java:288) - Checking header
23/045/2017 11:45:40 - DEBUG - (USBFlashWin32.java:51) - Writing packet to phone
23/045/2017 11:45:40 - ERROR - (X10flash.java:326) - Processing of loader.sin finished with errors.
23/045/2017 11:45:40 - INFO - (X10flash.java:910) - Ending flash session
23/045/2017 11:45:40 - DEBUG - (USBFlashWin32.java:51) - Writing packet to phone
23/045/2017 11:45:40 - ERROR - (X10flash.java:735) - Error in processHeader : 22 : Het apparaat herkent de opdracht niet. (Translation: The device does not recognize the command.)
23/045/2017 11:45:40 - ERROR - (X10flash.java:736) - Error flashing. Aborted
23/045/2017 11:45:40 - INFO - (MainSWT.java:154) - Device disconnected
23/045/2017 11:45:42 - INFO - (MainSWT.java:158) - Device connected in flash mode