The MTP also known as Media Transfer Protocol is a picture transfer process that was launched in Android 6.1 marshmallow version. After Android 6.1 update, you cannot use your handset as a mass storage handsets that you can just plug in and see the SD card and the internal storage contents in the file manager Nautilus or Thunar. This is because the Android OS is incapable of determining the MTP handset. Moreover, a list of supported handsets are not implemented.
Steps to access Android handsets in Linux Mint, Ubuntu
sudo apt-get install libmtp
sudo apt-get install go-mtpf
sudo apt-get install mtpfs mtp-tools
Plug in your handset via USB cable in Ubuntu
Swipe down from the notification panel on your Android handset and tap ‘Touch for more’ options. Then hit the option ‘Transfer File (MTP)’
Run the command below in the terminal to find out your handset’s ID and more. You can now see the PID and VID in the command output. Note down the numbers.
Type the command below to open the android rules vilfileses via text editor
sudo gedit /etc/udev/rules.d/51-android.rules
Enter the line below using your handset’s PID and VID in the Android rule files. Save the file and close it
Run the command below to restart your device manager
sudo service udev restart
The following steps are important for accessing your Android device’s external microSD card memory.
These steps are important as the file manager may fail to display the contents in the SD card. This isn’t a permanent solution but it works for many users.
- Remove the connected handset in Ubuntu
- Then turn it off and safely remove your SD card
- Power on your handset
- Turn it off gain
- Put your SD card back and then power on your device
- Reboot the Ubuntu machine and connect your Android handset
- You will now be able to see your SD card’s contents on Ubuntu.
Source: Android Central
LATEST FROM YOUTUBE: