[Xperia SP Q&A, Help & Troubleshooting] Vunderman:
Sony Xperia SP not starting.

Hello,

A few weeks ago I decided to install CM12.1 on my Xperia SP. I follow all instructions I have found on the internet. After installing CM, I installed the gapps. After reboot, phone wouldn't turn on anymore. When charging phone, it goes into either red or green light. Same when it's plugged into laptop.

I've follow a number of threads on this site and followed differents suggestions and was not able to get my phone started, flash another kernel, not able to get into fastboot mode. I've brought my phone to UbreakIfix and they were not able to figure out the problem.

At one point I had a script error when flashing. After I used USB logger to save the log file so it would get recognized when flashing, it says it cannot install certain files.

Also this is a log I get when I'm flashing any other kernel:

1/046/2015 19:46:35 - INFO - Flashtool Version 0.9.19.0 built on 29-07-2015 12:00:00

01/046/2015 19:46:36 - INFO - Executing search strategies to find proxy selector

01/046/2015 19:46:36 - INFO - No proxy found for IE. Trying next one

01/046/2015 19:46:36 - INFO - No proxy found for firefox. Trying next one

01/046/2015 19:46:36 - INFO - No proxy found for java. Trying next one

01/046/2015 19:46:36 - INFO - Syncing devices from github

01/046/2015 19:46:37 - INFO - Scanning devices folder for changes.

01/046/2015 19:46:57 - INFO - Pulling changes from github.

01/046/2015 19:46:57 - INFO - Devices sync finished.

01/047/2015 19:47:05 - INFO - Device disconnected

01/047/2015 19:47:15 - INFO - Device connected in flash mode

01/047/2015 19:47:24 - INFO - Device disconnected

01/047/2015 19:47:25 - INFO - Device connected in flash mode

01/047/2015 19:47:26 - INFO - Device disconnected

01/047/2015 19:47:26 - INFO - Device connected in flash mode

01/047/2015 19:47:28 - INFO - Selected Bundle for Sony Xperia SP (C5306). FW release : 12.0.A.1.284. Customization : Fido

01/047/2015 19:47:28 - INFO - Preparing files for flashing

01/047/2015 19:47:55 - INFO - Please connect your device into flashmode.

01/047/2015 19:47:56 - INFO - Device disconnected

01/047/2015 19:47:58 - INFO - Device connected in flash mode

01/047/2015 19:47:58 - INFO - Opening device for R/W

01/047/2015 19:47:58 - INFO - Reading device information

01/047/2015 19:47:58 - INFO - Phone ready for flashmode operations.

01/047/2015 19:47:58 - INFO - Opening TA partition 2

01/047/2015 19:47:58 - INFO - Current device : C5303 - YT910CRPB6 - 1272-3352_R1B - 1269-3538_12.1.A.1.205 - GLOBAL-LTE_12.1.A.1.205

01/047/2015 19:47:58 - INFO - Closing TA partition

01/047/2015 19:47:58 - INFO - Start Flashing

01/047/2015 19:47:58 - INFO - Processing loader.sin

01/047/2015 19:47:58 - INFO - Checking header

01/047/2015 19:47:59 - INFO - Flashing data

01/048/2015 19:48:00 - INFO - Ending flash session

01/048/2015 19:48:00 - ERROR - Read error :31 : A device attached to the system is not functioning.

01/048/2015 19:48:00 - ERROR - Error flashing. Aborted

01/048/2015 19:48:00 - INFO - Device disconnected

01/048/2015 19:48:00 - INFO - Device connected in flash mode

01/048/2015 19:48:04 - INFO - Device disconnected

01/048/2015 19:48:05 - INFO - Device connected in flash mode

01/048/2015 19:48:11 - INFO - Device disconnected

01/048/2015 19:48:12 - INFO - Device connected in flash mode

01/048/2015 19:48:24 - INFO - Device disconnected

01/048/2015 19:48:24 - INFO - Device connected in flash mode

01/048/2015 19:48:30 - INFO - Device disconnected

01/048/2015 19:48:31 - INFO - Device connected in flash mode

01/048/2015 19:48:36 - INFO - Device disconnected

01/048/2015 19:48:37 - INFO - Device connected in flash mode

01/048/2015 19:48:43 - INFO - Device disconnected

01/049/2015 19:49:24 - INFO - Selected Bundle for Sony Xperia SP (C5306). FW release : 12.0.A.1.284. Customization : Fido

01/049/2015 19:49:24 - INFO - Preparing files for flashing

01/049/2015 19:49:50 - INFO - Please connect your device into flashmode.

01/050/2015 19:50:02 - INFO - Device connected in flash mode

01/050/2015 19:50:02 - INFO - Opening device for R/W

01/050/2015 19:50:02 - INFO - Reading device information

01/050/2015 19:50:02 - INFO - Phone ready for flashmode operations.

01/050/2015 19:50:02 - INFO - Opening TA partition 2

01/050/2015 19:50:02 - INFO - Current device : C5303 - YT910CRPB6 - 1272-3352_R1B - 1269-3538_12.1.A.1.205 - GLOBAL-LTE_12.1.A.1.205

01/050/2015 19:50:02 - INFO - Closing TA partition

01/050/2015 19:50:02 - INFO - Start Flashing

01/050/2015 19:50:02 - INFO - Processing loader.sin

01/050/2015 19:50:02 - INFO - Checking header

01/050/2015 19:50:02 - INFO - Flashing data

01/050/2015 19:50:02 - ERROR - Processing of loader.sin finished with errors.

01/050/2015 19:50:02 - INFO - Ending flash session

01/050/2015 19:50:02 - ERROR - Read error :31 : A device attached to the system is not functioning.

01/050/2015 19:50:02 - ERROR - Error flashing. Aborted

01/050/2015 19:50:03 - INFO - Device connected in flash mode

01/050/2015 19:50:18 - INFO - Device disconnected

01/050/2015 19:50:31 - INFO - Selected Bundle for Sony Xperia SP (C5306). FW release : 12.0.A.1.284. Customization : Fido

01/050/2015 19:50:31 - INFO - Preparing files for flashing

01/050/2015 19:50:55 - INFO - Please connect your device into flashmode.

01/051/2015 19:51:00 - INFO - Device connected in flash mode

01/051/2015 19:51:00 - INFO - Opening device for R/W

01/051/2015 19:51:00 - INFO - Reading device information

01/051/2015 19:51:00 - INFO - Phone ready for flashmode operations.

01/051/2015 19:51:00 - INFO - Opening TA partition 2

01/051/2015 19:51:00 - INFO - Current device : C5303 - YT910CRPB6 - 1272-3352_R1B - 1269-3538_12.1.A.1.205 - GLOBAL-LTE_12.1.A.1.205

01/051/2015 19:51:00 - INFO - Closing TA partition

01/051/2015 19:51:00 - INFO - Start Flashing

01/051/2015 19:51:00 - INFO - Processing loader.sin

01/051/2015 19:51:00 - INFO - Checking header

01/051/2015 19:51:00 - INFO - Flashing data

01/051/2015 19:51:02 - INFO - Loader : S1_Root_7054 - Version : R5G006 / Boot version : R11B023 / Bootloader status : NOT_ROOTABLE

01/051/2015 19:51:02 - INFO - Transfer buffer size : 32768

01/051/2015 19:51:23 - INFO - Found a template session. Using it : C:\Users\Vunderman\.flashTool\mydevices\C530X\C5303.fsc

01/051/2015 19:51:23 - INFO - Flashing finished.

01/051/2015 19:51:23 - INFO - Please unplug and start your phone

01/051/2015 19:51:23 - INFO - For flashtool, Unknown Sources and Debugging must be checked in phone settings

01/010/2015 20:10:20 - INFO - Flash canceled

01/020/2015 20:20:57 - INFO - Selected Bundle for Sony C5303. FW release : 12.0.A.1.257. Customization : РСТ

01/020/2015 20:20:57 - INFO - Preparing files for flashing

01/021/2015 20:21:19 - INFO - Please connect your device into flashmode.

01/021/2015 20:21:20 - INFO - Opening device for R/W

01/021/2015 20:21:20 - INFO - Reading device information

01/021/2015 20:21:20 - INFO - Unable to read from phone after having opened it.

01/021/2015 20:21:20 - INFO - trying to continue anyway

01/021/2015 20:21:20 - INFO - Start Flashing

01/021/2015 20:21:20 - INFO - Processing loader.sin

01/021/2015 20:21:20 - INFO - Checking header

01/021/2015 20:21:20 - ERROR - Processing of loader.sin finished with errors.

01/021/2015 20:21:20 - INFO - Ending flash session

01/021/2015 20:21:20 - ERROR - Error in processHeader : 6 : The handle is invalid.

01/021/2015 20:21:20 - ERROR - Error flashing. Aborted

01/021/2015 20:21:20 - INFO - Device disconnected

01/021/2015 20:21:36 - INFO - Selected Bundle for Sony C5303. FW release : 12.0.A.1.257. Customization : РСТ

01/021/2015 20:21:36 - INFO - Preparing files for flashing

01/021/2015 20:21:58 - INFO - Please connect your device into flashmode.

01/022/2015 20:22:04 - INFO - Device connected in flash mode

01/022/2015 20:22:04 - INFO - Opening device for R/W

01/022/2015 20:22:04 - INFO - Reading device information

01/022/2015 20:22:04 - INFO - Phone ready for flashmode operations.

01/022/2015 20:22:04 - INFO - Opening TA partition 2

01/022/2015 20:22:04 - INFO - Current device : C5303 - YT910CRPB6 - 1272-3352_R1B - 1269-3538_12.1.A.1.205 - GLOBAL-LTE_12.1.A.1.205

01/022/2015 20:22:04 - INFO - Closing TA partition

01/022/2015 20:22:04 - INFO - Start Flashing

01/022/2015 20:22:04 - INFO - Processing loader.sin

01/022/2015 20:22:04 - INFO - Checking header

01/022/2015 20:22:04 - INFO - Flashing data

01/022/2015 20:22:06 - INFO - Loader : S1_Root_7054 - Version : R5G006 / Boot version : R11B023 / Bootloader status : NOT_ROOTABLE

01/022/2015 20:22:06 - INFO - Transfer buffer size : 32768

01/022/2015 20:22:06 - WARN - File simlock.ta is ignored

01/022/2015 20:22:21 - INFO - Found a template session. Using it : C:\Users\Vunderman\.flashTool\mydevices\C530X\C5303.fsc

01/022/2015 20:22:21 - INFO - Flashing finished.

01/022/2015 20:22:22 - INFO - Please unplug and start your phone

01/022/2015 20:22:22 - INFO - For flashtool, Unknown Sources and Debugging must be checked in phone settings

I just don't know what to do anymore. I would like to save my phone, I like it and i don't feel like buying another one.