LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint
User Name
Password
Linux Mint This forum is for the discussion of Linux Mint.

Notices


Reply
  Search this Thread
Old 05-28-2013, 05:22 PM   #1
monojeffrey
Member
 
Registered: May 2012
Posts: 85
Blog Entries: 1

Rep: Reputation: Disabled
Connecting Android phone to LinuxMint PC


Is there any connection bridge package available between LinuxMint and Android smartphone
I would like to browse through my phone Files
 
Old 05-28-2013, 07:57 PM   #2
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
There are many options available.

What version of Android does the phone run? Is it rooted? Are you looking to connect over wireless or USB?
 
Old 05-28-2013, 08:12 PM   #3
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,313

Rep: Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918
should just work normally. i use fedora and when i plug in my galaxy-s2 two nautilus windows pop-up (one for the fones internal sd-card and one for external sd).

what issues are you having -- maybe show us the dmesg output after you plug in your fone may help us help you troubleshoot.

for wireless transfer i use: sshdroid/andftp/kies air/airdroid/droid vnc/remote rdp lite/...
 
Old 05-28-2013, 09:57 PM   #4
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,317
Blog Entries: 28

Rep: Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140Reputation: 6140
I connect my phone to the USB cable, and the phone displays the notification, "Charge only."

I touch that notification, select "Disk drive," and touch "Done." The phone then mounts as a USB mass storage device.

When I unmount the phone, I first unmount it from the computer, then go back to the phone and change the connection type to "charge only" before I disconnect the phone from the USB cable.

I'm not saying that this works for all versions of Android; it's just what has worked for my two T-Mobile MyTouch phones.

Last edited by frankbell; 05-28-2013 at 10:02 PM.
 
Old 05-29-2013, 06:29 AM   #5
monojeffrey
Member
 
Registered: May 2012
Posts: 85

Original Poster
Blog Entries: 1

Rep: Reputation: Disabled
would like to connect through USB

Quote:
Originally Posted by MS3FGX View Post
There are many options available.

What version of Android does the phone run? Is it rooted? Are you looking to connect over wireless or USB?

its Android 4.0.4 version
 
Old 05-29-2013, 06:32 AM   #6
monojeffrey
Member
 
Registered: May 2012
Posts: 85

Original Poster
Blog Entries: 1

Rep: Reputation: Disabled
dmesg output

Quote:
Originally Posted by schneidz View Post
should just work normally. i use fedora and when i plug in my galaxy-s2 two nautilus windows pop-up (one for the fones internal sd-card and one for external sd).

what issues are you having -- maybe show us the dmesg output after you plug in your fone may help us help you troubleshoot.

for wireless transfer i use: sshdroid/andftp/kies air/airdroid/droid vnc/remote rdp lite/...


[ 17.838698] vboxdrv: Successfully loaded version 4.1.18_Ubuntu (interface 0x00190000).
[ 17.848054] vboxpci: IOMMU not found (not registered)
[ 18.391158] init: plymouth-stop pre-start process (1351) terminated with status 1
[ 48.887034] PPP BSD Compression module registered
[ 48.905856] PPP Deflate Compression module registered
[ 922.382097] usb 2-1.2: >new high-speed USB device number 5 using ehci_hcd
[ 922.474748] usb 2-1.2: >New USB device found, idVendor=0fce, idProduct=017e
[ 922.474758] usb 2-1.2: >New USB device strings: Mfr=2, Product=3, SerialNumber=4
[ 922.474764] usb 2-1.2: >Product: Android
[ 922.474769] usb 2-1.2: >Manufacturer: ST-Ericsson
[ 922.474774] usb 2-1.2: >SerialNumber: CB5A1L2K6S

hope this would be useful
 
Old 05-29-2013, 07:35 AM   #7
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,313

Rep: Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918
now that i remember i think android 4 forces everything to mount as an mtp device. i think you mite need to install mtpfs.

some more diagnostics would be helpful -- run sudo tail -f /var/log/messages (and hit enter a few times). then plug the fone in and copy-paste the new logs that appear after the blank lines.

this mite help:
http://www.google.com/url?sa=t&rct=j...,d.dmQ&cad=rja

Last edited by schneidz; 05-29-2013 at 07:41 AM.
 
Old 06-03-2013, 05:05 AM   #8
monojeffrey
Member
 
Registered: May 2012
Posts: 85

Original Poster
Blog Entries: 1

Rep: Reputation: Disabled
output of messages log

Quote:
Originally Posted by schneidz View Post
now that i remember i think android 4 forces everything to mount as an mtp device. i think you mite need to install mtpfs.

some more diagnostics would be helpful -- run sudo tail -f /var/log/messages (and hit enter a few times). then plug the fone in and copy-paste the new logs that appear after the blank lines.
user@user1-Lenovo-G570 /var/log $ sudo tail -f /var/log/messages
tail: cannot open `/var/log/messages' for reading: No such file or directory
user@user1-Lenovo-G570 /var/log $
 
Old 06-03-2013, 08:01 AM   #9
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,313

Rep: Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918
seems like linuxmint disables the log output for some reason.

i think by installing all the mtpfs related stuff will get it to mount.

maybe running something like:
Code:
mkdir fone && mtpfs fone
will work ?
 
Old 06-03-2013, 09:01 PM   #10
monojeffrey
Member
 
Registered: May 2012
Posts: 85

Original Poster
Blog Entries: 1

Rep: Reputation: Disabled
how to browse through my phone files

Quote:
Originally Posted by schneidz View Post
seems like linuxmint disables the log output for some reason.

i think by installing all the mtpfs related stuff will get it to mount.

maybe running something like:
Code:
mkdir fone && mtpfs fone
will work ?

the output says it is already mounted
but i navigated to the directory but unable to find my phone files
--
user@user1-Lenovo-G570 ~ $ mkdir fone && mtpfs fone
mkdir: cannot create directory `fone': File exists
--
user@user1-Lenovo-G570 ~/fone $ ls -la
total 8
drwxr-xr-x 2 user user1 4096 Jun 4 07:25 .
drwxr-xr-x 36 user user1 4096 Jun 4 07:23 ..
user@user1-Lenovo-G570 ~/fone $
--
the directory is empty
 
Old 06-04-2013, 06:59 AM   #11
schneidz
LQ Guru
 
Registered: May 2005
Location: boston, usa
Distribution: fedora-35
Posts: 5,313

Rep: Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918Reputation: 918
i dont see where it says it is already mounted. please show the output of these commands in code tags.
Code:
cd ~; rmdir fone; mkdir fone; mtpfs fone
mount
df -h

Last edited by schneidz; 06-04-2013 at 07:03 AM.
 
Old 06-05-2013, 08:56 AM   #12
monojeffrey
Member
 
Registered: May 2012
Posts: 85

Original Poster
Blog Entries: 1

Rep: Reputation: Disabled
Output

Quote:
Originally Posted by schneidz View Post
i dont see where it says it is already mounted. please show the output of these commands in code tags.
Code:
cd ~; rmdir fone; mkdir fone; mtpfs fone
mount
df -h
output of the above commands
--
user@user1-Lenovo-G570 ~ $ clear

user@user1-Lenovo-G570 ~ $ mkdir fone
user@user1-Lenovo-G570 ~ $ sudo mtpfs fone
Unable to open ~/.mtpz-data for reading, MTPZ disabled.Listing raw device(s)
Device 0 (VID=0fce and PID=017e) is a SONY ST27i/ST27a Xperia go MTP.
Found 1 device(s):
SONY: ST27i/ST27a Xperia go MTP (0fce:017e) @ bus 2, dev 6
Attempting to connect device
Android device detected, assigning default bug flags
Error 1: Get Storage information failed.
Error 2: PTP Layer error 02fe: get_handles_recursively(): could not get object handles.
Error 2: Error 02fe: PTP: Protocol error, data expected
Listing File Information on Device with name: ST27i
LIBMTP_Get_Storage() failed:-1
user@user1-Lenovo-G570 ~ $
--

mount output
--
/dev/sda5 on / type ext4 (rw,errors=remount-ro)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
none on /sys/fs/fuse/connections type fusectl (rw)
none on /sys/kernel/debug type debugfs (rw)
none on /sys/kernel/security type securityfs (rw)
udev on /dev type devtmpfs (rw,mode=0755)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=0620)
tmpfs on /run type tmpfs (rw,noexec,nosuid,size=10%,mode=0755)
none on /run/lock type tmpfs (rw,noexec,nosuid,nodev,size=5242880)
none on /run/shm type tmpfs (rw,nosuid,nodev)
none on /run/user type tmpfs (rw,noexec,nosuid,nodev,size=104857600,mode=0755)
gvfsd-fuse on /run/user/manu/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,user=manu)
--
df -h
--
Filesystem Size Used Avail Use% Mounted on
/dev/sda5 89G 8.8G 76G 11% /
udev 2.0G 4.0K 2.0G 1% /dev
tmpfs 796M 1.1M 795M 1% /run
none 5.0M 4.0K 5.0M 1% /run/lock
none 2.0G 832K 2.0G 1% /run/shm
none 100M 8.0K 100M 1% /run/user
 
Old 06-08-2013, 02:37 AM   #13
monojeffrey
Member
 
Registered: May 2012
Posts: 85

Original Poster
Blog Entries: 1

Rep: Reputation: Disabled
Working in Command line

Quote:
Originally Posted by schneidz View Post
seems like linuxmint disables the log output for some reason.

i think by installing all the mtpfs related stuff will get it to mount.

maybe running something like:
Code:
mkdir fone && mtpfs fone
will work ?

these commands are working, but the problem is , am able to navigate the contents only through command line (and that too by switching to superuser(root)), mount command output regarding mtpfs is shown below
--
gvfsd-fuse on /run/user/manu/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,user=manu)
mtpfs on /home/manu/fone type fuse.mtpfs (rw,nosuid,nodev)

root-home#
--
 
  


Reply

Tags
android, linuxmint



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Connecting Android Phone patilsb Linux - Newbie 0 10-03-2012 12:31 PM
Connecting to the internet through Android phone Skyer Linux - Networking 3 08-21-2011 05:28 AM
[SOLVED] Android Phone snjksh Linux - Mobile 1 05-04-2011 11:44 AM
Replacing android on phone overburn Linux - Mobile 1 02-24-2011 04:53 PM
LXer: Why do I use an Android phone? LXer Syndicated Linux News 0 06-29-2010 01:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Linux Mint

All times are GMT -5. The time now is 12:21 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration