How to mount Google Nexus 4 on Ubuntu 13.04/12.10/12.04/Linux Mint 15/14/13/and Ubuntu derivatives
If you are having problem to mount your Google nexus 4 device on Ubuntu 13.04/12.10/12.04 then this guide is here to help you. Thanks to Manish A.Shetty who shared this solution for Nexus owners "I have tried many different methods to mount my Nexus 4 on Ubuntu and and none have ever truly worked. Finally after much surfing I found the following to work(thanx to XDA Developers)".
Nexus 4 doesn't come with built-in expandable storage, it has own flash memory which saves data directly. That's the main reason Ubuntu has some troubles while mounting Nexus 4. After this solution you will be able to mount and transfer data to your nexus 4 via MTP protocol.
Step 1:
Enable Developer options and enable USB debugging mode.
Setting > About phone > Start tapping (7 times) on Build number option 'you are now developer'
Then go to Setting > Developer options > Enable USB Debugging
Step 2:
Install MTP modules open terminal (Press Ctrl+Alt+T) and copy the following commands in the Terminal:
Terminal Commands:
sudo apt-get install mtp-tools mtpfs
Step 3:
Configure 51-android.rules, Enter following command to open/create file in text editor:
Terminal Command:
sudo gedit /etc/udev/rules.d/51-android.rules
Now paste following code at the end of text file:
#LG – Nexus 4SUBSYSTEM=="usb", ATTR{idVendor}=="1004?, MODE="0666?
Step 4:
Make file executable and restart udev service, Enter following commands in terminal:
Terminal Commands:
sudo chmod +x /etc/udev/rules.d/51-android.rules
sudo service udev restart
Step 5:
Create mount point for device and setup permissions with these commands:
Terminal Commands:
sudo mkdir /media/nexus4
sudo chmod 755 /media/nexus4
Step 6:
Now Enable MTP on your Nexus 4 device then plugin your device to computer.
Go to Setting > Device Category > Storage > USB Computer Connection > Enable Media Device (MTP)
Step 7:
Now enter following command in terminal to detect MTP device.
Terminal Command:
mtp-detect
Step 8:
At this point you allow Ubuntu to access/mount device (You need following command every time when you connect your device to computer):
Terminal Command:
sudo mtpfs -o allow_other /media/nexus4
Step 9:
To unmount the nexus 4 device enter following command (You need following command whenever you need to disconnect your device from computer):
Terminal Command:
sudo umount /media/nexus4
That's it
http://www.noobslab.com/2013/06/mount-google-nexus-4-on-ubuntulinux.html
本站仅提供存储服务,所有内容均由用户发布,如发现有害或侵权内容,请
点击举报。