[Sony Xperia M2] Mendeleiev:
Hello people, following the tutorial from GlitchtheEevee I remade it to make it easier to understand, and with a couple of simplified steps.

1 - Install the following programs in your computer:

- Pc compagnion from sony website

- Android Studio(I can't post urls so google to find it) when installing it, it may ask you to download an additional program which name I can't remember, just do it. Once you have installed it you have to enable the Google USB driver, instructions for that are in google also, just write "google usb sdk" on google

- Flashtool (google flashtool and the first website)

2 - Download the following files:

- CWM boot.img

- Supersu

- Sony RIC killer

- XperiaFirm

- android_winusb.inf

Download all from here: mega. co. nz /#F!eo0yEBaQ!ujFZ8Rl8XsJDK2KTgJlEKA

(delete the spaces I made in the link, I'm sorry if I am now allowed to post urls but I upload this files to my mega account)

3. Now Download the last version of Xperia m2 Aqua firmware using the program Xperiafirm (be sure of choosing your model) it will download several files, to transform all that files in a .tft file I used the last version of flashtool avaliable in the link above, open flashtool and click in tools/bundles/Fileset Decrypt. Select your source folder (the one where all the files from xperiafirm were downloaded) and send all files from "avaliables files" to " Files to convert" and click "convert". When it finish it will pop up a windows "Bunder", make double click in the "device" file and select yours, In the fields branding and version write whatever u want, send all files from the "folder list" to the "firmware content" and click "create". When it is finished you'll have your .tft file, you'll need it a little later.

4. Minimize flashtool, copy the file "boot.img" in the folder C:\Users"your user"\AppData\Local\Android\sdk\platform-tools (sometimes App folder is hidden) and the file android_winusb.inf in the folder C:\Users"youruser"\AppData\Local\Android\sdk\extras\google\usb_driver

5. Copy the file UPDATE-SuperSU-v2.40.zip in the root of your microSD card.

6. Go to the folder C:\Users"your user"\AppData\Local\Android\sdk\platform-tools and there while pressing shift make right click, "open command windows here", a command window will open, then write: fastboot flash boot boot.img and press enter, it will take a couple of seconds, then write fastboot reboot and your cellphone will reboot. In this point your cellphone is bricked, but don't worry, just after writing "fastboot reboot" while your cellphone is turning on press volume up and down several times and it will boot in recovery mode, there go to install zip from sd card and look for the superSu file, once installed go to advanced and reboot bootloader, answer yes to "fix superuser". Now write again in the command windows fastboot reboot.

7. Your cellphone should reboot with the last steep but if not and it enter in a endless loop of black screen (like it happened to me) you can just turn off your phone by pressing volume up and off bottom until the cellphone vibrate 3 times, and turn it on. If it reboot alone or you do it manually press volume down while your phone is turning on and your cellphone will enter in download mode. Plug it with the USB and in flashtool click the thunderbolt and flashtool, select the tft file you created before and in the window "exclude" check everything except "Kernel", it will flash now the kernel and when it is finished turn on your phone. You'll have to configure it like when you bought it.

8. Now your device is rooted, but you have to run the program sony RIC killer with the cellphone plugged, and that´s all.

If during the process you have any problem you just have to turn off your cellphone with the method I explained above, turn in on in download mode (volume down + on) and flash the tft you created.