• Android USB connection secrets - MTP, PTP and Mass Storage. Error: USB MTP device. Failure: recommendations for troubleshooting the problem

    IN lately synchronization mobile gadgets based on Android OS with standard computer systems has undergone quite significant changes. The basis new technology it was supposed to use the so-called MTP Device driver when directly connecting the device to a computer or laptop via universal port USB.

    What is MTP Device?

    In general, the technology first saw the light back in 2008 on mobile gadgets with Honeycomb in the Android OS Ice Cream Sandwich. At that time she was considered integral part Windows package Media, but was then standardized as one of the main types of USB devices.

    That is why now stationary operating systems, when connecting a mobile gadget, identify it as an MTP Device. In fact, the development itself was not something new, since it very much resembles the PTP (Picture Transfer Protocol) protocols, or rather, it is one of its varieties in the form of additional extensions.

    MTP Device Driver as an alternative to USB Mass Storage

    As for the functioning of such a system, it is probably clear that without installing a driver it is in principle impossible. However, compared to normal data exchange via USB MTP Device, the driver works slightly differently.

    The most important difference, also known as the advantage of the new technology, is the following. The point is that when using standard connection with the help USB Mass Storage two sections are created (for media files and for applications separately), and one of them always depends on the other. A situation arises when a smartphone or tablet does not have access to one of the sections, but the computer perceives both. This is why a situation arises when applications installed on an SD card not only do not work, but do not even start.

    There are no such restrictions when using MTP Device. In addition, there is no need to even use a file FAT systems. And if earlier redistribution free space occurred due to the influence of one section on another, in in this case there is nothing like it. Simply put, it used to be a hobby free space one partition led to a reduction in the size of another. Now both sections remain unchanged.

    Standard driver installation on Windows

    Now let's see how it's made standard installation drivers when synchronizing the device with Windows. Let's say we have a Samsung smartphone or tablet.

    As a rule, usually when you first connect a device to a computer terminal, the system displays a message in the system tray that a new device has been found (in our case, MTP Device Samsung). The system itself installs the driver necessary for synchronization without any problems, after which data transfer can be carried out in the same way as using a regular USB connection, when it is determined and internal storage, And external SD card. Of course, errors may appear (like “ Samsung Mobile MTP Device driver is not installed"), but we will dwell on them a little later.

    General recommendations for installing drivers for most Android devices

    In principle, it almost always works automatic installation necessary drivers the Windows operating system itself. However, you can also use alternative methods related to the installation of related utilities for a smartphone or tablet.

    So, for example, the same Samsung MTP Device driver is installed automatically if you have latest version Kies apps. Please note, for each specific model mobile gadget Samsung Corporation does not release drivers, so look for them, say, for S6 or for Galaxy Note 2 makes absolutely no sense.

    For HTC smartphones you need to use specialized software called HTC Sync Manager (sometimes it may be necessary to install the firmware via FastBoot mode). For LG, you can find a driver on the manufacturer’s official website specifically for a specific model. For Nexus, you need to use the ADB RUN utility and install the driver from the standard Device Manager. When using Sony gadgets, there are two options: installing Sony PC Suite or using FlashTool drivers. In principle, there is no difference, but you need to remember that these are two mutually exclusive programs - when installing one, you must first remove the other.

    Use on Mac OS

    The use of devices classified as MTP Device when synchronizing with desktop Macs or Apple laptops is not much different from its counterpart in Windows.

    Unless, to be completely sure, you can additionally install Android app File Transfer, that's all. Otherwise there shouldn't be any problems.

    Installation on Linux (Ubuntu)

    IN Linux systems due to their specificity, installing MTP Device drivers looks somewhat more complicated. As an example, consider this process when installing a driver for Nexus.

    So, we use the command window, in which we first write sudo nano -w /etc/udev/rules.d/51-android.rules (installing UDEV rules). Then enter the command SUBSYSTEM=="usb", ATTR(idVendor)=="04e8", ATTR(idProduct)=="6860", MODE="0600", OWNER="<Имя пользователя>", after which we sequentially execute the lines sudo apt-get install mtpfs, sudo mkdir/media/GNexus and sudo chmod 775/media/GNexus.

    Next, connect the gadget to the computer and enter sudo mtpfs -o allow_other /media/GNexus. That's it, now, using Nutilus, you can start moving any files and folders. Yes, the most important thing. When all operations are completed, remember to use the final command sudo umount mtpfs.

    Possible errors and methods for eliminating them

    Unfortunately, errors cannot be ruled out either. In most cases, this applies only to operating rooms Windows systems. Let's try to look at the most common failures and the simplest methods for eliminating them.

    First of all, it is worth checking whether the accompanying utilities are up to date with the latest versions. When using them, it is advisable to download the latest distribution from the manufacturer’s website.

    If the driver for MTP Device still does not work, you can try to reinstall it manually. To do this you need to go to “Device Manager”. In theory, if the driver is not installed or the device itself is not working correctly, it will be marked yellow icon. Everything is simple here. You need to find the driver update button in the properties, and then select from the list only compatible devices. If this does not help, you will have to remove it and then install it again in automatic mode. If this does not work, you will have to tell the system the location where it is stored. installation distribution containing the necessary information.

    Sometimes, however, this does not help. There can be any number of reasons. In some cases, installing the latest version on the system may help. Windows Media Player. Probably just have to check system partition hard drive for errors, you never know what might happen. It also happens that this type of error or failure can be generated by the “native” media player itself (this option, unfortunately, cannot be ruled out). In this situation, if you are using versions of Windows 7 and higher, you can simply try to disable multimedia components in the programs section of the Control Panel.

    As is already clear, the reasons for such failures are simply innumerable. Therefore, we will have to move from the simplest methods of solving the problem to more complex or even radical ones, taking into account the specifics of the cause in each specific case and for everyone specific device.

    However, as practice shows, one of the universal solutions can be the use system registry. Here you need to find the UpperFilters key in the main section HKEY_LOCAL_MACHINE by sequentially moving through the tree (System\CurrentControlSet\Control\Class) and delete it. This will not affect the performance of the operating system, but the connection will work as expected. Let us immediately note that in most cases this method can be used for gadgets from Samsung.

    Conclusion

    That’s basically all that concerns the main issues related to using a connection using MTP technology. As you can see, you don’t have to work hard to install the driver, except on Linux. Basic errors can be resolved quite easily, but in each case it is advisable to find out the root cause before taking any drastic actions like deleting registry keys. But in most cases there should be no failures, especially if you install the most latest versions additional software for your gadget.

    In any case, you can simply turn to the official Internet resources of mobile equipment manufacturers. Surely there is a help section with a description of problems of this type. Perhaps the problem is not even in Windows, but, for example, in the device’s firmware or disabled functions and settings.

    Old Android devices support mass USB memory to transfer files to a computer and back. Modern Android devices use MTP and PTP protocols - you can choose either of the two.

    To select the USB connection protocol, open the Settings application, tap Storage, then the menu button and select USB connection with a computer. When a device is connected to a computer via USB, the protocol it uses is shown in a notification.

    Why modern devices Android does not support USB mass storage

    USB mass storage—also known as the “USB mass storage device class”—is a method by which older Android versions provided the computer with access to their memory. When connecting an Android device to a computer, I had to click the “Connect memory to computer” button so that the device memory

    Android became accessible to the computer via USB mass storage. When disconnecting from the computer, you should click the “Disable USB memory” button.

    USB mass storage is a standard protocol used by flash drives, external hard drives, SD memory cards and other USB storage devices. The drive becomes fully accessible to the computer, just like an internal drive.

    This work scheme had disadvantages. The device connecting to the memory required exclusive access to it. The memory was disconnected from the computer when connected operating system Android. Files and applications stored on a memory card or USB drive became inaccessible when connected to a computer.

    System files need to be stored somewhere; they cannot be detached from the device, so Android devices contain a separate /data partition for “ system memory” and /sdcard partition for “USB memory” on the same internal drive. Android installs applications and system files in /data, while user data is stored in the /sdcard partition.

    Hard partitioning resulted in insufficient space for applications and too much space for data. You cannot change the size of partitions without obtaining superuser rights on the device - the manufacturer selects the size for each partition at the factory.

    Since the file system had to be accessed from Windows computer, it was formatted under FAT. Microsoft holds patents on FAT, which is an older and slower file system without modern system permissions. V present moment Android uses new file system ext4 for all partitions because Windows doesn't have to read them directly.

    Connecting a phone or Android tablet to the computer as a standard USB storage device convenient, but it has too many disadvantages, so newer Android devices use different USB connection protocols.

    MTP – storage device

    MTP stands for “data transfer protocol”. Android when using of this protocol appear to the computer as a “data storage device.” Data Transfer Protocol was promoted as a standardized protocol for transferring audio files to digital music players With using Windows Media Player and similar programs. It was supposed to allow other media companies to compete with Apple iPod and iTunes.

    This protocol is very different from USB mass storage. Instead of exposing the Android device's file system to Windows, MTP works at the file level. Android device does not provide all of its memory to Windows. Instead, the computer sends a request to the connected device, and it responds with a list of files and directories. A computer can download a file by requesting it from a device, which will send the file over the connection. If the computer sends a file to the device, the device stores it. When you delete a file, the computer sends a signal to the device, telling it to delete the file, which the device does.

    Android chooses which files to show and hides system files so they can't be seen or changed. If you try to delete or edit an immutable file, the device rejects the request and displays an error message.

    The computer does not require exclusive access to the drive, so there is no need to connect memory, disconnect it, or create separate partitions for different types data. Android can use ext4 or any other file system. Windows is not required to understand the Android file system.

    In fact, MTP works very similarly to USB mass storage. For example, the MTP device shows up in Explorer so you can view and transfer files. Linux also supports MTP through libmtp, which is included with popular Linux distributions. MTP devices also show up in the Linux file manager.

    Apple Mac OS X does not support MTP at all. iPods, iPads and iPhones all use their own proprietary syncing protocol with iTunes, so why would they support a competing protocol?

    Google provides a transfer app Android files under Mac OS X. It is an MTP client and transfers files to Mac. Google does not provide this application for other operating systems because they have MTP support.

    PTP – digital camera

    PTP stands for Picture Transfer Protocol. When using this protocol, Android appears to the computer digital camera.

    MTP is based on PTP but adds additional features. PTP functions similar to MTP and is used by digital cameras. Any program that captures photos from digital cameras can extract them from Android phone, if PTP mode is selected. PTP serves as a standard protocol for interfacing with digital cameras.

    In this mode, the Android device will work with digital camera applications that support PTP, but not MTP. Mac OS X supports PTP, so you can use it to move photos from an Android device to a Mac over a USB connection without any special software.

    In case of an older Android device, you will have to use USB mass storage. New devices allow you to choose between MTP and PTP - PTP is needed for programs that only support it.

    If your device has a removable memory card, you can remove it and insert it directly into the memory card slot on your computer. The memory card will appear to the computer as a drive, which means you can access all the files on it, run file recovery software, and do everything else that MTP does not allow.

    Android application/vnd.android.package-archive Android application

    Android from A to Z: What lies behind abbreviation MTP, and how to properly manage it

    MTP (Media Transfer Protocol) first appeared on devices with Honeycomb. The protocol is slightly different from the usual USB Mass Storage (UMS), in which you turn on the USB mod and start moving files. And since MTR became part of, it would be nice to find out all the nuances. In this post we will try to understand as much as possible what exactly this protocol is, what is the need for it, and how to configure it to simplify file transfer.

    What is MTP?

    MTR is a set of custom extensions for PTP (Picture Transfer Protocol), which is aimed at transferring files and associated metadata across USB. Still here? Then let's continue.

    Originally part of the structure Windows Media, but in 2008 MTR was standardized as a type USB devices, thereby becoming an established standard. If you have owned an iriver or Creative MP3 player, you have probably encountered MTR. If you use a digital camera, which is automatically recognized as a device when connected to a PC, then the RTR, which is essentially the same as MTR. The thing is quite old, but not for Android.

    Why use MTP instead of USB Mass Storage?

    The essence of use MTP is that now manufacturers mobile devices no need to create two separate sections, one for applications, the second for media files. Previously, a sin was noticed behind them, which consisted in expanding the second partition at the expense of the first, and this very often led to a lack of space for new applications. WITH MTR Both types of files can be stored together.

    U USB Mass Storage There is one big drawback - when you create memory partitions, one of them is completely at the mercy of the other device. This means that your tablet or smartphone will not have access to this section, but the computer to which the device is connected can manage it in every possible way. For this reason, some applications and especially widgets placed on the SD card do not work.

    Another advantage MTR is no need to use the FAT file system for storage. This ultimately leads to more fast work device

    Installation of MTP

    Since the time Windows XPMTPdevices work without problems. Connect yourGalaxyNexus, choose MTPAs a connection type, the computer operating system itself finds the necessary drivers, you will only need to wait a little. Moving files between your smartphone and PC without any problems is ensured. But what should those users who preferredLinux And Mac?

    Mac OS

    Install UDEV rule opening rules file via terminal

    sudo nano -w /etc/udev/rules.d/51-android.rules

    Then enter the following line at the bottom of the file (remember to include your username):

    SUBSYSTEM=="usb", ATTR(idVendor)=="04e8", ATTR(idProduct)=="6860", MODE="0600", OWNER=" "

    After which it will be the turn for:

    • sudo apt-get install mtpfs
    • sudo mkdir /media/GNexus
    • sudo chmod 775 /media/GNexus

    Then you should connect Galaxy Nexus to the PC and in the same window as before enter:

    sudo mtpfs -o allow_other /media/GNexus

    This will all allow you to drag and drop files using Nautilus, and don't forget to enter the following command when finished:

    sudo umount mtpfs

    Alternative

    Alternatively you can use the combination Wifi File Explorer And QuickSSHd And send files over a wireless connection.

    Android from A to Z: What lies behind the abbreviation MTP, and how to use it correctly:
    rating 80 out of 80 based on 80 ratings.
    There are 80 reviews in total.

    As you know, Android smartphones can be connected to a computer via a USB cable to gain access to the built-in memory of the smartphone and the contents of the memory card (if it is installed in the smartphone). With branded smartphones - Samsung, Huawei, Lenovo, Sony, HTC and so on - This is usually what happens: you connect your smartphone via USB, after which it appears in “Devices and drives”.

    Next, click on the smartphone icon (or tablet, it doesn’t matter) - you get the contents of the built-in memory and memory card. Well, there you can create folders, copy audiobooks, music, photos, documents, videos and the devil there.
    However, many users of Chinese smartphones (tablets) from lesser-known manufacturers complain that when they connect their smartphone to a computer, it does not appear in “Devices and drives.” What should you do in this case? In this case, you need to look at the notification area and click on the “Charging via USB” notification there. (Usually called this, but it may be called something like “Setting up a USB connection.”) After this, a mode selection window will open. USB usage.

    Charger- the computer charges the connected smartphone, but the system does not see it. File Transfer (MTP)- maximum access from a computer to a smartphone, in which the contents of the built-in memory and memory card will be visible. Photo transfer (RTR)- with this type of connection, the smartphone should appear in the devices, but access will only be to the folder with photos, videos (DCIM) and screenshots (Pictures). You need to select the "File Transfer" item, after which the smartphone should appear in devices. Keyword - must appear. Or it may not appear, which often happens with Chinese smartphones upon first connection. When testing a bunch of smartphones, I come across this all the time. So here’s how to solve it this problem, because it is very inconvenient if you cannot access the contents of your smartphone? (The memory card, if anything, can be pulled out and connected to the computer via an adapter, but this number will not work with a smartphone.) The fact that the smartphone did not appear in the list of available devices only indicates that the system was unable to install for it the right drivers. You will find confirmation of this thesis if you go to Control Panel - Device Manager - Portable Devices. There will probably be an icon in the list with the name of the smartphone, on which there is a warning yellow triangle with black exclamation point. This just means that the correct drivers are not installed for the device.

    Right-click on the device and select "Update Drivers". A window like this will appear in front of you. There you select "Search for drivers on this computer."

    Then in the next window, select “Select a driver from the list of already installed drivers.”
    And there you choose USB MTP device.
    And that's all required driver will be installed, the smartphone will appear in the system! If you saw a smartphone icon with a yellow triangle in the “Device Manager” and tried to update the driver with automatic search, then with a high degree of probability you will receive a message like this.
    And the device will end up in “Other devices” with the name “Android”.

    In this case, you also need to perform the steps described above, only after calling the driver from the list of installed ones, you will first need to select MTD devices, and only after that the corresponding list will appear in which you need to select the MTP USB device.

    And that's it, the problem is solved. Well, so as not to get up twice. Many users are annoyed by the fact that by default, when connecting a smartphone, the “Just charging” mode is set. And there is no way you can change it from the default to "File Transfer" mode.

    In fact, this can be done, but with a couple of spells. To do this, you first need to enable developer mode on your smartphone, which is turned off by default. To do this, go to “Settings”, then go to the “About phone - Device information” section and tap “Build number” 8 times. After that, in the settings at the very bottom above “About phone” will appear new section"For developers."

    Synchronization of mobile gadgets based on the Android operating system has recently undergone major changes. The new technology was based on the use of an MTP Device driver, provided that the device was directly connected to a laptop or computer via a universal USB port.


    What is an MTP Device?

    MTP technology first saw the light back in 2008 in mobile devices ah with Honeycomb in the operating room Android system Ice Cream Sandwich. At that time this system was considered the main part of the package Windows programs Media, but then it was standardized as one of the main types of USB devices. It is for this reason that today desktop operating systems, when connecting a mobile device, identify it as nothing more than an MTP Device. However, in essence this development is not something new. It closely resembles the PTP protocols or one of its variations in the form of additional extensions.

    Alternative to USB Mass Storage

    If we talk about the functioning of this system, it becomes clear that it is, in principle, impossible without installing the driver. However, when compared to regular information exchange via USB MTP Device, the driver works a little differently. The main difference of the new technology is as follows. When using a standard connection with via USB Mass Storage creates two partitions (for applications and media files separately). One of the sections always depends on the other.

    However, in some cases a situation arises when a tablet or smartphone does not have access to one of the sections, but the computer accepts both sections. It is for this reason that a situation arises when applications installed on the SD card do not launch and do not work. When using MTP Device there are simply no such restrictions. There is also no need to use the FAT file system.

    If previously the redistribution of free disk space was carried out due to the influence of one partition on another, then in this case this does not happen. To put it more in clear language Previously, increasing the free space of a partition would cause another partition to shrink. Now both sections remain unchanged.

    Installing the driver in Windows OS

    Let's look at how standard driver installation is carried out when synchronizing a device with Windows. Let's assume we have a tablet and a smartphone from Samsung. When you connect a device to your computer for the first time, as a rule, the system displays a message stating that a new device has been found. In our case, we will be talking about MTP Device Samsung. The system will automatically install the driver required for synchronization. After this, the data transfer will be carried out in the same way as using a regular USB connections, when the external SD card and internal storage are detected. Of course, errors like “driver not installed” may also appear. We'll look at them a little later.

    In principle, on such devices, the automatic installation of all necessary drivers by the Windows operating system itself almost always works. You can also use alternative methods that involve installing appropriate programs for your tablet and smartphone. For example, the same MTP Device drivers are automatically installed on Samsung products if the latest version of the Kies application is available. It is also worth noting that Samsung does not release drivers for each specific model of mobile gadget.

    So it makes no sense to look for drivers for the Galaxy Note 2 or S6. Smartphones manufactured by HTC require specialized software called HTC Sync Manager. In some cases, it is necessary to install the firmware via FastBoot mode. You can find drivers for LG devices on the official website of the manufacturer.

    For Nexus, you can try using the ADB RUN utility or installing drivers using the standard Device Manager. When using gadgets from Sony, there are two options: using FlashTool drivers or installing Sony PC Suite. In principle, there is no particular difference, but it should be borne in mind that these are two mutually exclusive programs. When installing one of them, it is better to immediately remove the other.

    Use on Mac OS

    When synchronizing with Apple laptops and Macs, the use of devices classified as MTP Device is not much different from the similar Windows. To be completely sure, you can only additionally install the Android File Transfer application, and that’s it. Otherwise there shouldn't be any problems.

    Installation on Linux systems (Ubuntu)

    On Linux systems, due to their specifics, the process of installing MTP Device drivers is a little more complicated. As an example, let's look at the process of installing drivers for the Ubuntu version when installing a driver for Nexus. You must use a command window in which you enter the combination sudo nano –w /etc/udev/rules.d/51-android rules.

    After this, enter the command SUBSYSTEM== “usb”, ATTR (idVendor)== “04e8”, ATTR (id Product) == “6860”, MODE= “0600”, OWNER = “User name”. After this, you need to sequentially execute the lines sudo apt-get install mtpfs, sudo mkdir/media/GNexus and sudo chmod 775/media/GNeus. Now you need to connect the gadget to your computer and enter the command sudo mtpfs – o allow_other/media/GNexus. After that, using Nutilis, you can move any folders and files. One important point: When all operations are completed, remember to use the final command sudo umount mtpfs.

    Errors and methods for eliminating them

    Unfortunately, errors cannot be ruled out when installing drivers. In most cases, they occur when using Windows operating systems. Let's try to look at the most common errors, as well as ways to eliminate them. First of all, you need to check whether the utilities you are using are up to date with the latest versions.

    If everything is in order, but the driver for MTP Device still does not function, you can try installing it in manual mode. To do this, you need to go to “Device Manager”. If the device is not working properly or the driver is not installed, the device itself will be marked with a yellow icon. Everything is quite simple here. Find the driver update button in the properties and select only compatible devices from the list. If this operation does not help, you will have to remove the driver and then reinstall it automatically.

    If this does not work, tell the system the location where the installation distribution with necessary information. In some cases, this turns out to be ineffective. There could be a lot of reasons for this. IN certain cases Installing a fresh version of Windows Media Player on the system saves the day. Most likely, you just need to check the system hard section disk for errors. The problem could be anything. Sometimes it happens that the “native” media player itself produces this type of errors and failures.

    This option also cannot be excluded. In this situation, if used Windows version 7 and higher, you can try disabling multimedia components using the "Programs" section in the "Control Panel". There are many reasons for such failures. Therefore it will be necessary from the most simple ways To solve this problem, move on to more complex and radical methods. In each specific case, it is necessary to take into account the specifics of a particular device. However, as practice shows, universal solution This problem may be caused by the use of the system registry.

    It is quite simple in the main section HKEY_LOCAL_MACHINE by sequentially moving through the tree to find the UpperFilters key and delete it. This will not affect the performance of the operating system in any way. However, the connection will finally work as expected. It is worth immediately noting that this method in most cases, it is also effective for gadgets manufactured by Samsung.

    Conclusion

    IN this review We tried to briefly describe the main issues related to using a connection using MTP technology. As you can see for yourself, the user will not have to put much effort into installing the driver, unless of course you are using Linux systems. All major errors when installing drivers are quite easy to fix. However, in each case, it is still advisable to establish what the cause of the problem is. It is better to do this before performing drastic actions such as deleting system registry keys.

    However, in most cases, failures should not occur, especially if you install the latest versions of additional software for your gadget. In any case, just contact official resources mobile device manufacturers. Surely, you can find a help section on the official website, which will describe the process of dealing with problems of this type. Most likely, the problem is not even in Windows, but in disabled settings and functions or even in the device firmware.