You are not logged in.
Hello again Arch forums!
I'm trying to fix an old Samsung Galaxy Ace GT-S5830 with Odin in Virtualbox 4.3.24-1. Arch is my host and Windows 7 is my guest.
I can see my phone by right-clicking the USB icon in the virtualbox window, but the device never shows up in Odin, and returns an error:
Failed to attach the USB device Sasmsung MSM7x27 [0100] to the virtual machine Windows 7.
Result Code:
NS_ERROR_FAILURE (0x80004005)
Component:
Console
Interface:
IConsole {8ab7c520-2442-4b66-8d74-4ff1e195d2b6}I have a working phone of the same model that returns the same error when in download mode.
I checked out the Android page on the Arch Wiki, but there wasn't anything about this error. Thumb drives work fine, but I just can't connect to a device in download mode.
How do I connect to my phone when it's in download mode?
Offline
I had a similar problem when I tried to unlock my phone through virtualbox, it just didn't work but I could see the phone. You can solve your problem by mounting the device on arch using "go-mtpfs" (the regular mtpfs has problems) and sharing the mounted folder in virtualbox.
Offline
In your windows guest, did you remember to install the usb drivers for your phone?
Offline
sharing the mounted folder in virtualbox.
Eh, but displaying a phone as a folder may not be the safest for restoring firmware.
did you remember to install the usb drivers for your phone?
I didn't, but I installed Kies, which supplies all the drivers. The original Galaxy Ace wasn't listed.
This appears to be more of a host issue than a guest issue, as the device won't even connect through VirtualBox.
Offline
What is the output of lsusb? I did a quick google and people mentioned that kernel incorrectly loads cdc_acm module which prevents odin from connecting to phone. You can test to see if it is loaded, if yes, rmmod it and start virtualbox and attempt to connect odin to phone.
Offline
Some Samsungs had trouble negotiating even low-level USB connection when in Odin mode. Check dmesg for messages containing "cannot assign address" or something like that. If that's your case, I did not find a solution for either Linux or Windows. Probably a bug or four faulty USB cables and three faulty USB ports. You do the math.
What happened to Arch's KISS? systemd sure is stupid but I must have missed the simple part ...
... and who is general Failure and why is he reading my harddisk?
Offline
Yep, it's there.
lsusb tells me some info about my device:
Bus 001 Device 004: ID 04e8:6601 Samsung Electronics Co., Ltd Mobile PhoneHowever, lsmod tells me that cdc_acm isn't in use:
Module Size Used by
cdc_acm 30362 0Should I still rmmod it?
Here's a screenshot of the error, if needed.
Last edited by SwitchDhole (2015-03-19 19:31:21)
Offline
The error you're getting is virtualbox being silly. It basically thinks it has already attached the device to the VM. I've been having the same message (with different values) when it was failing to attach a simple USB stick on windows. It wouldn't show the message on first attempt, but nothing would happen. And if you tried to attach it again, it would display that message. Sometimes restarting the virtualbox helped, sometimes not. I haven't been able to really track down what causes it.
[ Arch x86_64 | linux | Framework 13 | AMD Ryzen™ 5 7640U | 32GB RAM | KDE Plasma Wayland ]
Offline
Check dmesg for messages containing "cannot assign address" or something like that.
Sorry about that, missed your post! I used a Windows hard drive to fix the phone. It would still be much more convienient to use a VM.
I noticed "unable to get BOS descriptor" In dmesg:
[ 187.538565] usb 1-2: new high-speed USB device number 2 using xhci_hcd
[ 187.663058] usb 1-2: unable to get BOS descriptor
[ 187.725877] usbcore: registered new interface driver usbserial
[ 187.726151] usbcore: registered new interface driver usbserial_generic
[ 187.726222] usbserial: USB Serial support registered for generic
[ 187.727183] usbcore: registered new interface driver visor
[ 187.727244] usbserial: USB Serial support registered for Handspring Visor / Palm OS
[ 187.727278] usbserial: USB Serial support registered for Sony Clie 5.0
[ 187.727310] usbserial: USB Serial support registered for Sony Clie 3.5
[ 187.733312] cdc_acm 1-2:2.0: ttyACM0: USB ACM device
[ 187.733795] usbcore: registered new interface driver cdc_acm
[ 187.733798] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adaptersWeird that there's Sony stuff in there, I don't have anything from Sony.
It looks like someone's having a similar issue in this thread, but I do not know my
{idVendor}and
{idProduct}Sometimes restarting the virtualbox helped, sometimes not. I haven't been able to really track down what causes it.
Restarting the VM didn't help ![]()
Last edited by SwitchDhole (2015-03-22 15:10:06)
Offline
mr.MikyMaus wrote:Check dmesg for messages containing "cannot assign address" or something like that.
I noticed "unable to get BOS descriptor" In dmesg:
...
Looks like you have different problem than what I was thinking, you can forget my post
In my case the phone wouldn't connect at all but in your case you have a modem recognised so the problem lies elsewhere.
Could it be something trying to lock on the modem? Like NetworkManager maybe? Just speculating here...
What happened to Arch's KISS? systemd sure is stupid but I must have missed the simple part ...
... and who is general Failure and why is he reading my harddisk?
Offline