This is not original work, the code was adapted from here
Background...why move away from UMS to MTP?
“MTP is a big improvement over USB mass storage — for devices with lots of internal memory, a manufacturer no longer needs to come up with some hard partition between the USB mass storage and internal storage. Instead, they are all in one partition, with MTP providing access to the directory of media files that would normally be available through USB mass storage. This means there is no longer a need for apps on SD card for such devices, because what used to be the ‘internal SD card’ is in the same partition as where applications are stored. The storage on your device can be used for either applications or media, depending on what you want to put on it. You aren’t stuck with how much space the manufacturer decided to leave for the two areas.
Oh also this means that the media storage doesn’t need to be unmounted from Android when it is being access through the PC.“
Using the Script:
1. Run install_me.sh by double-clicking and running in terminal, or launch sh from terminal
2. After install script completes, it will drop you to $HOME/.local/share/applications, copy over the file called Mount Nexus 7 Filesystem to your Unity Launcher
3. Right click on the Nexus 7 icon and chose mount or unmount. Mounting takes about 5-10 seconds, so be a little patient.
Note: Although Nautilus has an eject next to the folder, it will not do anything. You need to unmount from the launcher.
Download:
http://www.mediafire.com/?fbib01go50iij7g
Script Details:
Install mtpfs package
Copy over a Nexus 7 icon for the launcher
Copy a mount and unmount script to your $HOME/.scripts folder
Copy a desktop file (unity launcher icon) to your $HOME/.local/share/applications folder
The desktop file calls either the mount or unmount script from the .scripts folder to mount as mtp filesystem



Philadelphia, PA




Krakow
Linear Mode