You can enter Service Menu on Xperia devices with code:

*#*#7378423#*#*