MTP

MTP (Media Transfer Protocol) is a protocol to allow the transfer of files to external devices.

Installation
Install :

Configuration
Your user needs to be in the "plugdev" group:

Modify your :

Usage

 * Mount:


 * Unmount:

Installation
Install :

We need to unmask 2 packages in :

Configuration
Your user needs to be in the "plugdev" group:

Usage

 * mount:

Note: If you don't run go-mtpfs in the background (with & at the end), you will need another console to browse the device and to unmount it.


 * unmount:

When you unmount the device, go-mtpfs will quit.

gphotofs
gphotofs is a FUSE file system for interfacing with digital cameras using gphoto2. Most modern mobile phones are cameras at the same time, and gphotofs can be a good alternative to tmpfs or go-mtpfs.

Installation
Install :

Usage

 * mount:


 * unmount:

simple-mtpfs
Another FUSE file system implementation for use with MTP devices is simple-mtpfs.

Installation
Install :

Usage

 * mount:


 * unmount:

KDE
kio-mtp is a slave for KDE's KIO framework.

As kio-mtp is still unstable, but is now part of main repository. Then:

Finally quit KDE, and relaunch it. Now your MTP devices appear e.g. in Dolphin.

gMTP
gMTP is a simple MTP client for Solaris and Linux.

It is sufficient to just install and run :

Click on connect. A few second later, you will get the file hierarchy of your device. You can start to manipulate the files. It support features like Album Artwork and play lists.

adb
I am a newbie with an Android phone, and it look like the ones that know are very tired to answer the same questions again and again. That imply it took me hours and even days to find what is possible and not possible to do with a non rooted device. In short, with a non rooted device, the only things you can backup locally is what the couple device/android will let you do. That is pretty much the same files you can copy with the already mentioned software. With the Android 4.x devices, a nice solution to make such a partial backup is the so-called "adb backup".

On gentoo, You can install adb with portage. adb mean Android Debug Bridge, and it is a part of the Android Software Development Kit (SDK) and of android-tools.

When it is done, you may have to logout and login in order to backup the files with

where
 * -f : the path of the *.ab file that will be saved on your computer. This file is a compressed file that contains an archive of the data/apks from your device.
 * -apk|-noapk : indicates if the *.apk files should be backed up (default is -noapk)
 * -shared|-noshared: enable/disable backup of the device's shared storage / SD card contents (default is -noshared)
 * -all : indicates that you want the entire system backed up. you can use the packages filter to just backup specific packages, or use -all for a full system backup.
 * -system|-nosystem: indicates if all the system applications and data are included when backing up. (default is -system)
 * : this is where you can list specific packages to backup. Use these if you want to back up only specific applications. If using -all, you do not need to specify packages.

To backup the phone into ~/HTC_backup :

will start the daemon and show you the devices on the USB.

will backup every thing the device will let you to backup.

will restore the backup into the device.

To stop the daemon:

Troubleshooting

 * If your device is not recognized by libmtp, try upgrading to latest (or even live) version.
 * Sometimes (e.g. on HTC One X) USB debugging automatically turns on when device is connected to PC. You need to turn debugging off, otherwise libmtp can't recognize device.
 * Make sure your Android device is not going to sleep and the screen is not getting locked. Set screen timeout to very long values, or enable in Development section flag "Do not turn off the screen".