[Sony Xperia L] boogaboom:
Ok guys, so, let me tell you two things before I start. 1: sorry if my English might sound weird, not a native speaker. 2: I've read almost every thread in the whole internet about this sort of issue, but none seem to have the solution for my case.

I wanted to install a custom ROM on my Xperia L to unlock its true potential, but I noticed that I can't get Wi-Fi to work on ANY of all the roms I tried (Resurrection Remix, CM11 and three different builds of CM12 and 12.1). From what I read here, it looks like that if I restore the latest version of my stock firmware - seems like the one I had before modding wasn't the latest - I'll be able to get wifi to work, even if I install a custom rom.

The problem is that I just can't restore the .ftf. I'm using Flashtool 0.9.19.8 - I would like to avoid installing the whole bunch of android.sdk stuff (of course, unless it's strictly necessary) - and everytime I try to flash it, I get this:

05/006/2016 13:06:12 - INFO - Device connected in flash mode

05/006/2016 13:06:34 - INFO - Selected Bundle for Sony Xperia L (C2105). FW release : 15.0.A.2.17. Customization : CE

05/006/2016 13:06:34 - INFO - Preparing files for flashing

05/007/2016 13:07:13 - INFO - Device disconnected

05/007/2016 13:07:31 - INFO - Please connect your device into flashmode.

05/008/2016 13:08:23 - INFO - Device connected in flash mode

05/008/2016 13:08:24 - INFO - Opening device for R/W

05/008/2016 13:08:24 - INFO - Reading device information

05/008/2016 13:08:24 - INFO - Phone ready for flashmode operations.

05/008/2016 13:08:24 - INFO - Opening TA partition 2

05/008/2016 13:08:24 - INFO - Current device : Unknown: Nov 1 2013/13:06:21 - ZH800009FL - Unknown: Nov 1 2013/13:06:21 - Unknown: Nov 1 2013/13:06:21 - Unknown: Nov 1 2013/13:06:21

05/008/2016 13:08:24 - INFO - Closing TA partition

05/008/2016 13:08:24 - INFO - Start Flashing

05/008/2016 13:08:24 - INFO - Processing loader.sin

05/008/2016 13:08:24 - INFO - Checking header

05/008/2016 13:08:24 - INFO - Flashing data

05/008/2016 13:08:24 - INFO - Loader : S1_Root_dbe9 - Version : loader_MSM8X30_10 / Boot version : S1_Boot_MSM_8X30_R1_25 / Bootloader status : ROOTED

05/008/2016 13:08:24 - INFO - Max packet size set to 512K

05/008/2016 13:08:28 - INFO - Making a TA backup

05/008/2016 13:08:28 - INFO - Opening TA partition 1

05/008/2016 13:08:28 - INFO - Start Dumping TA partition 1

05/008/2016 13:08:28 - INFO - Finished Dumping TA partition 1

05/008/2016 13:08:28 - INFO - TA partition 1 saved to C:\Users\scarp\.flashTool\registeredDevices\ZH800009FL\s1ta\2016-03-05_01-08-28\1.ta

05/008/2016 13:08:28 - INFO - Closing TA partition

05/008/2016 13:08:28 - INFO - Opening TA partition 2

05/008/2016 13:08:28 - INFO - Start Dumping TA partition 2

05/008/2016 13:08:29 - INFO - Finished Dumping TA partition 2

05/008/2016 13:08:29 - INFO - TA partition 2 saved to C:\Users\scarp\.flashTool\registeredDevices\ZH800009FL\s1ta\2016-03-05_01-08-28\2.ta

05/008/2016 13:08:29 - INFO - Closing TA partition

05/008/2016 13:08:29 - INFO - Ending flash session

05/008/2016 13:08:30 - ERROR -

05/008/2016 13:08:30 - ERROR - Error flashing. Aborted

05/008/2016 13:08:30 - INFO - Device connected in flash mode

05/008/2016 13:08:30 - INFO - Device disconnected

I'm starting to get crazy.

Also, I have another problem, which is not strictly related to this one but I would like to solve.

I flashed TWRP recovery 3.0.0. And it gives me problems of every sort.

When I flash it from Flashtool and then unplog the usb cable and turn on the phone it boots, but the screen flickers as hell and everytime the left and the right half of the screen invert, so sometimes I even press the wrong buttons.

Then, when I try to boot the phone in recovery mode it just bootloops, it freezes at the Teamwin Recovery boot screen. So everytime I need to use recovery I just have to remove the battery, put it in again and flash boot.img again from Flashtool.

I tried to flash other recoveries (Philz and CWM) over it, but I just can't. I'm stuck with TWRP 3.0.0. I don't know how to do it.

I'm starting to get desperate here. I modded Samsung and Nexus devices until now, I never knew that modding Xperia could be so damn tricky. Please, help me!!

I'm very thankful to all of you who will be so kind to help me get out of this situation and even to those that will just try to answer.

________________________________________________

UPDATE:

I managed to switch to CWM recovery 6.0 but actually I can't install any rom, I get installation aborted. I suppose the recovery has no compatibility with the roms I try to install. I returned to TWRP, even if it flickers and can't boot properly at least I can flash a rom.

I tried to change the .ftf, the one I tried before wasn't actually the latest. But the problem remains the same, same log, flashing aborted.

And obviously, still no wifi. I'm desperate. I dunno what to do.