Created
July 25, 2014 09:16
-
-
Save nlamirault/4fd54628534d4db55584 to your computer and use it in GitHub Desktop.
Arch Linux / Android MTP / Nexus 4
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* Install android-udev package from AUR | |
* Install go-mtpfs package from AUR | |
* Add fuse group if you don’t have it already: | |
$ groupadd fuse | |
* Add yourself to fuse group | |
$ gpasswd -a YOURLOGIN fuse | |
* Create mounting directory | |
$ mkdir /media/nexus | |
$ chown YOURLOGIN /media/nexus | |
* Create aliases to allow quick mounting. This needs to go to your ~/.bashrc file | |
$ alias android-connect="go-mtpfs /media/nexus" | |
$ alias android-disconnect="sudo umount /media/nexus" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment