How to mount HOX(Jb) external storage in ubuntu? - HTC One X

I am an Ubuntu Linux user. I am now using ubuntu 12.10.
Just upgraded my HOX to JellyBean via OTA.
When I connect HOX to computer via USB cable,
'Mount USB Mass Storea' option is not appeared and I can't find it in system settings.
After google search, I know that USB Mass Storge mode is replaced by MTP/PTP mode.
I found a post and followed it to mount my HOX.
But aways fail.
I can't post URL here.
HTML:
sudo mtp-detect
libmtp version: 1.1.5
Listing raw device(s)
Device 0 (VID=0bb4 and PID=0df6) is UNKNOWN.
Please report this VID/PID and the device model to the libmtp development team
Found 1 device(s):
0bb4:0df6 @ bus 1, dev 57
Attempting to connect device(s)
PTP_ERROR_IO: failed to open session, trying again after resetting USB interface
LIBMTP libusb: Attempt to reset device
LIBMTP PANIC: failed to open session on second attempt
Unable to open raw device 0
OK.
Does anyone successfully mount HOX external store under ubuntu linux after update to JellyBean?

You should ask ubuntu to make drivers for hox in MTP mode, or mount the usb in a custom recovery
I didn't use linux for a long time,

trulyliu said:
I am an Ubuntu Linux user. I am now using ubuntu 12.10.
Just upgraded my HOX to JellyBean via OTA.
When I connect HOX to computer via USB cable,
'Mount USB Mass Storea' option is not appeared and I can't find it in system settings.
After google search, I know that USB Mass Storge mode is replaced by MTP/PTP mode.
I found a post and followed it to mount my HOX.
But aways fail.
I can't post URL here.
HTML:
sudo mtp-detect
libmtp version: 1.1.5
Listing raw device(s)
Device 0 (VID=0bb4 and PID=0df6) is UNKNOWN.
Please report this VID/PID and the device model to the libmtp development team
Found 1 device(s):
0bb4:0df6 @ bus 1, dev 57
Attempting to connect device(s)
PTP_ERROR_IO: failed to open session, trying again after resetting USB interface
LIBMTP libusb: Attempt to reset device
LIBMTP PANIC: failed to open session on second attempt
Unable to open raw device 0
OK.
Does anyone successfully mount HOX external store under ubuntu linux after update to JellyBean?
Click to expand...
Click to collapse
I have the same probem, i find this 2 posts, i didn't try it yet....
http://sourceforge.net/p/libmtp/bugs/663/
In the last post the people of libmtp add HOX to the mtp devices and the put it in the GIT, so you will have to compile it from the source
https://gist.github.com/3884439
in this one, they offer a solution to connect it, albeit, probably you have to compile it anyway.
If you make it, post it here, i will do the same...

in this one, they offer a solution to connect it, albeit, probably you have to compile it anyway.
If you make it, post it here, i will do the same...[/QUOTE]
I compiled libmtp and go-mtpfs.
Still doesn't work.

Hi mates,
Kubuntu 12.10 here. Attaching HOX (JB 3.14.401.27) to my PC works out of the box.
It appears (and gets automatically mounted) as "portable media player", and I can open it with any file explorer (i use dolphin).
Strange that you can't make it work on ubuntu. Finally, I don't know whether it is relevant or not, but I have a simple udev rule for allowing HTC devices (0bb4, it was necessary for using adb).

trulyliu said:
I am an Ubuntu Linux user. I am now using ubuntu 12.10.
Just upgraded my HOX to JellyBean via OTA.
When I connect HOX to computer via USB cable,
'Mount USB Mass Storea' option is not appeared and I can't find it in system settings.
After google search, I know that USB Mass Storge mode is replaced by MTP/PTP mode.
I found a post and followed it to mount my HOX.
But aways fail.
I can't post URL here.
HTML:
sudo mtp-detect
libmtp version: 1.1.5
Listing raw device(s)
Device 0 (VID=0bb4 and PID=0df6) is UNKNOWN.
Please report this VID/PID and the device model to the libmtp development team
Found 1 device(s):
0bb4:0df6 @ bus 1, dev 57
Attempting to connect device(s)
PTP_ERROR_IO: failed to open session, trying again after resetting USB interface
LIBMTP libusb: Attempt to reset device
LIBMTP PANIC: failed to open session on second attempt
Unable to open raw device 0
OK.
Does anyone successfully mount HOX external store under ubuntu linux after update to JellyBean?
Click to expand...
Click to collapse
If you're on custom recovery
Have you tried:
1. Boot into recovery
2. Connect USB
3. Mount Storage under mount section
Work'd for me and it saved my phone from brick.

poisonwell said:
If you're on custom recovery
Have you tried:
1. Boot into recovery
2. Connect USB
3. Mount Storage under mount section
Work'd for me and it saved my phone from brick.
Click to expand...
Click to collapse
This also did work for me.

Related

(Q) file transfer using usb

Im new nexus 7 user, just OTA update to 4.4.2 and rooted using wugfresh..
But afterward when i connect to computer, my nexus didnt detected n i cannot assess my sdcard for file transfer.. Anyone can help?
Sent from my GT-I9070 using xda app-developers app
slaughterer0206 said:
Im new nexus 7 user, just OTA update to 4.4.2 and rooted using wugfresh..
But afterward when i connect to computer, my nexus didnt detected n i cannot assess my sdcard for file transfer.. Anyone can help?
Click to expand...
Click to collapse
Its a good chance that its a cable problem. Also got in Settings>Storage>[Menu]>Make sure 'MTP' is selected. You can try PTP as well I guess.
If you need to transfer file for emergency purposes use 'Airdroid' for the moment. I think you can use 'ES file explorer' but that would be a little more complicated.
cable work fine... i think some setting im missing or driver in my computer...
slaughterer0206 said:
cable work fine... i think some setting im missing or driver in my computer...
Click to expand...
Click to collapse
Download the WugFresh Nexus Toolkit. It has a setup for drivers, maybe that would help. You can also try adb push/pull commands to transfer files via usb.
Go to : settings >> Storage >> USB computer connection , then check the option you want ( MTP or PTP )
in some roms i was not able to connect my device till i uncheck USB debugging form Developer options menu
[ my english is not well ]
Archinux said:
Go to : settings >> Storage >> USB computer connection , then check the option you want ( MTP or PTP )
in some roms i was not able to connect my device till i uncheck USB debugging form Developer options menu
[ my english is not well ]
Click to expand...
Click to collapse
i done it... before i root, its work fine.... i able to transfer my file through usb,,,
just after rooting it doesn't appear in my computer
resolved my problem after founded this post
http://forum.xda-developers.com/showpost.php?p=47310943&postcount=338
uninstalled and removed the driver,
then reboot my tab with MTP on, debug mode off...
and it installed the driver for MTP which was missed before...
hehee...
:fingers-crossed:
I gave up getting my XP machine to see the Nexus (Windows 7 laptop is OK).
I now use AirDroid instead, so much quicker and without the hassle of cables, drivers etc.
m+a+r+k said:
I gave up getting my XP machine to see the Nexus (Windows 7 laptop is OK).
I now use AirDroid instead, so much quicker and without the hassle of cables, drivers etc.
Click to expand...
Click to collapse
I had connected n7 to winxp at my work computer without installing latest wmp-****. I do remember unpacking wmp-installer then manually installing some libs from it's dirs, but I do not remember if I had to add n7 vid&pid to some inf file. I will try and write some guide
MTP wintout installing WMP11
Hi,
This is just another guide how to install driver and access nexus 7 2013 in windows XP...
Get a WMP install for winXP
Extract it by using command:
Code:
wmp11-windowsxp-x86-xx-xx.exe /C /T:[full-path-to-dest-dir]
eg.
Code:
E:\_TEMP\8\>wmp11-windowsxp-x86-xx-xx.exe /C /T:e:\_temp\8\wmp11\
Go into extracted directory, we are interested in files: wmfdist11.exe and umdf.exe
Install them, one is User Mode Driver Framework and other one is "media framework"
Go to
Code:
%windir%\inf
( eg.:
Code:
C:\WINDOWS\inf
)
Make a copy of file wpdmtphw.inf and open original one in notepad.
Find section [VendorModels.NTx86] (or [VendorModels.NTamd64] if you have winxp 64bit)
At end of section add line:
Code:
; Nexus 7 2013 LTE
%GenericMTP.DeviceDesc%=MTP, USB\VID_18D1&PID_4EE2&REV_0228&MI_00
Reboot your computer. Unplug also your Nexus, also switch off USB Debugging because of that you will see two MTP devices and you might try install MTP drivers for debug (which fail, or windows will yell with code 10...)
Hook up Nexus and when windows popup about installing drivers, choose that you have driver and the location point to search set to
Code:
c:\windows\inf
, click next, windows might complain that this driver is not intended to use with this device, so give win a slap and wait patiently until windows install driver
Windows might install drivers twice, just remember to point to windows/inf directory or directory with google usb driver http://developer.android.com/sdk/win-usb.html
---------------
After almost a year I noticed I made a hell of mistake , There should be MI_00 (MI stands for Media Interface 0) not MI_01 (MI 01 is for ADB ). And There is no need for 1st line ( USB\VID_18D1&PID_4EE2&MI_00 ).
I am terribly sorry for committing such basic error.
I already fixed those error in this my "guide"...

[Q] Data transfer via MTP on ubuntu

Hi there,
has anyone tried to use the MTP file transfer option of the Fairphone with Ubuntu (I'm using 13.04 at the moment). It seems that the phone is recognized by my system:
Code:
[49875.145923] usb 1-1.2: new high-speed USB device number 12 using ehci-pci
[49875.240046] usb 1-1.2: New USB device found, idVendor=0bb4, idProduct=0c02
[49875.240057] usb 1-1.2: New USB device strings: Mfr=2, Product=3, SerialNumber=4
[49875.240063] usb 1-1.2: Product: MT65xx Android Phone
[49875.240068] usb 1-1.2: Manufacturer: MediaTek
[49875.240072] usb 1-1.2: SerialNumber: ...
but the device is not shown in Nautilus.
Who knows how to fix that?
Thanks,
Tobi
prinz.z said:
Hi there,
has anyone tried to use the MTP file transfer option of the Fairphone with Ubuntu (I'm using 13.04 at the moment). It seems that the phone is recognized by my system. but the device is not shown in Nautilus.
Who knows how to fix that?
Thanks,
Tobi
Click to expand...
Click to collapse
I guess this is more an Ubuntu issue/question than Fairphone's..
You can follow instructions here
Code:
$ sudo mtpfs -o allow_other /media/MTPdevice
Unable to open ~/.mtpz-data for reading, MTPZ disabled.Listing raw device(s)
Device 0 (VID=0bb4 and PID=2008) is UNKNOWN.
Please report this VID/PID and the device model to the libmtp development team
Found 1 device(s):
0bb4:2008 @ bus 2, dev 20
Attempting to connect device
Android device detected, assigning default bug flags
Listing File Information on Device with name: FP1
Nautilus gave me read-only access to content under the custom mount point /media/MTPdevice. dmesg gave me the same log as yours when recognizing the device...
It doesn't work for me either. But this is an issue that is usual in Ubuntu. Even though it is not an issue in Ubuntu.
* libMTP with a detailed description
* gvfs-mtp
* go-mtpfs
I use either the USB storage or PTP.
(MTP is buggy.)
Okay, I see.. With my former phone (LG O4x, cm-11) it was working flawlessly with mtp on Ubuntu, that's the rason I asked.. With the fairphone, I'm simply using adb for the moment to copy single files..
elchi1234 said:
It doesn't work for me either. But this is an issue that is usual in Ubuntu. Even though it is not an issue in Ubuntu.
* libMTP with a detailed description
* gvfs-mtp
* go-mtpfs
I use either the USB storage or PTP.
(MTP is buggy.)
Click to expand...
Click to collapse

[Q] [BootLdr] Computer not seeing Phone.

I am new to android, HTC One VX being my first phone ((Got it like Last year as a gift iirc)).
Using Stock rom and my os is 8.1 pro x64
I am trying to unlock the bootloader.. I went to HTCdev, followed the directions for unlocking the bootlader.
1. Got the Android SDK and installed
2. Got the HTC SYnc Manager for the drivers.
3. Got Fastboot and moved it to where the ADB .dll file is.
I get my phone into bootloader after making sure USB Debugging is enabled, then I plug it into my computer. After a few moments, Windows pops up with USB Device is not recognized. I check Device Manager, it shows "My HTC" under unknown devices. I manually point the thing to where the W8 x64 driver is , and it says the driver is up to date. Bring up the Property info of the device, this is what is showing int he text box,
Code:
A request for USB BOS descriptor failed
Just to make sure, I navigate back to the ADB folder, bring up CMD there and type in
Code:
adb devices
. No device was listed despite my phone being connected to my computer. Tried it with 3 different cords, front and back of my computer. ((USB 3.0 ports.))
I put it in one of my USB 2.0 ports and the issue persists, the device status shows
Code:
A device which does not exist was specified
.
Is there anyway to fix this, its quiet annoying, Apparently doing clean reinstalls of everything isn't going to fix it for me.

Unknown USB device (failed request for device descriptor)

I have a problem.
My screen is broken. Now I want to send him to OnePlus.
But before that I want unroot it. Or at least reset to factory defaults. But both things fails.
I have the latest FreedomOS Rom. Since then I can no longer use TWRP. When I start my phone to the recovery the screen goes black and nothing happens anymore.
The same happens when I put it back to factory settings through the settings menu .
I've read there is a modified version of TWRP.
From here begins the real problem. Windows doesn't recognizes my phone.
In Device Manager it appear as "unknown USB device (failed request for device descriptor)"
What I've tried:
Boot in to Bootloader
Original (Dash) USB cable
Other USB cable
WIndows 10
Windows 7
USB debugging on
USB debugging off
OEM unlocking on
OEM unlocking off
USB configuration: File transfer
USB configuration: MTP
USB Configuration: Charge
Anyone have an idea?
Maybe it's the ROM. But I cannot flash another ROM because I can not get into TWRP.
Maybe it's an option to flash the modified TWRP without a computer. So right from the bootloader. But I do not know if this is possible. And how it should be done
I'm having the exact same problem. Did you find a solution?
In windows 10 -> i get Device Descriptor Request Failed
In windows 7 -> Unknown Usb Device (Installed Correctly)
whenever i try to update device driver with ANY driver (oneplus... or generic sdk driver) I get a message saying "doesn't contain a suitable driver for your device.....)
I went to device manager > right click mtp (unknown device) > update driver software > browse my computer > let me pick > mtp USB device > happy me
Windows it's the problem. I reinstalled drivers, adb, nothing. At work i try it & it works. I reinstalled windows. Now works.
I'm on windows 10 x64.
Damn it, I don't think windows is my problem.. i tried Windows 10 / Windows 7(2 diff computers)
i can't even see the phone as MTP..
Found any solution to this? Having a similar issue
THREAD CLOSED! If interestend in this subject, please continue here: https://forum.xda-developers.com/oneplus-3/help/usb-device-recognized-t3722279

MTP is not work properly in Ubuntu

I connect Google Pixel with my PC (Ubuntu 14.04), and select MTP mode. I can browser the files in Google Pixel via file manager nautilusk, but I got the error message "libmtp error could not get file from device." when trying to copy files from Pixel to PC. I research in web, someone say is old libmtp bug, so I update libmtp to 1.1.13.
then I execute mtp-connect command, got the following message.
$ mtp-connect
Unable to open ~/.mtpz-data for reading, MTPZ disabled.libmtp version: 1.1.13
Device 0 (VID=18d1 and PID=4ee1) is a Google Inc (for LG Electronics/Samsung) Nexus 4/5/7/10 (MTP).
ignoring libusb_claim_interface() = -6PTP_ERROR_IO: failed to open session, trying again after resetting USB interface
LIBMTP libusb: Attempt to reset device
LIBMTP PANIC: failed to open session on second attempt
No devices.​
I remember I ever copy files between My PC and Pixel successfully before. Do anyone ever encounter this problem?

Categories

Resources