Linux Lite Forums

Full Version: Android Phone Detected - But Shows Folders Owned by Root
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2

Hello All,
I want to connect my phone natively to LL if possible, rather than the AirDroid route.
I have followed various items on LL forum and else where on the web.


When I plug in the phone it imeadiately gets recognised "Samsung Android", and I can double click to mount it... BUT
All the folders are "owned by root" , looks like a "permissions issue.?? See picture below.
Lot's of googling do not give me any pointers to this... Some comments/observations.


I checked/enabled Groups:  Audio , plugdev , fuse


It does not seem to be mounted in the usual: /media or /mnt .?? in the address bar is:  mtp://[usb:002,004]/phone/


The file:  /lib/udev/rules.d/69-mtp.rules , looks to be correct from all examples found
Code:
ATTR{idVendor}=="04e8", ATTR{idProduct}=="6860", SYMLINK+="libmtp-%k", MODE="660", GROUP="audio", ENV{ID_MTP_DEVICE}="1", ENV{ID_MEDIA_PLAYER}="1", TAG+="uaccess"


The found references to a:  /lib/udev/rules.d/51-android.rule configuration file, I do not have this, but it maybe for Android development.


I found a reference to edit fuse.conf to remove # from before the:  #user_allow_other
Code:
#/etc/fuse.conf - Configuration file for Filesystem in Userspace (FUSE)
#Set the maximum number of FUSE mounts allowed to non-root users.
#The default is 1000.
#mount_max = 1000
# Allow non-root users to specify the allow_other or allow_root mount options.
user_allow_other


Finally:
Code:
dave@hp-lappy1:~$ sudo dmesg | tail
[  788.411732] cdc_acm 2-1:1.1: ttyACM0: USB ACM device
[  998.363004] usb 2-1: USB disconnect, device number 5
[ 1029.722860] usb 2-2: new high-speed USB device number 6 using xhci_hcd
[ 1029.739705] usb 2-2: New USB device found, idVendor=04e8, idProduct=6860
[ 1029.739716] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 1029.739726] usb 2-2: Product: SAMSUNG_Android
[ 1029.739735] usb 2-2: Manufacturer: SAMSUNG
[ 1029.739738] usb 2-2: SerialNumber: 23c3f76c
[ 1029.741045] cdc_acm 2-2:1.1: This device cannot do calls on its own. It is not a modem.
[ 1029.741190] cdc_acm 2-2:1.1: ttyACM0: USB ACM device


Any ideas/comments welcome.


[img height=590 width=800]http://i.imgur.com/jWgbGQq.png[/img]
Phone model, Android version?

Sent from my Nexus 6 using Tapatalk

@Jerry
Samsung ACE 3 , GT-S7275R and running Android 4.2.2 (Jelly Bean)
In the phone's USB settings, what is it set to? eg. mtp, mass storage

Sent from my Nexus 6 using Tapatalk

When you connect you get a screen with 2 options "MTP"(which is ticked) and PTP
From what I read this is normal.

there is no option(that I can find) for USB Storage or Mass storage
Have you tried PTP? It might do images only, but worth a shot. Try everything.
You could also root your phone, install CM12 or something as up to date. I never use stock Android, currently running Android Marshmallow Smile

https://www.google.co.nz/search?client=u...droid+cm12
Hi Jerry,

If I select PTP, it is re-mounted, this time with a Camera Icon.
Now it gets bizarre, even though it still indicates owned by "root" I have created 1 test.txt file and copied a picture in the "documents" folder.. But they immediately disappear..!!
If I now go back to "mtp", I can see and delete those files, but I'm unable to create/copy new ones.

Not really a workable solution.

Yes, I can try to root my device, and flash Cyanogen
Is that likely to solve my issue..??


Thanks

Flashing to Lollipop gets you better usb options, something to consider. Meanwhile, take a look through here - http://askubuntu.com/questions/189591/co...tkat-phone then decide what route you want to take.
Hi Jerry,

Many thanks for the link...
Lot's of options, I may just wait for the "New" Linux Lite Phone Smile Wink
Pages: 1 2