Mount Nexus 4 in Linux [How to]

0 Flares Twitter 0 Facebook 0 Google+ 0 Reddit 0 StumbleUpon 0 Pin It Share 0 LinkedIn 0 Email -- Buffer 0 0 Flares ×

Are you a Nexus 4 user and found difficulty to plug in your Nexus 4 device in Linux. Don’t worry, here is a tutorial to mount and unmount to move data to/from your SD Card.

This is one option that will allow you to utilize Nautilis (or any other file browser) to copy files to/from your Nexus 4. This is written for Ubuntu, but should work the same for other Linux systems. Also, this should work for Nexus 7 and 10.

Mount Nexus 4 in Linux [How to]

Pre requisites:

  • It is always advisable to be on a safer side before you start to try anything new on your device. So, we strongly advice you to take backup of all your internal datas with the help of backup applications. Just in case, if you lost your data due to any reason after updating the firmware, you could easily recover them.
  • And also make sure whether your device battery level is atleast 75% to avoid the risk of your device getting switched off during the middle of the updating process.
  • Then Disable or Uninstall all the antivirus suites that you have installed in your mobile and computer. Because this may interrupt the process.

DISCLAIMER :Best Android Blog would not held responsible/liable for any damages takes to your device by following this procedure. So, do everything at your own risk.



1. First go to  the Developer Options and enable USB debugging.

2. Then install the necessary modules to your computer: sudo apt-get install mtp-tools mtpfs.

3. Configure 51-android.rules:

sudo gedit /etc/udev/rules.d/51-android.rules
paste the following at the end of the file (if the file does not exist then just paste):
#LG – Nexus 4
SUBSYSTEM==”usb”, ATTR{idVendor}==”1004″, MODE=”0666″
#Samsung – Nexus 7 & 10
SUBSYSTEM==”usb”, SYSFS{idVendor}==”18d1″, MODE=”0666″

4. Save them and exit.

5. Make the file executable: sudo chmod +x /etc/udev/rules.d/51-android.rules

6. Restart udev sudo service udev restart.

7. Create mount point and permissions (will need to do this for other Nexus’ if using for the 7 or 10)
sudo mkdir /media/nexus4
chmod 755 /media/nexus4

8. Plug in the Nexus 4 and make sure MTP is enabled.

9. Mount with the following command: sudo mtpfs-0 allow-other/media/nexus4.

10. When you have completed your work you must unmount: sudo umount/media/nexus4.

Now each time you need to copy from /to your Nexus 4 to your Linux computer you only need to plug in and run 8, then 9 when you have completed your work.

About Sarvesh Darak

Sarvesh Darak is a blogger, an online marketer, a social media specialist and an Android Lover. At Best Android Blog, he writes Android news & tutorials for Android Rooting. He is the tech head and ensures that the blog keeps running at good pace. He also looks after all the SEO and promotion work. He’s from Surat, India and keep contributing regularly at the blog.

Speak Your Mind


0 Flares Twitter 0 Facebook 0 Google+ 0 Reddit 0 StumbleUpon 0 Pin It Share 0 LinkedIn 0 Email -- Buffer 0 0 Flares ×