Mount a Nexus 7 on Linux Mint
These are the steps I did to mount and access the Nexus 7 as an storage device on Linux MInt.
They are basically the instructions given here How do I connect a Nexus 7 to transfer files? but with my own data & customizations.
First of all install:
sudo apt-get install mtp-tools mtpfs
Then connect the Nexus 7 to the Linux box, and get the some custom values:
mtp-detect | grep idVendor
mtp-detect | grep idProduct
Get the actual values:
idVendor: 18d1
idProduct: 4e41
Then create the text file:
sudo emacs /etc/udev/rules.d/51-android.rules
With this content:
SUBSYSTEM==”usb”, ATTR{idVendor}==”18d1”, ATTR{idProduct}=="4e41”, MODE=”0666″
And then:
sudo service udev restart
sudo mkdir /media/Nexus7
sudo chmod a+rwx /media/Nexus7
sudo adduser YOUR.USERNAME.HERE fuse
Edit the fuse configuration file:
sudo emacs /etc/fuse.conf
It has to look like this:
# Set the maximum number of FUSE mounts allowed to non-root users.
# The default is 1000.
#
#mount_max = 1000
# Allow non-root users to specify the 'allow_other' or 'allow_root'
# mount options.
#
user_allow_other
Add this to your ~/.bashrc file, so you simplify the process of mounting and un-mounting the Nexus 7:
alias n7_connect='mtpfs -o allow_other /media/Nexus7'
alias n7_disconnect='fusermount -u /media/Nexus7'
And then reboot your Linux box..
Then, to mount, on the Terminal, type:
n7_connect ENTER
And to unmount yadda yadda.
Things work A Ok, although the transfer speeds seems a little slow.
Labels: hardware, links, Linux, Linux Mint 13, Nexus 7, Programs
0 Comments:
Post a Comment
<< Home