`adb devices` and `fastboot devices` returns no device [answered]
Feature: Seeing the Xperia X in adb
and fastboot
Background:
Given I have an Xperia X
And I have a Linux laptop
And the Xperia X is powered off
And the USB cable is connected to my laptop
And I press and hold the VOLUME_UP button
And I insert the USB cable into the Xperia X
And the red light becomes a blue light
Scenario: Entering fastboot
When I enter fastboot devices
into the laptop terminal
Then I should see the Xperia X
But I don't see any devices
Scenario: Entering adb
When I enter adb devices
into the laptop terminal
Then I should see the Xperia X
But I don't see any devices
try different cable and usb port
bomo ( 2019-05-11 09:10:45 +0200 )editAlso you may need to be root or sudo the commands on the linux.
Manatus ( 2019-05-11 10:42:31 +0200 )editI tried a different cable and USB port. No joy. Also, I tried the commands with
jimjamz ( 2019-05-11 14:22:05 +0200 )editsudo
already and still no success. Sorry, I should have mentioned this earlier.I'm not sure if it makes any difference, but Developer tools are enabled in Sailfish OS on the device.
jimjamz ( 2019-05-11 14:25:12 +0200 )editCan anyone confirm that they are able to successfully recognise their Xperia X device with
jimjamz ( 2019-05-12 01:49:32 +0200 )editadb
andfastboot
when not using the official genuine Sony-branded USB cable that comes with the device? Although I have tested a couple of different USB cables, I don't have access to my original Sony cable and I think @bomo may be right. I seem to recall having this issue when I flashed the device the first time way back when in October 2017. I'm currently using an official genuine Nokia/Microsoft-branded cable, and I think this may be the issue.