STEP 1
Code:
sudo apt-get update
sudo apt-get install libmtp-common mtp-tools libmtp-dev libmtp-runtime libmtp9
sudo apt-get dist-upgrade
STEP 2
Code:
sudo nano /etc/fuse.conf
Remove the # from the below line of code for user_allow_other, like so in /etc/fuse.conf...
Code:
#/etc/fuse.conf - Configuration file for Filesystem in Userspace (FUSE)
#Set the maximum number of FUSE mounts allowed to non-root users.
#The default is 1000.
#mount_max = 1000
# Allow non-root users to specify the allow_other or allow_root mount options.
user_allow_other
STEP 3
With tablet attached by USB runThis should bring up an output similar to the following so look for the tablet line by maker or other known name.
Code:
Bus 002 Device 003: ID 0fce:01b1 Sony Ericsson Mobile Communications AB #This is an android tablet; note text in red.
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
etc
etc
STEP 4
Code:
sudo nano /lib/udev/rules.d/69-mtp.rules
Add the below lines of code with red text transferred from above
Code:
# Sony Xperia Z2 Tablet
ATTR{idVendor}=="0fce", ATTR{idProduct}=="01b1", SYMLINK+="libmtp-%k", ENV{ID_MTP_DEVICE}="1", ENV{ID_MEDIA_PLAYER}="1"
STEP 5
Code:
sudo nano /etc/udev/rules.d/51-android.rules
Add the following line of code
Code:
ATTR{idVendor}=="0fce", ATTR{idProduct}=="01b1", MODE=”0666"
STEP 6
Code:
sudo service udev restart
Reboot
You should now be able to plug your Android device in and drag/drop data to/from your Android device folders using MTP.
Bookmarks