Get LineageOS for the Sony Xperia SP
Special boot modes
Recovery: On boot, press Volume Down when the LEDs start lighting up.
Second Recovery: To boot the FOTA Recovery, press Volume Up instead.
Download: With the device powered off, hold Volume Up and connect the USB cable. The notification light should turn blue.