Public bug reported:

Sony Xperia Z1 android 4.3 (original SE rom) + ubuntu 13.10 64bit.
Impossible to correctly mount the device. impossible to see the device if not 
root (sudo).
mtp-detect | grep idVendor
mtp-detect | grep idProduct
answers no info. i have the correct ids only if i made them with sudo before.

andymnc@andymnc-VPCEC1M1E:~$ lsb_release -rd
Description:    Ubuntu 13.10
Release:        13.10

andymnc@andymnc-VPCEC1M1E:~$ apt-cache policy libmtp-*
libmtpserver1:
  Installato: 0.0.1+13.10.20130926.3-0ubuntu1
  Candidato:  0.0.1+13.10.20130926.3-0ubuntu1
  Tabella versione:
 *** 0.0.1+13.10.20130926.3-0ubuntu1 0
        500 http://it.archive.ubuntu.com/ubuntu/ saucy/universe amd64 Packages
        100 /var/lib/dpkg/status
libmtpserver-dev:
  Installato: 0.0.1+13.10.20130926.3-0ubuntu1
  Candidato:  0.0.1+13.10.20130926.3-0ubuntu1
  Tabella versione:
 *** 0.0.1+13.10.20130926.3-0ubuntu1 0
        500 http://it.archive.ubuntu.com/ubuntu/ saucy/universe amd64 Packages
        100 /var/lib/dpkg/status
libmtp-dbg:
  Installato: 1.1.6-2
  Candidato:  1.1.6-2
  Tabella versione:
 *** 1.1.6-2 0
        500 http://it.archive.ubuntu.com/ubuntu/ saucy/main amd64 Packages
        100 /var/lib/dpkg/status
libmtp8:
  Installato: (nessuno)
  Candidato:  (nessuno)
  Tabella versione:
libmtp9:
  Installato: 1.1.6-2
  Candidato:  1.1.6-2
  Tabella versione:
 *** 1.1.6-2 0
        500 http://it.archive.ubuntu.com/ubuntu/ saucy/main amd64 Packages
        100 /var/lib/dpkg/status
libmtp-dev:
  Installato: 1.1.6-2
  Candidato:  1.1.6-2
  Tabella versione:
 *** 1.1.6-2 0
        500 http://it.archive.ubuntu.com/ubuntu/ saucy/main amd64 Packages
        100 /var/lib/dpkg/status
libmtp-doc:
  Installato: 1.1.6-2
  Candidato:  1.1.6-2
  Tabella versione:
 *** 1.1.6-2 0
        500 http://it.archive.ubuntu.com/ubuntu/ saucy/main amd64 Packages
        100 /var/lib/dpkg/status
libmtp-common:
  Installato: 1.1.6-2
  Candidato:  1.1.6-2
  Tabella versione:
 *** 1.1.6-2 0
        500 http://it.archive.ubuntu.com/ubuntu/ saucy/main amd64 Packages
        100 /var/lib/dpkg/status
libmtp-runtime:
  Installato: 1.1.6-2
  Candidato:  1.1.6-2
  Tabella versione:
 *** 1.1.6-2 0
        500 http://it.archive.ubuntu.com/ubuntu/ saucy/main amd64 Packages
        100 /var/lib/dpkg/status


andymnc@andymnc-VPCEC1M1E:~$ uname -a; lsb_release -a; lsusb
Linux andymnc-VPCEC1M1E 3.11.0-15-generic #23-Ubuntu SMP Mon Dec 9 18:17:04 UTC 
2013 x86_64 x86_64 x86_64 GNU/Linux
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 13.10
Release:        13.10
Codename:       saucy
Bus 002 Device 007: ID 0fce:019e Sony Ericsson Mobile Communications AB
Bus 002 Device 004: ID 0480:a004 Toshiba America Info. Systems, Inc.
Bus 002 Device 006: ID 045e:074f Microsoft Corp.
Bus 002 Device 005: ID 1e7d:319c ROCCAT
Bus 002 Device 003: ID 2001:f103 D-Link Corp. DUB-H7 7-port USB 2.0 hub
Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 064e:a213 Suyin Corp.
Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

if i run:
andymnc@andymnc-VPCEC1M1E:~$ mtpfs /home/andymnc/SonyZ1/
no device is found.
if i run:
andymnc@andymnc-VPCEC1M1E:~$ sudo mtpfs /home/andymnc/SonyZ1/
Unable to open ~/.mtpz-data for reading, MTPZ disabled.Listing raw device(s)
Device 0 (VID=0fce and PID=019e) is UNKNOWN.
Please report this VID/PID and the device model to the libmtp development team
   Found 1 device(s):
   0fce:019e @ bus 2, dev 7
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: Xperia Z1
LIBMTP_Get_Storage() failed:-1

if i try:
andymnc@andymnc-VPCEC1M1E:~$ sudo mtpfs /media/andymnc/SonyZ1/
same answer.

If i activate USB-debug in developer option, following this info, with all the 
mtp calls with SUDO before, insthead of as per the following tutorial (and of 
course i changed the media mount point in the .bashrc):
http://www.omgubuntu.co.uk/2011/12/how-to-connect-your-android-ice-cream-sandwich-phone-to-ubuntu-for-file-access/

if i try to mount on "media", i will receive an error because of no privileges 
on that directory.
If i try to mount on home/andymnc/SonyZ1 (so on the home of the user)

after quite 5 minutes of wait before having any response, i receive:
andymnc@andymnc-VPCEC1M1E:~$ android-connect
Unable to open ~/.mtpz-data for reading, MTPZ disabled.Listing raw device(s)
Device 0 (VID=0fce and PID=519e) is UNKNOWN.
Please report this VID/PID and the device model to the libmtp development team
   Found 1 device(s):
   0fce:519e @ bus 2, dev 8
Attempting to connect device
Android device detected, assigning default bug flags
Listing File Information on Device with name: Xperia Z1

Now, i can see the folder SonyZ1 in my home, that it will be super slow on 
unity because mounting the "disk" on the fly.
Anyway at this point i can NOT copy/paste/delete files from and to the Z1 by 
terminal and gnomecommander too.
i can't also see subdirs via unity/nautilus because every double click on any 
folder will open the "SonyZ1" same folder like a loop.
In ANY case, i have to be ROOT (sudo) and i can not do any operations on files 
that i can only see

** Affects: libmtp (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to libmtp in Ubuntu.
https://bugs.launchpad.net/bugs/1266845

Title:
  Sony Xperia Z1 not correctly recongnized/supported

Status in “libmtp” package in Ubuntu:
  New

Bug description:
  Sony Xperia Z1 android 4.3 (original SE rom) + ubuntu 13.10 64bit.
  Impossible to correctly mount the device. impossible to see the device if not 
root (sudo).
  mtp-detect | grep idVendor
  mtp-detect | grep idProduct
  answers no info. i have the correct ids only if i made them with sudo before.

  andymnc@andymnc-VPCEC1M1E:~$ lsb_release -rd
  Description:  Ubuntu 13.10
  Release:      13.10

  andymnc@andymnc-VPCEC1M1E:~$ apt-cache policy libmtp-*
  libmtpserver1:
    Installato: 0.0.1+13.10.20130926.3-0ubuntu1
    Candidato:  0.0.1+13.10.20130926.3-0ubuntu1
    Tabella versione:
   *** 0.0.1+13.10.20130926.3-0ubuntu1 0
          500 http://it.archive.ubuntu.com/ubuntu/ saucy/universe amd64 Packages
          100 /var/lib/dpkg/status
  libmtpserver-dev:
    Installato: 0.0.1+13.10.20130926.3-0ubuntu1
    Candidato:  0.0.1+13.10.20130926.3-0ubuntu1
    Tabella versione:
   *** 0.0.1+13.10.20130926.3-0ubuntu1 0
          500 http://it.archive.ubuntu.com/ubuntu/ saucy/universe amd64 Packages
          100 /var/lib/dpkg/status
  libmtp-dbg:
    Installato: 1.1.6-2
    Candidato:  1.1.6-2
    Tabella versione:
   *** 1.1.6-2 0
          500 http://it.archive.ubuntu.com/ubuntu/ saucy/main amd64 Packages
          100 /var/lib/dpkg/status
  libmtp8:
    Installato: (nessuno)
    Candidato:  (nessuno)
    Tabella versione:
  libmtp9:
    Installato: 1.1.6-2
    Candidato:  1.1.6-2
    Tabella versione:
   *** 1.1.6-2 0
          500 http://it.archive.ubuntu.com/ubuntu/ saucy/main amd64 Packages
          100 /var/lib/dpkg/status
  libmtp-dev:
    Installato: 1.1.6-2
    Candidato:  1.1.6-2
    Tabella versione:
   *** 1.1.6-2 0
          500 http://it.archive.ubuntu.com/ubuntu/ saucy/main amd64 Packages
          100 /var/lib/dpkg/status
  libmtp-doc:
    Installato: 1.1.6-2
    Candidato:  1.1.6-2
    Tabella versione:
   *** 1.1.6-2 0
          500 http://it.archive.ubuntu.com/ubuntu/ saucy/main amd64 Packages
          100 /var/lib/dpkg/status
  libmtp-common:
    Installato: 1.1.6-2
    Candidato:  1.1.6-2
    Tabella versione:
   *** 1.1.6-2 0
          500 http://it.archive.ubuntu.com/ubuntu/ saucy/main amd64 Packages
          100 /var/lib/dpkg/status
  libmtp-runtime:
    Installato: 1.1.6-2
    Candidato:  1.1.6-2
    Tabella versione:
   *** 1.1.6-2 0
          500 http://it.archive.ubuntu.com/ubuntu/ saucy/main amd64 Packages
          100 /var/lib/dpkg/status

  
  andymnc@andymnc-VPCEC1M1E:~$ uname -a; lsb_release -a; lsusb
  Linux andymnc-VPCEC1M1E 3.11.0-15-generic #23-Ubuntu SMP Mon Dec 9 18:17:04 
UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
  No LSB modules are available.
  Distributor ID:       Ubuntu
  Description:  Ubuntu 13.10
  Release:      13.10
  Codename:     saucy
  Bus 002 Device 007: ID 0fce:019e Sony Ericsson Mobile Communications AB
  Bus 002 Device 004: ID 0480:a004 Toshiba America Info. Systems, Inc.
  Bus 002 Device 006: ID 045e:074f Microsoft Corp.
  Bus 002 Device 005: ID 1e7d:319c ROCCAT
  Bus 002 Device 003: ID 2001:f103 D-Link Corp. DUB-H7 7-port USB 2.0 hub
  Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
  Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
  Bus 001 Device 003: ID 064e:a213 Suyin Corp.
  Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
  Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

  if i run:
  andymnc@andymnc-VPCEC1M1E:~$ mtpfs /home/andymnc/SonyZ1/
  no device is found.
  if i run:
  andymnc@andymnc-VPCEC1M1E:~$ sudo mtpfs /home/andymnc/SonyZ1/
  Unable to open ~/.mtpz-data for reading, MTPZ disabled.Listing raw device(s)
  Device 0 (VID=0fce and PID=019e) is UNKNOWN.
  Please report this VID/PID and the device model to the libmtp development team
     Found 1 device(s):
     0fce:019e @ bus 2, dev 7
  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: Xperia Z1
  LIBMTP_Get_Storage() failed:-1

  if i try:
  andymnc@andymnc-VPCEC1M1E:~$ sudo mtpfs /media/andymnc/SonyZ1/
  same answer.

  If i activate USB-debug in developer option, following this info, with all 
the mtp calls with SUDO before, insthead of as per the following tutorial (and 
of course i changed the media mount point in the .bashrc):
  
http://www.omgubuntu.co.uk/2011/12/how-to-connect-your-android-ice-cream-sandwich-phone-to-ubuntu-for-file-access/

  if i try to mount on "media", i will receive an error because of no 
privileges on that directory.
  If i try to mount on home/andymnc/SonyZ1 (so on the home of the user)

  after quite 5 minutes of wait before having any response, i receive:
  andymnc@andymnc-VPCEC1M1E:~$ android-connect
  Unable to open ~/.mtpz-data for reading, MTPZ disabled.Listing raw device(s)
  Device 0 (VID=0fce and PID=519e) is UNKNOWN.
  Please report this VID/PID and the device model to the libmtp development team
     Found 1 device(s):
     0fce:519e @ bus 2, dev 8
  Attempting to connect device
  Android device detected, assigning default bug flags
  Listing File Information on Device with name: Xperia Z1

  Now, i can see the folder SonyZ1 in my home, that it will be super slow on 
unity because mounting the "disk" on the fly.
  Anyway at this point i can NOT copy/paste/delete files from and to the Z1 by 
terminal and gnomecommander too.
  i can't also see subdirs via unity/nautilus because every double click on any 
folder will open the "SonyZ1" same folder like a loop.
  In ANY case, i have to be ROOT (sudo) and i can not do any operations on 
files that i can only see

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libmtp/+bug/1266845/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to