Tuesday, May 14, 2024
 Popular · Latest · Hot · Upcoming
37
rated 0 times [  37] [ 0]  / answers: 1 / hits: 102329  / 2 Years ago, wed, march 16, 2022, 8:43:19

I want to move some files from my PC to Nexus 7. The tablet is connected to my PC's USB port and it is successfully charging. Unfortunately, the PC is not detecting the devices - what I expected is to be shown the Nexus 7 tablet as external devices (like my USB flash memory).



As the tablet is connected to the my home internet network, I have checked if it will appear in the "Networks" section but it does not.



I am using Ubuntu 12.04 LTS.



Is there a easy way to connect the devices to my PC and move some information between them?


More From » usb

 Answers
1

You have to follow a below procedure to share contents between Ubuntu to Nexus 7.



Install the necessary tools using terminal.



sudo apt-get install mtp-tools mtpfs 


Connect your Galaxy Nexus to your computer. On your phone, open up the notification drawer, and click on “USB Connection type”. Make sure that MTP is selected.



Type these commands in terminal:



mtp-detect | grep idVendor
mtp-detect | grep idProduct


The output of these commands should give you idVendor and idProduct. Note down the values given, as you'll need them later.



Run this command in terminal:



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


A Gedit window should open. Simply Copy and paste below line.



SUBSYSTEM=="usb", ATTR{idVendor}=="VENDORID", ATTR{idProduct}=="PRODUCTID", MODE="0666"


Replace VENDORID and PRODUCTID with the idVendor and idProduct you had noted down earlier in Gedit.



Save and close the file. Then, disconnect your phone and run these commands:



sudo service udev restart
sudo mkdir /media/GalaxyNexus
sudo chmod a+rwx /media/GalaxyNexus
sudo adduser YOURUSERNAME fuse


Replace YOURUSERNAME with your Ubuntu user name. Now, run this command:



gksu gedit /etc/fuse.conf


In the Gedit window, remove the # at the beginning of the last line.



You’re almost done! Now, restart your computer, and then run these three commands:



echo "alias android-connect="mtpfs -o allow_other /media/GalaxyNexus"" >> ~/.bashrc
echo "alias android-disconnect="fusermount -u /media/GalaxyNexus"" >> ~/.bashrc
source ~/.bashrc


Again, do re-type the quotes in each command after you’ve copied, otherwise the command won’t work.



Connect your phone again, and then make sure your phone is using MTP, then run this command:



android-connect


You will able to connect the Nexus 7 your to your Ubuntu computer.


[#34648] Thursday, March 17, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
stantildlike

Total Points: 363
Total Questions: 135
Total Answers: 120

Location: Pitcairn Islands
Member since Fri, Dec 17, 2021
2 Years ago
;