You are not logged in.
I want to mount my Samsung Galaxy S III with Android 4.3 Jelly Bean.
I tried with mtp-detect and mtp-connect they give me one mistake
Unable to read MTPZ public exponent from ~/.mtpz-data, MTPZ disabled
I tried with mtpfs. I read everything in the ArchWiki. However, nothing happened.
Help me please?
Thank you in advance..
Offline
jmtpfs works for me.
Offline
Which packages I need for this program?
After I installed everything said in the ArchWiki, it returns me nothing.
Offline
You could also give simple-mtpfs a try. It worked for me without a flaw where other packages failed.
Offline
What does the issue
Unable to read MTPZ public exponent from ~/.mtpz-data, MTPZ disabled
mean?
Offline
What does the issue
Unable to read MTPZ public exponent from ~/.mtpz-data, MTPZ disabled
mean?
I don't know, to be honest. I've always ignored that message.
Last edited by pks (2014-02-20 20:10:36)
Offline
I've got a tab SM-T210R here and:
sudo mtp-detect
Unable to open ~/.mtpz-data for reading, MTPZ disabled.libmtp version: 1.1.6
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 1, dev 10
It works fine. I can transfer to and from. Examples,
Transfer to:
sudo mtp-sendfile file.mp3 Music
That's send file.mp3 to Music folder on the device.
From:
sudo mtp-files > mtp.txt
mtp.txt will have accessable files on the device with their FILE ID: number.
sudo mtp-getfile 24 file.jpg
Will get FILE ID:24 and copy it to desktop as file.jpg
You could also do something like
sudo mtp-files | grep .jpg
Device 0 (VID=04e8 and PID=6860) is a Samsung Galaxy models (MTP).
Filename: 1024X600_01.jpg
Filename: 1024X600_02.jpg
Filename: 1024x600_03.jpg
Filename: 1024x600_04.jpg
Filename: 1024x600_05.jpg
You get the idea.
Last edited by teckk (2014-02-20 22:04:49)
Offline
I suspect the answer lies within your phone itself. Is mtp enabled?
I mount to my homefolder, which is easy on permissions.
jmtpfs -o allow_other ~/huawei/ >>
Device 0 (VID=12d1 and PID=1052) is a Huawei U8815/U9200.
Unable to open ~/.mtpz-data for reading, MTPZ disabled.Android device detected, assigning default bug flags
Offline
If the goal of mounting your phone is to simply transfer files over to it (or from it), I would recommend just getting an android file manager that supports ftp, sftp, or samba and then just setting that up on your computer. Personally I use sftp simply because all my machines have ssh enabled on them.
Offline
If the goal of mounting your phone is ...
That is an ugly visual
I've an old Android. When did this become so difficult? Can modern Androids not support USB mass storage?
Do adb and the associated host side tools help? Is USB debugging an option for you?
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
Try gmtp. Works with our Samsungs.
Offline
@ewaller, adb still works well and is quite fast. But USB mass storage is not present on most android phones now and the only way to connect via USB is with the MTP protocol. MTP sucks on windows and on Linux it is far worse.
Offline
I have stuffed around with MTP etc but file transfer to/from Android has always been a PITA. That was before I discovered the AirDroid app. Install it on your phone and prepare to be blown away. Works far better than anything else, astounding UI, and requires nothing on your PC side except your web browser.
Offline
Not sure if this helps, but I was following all the guides and struggled for ages to get mtp working, My mp3 player would freeze as soon as I plugged it in. I installed the package mtpfs and then it stopped freezing and I could access the device through rhythmbox.
Offline
to remove the .mtpz-data error, you can just use a tool like wget to put the file below in you your home directory.
Offline
@ewaller, adb still works well and is quite fast. But USB mass storage is not present on most android phones now and the only way to connect via USB is with the MTP protocol. MTP sucks on windows and on Linux it is far worse.
Sory for writing - i have LG L7II and in fact i can't use MTP at all. It connects, and as soon as i try to download or upload files from and to my phone, it just pops with error and disconnect and reconnect my phone...can't do anything at all with it when i plugged it via usb. I use AirDroid and send it over wifi...it only works but speed are just horrible. I would like to speed up the process but i can't find a solution.
Offline
I use AirDroid and send it over wifi...it only works but speed are just horrible.
The connection from Airdroid to your phone is directly via your home wifi network. So if the speed is "horrible" you should fix your home network.
Offline
firekage wrote:I use AirDroid and send it over wifi...it only works but speed are just horrible.
The connection from Airdroid to your phone is directly via your home wifi network. So if the speed is "horrible" you should fix your home network.
My wifi is ok, n type connection..but compared to 1GB lan cable...well...you know.
Offline
Rather than using MTP, I just use SFTP. Since I always have sshd.service running on all my machines anyway, I just found an Android file manager with an sftp plugin. It works great, and I can connect to any of my machines quite easily.
Offline
I installed gvfs-mtp and use thunar to mount and manage files on my phone. I click on the phone to mount it just like a volume, and all the file operations work as you'd expect it to. It's stupid simple.
You'll likely need to start your WM or DE with dbus-launch, too. Edit your ~/.xinitrc to look something like this:
exec dbus-launch startxfce4
Also, gvfs works great with thunar, and you might be interested in gvfs-photo2 (if your phone is in Camera mode instead of MTP), and gvfs-smb (on-the-fly samba mounting... just cause).
Offline
If i want to use KDE with Dolphin rather than XFCE with Thunar, so, what to do?
Offline
If i want to use KDE with Dolphin rather than XFCE with Thunar, so, what to do?
install kio-mtp for it to work with KDE. I don't think I needed any configuration other than just installing it
Offline
firekage wrote:If i want to use KDE with Dolphin rather than XFCE with Thunar, so, what to do?
install kio-mtp for it to work with KDE. I don't think I needed any configuration other than just installing it
Sorry for refreshing but i think that it is still valid topic.
I found something out - problems related to
sudo mtp-detect
Unable to open ~/.mtpz-data for reading, MTPZ disabled.libmtp version: 1.1.x.x
is related to bug in libmtp. This bug is not present in libmtp-git from aur.
Second thing - even with kio-mtp i'm not able to copy files. KDE sees my phone, i can enter memory (sd card and so on on my phone) but as soon as i choose something to copy, than i have error "kio-mtp proces stopped" and my device is being unmounted right on the spot - can'd do anything with it. What's more funny, when i reconnect my phone it is being found by the system but mpt-detect shows "no raw devices detected". MTP in linux is pain in the...
If system sees my phone, and i try to copy, than
[root@arch_desktop firekage]# lsmod | grep gvfs
[root@arch_desktop firekage]# mtp-detect
libmtp version: 1.1.8
Listing raw device(s)
Device 0 (VID=1004 and PID=61f9) is a LG Electronics Inc. Android phone (ID2).
Found 1 device(s):
LG Electronics Inc.: Android phone (ID2) (1004:61f9) @ bus 2, dev 7
Attempting to connect device(s)
Android device detected, assigning default bug flags
Error 7: Found a bad handle, trying to ignore it.
Error 7: Found a bad handle, trying to ignore it.
Error 7: Found a bad handle, trying to ignore it.
Error 7: Found a bad handle, trying to ignore it.
Error 7: Found a bad handle, trying to ignore it.
Error 7: Found a bad handle, trying to ignore it.
Error 7: Found a bad handle, trying to ignore it.
Error 7: Found a bad handle, trying to ignore it.
Error 7: Found a bad handle, trying to ignore it.
Error 7: Found a bad handle, trying to ignore it.
Error 7: Found a bad handle, trying to ignore it.
Error 7: Found a bad handle, trying to ignore it.
Error 7: Found a bad handle, trying to ignore it.
Error 7: Found a bad handle, trying to ignore it.
Error 7: Found a bad handle, trying to ignore it.
Error 7: Found a bad handle, trying to ignore it.
Error 7: Found a bad handle, trying to ignore it.
Error 7: Found a bad handle, trying to ignore it.
Error 7: Found a bad handle, trying to ignore it.
Error 7: Found a bad handle, trying to ignore it.
Error 7: Found a bad handle, trying to ignore it.
Error 7: Found a bad handle, trying to ignore it.
Error 7: Found a bad handle, trying to ignore it.
Error 7: Found a bad handle, trying to ignore it.
Error 7: Found a bad handle, trying to ignore it.
Error 7: Found a bad handle, trying to ignore it.
Error 7: Found a bad handle, trying to ignore it.
Error 7: Found a bad handle, trying to ignore it.
Error 7: Found a bad handle, trying to ignore it.
Error 7: Found a bad handle, trying to ignore it.
Error 7: Found a bad handle, trying to ignore it.
Error 7: Found a bad handle, trying to ignore it.
Error 7: Found a bad handle, trying to ignore it.
Error 7: Found a bad handle, trying to ignore it.
Error 7: Found a bad handle, trying to ignore it.
Error 7: Found a bad handle, trying to ignore it.
Error 7: Found a bad handle, trying to ignore it.
Error 7: Found a bad handle, trying to ignore it.
Error 7: Found a bad handle, trying to ignore it.
USB low-level info:
bcdUSB: 512
bDeviceClass: 0
bDeviceSubClass: 0
bDeviceProtocol: 0
idVendor: 1004
idProduct: 61f9
IN endpoint maxpacket: 512 bytes
OUT endpoint maxpacket: 512 bytes
Raw device info:
Bus location: 2
Device number: 7
Device entry info:
Vendor: LG Electronics Inc.
Vendor id: 0x1004
Product: Android phone (ID2)
Vendor id: 0x61f9
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: LGE
Model: LG-P710
Device version: 1.0
Serial number: 83c02e75
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
9810: Get object references
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
Events supported:
0x4002
0x4003
0x4004
0x4005
0x400c
Device Properties Supported:
0xd401: Synchronization Partner
0xd402: Friendly Device Name
0x5003: Image Size
Playable File (Object) Types and Object Properties Supported:
3000: Undefined Type
3001: Association/Directory
3004: Text
3005: HTML
3008: MS Wave
3009: MP3
300b: MPEG
3801: JPEG
3807: GIF
380b: PNG
b901: WMA
b902: OGG
b903: AAC
b982: MP4
b984: 3GP
ba05: Abstract Audio Video Playlist
ba10: WPL Playlist
ba11: M3U Playlist
ba14: PLS Playlist
ba82: XMLDocument
b906: FLAC
300a: MS AVI
300c: ASF
3804: BMP
ba83: Microsoft Word Document
ba85: Microsoft Excel Spreadsheet (.xls)
ba86: Microsoft Powerpoint (.ppt)
Storage Devices:
StorageID: 0x00010001
StorageType: 0x0003 fixed RAM storage
FilesystemType: 0x0002 generic hierarchical
AccessCapability: 0x0000 read/write
MaxCapacity: 1914658816
FreeSpaceInBytes: 472485888
FreeSpaceInObjects: 1073741824
StorageDescription: Pamięć wewnętrzna
VolumeIdentifier: (null)
StorageID: 0x00020001
StorageType: 0x0004 removable RAM storage
FilesystemType: 0x0002 generic hierarchical
AccessCapability: 0x0000 read/write
MaxCapacity: 7943258112
FreeSpaceInBytes: 1637793792
FreeSpaceInObjects: 1073741824
StorageDescription: Karta SD
VolumeIdentifier: (null)
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
GIF bitmap file
Portable Network Graphics
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)
Abstract Playlist file
XML file
Free Lossless Audio Codec (FLAC)
Audio Video Interleave
Microsoft Advanced Systems Format
BMP bitmap file
DOC file
XLS file
PPT file
ERROR: Could not close session!
inep: usb_get_endpoint_status(): Device or resource busy
outep: usb_get_endpoint_status(): Device or resource busy
OK.
and it crash with "mtp process error/mtp proces closed" message. I can copy not using gui (dolphin etc) but terminal using jmtpfs.
Last edited by firekage (2015-04-04 19:52:14)
Offline