Mail your problems to us on lawania@lavania.in, we will solve it and put the solution here at Lawania.com

MTP activation on ubuntu 14.04 for Android 4.4 kitkat - USB Mass storage viewing for ASUS Fonepad 7 ( will work for ALL android Devices )

MTP activation on ubuntu 14.04 for Android 4.4 kitkat - USB Mass storage viewing for ASUS Fonepad 7 ( will work for ALL android Devices )


STEP 1

First we need to Install MTP apps, so open the terminal and run the following commands

sudo apt-get install libmtp-common mtp-tools libmtp-dev libmtp-runtime libmtp9
sudo apt-get dist-upgrade
 
Step 2
Then we're going to amend the fuse.conf file. FUSE is an application 
that aims to provide a secure method for non privileged users to create 
and mount their own file system implementations
 
sudo gedit /etc/fuse.conf 
make the file like this, remove the # from the below line of code for user_allow_other
# /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


 
 save the file and exit
 
Step 3
Connect your device via an available usb port and from terminal enter
lsusb 
IT will Show an output similar to the following 
Bus 002 Device 003: ID 148f:5370 Ralink Technology, Corp. RT5370 Wireless Adapter
Bus 002 Device 004: ID 0b05:7772 ASUSTek Computer, Inc. 
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
Bus 001 Device 004: ID 046d:c019 Logitech, Inc. Optical Tilt Wheel Mouse
Bus 001 Device 003: ID 413c:2107 Dell Computer Corp. 
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
 
 
 
You need to look for your device, in this instance my ASUS Fonepad  7 is at the second position of the list, the vendor id is 0b05 and product id is 7772

 

STEP 4

Now we are creating mtp udev rules as follows, from a terminal type 

 

sudo gedit /lib/udev/rules.d/69-mtp.rules
Then add the below line of code in the file
# Asus Fonpad 7
ATTR{idVendor}=="0b05", ATTR{idProduct}=="7772", SYMLINK+="libmtp-%k", ENV{ID_MTP_DEVICE}="1", ENV{ID_MEDIA_PLAYER}="1" 

Save the File

Step 5

 

Now add a line of code to the 51 android rules file, again from a terminal type

 

sudo gedit /etc/udev/rules.d/51-android.rules
Then add the following line of code 
ATTR{idVendor}=="0b05", ATTR{idProduct}=="7772", MODE="0666"

Remember what I have highlighted in red needs to be changed to your device product id and vendor id.



Once that is done and the file is saved, remove any usb device currently connected and  issue the following commands
 
 
Step 6
sudo service udev restart
 
Step 7
sudo reboot
 
Now after restarting of computer connect you device and see your storage media.
 
 
 
 
 
 

 

 


Share on Google Plus

About Unknown

This is a short description in the author block about the author. You edit it by entering text in the "Biographical Info" field in the user admin panel.
    Blogger Comment
    Facebook Comment

0 comments:

Post a Comment