Follow these simple steps and get your sexy device rooted.
- Open FlashTool and flash the XperiaSP_C530X_12.0.A.1.257_KernelOnly.ftf - 6.78 MB file.
- Reboot your device and connect to PC in usb debuggin mode.
- Close FlashTool. (important step)
- Download and Extract DooMLoRD_Easy-Rooting-Toolkit_v18_perf-event-exploit.zip to root directory on C:\
- Execute runme file(runme_linux.sh for linux, runme_mac.sh for mac and runme_win.bat for windows) and follow the instructions, in the end your device will be rebooted.
- Hopefully you will be rooted now(You can check it by launching SuperSU app from the launcher).
- Power off your device and launch FlashTool again.
- Now flash XperiaSP_C530X_12.0.A.2.254_KernelOnly.ftf - 6.95 MB file.(Latest kernel from the 12.0.A.2.254 firmware).
- Power on and enjoy rooted phone with latest firmware.

If you are facing issue of device rebooting when remounting /system partition then checkout the fix posted by @[NUT]
All credit goes to DooMLoRD










