I've recently installed
apt-get install android-tools-adb android-tools-fastboot
After the installation finished, I connected my device and ran the following command:
$ adb devices List of devices attached
I've enabled debugging in the phone settings.
I think am doing it wrong-- I don't know. Please explain me the correct process.
Using Ubuntu 16.01. Device: Yu Yuphoria
After all the frustrating attempts It's still not detected in
fastboot mode, adding the vendor id command for my device,
fastboot -i 0x2a96 devices as found mentioned here works
fastboot -i 0x2a96 devices
Other commands in
fastboot mode, as instructed in the same page mentioned above, works too when vendor id command option was added.