Are you sure your device is off when you're connecting it to your computer? Press and hold volume up button with powerbutton untill you've felt a vibration followed by a serie of vibrations and then try to connect it in flashmode.
- Device: Xperia P
- Rom: AOSP
- Backup Device: HTC ONE X
Happily awaiting my new purchase: HTC ONE M8 (silver)