The New Stuff

1568 Views

Mount Nexus 4, Nexus 7 and Nexus 10 to Linux Computer [How-To]


So you just have got your Nexus 4, Nexus 7 or Nexus 10 and when you connect it to Ubuntu or any other Linux version, it doesn’t show up any auto play box to share your files. Don’t be worried, in fact the Nexus family works differently on Linux operating system, Linux doesn’t detect the phone automatically, you have to mount your Nexus 4, Nexus 10 and Nexus 7 to Linux manually, here’s step-by-step guide that walk you through how to mount Nexus 4 to Linux machine, once you’re done, you’ll be able to transfer files between Nexus devices and Linux.

Before you start first enable developer options and USB debugging on your Nexus 4, check out this story to learn how you can do so.

Instructions

Step #1: Install all required modules on your computer, to do so open up terminal window and enter following command:

sudo apt-get install mtp-tools mtpfs

Step #2: Configure 51.android rules, for unfamiliar, this rule helps you Linux to detect the phone when you connect, enter following command to do so:

sudo gedit /etc/udev/rules.d/51-android.rules

The above command will fire up notepad.

Step #3: Paste the below text to notepad:

#LG – Nexus 4
SUBSYSTEM==”usb”, ATTR{idVendor}==”1004″, MODE=”0666″
#Samsung – Nexus 7 & 10
SUBSYSTEM==”usb”, SYSFS{idVendor}==”18d1″, MODE=”0666″

Step #4: Make the file executable by entering following command to terminal window:

sudo chmod +x /etc/udev/rules.d/51-android.rules

Step #5: Now enter another following command to restart udev service:

sudo service udev restart

Step #6: Wait for few minutes.

Step #7: Create the mount point and permission for your device by entering following commands:

For Nexus 4, enter following commands:

sudo mkdir /media/nexus4
chmod 755 /media/nexus4

For Nexus 7, enter following commands:

sudo mkdir /media/nexus7
chmod 755 /media/nexus7

For Nexus 10, enter following commands:

sudo mkdir /media/nexus10
chmod 755 /media/nexus10

Step #8: Plug your device to computer and make sure the MTP is enabled on the device.

Step #9: Mount your device by entering following command:

For Nexus 4:

sudo mtpfs -o allow_other /media/nexus4

For Nexus 7:

sudo mtpfs -o allow_other /media/nexus7

For Nexus 10:

sudo mtpfs -o allow_other /media/nexus10

Step #10: Unmount device by entering following command:

For Nexus 4:

sudo umount /media/nexus4

For Nexus 7:

sudo umount /media/nexus7

For Nexus 10:

sudo umount /media/nexus10

Step #11: Whenever you need to transfer files between your Nexus device and Linux, plug device and enter commands given in step 9. If you don’t want to enter commands, download gMTP from here [Official Ubuntu Center] and install it. Then simply run the app when you plug the device to computer, and click on mount SD card.

That’s it, you’re done, enjoy!

Via: XDA

Recently Published

Samsung Netherland Says Galaxy Note 3 Neo Lollipop Update Is Coming
»

Samsung Netherland Says Galaxy Note 3 Neo Lollipop Update Is Coming

Samsung is busy in updating their devices to trending Lollipop ...

Galaxy S6 Active Listed On Samsung’s Official Website
»

Galaxy S6 Active Listed On Samsung’s Official Website

It is now possible that the Korean company will introduce the ...

Third Generation Moto E Name Appears On Flipkart
»

Third Generation Moto E Name Appears On Flipkart

The upcoming Motorola’s Moto E (third generation) is might be about ...

Second Generation 2015 Moto E Android 5.1 Update Available
»

Second Generation 2015 Moto E Android 5.1 Update Available

The Android 5.1 Lollipop software update is now rolling out to second ...

Verizon HTC One M7 Lollipop Update Is Coming Today
»

Verizon HTC One M7 Lollipop Update Is Coming Today

HTC’s Mo Versi has already confirmed on Twitter that the Android ...

OTA updates rolling out to AT&T Galaxy S6 and Sprint Galaxy S6 Edge
»

OTA updates rolling out to AT&T Galaxy S6 and Sprint Galaxy S6 Edge

The Samsung Galaxy S6s is now receiving OTA updates over two major ...

Galaxy S6 and S6 Edge Getting A Minor Update
»

Galaxy S6 and S6 Edge Getting A Minor Update

Samsung is now rolling out another minor update via OTA to flagship ...

Now You Can Download Android 5.1.1 Factory Image For HTC Nexus 9 Wi-Fi
»

Now You Can Download Android 5.1.1 Factory Image For HTC Nexus 9 Wi-Fi

Not a while ago we reported you that the HTC-made Nexus 9 tablet is ...

Install Official Android 5.0.2 Update For Galaxy Core Prime SM-G360F
»

Install Official Android 5.0.2 Update For Galaxy Core Prime SM-G360F

Though, the Samsung Galaxy Core Prime cannot be listed under high-end ...