Libmtp error could not send object

I am using Ubuntu 18.04 LTS. Whenever I try to copy/paste content from/to my Android phone's memory card, I get this error: libmtp Error : Could not send object info. Please help me to solve this.

I am using Ubuntu 18.04 LTS. Whenever I try to copy/paste content from/to my Android phone’s memory card, I get this error:

libmtp Error : Could not send object info.

Please help me to solve this.

muru's user avatar

muru

189k52 gold badges460 silver badges711 bronze badges

asked Sep 10, 2018 at 18:07

yag tank's user avatar

I’m not sure if you have solved this but I came across the same issues today.
I was trying to copy music to my Android’s phone SD card and I got this error when the file name of the song, not the tag, had ‘illegal’ symbols in it. I removed the apostrophe and the file copied over.
05 Goodbye 70’s.flac change to 05 Goodbye 70s.flac

Hope this helps.

answered May 1, 2019 at 18:46

Geoffrey Williams's user avatar

1

Agree with Geoffrey. I bumped into the same problem with the filename. For me the ‘illegal character was the colon ‘:’ character. The filename which caused the problem was ‘Disc 1 — 11 — The Narcotic Suite: 3 Kilos.ogg‘, renaming the file to ‘Disc 1 — 11 — The Narcotic Suite 3 Kilos.ogg‘ ensured that the file could be copied.

I used the ‘Files’ app to rename the file, right-click on the filename and choose the ‘rename’ option.

answered May 20, 2019 at 13:06

yoshinori kawahara's user avatar

Other than the filename issue mentioned above, another possible reason is that the file to be copied is too big for the MTP device. For example, I get this error when I try to copy a 5GB movie to a SD card, which seems not accepting such large file.

answered May 22, 2021 at 14:48

user26742873's user avatar

Try compressing it and then copy-pasting it.
It worked when I tried copying ~11 GB zip file.

answered Apr 30, 2022 at 21:17

ZeZNiQ's user avatar

0

I solved this problem by removing all the 0000 embedded file .config files from the Android mobile.

Zanna's user avatar

Zanna

68.2k55 gold badges210 silver badges320 bronze badges

answered Nov 13, 2022 at 12:33

surya's user avatar

I am using Ubuntu 18.04 LTS. Whenever I try to copy/paste content from/to my Android phone’s memory card, I get this error:

libmtp Error : Could not send object info.

Please help me to solve this.

muru's user avatar

muru

189k52 gold badges460 silver badges711 bronze badges

asked Sep 10, 2018 at 18:07

yag tank's user avatar

I’m not sure if you have solved this but I came across the same issues today.
I was trying to copy music to my Android’s phone SD card and I got this error when the file name of the song, not the tag, had ‘illegal’ symbols in it. I removed the apostrophe and the file copied over.
05 Goodbye 70’s.flac change to 05 Goodbye 70s.flac

Hope this helps.

answered May 1, 2019 at 18:46

Geoffrey Williams's user avatar

1

Agree with Geoffrey. I bumped into the same problem with the filename. For me the ‘illegal character was the colon ‘:’ character. The filename which caused the problem was ‘Disc 1 — 11 — The Narcotic Suite: 3 Kilos.ogg‘, renaming the file to ‘Disc 1 — 11 — The Narcotic Suite 3 Kilos.ogg‘ ensured that the file could be copied.

I used the ‘Files’ app to rename the file, right-click on the filename and choose the ‘rename’ option.

answered May 20, 2019 at 13:06

yoshinori kawahara's user avatar

Other than the filename issue mentioned above, another possible reason is that the file to be copied is too big for the MTP device. For example, I get this error when I try to copy a 5GB movie to a SD card, which seems not accepting such large file.

answered May 22, 2021 at 14:48

user26742873's user avatar

Try compressing it and then copy-pasting it.
It worked when I tried copying ~11 GB zip file.

answered Apr 30, 2022 at 21:17

ZeZNiQ's user avatar

0

I solved this problem by removing all the 0000 embedded file .config files from the Android mobile.

Zanna's user avatar

Zanna

68.2k55 gold badges210 silver badges320 bronze badges

answered Nov 13, 2022 at 12:33

surya's user avatar

I have an HTC One m8, and a laptop running Arch Linux. I installed gvfs-mtp, and my computer detects my phone and the files inside of it. I use the GNOME desktop environment, and it’s default file manager.
If I try to transfer files to my phone, I get an error reading:

 
There was an error copying the file into mtp://[usb:003,005]/SD%20card.
 "libmtp error: could not send object info".

I am not sure how to fix this. i tried reinstalling libmtp and gvfs to no avail.
I want to be able to connect my phone to my computer, and transfer files through my file manager. Any help would be appreciated..

[saadnajmi@archlaptop ~]$ adb devices
* daemon not running. starting it now on port 5037 *
* daemon started successfully *
List of devices attached 
FA456WM01083	device

[saadnajmi@archlaptop ~]$ mtp-detect
Unable to open ~/.mtpz-data for reading, MTPZ disabled.
libmtp version: 1.1.8

Listing raw device(s)
Device 0 (VID=0bb4 and PID=0f63) is a HTC HTC One (MTP+ADB).
   Found 1 device(s):
   HTC: HTC One (MTP+ADB) (0bb4:0f63) @ bus 3, dev 5
Attempting to connect device(s)
ignoring libusb_claim_interface() = -6PTP_ERROR_IO: failed to open session, trying again after resetting USB interface
LIBMTP libusb: Attempt to reset device
Android device detected, assigning default bug flags
USB low-level info:
   bcdUSB: 528
   bDeviceClass: 0
   bDeviceSubClass: 0
   bDeviceProtocol: 0
   idVendor: 0bb4
   idProduct: 0f63
   IN endpoint maxpacket: 512 bytes
   OUT endpoint maxpacket: 512 bytes
   Raw device info:
      Bus location: 3
      Device number: 5
      Device entry info:
         Vendor: HTC
         Vendor id: 0x0bb4
         Product: HTC One (MTP+ADB)
         Vendor id: 0x0f63
         Device flags: 0x18008106
Configuration 0, interface 0, altsetting 0:
   Interface description contains the string "MTP"
   Device recognized as MTP, no further probing.
Device info:
   Manufacturer: HTC
   Model: HTC One_M8
   Device version: 1.58.502.1
   Serial number: FA456WM01083
   Vendor extension ID: 0x00000006
   Vendor extension description: microsoft.com: 1.0; android.com: 1.0;
   Detected object size: 64 bits
   Extensions:
        microsoft.com: 1.0
        android.com: 1.0
Supported operations:
   1001: get device info
   1002: Open session
   1003: Close session
   1004: Get storage IDs
   1005: Get storage info
   1006: Get number of objects
   1007: Get object handles
   1008: Get object info
   1009: Get object
   100a: Get thumbnail
   100b: Delete object
   100c: Send object info
   100d: Send object
   1014: Get device property description
   1015: Get device property value
   1016: Set device property value
   1017: Reset device property value
   101b: Get partial object
   9801: Get object properties supported
   9802: Get object property description
   9803: Get object property value
   9804: Set object property value
   9805: Get object property list
   9811: Set object references
   95c1: Get Partial Object (64bit Offset)
   95c2: Send Partial Object
   95c3: Truncate Object
   95c4: Begin Edit Object
   95c5: End Edit Object
   96f0: Unknown (96f0)
Events supported:
   0x4002
   0x4003
   0x4004
   0x4005
Device Properties Supported:
   0xd401: Synchronization Partner
   0xd402: Friendly Device Name
   0x5003: Image Size
Playable File (Object) Types and Object Properties Supported:
   3000: Undefined Type
      dc01: Storage ID UINT32 data type ANY 32BIT VALUE form READ ONLY
      dc02: Object Format UINT16 data type ANY 16BIT VALUE form READ ONLY
      dc03: Protection Status UINT16 data type ANY 16BIT VALUE form READ ONLY
      dc04: Object Size UINT64 data type READ ONLY
      dc07: Object File Name STRING data type GET/SET
      dc09: Date Modified STRING data type DATETIME FORM READ ONLY
      dc0b: Parent Object UINT32 data type ANY 32BIT VALUE form READ ONLY
      dc41: Persistant Unique Object Identifier UINT128 data type READ ONLY
      dc44: Name STRING data type READ ONLY
      dc4e: Date Added STRING data type DATETIME FORM READ ONLY
   3001: Association/Directory
      dc01: Storage ID UINT32 data type ANY 32BIT VALUE form READ ONLY
      dc02: Object Format UINT16 data type ANY 16BIT VALUE form READ ONLY
      dc03: Protection Status UINT16 data type ANY 16BIT VALUE form READ ONLY
      dc04: Object Size UINT64 data type READ ONLY
      dc07: Object File Name STRING data type GET/SET
      dc09: Date Modified STRING data type DATETIME FORM READ ONLY
      dc0b: Parent Object UINT32 data type ANY 32BIT VALUE form READ ONLY
      dc41: Persistant Unique Object Identifier UINT128 data type READ ONLY
      dc44: Name STRING data type READ ONLY
      dc4e: Date Added STRING data type DATETIME FORM READ ONLY
   3004: Text
      dc01: Storage ID UINT32 data type ANY 32BIT VALUE form READ ONLY
      dc02: Object Format UINT16 data type ANY 16BIT VALUE form READ ONLY
      dc03: Protection Status UINT16 data type ANY 16BIT VALUE form READ ONLY
      dc04: Object Size UINT64 data type READ ONLY
      dc07: Object File Name STRING data type GET/SET
      dc09: Date Modified STRING data type DATETIME FORM READ ONLY
      dc0b: Parent Object UINT32 data type ANY 32BIT VALUE form READ ONLY
      dc41: Persistant Unique Object Identifier UINT128 data type READ ONLY
      dc44: Name STRING data type READ ONLY
      dc4e: Date Added STRING data type DATETIME FORM READ ONLY
   3005: HTML
      dc01: Storage ID UINT32 data type ANY 32BIT VALUE form READ ONLY
      dc02: Object Format UINT16 data type ANY 16BIT VALUE form READ ONLY
      dc03: Protection Status UINT16 data type ANY 16BIT VALUE form READ ONLY
      dc04: Object Size UINT64 data type READ ONLY
      dc07: Object File Name STRING data type GET/SET
      dc09: Date Modified STRING data type DATETIME FORM READ ONLY
      dc0b: Parent Object UINT32 data type ANY 32BIT VALUE form READ ONLY
      dc41: Persistant Unique Object Identifier UINT128 data type READ ONLY
      dc44: Name STRING data type READ ONLY
      dc4e: Date Added STRING data type DATETIME FORM READ ONLY
   3008: MS Wave
      dc01: Storage ID UINT32 data type ANY 32BIT VALUE form READ ONLY
      dc02: Object Format UINT16 data type ANY 16BIT VALUE form READ ONLY
      dc03: Protection Status UINT16 data type ANY 16BIT VALUE form READ ONLY
      dc04: Object Size UINT64 data type READ ONLY
      dc07: Object File Name STRING data type GET/SET
      dc09: Date Modified STRING data type DATETIME FORM READ ONLY
      dc0b: Parent Object UINT32 data type ANY 32BIT VALUE form READ ONLY
      dc41: Persistant Unique Object Identifier UINT128 data type READ ONLY
      dc44: Name STRING data type READ ONLY
      dce0: Display Name STRING data type READ ONLY
      dc4e: Date Added STRING data type DATETIME FORM READ ONLY
      dc46: Artist STRING data type READ ONLY
      dc9a: Album Name STRING data type READ ONLY
      dc9b: Album Artist STRING data type READ ONLY
      dc8b: Track UINT16 data type ANY 16BIT VALUE form READ ONLY
      dc99: Original Release Date STRING data type DATETIME FORM READ ONLY
      dc89: Duration UINT32 data type ANY 32BIT VALUE form READ ONLY
      dc8c: Genre STRING data type READ ONLY
      dc96: Composer STRING data type READ ONLY
      de93: Sample Rate UINT32 data type range: MIN 0, MAX 48000, STEP 50 GET/SET
      de94: Number Of Channels UINT16 data type ANY 16BIT VALUE form READ ONLY
      de99: Audio WAVE Codec UINT32 data type enumeration: 0, 1, 2, 3, 8, 9, 11, 49, 50, 80, 85, 352, 353, 354, 355, 356, 41222,  GET/SET
      de9a: Audio Bit Rate UINT32 data type range: MIN 0, MAX 384000, STEP 1 GET/SET
   3009: MP3
      dc01: Storage ID UINT32 data type ANY 32BIT VALUE form READ ONLY
      dc02: Object Format UINT16 data type ANY 16BIT VALUE form READ ONLY
      dc03: Protection Status UINT16 data type ANY 16BIT VALUE form READ ONLY
      dc04: Object Size UINT64 data type READ ONLY
      dc07: Object File Name STRING data type GET/SET
      dc09: Date Modified STRING data type DATETIME FORM READ ONLY
      dc0b: Parent Object UINT32 data type ANY 32BIT VALUE form READ ONLY
      dc41: Persistant Unique Object Identifier UINT128 data type READ ONLY
      dc44: Name STRING data type READ ONLY
      dce0: Display Name STRING data type READ ONLY
      dc4e: Date Added STRING data type DATETIME FORM READ ONLY
      dc46: Artist STRING data type READ ONLY
      dc9a: Album Name STRING data type READ ONLY
      dc9b: Album Artist STRING data type READ ONLY
      dc8b: Track UINT16 data type ANY 16BIT VALUE form READ ONLY
      dc99: Original Release Date STRING data type DATETIME FORM READ ONLY
      dc89: Duration UINT32 data type ANY 32BIT VALUE form READ ONLY
      dc8c: Genre STRING data type READ ONLY
      dc96: Composer STRING data type READ ONLY
      de93: Sample Rate UINT32 data type range: MIN 0, MAX 48000, STEP 50 GET/SET
      de94: Number Of Channels UINT16 data type ANY 16BIT VALUE form READ ONLY
      de99: Audio WAVE Codec UINT32 data type enumeration: 0, 1, 2, 3, 8, 9, 11, 49, 50, 80, 85, 352, 353, 354, 355, 356, 41222,  GET/SET
      de9a: Audio Bit Rate UINT32 data type range: MIN 0, MAX 384000, STEP 1 GET/SET
   300b: MPEG
      dc01: Storage ID UINT32 data type ANY 32BIT VALUE form READ ONLY
      dc02: Object Format UINT16 data type ANY 16BIT VALUE form READ ONLY
      dc03: Protection Status UINT16 data type ANY 16BIT VALUE form READ ONLY
      dc04: Object Size UINT64 data type READ ONLY
      dc07: Object File Name STRING data type GET/SET
      dc09: Date Modified STRING data type DATETIME FORM READ ONLY
      dc0b: Parent Object UINT32 data type ANY 32BIT VALUE form READ ONLY
      dc41: Persistant Unique Object Identifier UINT128 data type READ ONLY
      dc44: Name STRING data type READ ONLY
      dce0: Display Name STRING data type READ ONLY
      dc4e: Date Added STRING data type DATETIME FORM READ ONLY
      dc46: Artist STRING data type READ ONLY
      dc9a: Album Name STRING data type READ ONLY
      dc89: Duration UINT32 data type ANY 32BIT VALUE form READ ONLY
      dc48: Description STRING data type READ ONLY
      de93: Sample Rate UINT32 data type range: MIN 0, MAX 48000, STEP 50 GET/SET
      de94: Number Of Channels UINT16 data type ANY 16BIT VALUE form READ ONLY
      de99: Audio WAVE Codec UINT32 data type enumeration: 0, 1, 2, 3, 8, 9, 11, 49, 50, 80, 85, 352, 353, 354, 355, 356, 41222,  GET/SET
      de9a: Audio Bit Rate UINT32 data type range: MIN 0, MAX 384000, STEP 1 GET/SET
      dc8b: Track UINT16 data type ANY 16BIT VALUE form READ ONLY
      dc99: Original Release Date STRING data type DATETIME FORM READ ONLY
      dc8c: Genre STRING data type READ ONLY
      dc87: Width UINT32 data type ANY 32BIT VALUE form READ ONLY
      dc88: Height UINT32 data type ANY 32BIT VALUE form READ ONLY
      de9b: Video Four CC Codec UINT32 data type enumeration: 0, 859189832, 958804552, 1195724877, 827739479, 844516695, 861293911,  GET/SET
      de9c: Video Bit Rate UINT32 data type range: MIN 0, MAX 2000000000, STEP 1 GET/SET
      de9d: Frames Per Thousand Seconds UINT32 data type range: MIN 0, MAX 60000, STEP 1 GET/SET
   3801: JPEG
      dc01: Storage ID UINT32 data type ANY 32BIT VALUE form READ ONLY
      dc02: Object Format UINT16 data type ANY 16BIT VALUE form READ ONLY
      dc03: Protection Status UINT16 data type ANY 16BIT VALUE form READ ONLY
      dc04: Object Size UINT64 data type READ ONLY
      dc07: Object File Name STRING data type GET/SET
      dc09: Date Modified STRING data type DATETIME FORM READ ONLY
      dc0b: Parent Object UINT32 data type ANY 32BIT VALUE form READ ONLY
      dc41: Persistant Unique Object Identifier UINT128 data type READ ONLY
      dc44: Name STRING data type READ ONLY
      dce0: Display Name STRING data type READ ONLY
      dc4e: Date Added STRING data type DATETIME FORM READ ONLY
      dc48: Description STRING data type READ ONLY
   3802: TIFF EP
      dc01: Storage ID UINT32 data type ANY 32BIT VALUE form READ ONLY
      dc02: Object Format UINT16 data type ANY 16BIT VALUE form READ ONLY
      dc03: Protection Status UINT16 data type ANY 16BIT VALUE form READ ONLY
      dc04: Object Size UINT64 data type READ ONLY
      dc07: Object File Name STRING data type GET/SET
      dc09: Date Modified STRING data type DATETIME FORM READ ONLY
      dc0b: Parent Object UINT32 data type ANY 32BIT VALUE form READ ONLY
      dc41: Persistant Unique Object Identifier UINT128 data type READ ONLY
      dc44: Name STRING data type READ ONLY
      dc4e: Date Added STRING data type DATETIME FORM READ ONLY
   3804: BMP
      dc01: Storage ID UINT32 data type ANY 32BIT VALUE form READ ONLY
      dc02: Object Format UINT16 data type ANY 16BIT VALUE form READ ONLY
      dc03: Protection Status UINT16 data type ANY 16BIT VALUE form READ ONLY
      dc04: Object Size UINT64 data type READ ONLY
      dc07: Object File Name STRING data type GET/SET
      dc09: Date Modified STRING data type DATETIME FORM READ ONLY
      dc0b: Parent Object UINT32 data type ANY 32BIT VALUE form READ ONLY
      dc41: Persistant Unique Object Identifier UINT128 data type READ ONLY
      dc44: Name STRING data type READ ONLY
      dce0: Display Name STRING data type READ ONLY
      dc4e: Date Added STRING data type DATETIME FORM READ ONLY
      dc48: Description STRING data type READ ONLY
   3807: GIF
      dc01: Storage ID UINT32 data type ANY 32BIT VALUE form READ ONLY
      dc02: Object Format UINT16 data type ANY 16BIT VALUE form READ ONLY
      dc03: Protection Status UINT16 data type ANY 16BIT VALUE form READ ONLY
      dc04: Object Size UINT64 data type READ ONLY
      dc07: Object File Name STRING data type GET/SET
      dc09: Date Modified STRING data type DATETIME FORM READ ONLY
      dc0b: Parent Object UINT32 data type ANY 32BIT VALUE form READ ONLY
      dc41: Persistant Unique Object Identifier UINT128 data type READ ONLY
      dc44: Name STRING data type READ ONLY
      dce0: Display Name STRING data type READ ONLY
      dc4e: Date Added STRING data type DATETIME FORM READ ONLY
      dc48: Description STRING data type READ ONLY
   3808: JFIF
      dc01: Storage ID UINT32 data type ANY 32BIT VALUE form READ ONLY
      dc02: Object Format UINT16 data type ANY 16BIT VALUE form READ ONLY
      dc03: Protection Status UINT16 data type ANY 16BIT VALUE form READ ONLY
      dc04: Object Size UINT64 data type READ ONLY
      dc07: Object File Name STRING data type GET/SET
      dc09: Date Modified STRING data type DATETIME FORM READ ONLY
      dc0b: Parent Object UINT32 data type ANY 32BIT VALUE form READ ONLY
      dc41: Persistant Unique Object Identifier UINT128 data type READ ONLY
      dc44: Name STRING data type READ ONLY
      dc4e: Date Added STRING data type DATETIME FORM READ ONLY
   380b: PNG
      dc01: Storage ID UINT32 data type ANY 32BIT VALUE form READ ONLY
      dc02: Object Format UINT16 data type ANY 16BIT VALUE form READ ONLY
      dc03: Protection Status UINT16 data type ANY 16BIT VALUE form READ ONLY
      dc04: Object Size UINT64 data type READ ONLY
      dc07: Object File Name STRING data type GET/SET
      dc09: Date Modified STRING data type DATETIME FORM READ ONLY
      dc0b: Parent Object UINT32 data type ANY 32BIT VALUE form READ ONLY
      dc41: Persistant Unique Object Identifier UINT128 data type READ ONLY
      dc44: Name STRING data type READ ONLY
      dce0: Display Name STRING data type READ ONLY
      dc4e: Date Added STRING data type DATETIME FORM READ ONLY
      dc48: Description STRING data type READ ONLY
   380d: TIFF
      dc01: Storage ID UINT32 data type ANY 32BIT VALUE form READ ONLY
      dc02: Object Format UINT16 data type ANY 16BIT VALUE form READ ONLY
      dc03: Protection Status UINT16 data type ANY 16BIT VALUE form READ ONLY
      dc04: Object Size UINT64 data type READ ONLY
      dc07: Object File Name STRING data type GET/SET
      dc09: Date Modified STRING data type DATETIME FORM READ ONLY
      dc0b: Parent Object UINT32 data type ANY 32BIT VALUE form READ ONLY
      dc41: Persistant Unique Object Identifier UINT128 data type READ ONLY
      dc44: Name STRING data type READ ONLY
      dc4e: Date Added STRING data type DATETIME FORM READ ONLY
   b901: WMA
      dc01: Storage ID UINT32 data type ANY 32BIT VALUE form READ ONLY
      dc02: Object Format UINT16 data type ANY 16BIT VALUE form READ ONLY
      dc03: Protection Status UINT16 data type ANY 16BIT VALUE form READ ONLY
      dc04: Object Size UINT64 data type READ ONLY
      dc07: Object File Name STRING data type GET/SET
      dc09: Date Modified STRING data type DATETIME FORM READ ONLY
      dc0b: Parent Object UINT32 data type ANY 32BIT VALUE form READ ONLY
      dc41: Persistant Unique Object Identifier UINT128 data type READ ONLY
      dc44: Name STRING data type READ ONLY
      dce0: Display Name STRING data type READ ONLY
      dc4e: Date Added STRING data type DATETIME FORM READ ONLY
      dc46: Artist STRING data type READ ONLY
      dc9a: Album Name STRING data type READ ONLY
      dc9b: Album Artist STRING data type READ ONLY
      dc8b: Track UINT16 data type ANY 16BIT VALUE form READ ONLY
      dc99: Original Release Date STRING data type DATETIME FORM READ ONLY
      dc89: Duration UINT32 data type ANY 32BIT VALUE form READ ONLY
      dc8c: Genre STRING data type READ ONLY
      dc96: Composer STRING data type READ ONLY
      de93: Sample Rate UINT32 data type range: MIN 0, MAX 48000, STEP 50 GET/SET
      de94: Number Of Channels UINT16 data type ANY 16BIT VALUE form READ ONLY
      de99: Audio WAVE Codec UINT32 data type enumeration: 0, 1, 2, 3, 8, 9, 11, 49, 50, 80, 85, 352, 353, 354, 355, 356, 41222,  GET/SET
      de9a: Audio Bit Rate UINT32 data type range: MIN 0, MAX 384000, STEP 1 GET/SET
   b902: OGG
      dc01: Storage ID UINT32 data type ANY 32BIT VALUE form READ ONLY
      dc02: Object Format UINT16 data type ANY 16BIT VALUE form READ ONLY
      dc03: Protection Status UINT16 data type ANY 16BIT VALUE form READ ONLY
      dc04: Object Size UINT64 data type READ ONLY
      dc07: Object File Name STRING data type GET/SET
      dc09: Date Modified STRING data type DATETIME FORM READ ONLY
      dc0b: Parent Object UINT32 data type ANY 32BIT VALUE form READ ONLY
      dc41: Persistant Unique Object Identifier UINT128 data type READ ONLY
      dc44: Name STRING data type READ ONLY
      dce0: Display Name STRING data type READ ONLY
      dc4e: Date Added STRING data type DATETIME FORM READ ONLY
      dc46: Artist STRING data type READ ONLY
      dc9a: Album Name STRING data type READ ONLY
      dc9b: Album Artist STRING data type READ ONLY
      dc8b: Track UINT16 data type ANY 16BIT VALUE form READ ONLY
      dc99: Original Release Date STRING data type DATETIME FORM READ ONLY
      dc89: Duration UINT32 data type ANY 32BIT VALUE form READ ONLY
      dc8c: Genre STRING data type READ ONLY
      dc96: Composer STRING data type READ ONLY
      de93: Sample Rate UINT32 data type range: MIN 0, MAX 48000, STEP 50 GET/SET
      de94: Number Of Channels UINT16 data type ANY 16BIT VALUE form READ ONLY
      de99: Audio WAVE Codec UINT32 data type enumeration: 0, 1, 2, 3, 8, 9, 11, 49, 50, 80, 85, 352, 353, 354, 355, 356, 41222,  GET/SET
      de9a: Audio Bit Rate UINT32 data type range: MIN 0, MAX 384000, STEP 1 GET/SET
   b903: AAC
      dc01: Storage ID UINT32 data type ANY 32BIT VALUE form READ ONLY
      dc02: Object Format UINT16 data type ANY 16BIT VALUE form READ ONLY
      dc03: Protection Status UINT16 data type ANY 16BIT VALUE form READ ONLY
      dc04: Object Size UINT64 data type READ ONLY
      dc07: Object File Name STRING data type GET/SET
      dc09: Date Modified STRING data type DATETIME FORM READ ONLY
      dc0b: Parent Object UINT32 data type ANY 32BIT VALUE form READ ONLY
      dc41: Persistant Unique Object Identifier UINT128 data type READ ONLY
      dc44: Name STRING data type READ ONLY
      dce0: Display Name STRING data type READ ONLY
      dc4e: Date Added STRING data type DATETIME FORM READ ONLY
      dc46: Artist STRING data type READ ONLY
      dc9a: Album Name STRING data type READ ONLY
      dc9b: Album Artist STRING data type READ ONLY
      dc8b: Track UINT16 data type ANY 16BIT VALUE form READ ONLY
      dc99: Original Release Date STRING data type DATETIME FORM READ ONLY
      dc89: Duration UINT32 data type ANY 32BIT VALUE form READ ONLY
      dc8c: Genre STRING data type READ ONLY
      dc96: Composer STRING data type READ ONLY
      de93: Sample Rate UINT32 data type range: MIN 0, MAX 48000, STEP 50 GET/SET
      de94: Number Of Channels UINT16 data type ANY 16BIT VALUE form READ ONLY
      de99: Audio WAVE Codec UINT32 data type enumeration: 0, 1, 2, 3, 8, 9, 11, 49, 50, 80, 85, 352, 353, 354, 355, 356, 41222,  GET/SET
      de9a: Audio Bit Rate UINT32 data type range: MIN 0, MAX 384000, STEP 1 GET/SET
   b982: MP4
      dc01: Storage ID UINT32 data type ANY 32BIT VALUE form READ ONLY
      dc02: Object Format UINT16 data type ANY 16BIT VALUE form READ ONLY
      dc03: Protection Status UINT16 data type ANY 16BIT VALUE form READ ONLY
      dc04: Object Size UINT64 data type READ ONLY
      dc07: Object File Name STRING data type GET/SET
      dc09: Date Modified STRING data type DATETIME FORM READ ONLY
      dc0b: Parent Object UINT32 data type ANY 32BIT VALUE form READ ONLY
      dc41: Persistant Unique Object Identifier UINT128 data type READ ONLY
      dc44: Name STRING data type READ ONLY
      dc4e: Date Added STRING data type DATETIME FORM READ ONLY
   b983: MP2
      dc01: Storage ID UINT32 data type ANY 32BIT VALUE form READ ONLY
      dc02: Object Format UINT16 data type ANY 16BIT VALUE form READ ONLY
      dc03: Protection Status UINT16 data type ANY 16BIT VALUE form READ ONLY
      dc04: Object Size UINT64 data type READ ONLY
      dc07: Object File Name STRING data type GET/SET
      dc09: Date Modified STRING data type DATETIME FORM READ ONLY
      dc0b: Parent Object UINT32 data type ANY 32BIT VALUE form READ ONLY
      dc41: Persistant Unique Object Identifier UINT128 data type READ ONLY
      dc44: Name STRING data type READ ONLY
      dc4e: Date Added STRING data type DATETIME FORM READ ONLY
   b984: 3GP
      dc01: Storage ID UINT32 data type ANY 32BIT VALUE form READ ONLY
      dc02: Object Format UINT16 data type ANY 16BIT VALUE form READ ONLY
      dc03: Protection Status UINT16 data type ANY 16BIT VALUE form READ ONLY
      dc04: Object Size UINT64 data type READ ONLY
      dc07: Object File Name STRING data type GET/SET
      dc09: Date Modified STRING data type DATETIME FORM READ ONLY
      dc0b: Parent Object UINT32 data type ANY 32BIT VALUE form READ ONLY
      dc41: Persistant Unique Object Identifier UINT128 data type READ ONLY
      dc44: Name STRING data type READ ONLY
      dce0: Display Name STRING data type READ ONLY
      dc4e: Date Added STRING data type DATETIME FORM READ ONLY
      dc46: Artist STRING data type READ ONLY
      dc9a: Album Name STRING data type READ ONLY
      dc89: Duration UINT32 data type ANY 32BIT VALUE form READ ONLY
      dc48: Description STRING data type READ ONLY
      de93: Sample Rate UINT32 data type range: MIN 0, MAX 48000, STEP 50 GET/SET
      de94: Number Of Channels UINT16 data type ANY 16BIT VALUE form READ ONLY
      de99: Audio WAVE Codec UINT32 data type enumeration: 0, 1, 2, 3, 8, 9, 11, 49, 50, 80, 85, 352, 353, 354, 355, 356, 41222,  GET/SET
      de9a: Audio Bit Rate UINT32 data type range: MIN 0, MAX 384000, STEP 1 GET/SET
      dc8b: Track UINT16 data type ANY 16BIT VALUE form READ ONLY
      dc99: Original Release Date STRING data type DATETIME FORM READ ONLY
      dc8c: Genre STRING data type READ ONLY
      dc87: Width UINT32 data type ANY 32BIT VALUE form READ ONLY
      dc88: Height UINT32 data type ANY 32BIT VALUE form READ ONLY
      de9b: Video Four CC Codec UINT32 data type enumeration: 0, 859189832, 958804552, 1195724877, 827739479, 844516695, 861293911,  GET/SET
      de9c: Video Bit Rate UINT32 data type range: MIN 0, MAX 2000000000, STEP 1 GET/SET
      de9d: Frames Per Thousand Seconds UINT32 data type range: MIN 0, MAX 60000, STEP 1 GET/SET
   ba05: Abstract Audio Video Playlist
      dc01: Storage ID UINT32 data type ANY 32BIT VALUE form READ ONLY
      dc02: Object Format UINT16 data type ANY 16BIT VALUE form READ ONLY
      dc03: Protection Status UINT16 data type ANY 16BIT VALUE form READ ONLY
      dc04: Object Size UINT64 data type READ ONLY
      dc07: Object File Name STRING data type GET/SET
      dc09: Date Modified STRING data type DATETIME FORM READ ONLY
      dc0b: Parent Object UINT32 data type ANY 32BIT VALUE form READ ONLY
      dc41: Persistant Unique Object Identifier UINT128 data type READ ONLY
      dc44: Name STRING data type READ ONLY
      dc4e: Date Added STRING data type DATETIME FORM READ ONLY
   ba10: WPL Playlist
      dc01: Storage ID UINT32 data type ANY 32BIT VALUE form READ ONLY
      dc02: Object Format UINT16 data type ANY 16BIT VALUE form READ ONLY
      dc03: Protection Status UINT16 data type ANY 16BIT VALUE form READ ONLY
      dc04: Object Size UINT64 data type READ ONLY
      dc07: Object File Name STRING data type GET/SET
      dc09: Date Modified STRING data type DATETIME FORM READ ONLY
      dc0b: Parent Object UINT32 data type ANY 32BIT VALUE form READ ONLY
      dc41: Persistant Unique Object Identifier UINT128 data type READ ONLY
      dc44: Name STRING data type READ ONLY
      dc4e: Date Added STRING data type DATETIME FORM READ ONLY
   ba11: M3U Playlist
      dc01: Storage ID UINT32 data type ANY 32BIT VALUE form READ ONLY
      dc02: Object Format UINT16 data type ANY 16BIT VALUE form READ ONLY
      dc03: Protection Status UINT16 data type ANY 16BIT VALUE form READ ONLY
      dc04: Object Size UINT64 data type READ ONLY
      dc07: Object File Name STRING data type GET/SET
      dc09: Date Modified STRING data type DATETIME FORM READ ONLY
      dc0b: Parent Object UINT32 data type ANY 32BIT VALUE form READ ONLY
      dc41: Persistant Unique Object Identifier UINT128 data type READ ONLY
      dc44: Name STRING data type READ ONLY
      dc4e: Date Added STRING data type DATETIME FORM READ ONLY
   ba14: PLS Playlist
      dc01: Storage ID UINT32 data type ANY 32BIT VALUE form READ ONLY
      dc02: Object Format UINT16 data type ANY 16BIT VALUE form READ ONLY
      dc03: Protection Status UINT16 data type ANY 16BIT VALUE form READ ONLY
      dc04: Object Size UINT64 data type READ ONLY
      dc07: Object File Name STRING data type GET/SET
      dc09: Date Modified STRING data type DATETIME FORM READ ONLY
      dc0b: Parent Object UINT32 data type ANY 32BIT VALUE form READ ONLY
      dc41: Persistant Unique Object Identifier UINT128 data type READ ONLY
      dc44: Name STRING data type READ ONLY
      dc4e: Date Added STRING data type DATETIME FORM READ ONLY
   ba82: XMLDocument
      dc01: Storage ID UINT32 data type ANY 32BIT VALUE form READ ONLY
      dc02: Object Format UINT16 data type ANY 16BIT VALUE form READ ONLY
      dc03: Protection Status UINT16 data type ANY 16BIT VALUE form READ ONLY
      dc04: Object Size UINT64 data type READ ONLY
      dc07: Object File Name STRING data type GET/SET
      dc09: Date Modified STRING data type DATETIME FORM READ ONLY
      dc0b: Parent Object UINT32 data type ANY 32BIT VALUE form READ ONLY
      dc41: Persistant Unique Object Identifier UINT128 data type READ ONLY
      dc44: Name STRING data type READ ONLY
      dc4e: Date Added STRING data type DATETIME FORM READ ONLY
   b906: FLAC
      dc01: Storage ID UINT32 data type ANY 32BIT VALUE form READ ONLY
      dc02: Object Format UINT16 data type ANY 16BIT VALUE form READ ONLY
      dc03: Protection Status UINT16 data type ANY 16BIT VALUE form READ ONLY
      dc04: Object Size UINT64 data type READ ONLY
      dc07: Object File Name STRING data type GET/SET
      dc09: Date Modified STRING data type DATETIME FORM READ ONLY
      dc0b: Parent Object UINT32 data type ANY 32BIT VALUE form READ ONLY
      dc41: Persistant Unique Object Identifier UINT128 data type READ ONLY
      dc44: Name STRING data type READ ONLY
      dc4e: Date Added STRING data type DATETIME FORM READ ONLY
   b981: WMV
      dc01: Storage ID UINT32 data type ANY 32BIT VALUE form READ ONLY
      dc02: Object Format UINT16 data type ANY 16BIT VALUE form READ ONLY
      dc03: Protection Status UINT16 data type ANY 16BIT VALUE form READ ONLY
      dc04: Object Size UINT64 data type READ ONLY
      dc07: Object File Name STRING data type GET/SET
      dc09: Date Modified STRING data type DATETIME FORM READ ONLY
      dc0b: Parent Object UINT32 data type ANY 32BIT VALUE form READ ONLY
      dc41: Persistant Unique Object Identifier UINT128 data type READ ONLY
      dc44: Name STRING data type READ ONLY
      dce0: Display Name STRING data type READ ONLY
      dc4e: Date Added STRING data type DATETIME FORM READ ONLY
      dc46: Artist STRING data type READ ONLY
      dc9a: Album Name STRING data type READ ONLY
      dc89: Duration UINT32 data type ANY 32BIT VALUE form READ ONLY
      dc48: Description STRING data type READ ONLY
      de93: Sample Rate UINT32 data type range: MIN 0, MAX 48000, STEP 50 GET/SET
      de94: Number Of Channels UINT16 data type ANY 16BIT VALUE form READ ONLY
      de99: Audio WAVE Codec UINT32 data type enumeration: 0, 1, 2, 3, 8, 9, 11, 49, 50, 80, 85, 352, 353, 354, 355, 356, 41222,  GET/SET
      de9a: Audio Bit Rate UINT32 data type range: MIN 0, MAX 384000, STEP 1 GET/SET
      dc8b: Track UINT16 data type ANY 16BIT VALUE form READ ONLY
      dc99: Original Release Date STRING data type DATETIME FORM READ ONLY
      dc8c: Genre STRING data type READ ONLY
      dc87: Width UINT32 data type ANY 32BIT VALUE form READ ONLY
      dc88: Height UINT32 data type ANY 32BIT VALUE form READ ONLY
      de9b: Video Four CC Codec UINT32 data type enumeration: 0, 859189832, 958804552, 1195724877, 827739479, 844516695, 861293911,  GET/SET
      de9c: Video Bit Rate UINT32 data type range: MIN 0, MAX 2000000000, STEP 1 GET/SET
      de9d: Frames Per Thousand Seconds UINT32 data type range: MIN 0, MAX 60000, STEP 1 GET/SET
   300a: MS AVI
      dc01: Storage ID UINT32 data type ANY 32BIT VALUE form READ ONLY
      dc02: Object Format UINT16 data type ANY 16BIT VALUE form READ ONLY
      dc03: Protection Status UINT16 data type ANY 16BIT VALUE form READ ONLY
      dc04: Object Size UINT64 data type READ ONLY
      dc07: Object File Name STRING data type GET/SET
      dc09: Date Modified STRING data type DATETIME FORM READ ONLY
      dc0b: Parent Object UINT32 data type ANY 32BIT VALUE form READ ONLY
      dc41: Persistant Unique Object Identifier UINT128 data type READ ONLY
      dc44: Name STRING data type READ ONLY
      dc4e: Date Added STRING data type DATETIME FORM READ ONLY
   300c: ASF
      dc01: Storage ID UINT32 data type ANY 32BIT VALUE form READ ONLY
      dc02: Object Format UINT16 data type ANY 16BIT VALUE form READ ONLY
      dc03: Protection Status UINT16 data type ANY 16BIT VALUE form READ ONLY
      dc04: Object Size UINT64 data type READ ONLY
      dc07: Object File Name STRING data type GET/SET
      dc09: Date Modified STRING data type DATETIME FORM READ ONLY
      dc0b: Parent Object UINT32 data type ANY 32BIT VALUE form READ ONLY
      dc41: Persistant Unique Object Identifier UINT128 data type READ ONLY
      dc44: Name STRING data type READ ONLY
      dc4e: Date Added STRING data type DATETIME FORM READ ONLY
   ba83: Microsoft Word Document
      dc01: Storage ID UINT32 data type ANY 32BIT VALUE form READ ONLY
      dc02: Object Format UINT16 data type ANY 16BIT VALUE form READ ONLY
      dc03: Protection Status UINT16 data type ANY 16BIT VALUE form READ ONLY
      dc04: Object Size UINT64 data type READ ONLY
      dc07: Object File Name STRING data type GET/SET
      dc09: Date Modified STRING data type DATETIME FORM READ ONLY
      dc0b: Parent Object UINT32 data type ANY 32BIT VALUE form READ ONLY
      dc41: Persistant Unique Object Identifier UINT128 data type READ ONLY
      dc44: Name STRING data type READ ONLY
      dc4e: Date Added STRING data type DATETIME FORM READ ONLY
   ba85: Microsoft Excel Spreadsheet (.xls)
      dc01: Storage ID UINT32 data type ANY 32BIT VALUE form READ ONLY
      dc02: Object Format UINT16 data type ANY 16BIT VALUE form READ ONLY
      dc03: Protection Status UINT16 data type ANY 16BIT VALUE form READ ONLY
      dc04: Object Size UINT64 data type READ ONLY
      dc07: Object File Name STRING data type GET/SET
      dc09: Date Modified STRING data type DATETIME FORM READ ONLY
      dc0b: Parent Object UINT32 data type ANY 32BIT VALUE form READ ONLY
      dc41: Persistant Unique Object Identifier UINT128 data type READ ONLY
      dc44: Name STRING data type READ ONLY
      dc4e: Date Added STRING data type DATETIME FORM READ ONLY
   ba86: Microsoft Powerpoint (.ppt)
      dc01: Storage ID UINT32 data type ANY 32BIT VALUE form READ ONLY
      dc02: Object Format UINT16 data type ANY 16BIT VALUE form READ ONLY
      dc03: Protection Status UINT16 data type ANY 16BIT VALUE form READ ONLY
      dc04: Object Size UINT64 data type READ ONLY
      dc07: Object File Name STRING data type GET/SET
      dc09: Date Modified STRING data type DATETIME FORM READ ONLY
      dc0b: Parent Object UINT32 data type ANY 32BIT VALUE form READ ONLY
      dc41: Persistant Unique Object Identifier UINT128 data type READ ONLY
      dc44: Name STRING data type READ ONLY
      dc4e: Date Added STRING data type DATETIME FORM READ ONLY
Storage Devices:
   StorageID: 0x00020001
      StorageType: 0x0004 removable RAM storage
      FilesystemType: 0x0002 generic hierarchical
      AccessCapability: 0x0000 read/write
      MaxCapacity: 31896633344
      FreeSpaceInBytes: 31628312576
      FreeSpaceInObjects: 1073741824
      StorageDescription: SD card
      VolumeIdentifier: ##storage##ext_sd
   StorageID: 0x00010001
      StorageType: 0x0003 fixed RAM storage
      FilesystemType: 0x0002 generic hierarchical
      AccessCapability: 0x0000 read/write
      MaxCapacity: 26667683840
      FreeSpaceInBytes: 9365225472
      FreeSpaceInObjects: 1073741824
      StorageDescription: Internal storage
      VolumeIdentifier: ##storage##emulated##0
Special directories:
   Default music folder: 0xffffffff
   Default playlist folder: 0xffffffff
   Default picture folder: 0xffffffff
   Default video folder: 0xffffffff
   Default organizer folder: 0xffffffff
   Default zencast folder: 0xffffffff
   Default album folder: 0xffffffff
   Default text folder: 0xffffffff
MTP-specific device properties:
   Friendly name: (NULL)
   Synchronization partner: (NULL)
libmtp supported (playable) filetypes:
   Folder
   Text file
   HTML file
   RIFF WAVE file
   ISO MPEG-1 Audio Layer 3
   MPEG video stream
   JPEG file
   BMP bitmap file
   GIF bitmap file
   JFIF file
   Portable Network Graphics
   TIFF bitmap file
   Microsoft Windows Media Audio
   Ogg container format
   Advanced Audio Coding (AAC)/MPEG-2 Part 7/MPEG-4 Part 3
   MPEG-4 Part 14 Container Format (Audio+Video Emphasis)
   ISO MPEG-1 Audio Layer 2
   Abstract Playlist file
   XML file
   Free Lossless Audio Codec (FLAC)
   Microsoft Windows Media Video
   Audio Video Interleave
   Microsoft Advanced Systems Format
   DOC file
   XLS file
   PPT file
OK.

Я использую Ubuntu 18.04 LTS. Каждый раз, когда я пробую к скопировать/вставить содержанию с карты памяти моего телефона на базе Android, я получаю эту ошибку:

libmtp Error : Could not send object info.

Помогите мне решить это.

задан
11 September 2018 в 03:21

поделиться

2 ответа

Я не уверен, решили ли Вы это, но я столкнулся с теми же проблемами сегодня. Я пытался скопировать музыку в телефонную SD-карту своего Android, и я получил эту ошибку, когда имя файла песни, не тег, имело ‘недопустимые’ символы в нем. Я удалил апостроф и файл, скопированный. 05 До свидания 70’s.flac изменяются на 05 До свидания 70s.flac

Надеюсь, это поможет.

ответ дан Geoffrey Williams
2 December 2019 в 07:04

поделиться

Согласитесь с Geoffrey. Я врезался в ту же проблему с именем файла. Для меня ‘запрещенный символ был двоеточием ‘:’ символ. Именем файла, которое вызвало проблему, был ‘Диск 1 — 11 — Наркотический Комплект: 3 Kilos.ogg‘, переименовывая файл к ‘Диску 1 — 11 — Наркотический Комплект 3, Kilos.ogg‘ гарантировал, что файл мог быть скопирован.

Я использовал приложение ‘Файлов’, чтобы переименовать файл, щелкнуть правой кнопкой по имени файла и выбрать ‘переименовать’ опцию.

ответ дан yoshinori kawahara
2 December 2019 в 07:04

поделиться

Другие вопросы по тегам:

Похожие вопросы:

This works fine to the Android tablet’s internal storage, but not to the tablet’s SD card.

The error message is «libmtp error: Could not send object.«

asked May 19, 2017 at 14:39

Lenbo's user avatar

1

I found installing the below on Mint 19 and rebooting both devices helps immensely

sudo apt install mtp-tools android-tools-adb

If the device is a usb3 typeC or similar you might also want to try using a slower usb2 port. This seems to help keep it from trying to write to the internal storage so fast it crashes right away and then reconnects.

answered Oct 1, 2018 at 12:29

Mike's user avatar

MikeMike

412 bronze badges

1

It could be because your tablet is not supported by the libmtp version you have installed.

  1. Connect the tablet to your computer the use ‘mtp-detect’ in the terminal to get version number & some info about your tablet. Here is the result for mine

    user@X ~ $ mtp-detect
    libmtp version: 1.1.10
    
    Listing raw device(s)
    Device 0 (VID=XXXX and PID=YYYY) is UNKNOWN in libmtp v1.1.10.
    Please report this VID/PID and the device model to the libmtp development team
    

    As you can see my device is currently not supported by libmtp v1.1.10 so I need to install the latest version

  2. get the latest version from https://sourceforge.net/projects/libmtp/files/libmtp/

  3. extract, build, install

Stephen Rauch's user avatar

answered Jun 19, 2017 at 23:17

user108's user avatar

  • Home
  • Forum
  • The Ubuntu Forum Community
  • Ubuntu Official Flavours Support
  • General Help
  • [xubuntu] Samsung s8 MTP data transfer failing with libmtp error ‘Could not send object’

  1. Samsung s8 MTP data transfer failing with libmtp error ‘Could not send object’

    I am using MTP when connecting my Samsung s8 with Android v8 to my laptop.

    Code:

    makem@ssdTOSH:~$ lsb_release -a
    LSB Version:	core-9.20160110ubuntu0.2-amd64:core-9.20160110ubuntu0.2-noarch:security-9.20160110ubuntu0.2-amd64:security-9.20160110ubuntu0.2-noarch
    Distributor ID:	Ubuntu
    Description:	Ubuntu 16.04.3 LTS
    Release:	16.04
    Codename:	xenial
    makem@ssdTOSH:~$

    Extract from mtp-detect:

    Code:

    makem@ssdTOSH:~$ mtp-detect
    libmtp version: 1.1.10
    
    
    Listing raw device(s)
    Device 0 (VID=04e8 and PID=6860) is a Samsung Galaxy models (MTP).
       Found 1 device(s):
       Samsung: Galaxy models (MTP) (04e8:6860) @ bus 3, dev 12
    Attempting to connect device(s)
    ignoring libusb_claim_interface() = -6PTP_ERROR_IO: failed to open session, trying again after resetting USB interface
    LIBMTP libusb: Attempt to reset device
    LIBMTP ERROR: couldnt parse extension samsung.com/devicestatus:1
    Error 1: Get Storage information failed.

    It goes like this:

    1. Connect phone vis USB: Phone appears in File manager as unmounted
    2. Click on the entry: Phone shows a permissions request ‘allow or not’
    3. Allow makes no apparent change to File Manager status- phone is still not mounted.
    4. Click on the entry in File manager and the phone contents are listed and viewable at any level. Phone is mounted
    5. Folders and files can be created in any of the phone folders.
    6. Copy a file from the laptop and attempt to paste to mtp://[usb:003,027]/Phone/Movies/
    7. libmtp error
    8. Now unable to create a folder or file in the ‘Movies’ folder.
    9. Failed to create directory «New Folder»; libmtp error: Could not send object info.
    10. Phone is still mounted but unable to browse out of the ‘Movies’ folder.
    11. The ‘Movies’ folder is browseable from within the phone.

    Running mtp-detect before any attempt to copy /paste a file causes a permission requested on the phone. When granted it is not possible to browse the phone contents and any attempt to do so produces another permissions request. So a circular problem.

    I have installed the gmtp and mtp-tools packages.

    Also installed are:
    libmtp-common
    libmtp-runtime
    libmtp9

    The phone was last automatically updated on 1/8/17. I am sure that I have been able to copy paste file back and forth in the past so I am not sure if the problem lies with xubuntu or the phone.


Bookmarks

Bookmarks


Posting Permissions

Library to access MTP players (Mp3 players, Android Phones)

  • Summary

  • Files

  • Reviews

  • Support

  • Wiki

  • Mailing Lists

  • Code

  • Tickets ▾

    • Bugs
    • Support Requests
    • Patches
    • Feature Requests
  • Discussion

  • Donate

Menu

Could not send object info


Created:

2006-10-31

Updated:

2012-09-13

  • Robert Kratky

    Hi,

    I’m having trouble sending data to an iRiver T10 (1GB) MTP player. The device is autodetected correctly (libmtp 0.0.21), I can read the directory structure with ‘mtp-folders’ and create new folders but when I try to send tracks/data, I get this:


    mtp-sendfile -t MP3 -f «folder» file.mp3
    Sending file:
    Autodetected device «iRiver T10» (VID=4102,PID=1117) is known.
    PTP: Opening session
    Connected to MTP device.
    parent_id = 327680
    Sending file…
    LIBMTP_Send_File_From_File_Descriptor: Could not send object info
    Return code: 0xa806 (look this up in ptp.h for an explanation).

    PTP: Closing session
    OK.


    Same thing happens with ‘mtp-sendtr’.

    Return code 0xa806 is (according to ptp.h and Microsoft):

    Invalid_Dataset: Indicates that the dataset sent in the data phase of this operation is invalid. This indicates an internal error in MTP stack.

    Thanks for your advice.

    • Rob Reardon

      Hi,

      It is now possible to upload MP3 files using the latest CVS version of libmtp, and mtp-sendtr.

      Thanks
      Rob

      • Robert Kratky

        Thanks. I tried today’s CVS version but still get the same error. Is there any other info I could provide that would help to track this down?

    • Rob Reardon

      Did you get the same error message as last time?


      LIBMTP_Send_File_From_File_Descriptor: Could not send object info
      Return code: 0xa806 (look this up in ptp.h for an explanation).

      or was it a different one? I would expect to see a different error message if it is using
      the new MTP Enhanced code.

      • Robert Kratky

        Yep, exactly the same error message. I checked out today’s version to try again but still get the same thing:

        =====================
        $ mtp-connect —sendfile 16-Aurora.mp3,327680
        Autodetected device «iRiver T10» (VID=4102,PID=1117) is known.
        PTP: Opening session
        Connected to MTP device.
        Send file 16-Aurora.mp3,327680
        Sending 16-Aurora.mp3 to 327680
        type:mp3,1
        Sending file…
        LIBMTP_Send_File_From_File_Descriptor: Could not send object info
        Return code: 0xa806 (look this up in ptp.h for an explanation).

        PTP: Closing session

        Robert

    • Rob Reardon

      Could you run the detect program and post the output? It sounds like something odd is happening.

      • Robert Kratky

        $ mtp-detect
        Autodetected device «iRiver T10» (VID=4102,PID=1117) is known.
        PTP: Opening session
        Connected to MTP device.
        USB low-level info:
        Using kernel interface «usbfs»
        bcdUSB: 512
        bDeviceClass: 0
        bDeviceSubClass: 0
        bDeviceProtocol: 0
        idVendor: 4102
        idProduct: 1117
        IN endpoint maxpacket: 512 bytes
        OUT endpoint maxpacket: 512 bytes
        Device flags: 0x00000000
        Device info:
        Manufacturer: iriver
        Model: iriver T10
        Device version: MTP 1.03P
        Serial number: (null)
        Vendor extension ID: 0x00000006
        Vendor extension description: microsoft.com/WMDRMPD: 10.1
        Supported operations:
        1001: get device info
        1002: Open session
        1003: Close session
        1004: Get storage IDs
        1005: Get storage info
        1006: Get number of objects
        1007: Get object handles
        1008: Get object info
        1009: Get object
        100b: Delete object
        100c: Send object info
        100d: Send object
        100f: Format storage
        1014: Get device property description
        1015: Get device property value
        9801: Get object properties supported
        9802: Get object property description
        9803: Get object property value
        9804: Set object property value
        9805: Get object property list
        9810: Get object references
        9811: Set object references
        9101: Get secure time challenge
        9102: Get secure time response
        9103: Set license response
        9104: Get sync list
        9105: Send meter challenge query
        9106: Get meter challenge
        9107: Get meter response
        9108: Clean data store
        9109: Get license state
        910a: Unknown(910a)
        910b: Unknown(910b)
        Events supported:
        None.
        Device Properties Supported:
        0x5001: Battery Level
        0xd401: Synchronization Partner
        0xd402: Device Friendly Name
        0xd101: Secure Time
        0xd102: Device Certificate
        Playable File (Object) Types and Object Properties Supported:
        3001: Association/Directory
        dc01: StorageID
        dc02: ObjectFormat
        dc04: ObjectSize
        dc07: ObjectFileName
        dc0b: ParentObject
        dc41: PersistantUniqueObjectIdentifier
        dc4f: NonConsumable
        3009: MP3
        dc01: StorageID
        dc02: ObjectFormat
        dc04: ObjectSize
        dc07: ObjectFileName
        dc0b: ParentObject
        dc41: PersistantUniqueObjectIdentifier
        dc4f: NonConsumable
        dc44: Name
        dc46: Artist
        de93: SampleRate
        de94: NumberOfChannels
        de99: AudioWAVECodec
        de9a: AudioBitRate
        b901: WMA
        dc01: StorageID
        dc02: ObjectFormat
        dc04: ObjectSize
        dc07: ObjectFileName
        dc0b: ParentObject
        dc41: PersistantUniqueObjectIdentifier
        dc4f: NonConsumable
        dc44: Name
        dc46: Artist
        de93: SampleRate
        de94: NumberOfChannels
        de99: AudioWAVECodec
        de9a: AudioBitRate
        b902: OGG
        dc01: StorageID
        dc02: ObjectFormat
        dc04: ObjectSize
        dc07: ObjectFileName
        dc0b: ParentObject
        dc41: PersistantUniqueObjectIdentifier
        dc4f: NonConsumable
        ba05: Abstract Audio Video Playlist
        dc01: StorageID
        dc02: ObjectFormat
        dc04: ObjectSize
        dc07: ObjectFileName
        dc0b: ParentObject
        dc41: PersistantUniqueObjectIdentifier
        dc4f: NonConsumable
        Special directories:
        Default music folder: 0x00020000
        Default playlist folder: 0x00000000
        Default picture folder: 0x00000000
        Default video folder: 0x00000000
        Default organizer folder: 0x00000000
        Default zencast folder: 0x00000000
        Default album folder: 0x00000000
        MTP-specific device properties:
        Friendly name: iriver T10
        Synchronization partner: WMP 10; Napster;
        Total bytes on device: 1045135360 (996 MB)
        Free bytes on device: 1044889600 (996 MB)
        Storage description: «FAT16 System»
        Volume label: «chlbjnpaaaaaaanpcdadadfdadidcdcd»
        Battery level 4 of 4 (100%)
        libmtp supported (playable) filetypes:
        ISO MPEG Audio Layer 3
        Microsoft Windows Media Audio
        Ogg container format

        Secure Time:
        <DRMCLOCK type=»status»><VALUE>#20050417 19:34:57Z#</VALUE><FLAG>DRM_CLK_NEEDS_REFRESH</FLAG></DRMCLOCK>
        PTP: Closing session
        OK.

        ================

        However, every time after connecting the device, the first run of ‘mtp-detect’ says this at the very end of the output:


        LIBMTP panic: Found a bad handle, trying to ignore it.
        PTP: Closing session
        OK.
        ================

        When I run ‘mtp-detect’ again, it is without the ‘LIBMTP panic’ (until reconnecting the device).

        Robert

        • Rob Reardon

          • Robert Kratky

            Didn’t think about that… Well, I will have to find a way to upgrade the firmware. Right now I don’t have access to any Windows box (and I can’t upload anything from Linux) so this will have to wait.

            Thanks for the comments. I will report back when I get the firmware upgraded.

            • Rob Reardon

              Ok. Hopefully the new firmware will resolve the problem. You might get a faster reply if you
              drop an e-mail to the mailing list, as the forums aren’t visted very regularly.

              Thanks!
              Rob

              • Robert Kratky

                Just wanted to report success with the new firmware (1.70). By the time I got to upgrade the device libmtp 0.1.3 was out and Amarok needed a patch to compile (http://bugs.kde.org/show_bug.cgi?id=139489) — other than that, everything worked fine. Thanks for your efforts.


Log in to post a comment.

Forum rules
Before you post please read how to get help. Topics in this forum are automatically closed 6 months after creation.

txemamint

Level 1
Level 1
Posts: 22
Joined: Sun Dec 23, 2018 8:33 am

Failed to transfer files to Android

Hello,
I want to transfer music files (.mp3) from Linux Mint filesystem to an Android smartphone (Oneplus 8T).
I enabled «File transfer» in Android USB preferences (I guess it enables MTP). Then the android filesystem is mounted on Mint, I can see it in /run/user/1000/gvfs. Also «shared internal storage» appears in Mint File manager (Nemo).
From there I can navigate the Android filesystem, but copying files, through Nemo, from Mint folder to Android folder fails. ¡Not always! but most of the time.
A message error is shown: «Libmtp error: Could not send object.»
Any help will be appreciated.
Best regards;

Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.

Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.

User avatar

DraganTheMighty

Level 4
Level 4
Posts: 308
Joined: Sat Jan 30, 2021 5:53 pm
Location: HELLAS

Re: Failed to transfer files to Android

Post

by DraganTheMighty » Sun Feb 07, 2021 9:14 pm

I don’t know how your exact problem can be fixed but I know of another way to transfer files between linux mint and an android phone.

Most file managers on android have a service called FTP or Access from PC. Enable this and on linux mint install through software manager Filezilla. The ftp address given on the file manager of android will be something like ftp://192.168.2.4:2020
On Filezilla on «Host:» you must type «192.168.2.4» and on «Port:» you must type «2020»
ftp://192.168.2.4:2020 (ftp address on android)
Host: 192.168.2.4 (on Filezella-Mint)
Port: 2020 (on Filezella-Mint)

A nice file manager that does the job and has multilingual support concerning the filenames is this:
https://play.google.com/store/apps/deta … n_US&gl=US

txemamint

Level 1
Level 1
Posts: 22
Joined: Sun Dec 23, 2018 8:33 am

Re: Failed to transfer files to Android

Post

by txemamint » Mon Feb 08, 2021 2:56 am

Bolle1961 wrote: ↑

Sun Feb 07, 2021 11:31 pm

txemamint wrote: ↑

Fri Jan 29, 2021 10:21 am


A message error is shown: «Libmtp error: Could not send object.»

Is libmtp installed on your computer?

Yes, it is.
libmtp-common/bionic,bionic,now 1.1.13-1 all [instalado]
libmtp-runtime/bionic,now 1.1.13-1 amd64 [instalado]
libmtp9/bionic,now 1.1.13-1 amd64 [instalado]

txemamint

Level 1
Level 1
Posts: 22
Joined: Sun Dec 23, 2018 8:33 am

Re: Failed to transfer files to Android

Post

by txemamint » Mon Feb 08, 2021 3:26 am

DraganTheMighty wrote: ↑

Sun Feb 07, 2021 9:14 pm


I don’t know how your exact problem can be fixed but I know of another way to transfer files between linux mint and an android phone.

Most file managers on android have a service called FTP or Access from PC. Enable this and on linux mint install through software manager Filezilla. The ftp address given on the file manager of android will be something like ftp://192.168.2.4:2020
On Filezilla on «Host:» you must type «192.168.2.4» and on «Port:» you must type «2020»
ftp://192.168.2.4:2020 (ftp address on android)
Host: 192.168.2.4 (on Filezella-Mint)
Port: 2020 (on Filezella-Mint)

A nice file manager that does the job and has multilingual support concerning the filenames is this:
https://play.google.com/store/apps/deta … n_US&gl=US

Yes, ftp is an alternative that I have considered since It is the natural way to transfer files from 1980.
Finally, I decided to do it with KDE-connect installed on android and Dolphin (KDE file manager) installed (from Mint software manager) on Mint. It works fine.
Thank you for the help;

Понравилась статья? Поделить с друзьями:

Читайте также:

  • Libguestfs error mount unsupported filesystem type
  • Libgl error mesa loader failed to open radeonsi
  • Libgl error mesa loader failed to open iris
  • Libgl error failed to load driver swrast debian
  • Libgl error failed to load driver nouveau

  • 0 0 голоса
    Рейтинг статьи
    Подписаться
    Уведомить о
    guest

    0 комментариев
    Старые
    Новые Популярные
    Межтекстовые Отзывы
    Посмотреть все комментарии