ADB finds no devices and MTP does not work












1















Running Ubuntu 16.04 LTS, I have attempted to get ADB working with an Android 7.1.1 Wileyfox Swift phone. Running adb devices shows no results:



$ adb devices
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
List of devices attached


Some basics I've tried:




  • Multiple USB cables and multiple ports

  • Developer mode is on

  • USB Debugging is turned on

  • I have tried setting USB mode to Charging, PTP, and MTP

  • Restarting the adb server, and attempting to run it as root.


lsusb shows my phone:



$ lsusb
Bus 001 Device 013: ID 2970:2282


I have appropriate udev rules (NB I found the second rule at https://compuitusa.com/mounting-the-android-phone-in-ubuntu-16-04/):



$ cat /etc/udev/rules.d/51-android.rules
SUBSYSTEM=="usb", ATTR{idVendor}=="2970", ATTR{idProduct}=="2282", MODE="0666"
$ cat /etc/udev/rules.d/52-mtp.rules
ATTR{idVendor}="2970", ATTR{idProduct}=="2282", SYMLINK+="libmtp-%k", ENV{ID_MTP_DEVICE}="1", ENV{ID_MEDIA_PLAYER}="1"


The permissions setup by udev look OK:



$ ls -lah /dev/bus/usb/001/013
crw-rw-rw-+ 1 root root 189, 12 Aug 29 06:56 /dev/bus/usb/001/013


The phone shows up using dmesg:



[  672.881607] usb 1-2: new high-speed USB device number 13 using xhci_hcd
[ 673.011350] usb 1-2: New USB device found, idVendor=2970, idProduct=2282
[ 673.011364] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 673.011371] usb 1-2: Product: Wileyfox Swift
[ 673.011378] usb 1-2: Manufacturer: Wileyfox
[ 673.011384] usb 1-2: SerialNumber: e81ed488


A udevadm test looks Ok:



$ udevadm info -q all -n /dev/bus/usb/001/013
P: /devices/pci0000:00/0000:00:14.0/usb1/1-2
N: bus/usb/001/013
S: libmtp-1-2
E: BUSNUM=001
E: DEVLINKS=/dev/libmtp-1-2
E: DEVNAME=/dev/bus/usb/001/013
E: DEVNUM=013
E: DEVPATH=/devices/pci0000:00/0000:00:14.0/usb1/1-2
E: DEVTYPE=usb_device
E: DRIVER=usb
E: ID_BUS=usb
E: ID_FOR_SEAT=usb-pci-0000_00_14_0-usb-0_2
E: ID_MEDIA_PLAYER=1
E: ID_MODEL=Wileyfox_Swift
E: ID_MODEL_ENC=Wileyfoxx20Swift
E: ID_MODEL_ID=2282
E: ID_MTP_DEVICE=1
E: ID_PATH=pci-0000:00:14.0-usb-0:2
E: ID_PATH_TAG=pci-0000_00_14_0-usb-0_2
E: ID_REVISION=0310
E: ID_SERIAL=Wileyfox_Wileyfox_Swift_e81ed488
E: ID_SERIAL_SHORT=e81ed488
E: ID_USB_INTERFACES=:ffff00:ff4201:
E: ID_VENDOR=Wileyfox
E: ID_VENDOR_ENC=Wileyfox
E: ID_VENDOR_ID=2970
E: MAJOR=189
E: MINOR=12
E: PRODUCT=2970/2282/310
E: SUBSYSTEM=usb
E: TAGS=:seat:uaccess:
E: TYPE=0/0/0
E: USEC_INITIALIZED=673329989


The phone is displayed as a Unity launcher. However, clicking on the launcher sometimes brings up a pop up message ‘Unable to mount Android Device‘ but does nothing else. Running Nautilus shows the phone as an entry under Computer: clicking the phone's entry does nothing. I've also tried setting the phone's usb parameters to Charging and PTP rather than MTP with no success for adb devices or to see the phone's files. Any ideas how to get ADB to find the phone and how to see the phone's files in Nautilus?










share|improve this question

























  • The question "How can I stop 'Unable to mount Android Device' messages from popping up?" goes part way to addressing this question. For me, that thread did not help.

    – John Rose
    Aug 30 '17 at 10:22
















1















Running Ubuntu 16.04 LTS, I have attempted to get ADB working with an Android 7.1.1 Wileyfox Swift phone. Running adb devices shows no results:



$ adb devices
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
List of devices attached


Some basics I've tried:




  • Multiple USB cables and multiple ports

  • Developer mode is on

  • USB Debugging is turned on

  • I have tried setting USB mode to Charging, PTP, and MTP

  • Restarting the adb server, and attempting to run it as root.


lsusb shows my phone:



$ lsusb
Bus 001 Device 013: ID 2970:2282


I have appropriate udev rules (NB I found the second rule at https://compuitusa.com/mounting-the-android-phone-in-ubuntu-16-04/):



$ cat /etc/udev/rules.d/51-android.rules
SUBSYSTEM=="usb", ATTR{idVendor}=="2970", ATTR{idProduct}=="2282", MODE="0666"
$ cat /etc/udev/rules.d/52-mtp.rules
ATTR{idVendor}="2970", ATTR{idProduct}=="2282", SYMLINK+="libmtp-%k", ENV{ID_MTP_DEVICE}="1", ENV{ID_MEDIA_PLAYER}="1"


The permissions setup by udev look OK:



$ ls -lah /dev/bus/usb/001/013
crw-rw-rw-+ 1 root root 189, 12 Aug 29 06:56 /dev/bus/usb/001/013


The phone shows up using dmesg:



[  672.881607] usb 1-2: new high-speed USB device number 13 using xhci_hcd
[ 673.011350] usb 1-2: New USB device found, idVendor=2970, idProduct=2282
[ 673.011364] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 673.011371] usb 1-2: Product: Wileyfox Swift
[ 673.011378] usb 1-2: Manufacturer: Wileyfox
[ 673.011384] usb 1-2: SerialNumber: e81ed488


A udevadm test looks Ok:



$ udevadm info -q all -n /dev/bus/usb/001/013
P: /devices/pci0000:00/0000:00:14.0/usb1/1-2
N: bus/usb/001/013
S: libmtp-1-2
E: BUSNUM=001
E: DEVLINKS=/dev/libmtp-1-2
E: DEVNAME=/dev/bus/usb/001/013
E: DEVNUM=013
E: DEVPATH=/devices/pci0000:00/0000:00:14.0/usb1/1-2
E: DEVTYPE=usb_device
E: DRIVER=usb
E: ID_BUS=usb
E: ID_FOR_SEAT=usb-pci-0000_00_14_0-usb-0_2
E: ID_MEDIA_PLAYER=1
E: ID_MODEL=Wileyfox_Swift
E: ID_MODEL_ENC=Wileyfoxx20Swift
E: ID_MODEL_ID=2282
E: ID_MTP_DEVICE=1
E: ID_PATH=pci-0000:00:14.0-usb-0:2
E: ID_PATH_TAG=pci-0000_00_14_0-usb-0_2
E: ID_REVISION=0310
E: ID_SERIAL=Wileyfox_Wileyfox_Swift_e81ed488
E: ID_SERIAL_SHORT=e81ed488
E: ID_USB_INTERFACES=:ffff00:ff4201:
E: ID_VENDOR=Wileyfox
E: ID_VENDOR_ENC=Wileyfox
E: ID_VENDOR_ID=2970
E: MAJOR=189
E: MINOR=12
E: PRODUCT=2970/2282/310
E: SUBSYSTEM=usb
E: TAGS=:seat:uaccess:
E: TYPE=0/0/0
E: USEC_INITIALIZED=673329989


The phone is displayed as a Unity launcher. However, clicking on the launcher sometimes brings up a pop up message ‘Unable to mount Android Device‘ but does nothing else. Running Nautilus shows the phone as an entry under Computer: clicking the phone's entry does nothing. I've also tried setting the phone's usb parameters to Charging and PTP rather than MTP with no success for adb devices or to see the phone's files. Any ideas how to get ADB to find the phone and how to see the phone's files in Nautilus?










share|improve this question

























  • The question "How can I stop 'Unable to mount Android Device' messages from popping up?" goes part way to addressing this question. For me, that thread did not help.

    – John Rose
    Aug 30 '17 at 10:22














1












1








1


1






Running Ubuntu 16.04 LTS, I have attempted to get ADB working with an Android 7.1.1 Wileyfox Swift phone. Running adb devices shows no results:



$ adb devices
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
List of devices attached


Some basics I've tried:




  • Multiple USB cables and multiple ports

  • Developer mode is on

  • USB Debugging is turned on

  • I have tried setting USB mode to Charging, PTP, and MTP

  • Restarting the adb server, and attempting to run it as root.


lsusb shows my phone:



$ lsusb
Bus 001 Device 013: ID 2970:2282


I have appropriate udev rules (NB I found the second rule at https://compuitusa.com/mounting-the-android-phone-in-ubuntu-16-04/):



$ cat /etc/udev/rules.d/51-android.rules
SUBSYSTEM=="usb", ATTR{idVendor}=="2970", ATTR{idProduct}=="2282", MODE="0666"
$ cat /etc/udev/rules.d/52-mtp.rules
ATTR{idVendor}="2970", ATTR{idProduct}=="2282", SYMLINK+="libmtp-%k", ENV{ID_MTP_DEVICE}="1", ENV{ID_MEDIA_PLAYER}="1"


The permissions setup by udev look OK:



$ ls -lah /dev/bus/usb/001/013
crw-rw-rw-+ 1 root root 189, 12 Aug 29 06:56 /dev/bus/usb/001/013


The phone shows up using dmesg:



[  672.881607] usb 1-2: new high-speed USB device number 13 using xhci_hcd
[ 673.011350] usb 1-2: New USB device found, idVendor=2970, idProduct=2282
[ 673.011364] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 673.011371] usb 1-2: Product: Wileyfox Swift
[ 673.011378] usb 1-2: Manufacturer: Wileyfox
[ 673.011384] usb 1-2: SerialNumber: e81ed488


A udevadm test looks Ok:



$ udevadm info -q all -n /dev/bus/usb/001/013
P: /devices/pci0000:00/0000:00:14.0/usb1/1-2
N: bus/usb/001/013
S: libmtp-1-2
E: BUSNUM=001
E: DEVLINKS=/dev/libmtp-1-2
E: DEVNAME=/dev/bus/usb/001/013
E: DEVNUM=013
E: DEVPATH=/devices/pci0000:00/0000:00:14.0/usb1/1-2
E: DEVTYPE=usb_device
E: DRIVER=usb
E: ID_BUS=usb
E: ID_FOR_SEAT=usb-pci-0000_00_14_0-usb-0_2
E: ID_MEDIA_PLAYER=1
E: ID_MODEL=Wileyfox_Swift
E: ID_MODEL_ENC=Wileyfoxx20Swift
E: ID_MODEL_ID=2282
E: ID_MTP_DEVICE=1
E: ID_PATH=pci-0000:00:14.0-usb-0:2
E: ID_PATH_TAG=pci-0000_00_14_0-usb-0_2
E: ID_REVISION=0310
E: ID_SERIAL=Wileyfox_Wileyfox_Swift_e81ed488
E: ID_SERIAL_SHORT=e81ed488
E: ID_USB_INTERFACES=:ffff00:ff4201:
E: ID_VENDOR=Wileyfox
E: ID_VENDOR_ENC=Wileyfox
E: ID_VENDOR_ID=2970
E: MAJOR=189
E: MINOR=12
E: PRODUCT=2970/2282/310
E: SUBSYSTEM=usb
E: TAGS=:seat:uaccess:
E: TYPE=0/0/0
E: USEC_INITIALIZED=673329989


The phone is displayed as a Unity launcher. However, clicking on the launcher sometimes brings up a pop up message ‘Unable to mount Android Device‘ but does nothing else. Running Nautilus shows the phone as an entry under Computer: clicking the phone's entry does nothing. I've also tried setting the phone's usb parameters to Charging and PTP rather than MTP with no success for adb devices or to see the phone's files. Any ideas how to get ADB to find the phone and how to see the phone's files in Nautilus?










share|improve this question
















Running Ubuntu 16.04 LTS, I have attempted to get ADB working with an Android 7.1.1 Wileyfox Swift phone. Running adb devices shows no results:



$ adb devices
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
List of devices attached


Some basics I've tried:




  • Multiple USB cables and multiple ports

  • Developer mode is on

  • USB Debugging is turned on

  • I have tried setting USB mode to Charging, PTP, and MTP

  • Restarting the adb server, and attempting to run it as root.


lsusb shows my phone:



$ lsusb
Bus 001 Device 013: ID 2970:2282


I have appropriate udev rules (NB I found the second rule at https://compuitusa.com/mounting-the-android-phone-in-ubuntu-16-04/):



$ cat /etc/udev/rules.d/51-android.rules
SUBSYSTEM=="usb", ATTR{idVendor}=="2970", ATTR{idProduct}=="2282", MODE="0666"
$ cat /etc/udev/rules.d/52-mtp.rules
ATTR{idVendor}="2970", ATTR{idProduct}=="2282", SYMLINK+="libmtp-%k", ENV{ID_MTP_DEVICE}="1", ENV{ID_MEDIA_PLAYER}="1"


The permissions setup by udev look OK:



$ ls -lah /dev/bus/usb/001/013
crw-rw-rw-+ 1 root root 189, 12 Aug 29 06:56 /dev/bus/usb/001/013


The phone shows up using dmesg:



[  672.881607] usb 1-2: new high-speed USB device number 13 using xhci_hcd
[ 673.011350] usb 1-2: New USB device found, idVendor=2970, idProduct=2282
[ 673.011364] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 673.011371] usb 1-2: Product: Wileyfox Swift
[ 673.011378] usb 1-2: Manufacturer: Wileyfox
[ 673.011384] usb 1-2: SerialNumber: e81ed488


A udevadm test looks Ok:



$ udevadm info -q all -n /dev/bus/usb/001/013
P: /devices/pci0000:00/0000:00:14.0/usb1/1-2
N: bus/usb/001/013
S: libmtp-1-2
E: BUSNUM=001
E: DEVLINKS=/dev/libmtp-1-2
E: DEVNAME=/dev/bus/usb/001/013
E: DEVNUM=013
E: DEVPATH=/devices/pci0000:00/0000:00:14.0/usb1/1-2
E: DEVTYPE=usb_device
E: DRIVER=usb
E: ID_BUS=usb
E: ID_FOR_SEAT=usb-pci-0000_00_14_0-usb-0_2
E: ID_MEDIA_PLAYER=1
E: ID_MODEL=Wileyfox_Swift
E: ID_MODEL_ENC=Wileyfoxx20Swift
E: ID_MODEL_ID=2282
E: ID_MTP_DEVICE=1
E: ID_PATH=pci-0000:00:14.0-usb-0:2
E: ID_PATH_TAG=pci-0000_00_14_0-usb-0_2
E: ID_REVISION=0310
E: ID_SERIAL=Wileyfox_Wileyfox_Swift_e81ed488
E: ID_SERIAL_SHORT=e81ed488
E: ID_USB_INTERFACES=:ffff00:ff4201:
E: ID_VENDOR=Wileyfox
E: ID_VENDOR_ENC=Wileyfox
E: ID_VENDOR_ID=2970
E: MAJOR=189
E: MINOR=12
E: PRODUCT=2970/2282/310
E: SUBSYSTEM=usb
E: TAGS=:seat:uaccess:
E: TYPE=0/0/0
E: USEC_INITIALIZED=673329989


The phone is displayed as a Unity launcher. However, clicking on the launcher sometimes brings up a pop up message ‘Unable to mount Android Device‘ but does nothing else. Running Nautilus shows the phone as an entry under Computer: clicking the phone's entry does nothing. I've also tried setting the phone's usb parameters to Charging and PTP rather than MTP with no success for adb devices or to see the phone's files. Any ideas how to get ADB to find the phone and how to see the phone's files in Nautilus?







usb android udev






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Aug 29 '17 at 8:42







John Rose

















asked Aug 29 '17 at 6:14









John RoseJohn Rose

45531125




45531125













  • The question "How can I stop 'Unable to mount Android Device' messages from popping up?" goes part way to addressing this question. For me, that thread did not help.

    – John Rose
    Aug 30 '17 at 10:22



















  • The question "How can I stop 'Unable to mount Android Device' messages from popping up?" goes part way to addressing this question. For me, that thread did not help.

    – John Rose
    Aug 30 '17 at 10:22

















The question "How can I stop 'Unable to mount Android Device' messages from popping up?" goes part way to addressing this question. For me, that thread did not help.

– John Rose
Aug 30 '17 at 10:22





The question "How can I stop 'Unable to mount Android Device' messages from popping up?" goes part way to addressing this question. For me, that thread did not help.

– John Rose
Aug 30 '17 at 10:22










0






active

oldest

votes












Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f950829%2fadb-finds-no-devices-and-mtp-does-not-work%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Ask Ubuntu!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f950829%2fadb-finds-no-devices-and-mtp-does-not-work%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

數位音樂下載

When can things happen in Etherscan, such as the picture below?

格利澤436b