On Wed, Feb 20, Simon Becherer wrote:
Hi,
to access a galaxy s7 phone: on tumbleweed plugging in usb cable, could it open with dolphin, no problem. but where in the directory hierarchy i would find it? i would like to use midnight commander to copy files, NOT dolphin. is there a possibility? (like with old android phones or with apple with ifuse and fusermount????) to get access during the normal filesystem-directory's. - or maybe with something inside midnight commander like the ftp-connection #???
$ cat bin/phone #!/bin/bash MOUNTED=$(mount | grep 'mtpfs on /android') if [ -n "$MOUNTED" ]; then sudo fusermount -u /android echo "unmounted /android" else sudo simple-mtpfs -o allow_other /android echo "mounted /android" fi $ rpm -qa | grep mtpfs simple-mtpfs-0.2-lp150.1.3.x86_64 So... I created /android (as root), installed simple-mtpfs (Leap 15) Now, the part which is annoying is the phone vendor's bits around USB attachment. I find one needs to go into 'developer settings', turn on 'usb debugging', and even then, there's some little (like, very small size notificaiton) that tells you "you are attached in some way, tap to change", and sometimes I need to tap that to say "transfer files over MTP" or similar. Also, the phone needs to be unlocked (I mean, with one's PIN, not rooted). In any case, the above script with simple-mtpfs has worked for me, modulo the phone USB dance, for the past 3 versions of opensuse, and past 3 android phones. Best of luck, YMMV, etc.. Michael -- Michael Fischer michael@visv.net -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org