The following guide is tested for Archlinux, and is not guaranteed to work on other distributions.
Steps
- Install android-file-transfer
- Prepare an empty directory, e.g.
/mnt/android/
- Attach the Android phone to the linux machine
- Switch to USB file transfer mode when prompted on Android
- Mount:
aft-mtp-mount /mnt/android
Unmount using umount /mnt/android
or fusermount -u /mnt/android