[SOLVED] Android phone (5.0) doesn't get recognized by "jmtpfs"

Issues related to applications and software problems
dolly
Posts: 15
Joined: 2018/01/01 09:32:25

[SOLVED] Re: Android phone (5.0) doesn't get recognized by "jmtpfs"

Postby dolly » 2018/02/22 13:33:41

Got it!
Used another kernel at boot time (not the one that ends with "..Plus", 2.6.32-696.20.1.el6.i686 as per uname -r).
Phone must be unlocked. Now I get, for instance:

Code: Select all

[dolly@centos media]$ ls -hl
total 6.0K
dr-x------. 2 dolly dolly  164 Jun 30  2015 cdrom_install
drwxr-xr-x. 2 dolly dolly 4.0K Feb  9 22:15 phone
[dolly@centos media]$ sudo jmtpfs -o allow_other phone/
[sudo] password for dolly:
Device 0 (VID=0b05 and PID=5f02) is a Asus Zenfone 2 ZE550ML (MTP).
Android device detected, assigning default bug flags
[dolly@centos media]$ ls phone/
Internal storage
[dolly@centos media]$ cd "phone/Internal storage/Music"/
[dolly@centos Music]$ ls -hl
total 0
drwxr-xr-x. 2 root root    0 Jan 21 21:24 Antonio Vivaldi
drwxr-xr-x. 3 root root    0 Jan 21 21:24 Beethoven
drwxr-xr-x. 2 root root    0 Feb 20 20:01 Economics-podcast
drwxr-xr-x. 3 root root    0 Jan 21 21:42 John Lennon
-rw-r--r--. 1 root root 1.8M Nov  4 23:00 m_Bach_PreludeToPartitaNo3_inEMajor.mp3
-rw-r--r--. 1 root root 5.7M Jan  1  2000 m_BlueforLabrusca.mp3
drwxr-xr-x. 3 root root    0 Jan 21 21:23 Piotr Ilic Ciaikowski
-rw-r--r--. 1 root root  15K Jan  1  2000 Thumbs.db
drwxr-xr-x. 3 root root    0 Jan 21 21:23 Wolfgang Amadeus Mozart
[dolly@centos Music]$


To unmount I do:

Code: Select all

[dolly@centos Music]$ cd -
/media
[dolly@centos media]$ fusermount -u phone
bash: /usr/bin/fusermount: Permission denied
[dolly@centos media]$ sudo fusermount -u phone
[dolly@centos media]$ ls -hl
total 6.0K
dr-x------. 2 dolly dolly  164 Jun 30  2015 cdrom_install
drwxr-xr-x. 2 dolly dolly 4.0K Feb  9 22:15 phone
[dolly@centos media]$