Media Tranfer Protocol

Introduction :

MTP or Media Transfer Protocol is a protocol designed for media device connectivity. The main purpose of this protocol is to facilitate the transfer of media files to/from devices.
This protocol was originally implemented for use across USB but extended for use across TCP/IP and Bluetooth. The host connecting to an MTP device is called an MTP Initiator whereas the device itself is an MTP Responder.

MTP differs from MSC (USB Mass Storage Class) in which the device no longer appears to a host (PC) as a dummy storage device (and be assigned a drive letter like any disk drive), but as a functional digital media device with a set of enhanced capabilities. The main practical difference is that with MSC the PC can only "see" the storage media, that is a collection of files and folders. While with MTP the PC "talks" to the player itself, in a language that is device independant (the PC does not need to know how the player stores its media).


Advantages :

  1. Transfer of media files and associated metadata to/from devices.
  2. Management of media files and configuration data on the devices.
  3. Allow the remote control of the devices.

Disadvantages :

  1. MTP standards doesn't allow for direct modification of objects. instead the files must be copied on the hard drive, modified and re uploaded onto the device.
  1. MTP devices are not treated as a traditional removable drives. The actual file system is implemented by the device, not by the computer's operating system. This means that conventional file system recovery tools will be of no use if the drive is corrupted, or crashes.

Sources :

  1. introduction
  2. in-depth explanation of mtp