So here is the quick quick guide to doing it.
- Open a terminal
- Create a udev rules file for the Nexus 7 with it’s device id (18d1)
- sudo vim /etc/udev/rules.d/99-android.rules
- Paste the following contents into the, save and exit (ctrl+o, then ctrl+x):
- # Nexus 7
- SUBSYSTEM=="usb", SYSFS{idVendor}=="18d1", MODE="0666"
- Make the file executable (gotta love the security on Linux)
- sudo chmod +x /etc/udev/rules.d/99-android.rules
- Install the mtp libraries from the repos
- sudo apt-get install libmtp-common libmtp-runtime libmtp9 mtpfs mtp-tools
- Create a mount point for the Nexus 7 and make it accessable to all users
- sudo mkdir /media/nexus7
- sudo chmod 755 /media/nexus7
- Finally plug your Nexus 7 into an empty USB slot on your comptuer and run the following command on the terminal:
- sudo mtpfs -o allow_other /media/nexus7
- In a few seconds, the tablet should appear mounted as an external drive on your file browser.
- Note that these steps are applicable to all Debian based systems including Linux Mint
- When you are done moving files, unmount the mounted folder before unplugging the device.
- sudo umount /media/nexus7