6/18/2013

How to mount Google Nexus 4 on Ubuntu 13.04/12.10/12.04/Linux Mint 15/14/13/and Ubuntu derivatives

mount nexus 4

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
mount nexus 4

Step 2:
Install MTP modules open terminal (Press Ctrl+Alt+T) and copy the following commands in the Terminal:
  • sudo apt-get install mtp-tools mtpfs

Step 3:
Configure 51-android.rules, Enter following command to open/create file in text editor:
  • sudo gedit /etc/udev/rules.d/51-android.rules
Now paste following code at the end of text file:
#LG – Nexus 4  SUBSYSTEM=="usb", ATTR{idVendor}=="1004?, MODE="0666?  

Step 4:
Make file executable and restart udev service, Enter following commands in terminal:
  • 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:
  • 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)
mount nexus 4

Step 7:
Now enter following command in terminal to detect MTP device.
  • 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):
  • 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):
  • sudo umount /media/nexus4

Leave a Reply

Subscribe to Posts | Subscribe to Comments

IP
Powered by Blogger.
Flag Counter
W3 Directory - the World Wide Web Directory Page Rank Checker Pagerank

- Copyright © KEPOWARE -Kepoware- Powered by Blogger - ReDesigned by KEPOWARE - DMCA & Privacy