Linux Journal A blog about Ubuntu, Linux, Android and IT
  • Mar
    24

    Devices running Android 3.0 or 4.0 integrated via MTP in Ubuntu Linux

    Filed under: Interesting;

    The Samsung Nexus Galaxy Transfer protocol baptized. Windows users will notice little difference, because Windows Vista from the log house of the Explorer. For Linux, you conjure up but still in the terminal.ViewShort time a trip to the theme of why there is now no longer a USB mass storage for the internal memory.Those who have longer an Android phone 'becomes aware of “not enough memory available” with high probability the message in the failed installation of an app. Although actually enough memory available on mobile phones would be the installation works in spite of lack of memory does not.

    This is due to the current manner in which he divided his memory Android. Android has the internal memory is split into two principal partitions. The partition / sdcard is used as file storage for MP3s and other files the user and is usually formatted with FAT32 or FAT16. Then Windows can be via USB mass storage partition the address directly.

    YAFFS, ext4 or RFS for the internal memory

    On the other hand, the second partition

    Lie with / system or / data system directories, however, require a “better” file system, there usually comes YAFFS, ext4, or even the house of Samsung Samsung RFS used.

    Since

    Android 3.x is now added, however, the entire internal memory to a partition. This has the advantage that now the entire memory can be really used as desired. Whether you zumüllt the x GB of the device now with pictures, videos or apps, is left to the user. The message “Not enough memory available” so that is history.

    However

    Is also a partition that Android's internal memory can not simply detach Sun The system always has his finger on the memory, because the data stored there are also always needed. Thus, the release for the exclusive use as a USB mass storage is no longer done. It therefore requires a new way to exchange data between PC and smartphone / tablet.

    USB mass storage only for the SD-card

    With MTP, this method for some time, but so far little has actually turned after a cock. MTP is based on the PTP, which may already be aware of cheap digital cameras. These are often offered only to download the images via PTP, but just no USB mass storage. With Android 4.0, this “non-use” change now, however, since the width of mass comes suddenly in contact with this function.

    Still Android devices can also be used as a USB mass storage, but * ONLY * if the device has an additional SD card. The internal memory can not be released. So you can connect this device is no longer as a USB mass storage on the computer.

    MTP on Linux

    Hand with libmtp

    What

    Now expects the Linux community? With libmtp there is actually already a library that brings all the features needed to use MTP on a Linux system. There are already mtpfs with a method for MTP in the FUSE file system to integrate the Linux computer. However, this is quite not quite user-friendly because it has a little handle in the terminal.

    On a current Ubuntu

    11:10 I have the issue with an Acer Iconia Tab with Android 4.0 available, I do not think that will change something about it.

    In Debian or Ubuntu, the package mtp-tools, it contains a number of tools to load data to the appropriate device via MTP / download / delete it, etc. You can install as usual via the package manager and then watch me, what there is there for all commands.

    $ Sudo apt-get install mtp-tools$ Mtp mtp-mtp-files albumart getplaylist mtp mtp-sendfilemtp-mtp-albums filetree mtp mtp-hotplug sendtrmtp-connect mtp-mtp-folders newfolder mtp-thumbdelfile mtp mtp mtp-format NewPlaylist mtp-tracksmtp-detect mtp-playlists mtp mtpfs trexist-mtp mtp-getfile-empty folders mtp-reset.

    No Comments

Leave a reply