(Q) HELP heimdall not working libusb error: -12 - Samsung Galaxy S (4G Model)

im trying to use heimdall because i bricked i got the screen with phone and computer heimdall recognises the phone and everything but when i get to the part to install the drivers i install and it says successful this is where the problem is when i go to flash i get this error
Initialising connection...
Detecting device...
ERROR: Failed to access device. libusb error: -12
how do i fix it anybody any help appreciated

Are you using Heimdall or Heimdall One-Click?

heimdall one click for our phone this is a weird problem

Uninstall kies and uninstall the existing usb drivers b4 installing heimdall ones.
Sent from my GT-I9100 using XDA

Make sure you don't have any Samsung drivers installed. Restart the process, but try a different USB port on the PC & see if that helps. Rebooting may help as well.

Rebooting is always a good idea when you have problems. If you are following my guide read the notes about USB ports. Pick one for Heimdall One-Click and don't use it for anything else regarding your phone.

none of that worked i did all of it now heimdall wont even recognise my phone :'(

so am i completely borked ? i have honestly never had this problem with an android phone before

Keep trying.

Well done good job

And no you aren't "borked." People have this problem randomly and the reasons/fixes are also random. Without sitting in front of your computer myself it is hard to diagnose the problem.

ahhh ic okay that makes me feel better atleast im not entirely ****ed thanks for the advice and ill do what i can im going to keep this thread open and going so that any ideas someone may have can pass my way

Thoroughly uninstalling all drivers, deleting One-Click, running CC Cleaner, and rebooting is a good place to start. Make sure Kies isn't installed. Make sure Samsung drivers isn't installed. You have to uninstall Samsung drivers in 'Uninstall Programs' to get rid of those. I use USBDeview to double check all the drivers for a port I want to use are deleted.
Next it is often USB cord related. Make sure it is not a loooong USB cable. Make sure it is firmly pushed in to the computer and phone. One person had to have his USB connection to the phone more to one side than the other to make it work.
Just keep at it.

And consider hitting thanks with the people trying to help you.

Get rid of all the old drivers!
Spot on advice to get rid of Kies and any other Samsung drivers. I've been working on this on and off for days, and finally got there through this last post.
One final thing - I used the Heimdall drivers to overwrite that ones that Windows had put in by default, that was the final touch that got it all working.

Related

What have I done?: Not bricked but phone can't be recognized any longer

I was trying to install Cyanogen 7 and my first step was a one-click return to stock that seemed to complete fine.
When I rebooted I go into Android 3e recovery. Each time I boot the recovery message says:
Update media. please wait
update media. finished
#manual mode#
--Applying Multi-CSC...
Installing Multi-CSC
Install default apk-files. please wait
Install default apk-files. finished
The phone is no longer recognized by windows even though I've tried several different versions of the Samsung drivers. (also tried different USB ports, different cables and different computers per my search results in here)
I can get into Download mode but the device is not recognized so its not recognized by any of the ODIN utilities to repair or restore...
Any idea what is going on - or more importantly what can I do to recover this thing?
Help?
Thanks!
First of all, I would try Heimdall One-Click instead of Odin. It's more reliable, and uses better drivers. Will it not reboot into Froyo? And which one-click package did you use?
I used the Heimdall One-Click and it seemed to complete okay. Trouble started when I rebooted. I can't seem to redo it because the the One click utilities don't recognize the phone as connected.
I always get the Windows message "USB Device is not recognized" and when I go into my Device Manager the phone is listed as an "Unknown Device"
I would strongly advise against flashing back to froyo or eclair as the bootloaders are out dated.. As.for.your phone not being recognized it could be a number of issues from anywhere to ypur pc.needs a reboot to your usb cable is bad. I once had the same issue and i reinstalled the samsung drivers a few times with no reults. Believe it or not what fixed my problem was a fresh install of kies (a program i never use)
Sent from my SAMSUNG-SGH-I897 using XDA Premium App
I installed Keis, rebooted and it did in fact recognize and re-install the drivers. I then tried the heimdall 1-click and it failed on the attemped handshaking with Loke step. Now I am back to not being able to recognize the USB device again.!
ugh!
WinoOutWest said:
I installed Keis, rebooted and it did in fact recognize and re-install the drivers. I then tried the heimdall 1-click and it failed on the attemped handshaking with Loke step. Now I am back to not being able to recognize the USB device again.!
ugh!
Click to expand...
Click to collapse
Heimdall uses completely different drivers
Sent from my SAMSUNG-SGH-I777
Yes it installed the heimdall drivers successfully when I tried to run the on-click. Then it timed out. I now appear to be back to an unrecognized device again. Installing Keis, Samnsung drivers etc trying to get it to recognize the phone again. It easily goes into download mode.
Anyone got any ideas how I can get this thing breathing again?
Try rebooting the computer. Use a USB port in the back of the computer. Try a different cable. Open Odin before connecting phone to computer.
mrhaley30705 said:
Try rebooting the computer. Use a USB port in the back of the computer. Try a different cable. Open Odin before connecting phone to computer.
Click to expand...
Click to collapse
Tried all of this - still no love. Every once in a while it will search and install Samsung drivers but then it disconnects almost instantly.
I also fumbled through getting a Ubuntu up to try it in Linux but the download mode isn't found in linux either.
Running out of options here. Wondering if I've pooched this phone.
WinoOutWest said:
Tried all of this - still no love. Every once in a while it will search and install Samsung drivers but then it disconnects almost instantly.
I also fumbled through getting a Ubuntu up to try it in Linux but the download mode isn't found in linux either.
Running out of options here. Wondering if I've pooched this phone.
Click to expand...
Click to collapse
Its not broken permanently, I promise.
Well slap my a$$ and call me Judy!
After 1 million attempts (cords, ports. pcs, windows, linux) I finally managed to get back into my phone. I literally must have had this phone in and out of download mode several hundred times in the last 24 hours. One of my attempts finally worked in Ubuntu! Not sure why really - but I am okay with that at this point.
Thanks for all you help!
Darren
<smack> good job Judy.

Please help me with download mode!!

Hello, i am currently trying to root my sisters galaxy s 4g... Her Baseband is T949VUVKI1. Firmware is 2.3.5, Build Number is GINGERBREAD.VUVKI1. i remember flashing her phone to 2.3.5 and download mode working perfectly fine, and for some reason it wont go into download mode at all... the computer is not recognizing her phone either. YES, i do have usb drivers installed otherwise my galaxy s 4g wouldnt be recognized on my computer(odin specifically, not turning yellow). Please help, i have searched everywhere in the internet and tried almost everything... Volume up and down and plug charger, batter out volume up and down usb and battery in etc. PLEASE HELP!! Thank You in Advance.
Nvm
10c
1. Try reinstalling to drivers. Also make sure you're using the same USB port as Windows can be funny about it it sometimes.
2. if download mode is being difficult, go download the Android SDK from www.android.com. Install it, run it, and only download the platform tools. When that's done, open a command promt, CD to where the plaform tools installed (either c:\program files\Android\Android-sdk\platform-tools or c:\program files (x86)\Android\Android-sdk\platform-tools ), then issue the command: adb reboot download.
3. I suggest you check the dev section for bhundven's one-click collection. Uses Java and Heimdall vs. ODIN and works easily.
Sent from my SGH-T959V using XDA App
i have this issue 2.3.5 messed me up. Odin sees my phone in debug mode but not in download mode...using odin 1.85 sinse it is the only version that responds to my phone at all. help please!
Tytan0007 said:
i have this issue 2.3.5 messed me up. Odin sees my phone in debug mode but not in download mode...using odin 1.85 sinse it is the only version that responds to my phone at all. help please!
Click to expand...
Click to collapse
Get it back into download mode, go grab a bhundven's one-click. The one-clicks utilize Heimdall vs. ODIN, which means they use open-source USB drivers instead of the proprietary Samsung drivers. See if that enables the computer to see the phone. If so, flash the one-click
Should I uninstall the samsung drivers prior to using Heimdall's One-Click?
Tytan0007 said:
Should I uninstall the samsung drivers prior to using Heimdall's One-Click?
Click to expand...
Click to collapse
That's a good idea. Some people have reported conflicts between the drivers.
Why would only Odin 1.85 see my phone in USB Debugging and not in download mode? And all other Odin verisions never see my phone, no matter what state it is in... I am at work so I will give the one click another try when I get home. I never thought of uninstalling the Samsung drivers prior to install; however, I did use the one click method to no avail. However, Heimdall's one-click was able to see my device it just kept giving me a driver error. This is so crazy it might just work.
Tytan0007 said:
Why would only Odin 1.85 see my phone in USB Debugging and not in download mode? And all other Odin verisions never see my phone, no matter what state it is in... I am at work so I will give the one click another try when I get home. I never thought of uninstalling the Samsung drivers prior to install; however, I did use the one click method to no avail. However, Heimdall's one-click was able to see my device it just kept giving me a driver error. This is so crazy it might just work.
Click to expand...
Click to collapse
I wish I had a good answer. ODIN's a funny animal. I've been fortunate and not had any problems with it. I am hoping you are correct - maybe it was just a driver conflict. Let me know how it goes.
didn't work...
You could try downloading a terminal app from the market. Open the terminal and type:
reboot download
See if that does it.
***Update***
Okay, so Oneclick was not working at all no matter what I did with the drivers. However, in all my tinkering with it I installed the Samsung Driver, the Open Source one, and some gadget driver as well from oneclick.
Doing this put all these drivers in my computer. Then I went into my Device manager (Win 7) and looked at my USB driver and I uninstalled everything and went to the stock win 7 usb driver. Then I plugged my phone in and my computer began searching for drivers for this device when it decided that it would be a good idea to load all three drivers at once and voila my phone was then showing up on ODIN 1.85.
I then proceeded to flash my phone with a rom, probably the wrong one considering I was coming from 2.3.5 and my phone boot looped and then soft bricked(sorry if I used these term incorrectly, noobin it).
After, some nervous moment of scouring XDA I found the god-send of a post on getting in to download mode, using odin, and flashing stock 2.3.6 - thank you Raver(I believe). When I did this, my phone magically started obeying ODIN like a devout viking and is now running 2.3.6 superbly.
Keeping with my phones newly found viking heritage, I intend to figure out how to properly root it, update the kernal and modem(not sure which one is best), get CWM, and subsequesntly put in Valhalla Black.
Seeing as though this last rendevous with flashing caused me a little scare I may hold off and wait to see what the next big update is (maybe a port ICS variant) and then go with that.
Anyway, thank you Stephen for helping me out with this and to everyone in this post.
Here's some reading for you Tytan,
http://forum.xda-developers.com/wiki/Samsung_Galaxy_S_4G#FAQ_.28with_answers.29
PS: Unless you wanna brick your phone, do not flash anything that isn't intended for the SGH-T959V Samsung Galaxy S 4G. You're saying you wanna flash a Vibrant ROM. You can, if you want an expensive paperweight. Happy flashing!
2.3.5 may have been for vibrant...yeah I think I got lucky. I did it prior to knowing about xda.
Sent from my SGH-T959V using XDA App
Tytan0007 said:
didn't work...
Click to expand...
Click to collapse
How are you getting into download mode?
There was a post in another thread where the person apparently was using the power menu to get into download mode or maybe the adb command.
Have you tried both the old fashion volume +/- and plug in usb cable? Or the adb command?
Do you have access to another computer? Believe it or not sometimes just changing computers will make the difference.
Weird when I replied there was no posts other than the ones on the first page...oh well glad its working now.

[Q] I cant get odin to recognize my sk4g after soft brick

Well I finally rooted my sidekick and went to backup the stock rom via rom manager and it rebooted and never got past t mobile sidekick boot screen so I downloaded odin the pit file and the tar but when I put my phone into download mode i cant get it to recognize the sidekick when I plug it in it just says unknown device and i have the driver down loaded any help please
Windows can be picky about drivers sometimes.
I recommend uninstalling the driver, opening regedit, and manually deleting any remaining registry keys associated with the Samsung drivers. (This will take you some time.)
After that, reinstall the driver and try again.
I think you may need to google some of what I said here to get it done. But, you can do it if you take some initiative.
well i tried deleting kies and reinstalling it whitch i thought it was the driver if im wrong or theres a more direct driver can someone tell me when i plug my sidekick in i get usb device not recognized message
uncapj said:
well i tried deleting kies and reinstalling it whitch i thought it was the driver if im wrong or theres a more direct driver can someone tell me when i plug my sidekick in i get usb device not recognized message
Click to expand...
Click to collapse
Ok. Give me some information.
I need to know what you installed as a driver. I need to know what Odin you are using. I also need to know where you got your information; what threads did you search for and read?
Is Windows complaining when you plug the device in or is the Odin program just not seeing your device?
When we do get your device back, also consider the risk/reward here. These customs aren't really offering the earth shattering things you might be hoping for. We're geeks and we are splitting hairs when we talk about improvements. The truth is, the final official KJ2 is a reliable and stable OS on its own. (If it wasn't, developers would be basing their work on older versions.) It's just something to think about...
Anyhow, get some more info out here and we'll help you Odin back to stock. After that, it's up to you.
well i got a drive from softpedia as well as kies and i searched various forums and topics im using windows xp sp3 and odin 3 as well as got the pit and tar files from lins on this site i
windows is the one that wines when i plug the phone in it says unknown device and no drivers for device found
You should have downloaded a Samsung USB driver for Mobile Phones. At one point, we were using Vibrant drivers to access the phone. Did you get real Samsung drivers for this phone?
You do NOT want to use Vibrant drivers.
Also, let's not rule out a hardware problem.
If you are rough with your phone's USB port, you can bend/break a pin in there. You could have a bad port.
If your phone isn't working like a USB pin drive on any (and every) computer you try, you may have a problem.
You should also check your cable and the physical port on your computer.
i got the kies from the samsung web site it was under the sidekick model nuber and showed a picture of my phone also i believe the softpedia driver was probably the vibrant driver
FYI, Kies only works if can get booted. We won't be using it until we can get a proper recovery of some kind.
What is happening? Is it just sitting there and vibrating over and over? Or does it appear to be rebooting?
Does it keep showing the t-mo logo flashing on and off the screen? Or is it just sitting there vibrating?
If you seeing the logo and the device is rebooting, you must use the Odin tool. If it is just hung up in the boot process, you can use Android Commander to get into clockworkmod.
I'm going to upload you some files. I'll private message you a link to download them.
We'll close out our public discussion here.

Firmware upgrade encountered an issue

Ok so i searched and searched and searched but found similar issues but not my issue. I was flashing a rom and it went into a boot loop. I went to get out of it and it wouldnt let me so i used a 1 touch odin download. When i plugged it in my computer recognized the phone i clicked start and it failed because my phone stopped being recognized by my computer. (i can get into download mode with no issue.) Now when i plug it in it just says usb device not recognized. I have uninstalled reinstalled drivers several times. tried multiple cables multiple computers. It also says gadget serial in the device name when its trying to auto find the driver... strange. I just need my phone back together lol. I was working on this til 3 am last night and had to run to walmart to get a cheap alarm clock to wake me up for work this morning at 6 any help is appreciated
trithumb said:
Ok so i searched and searched and searched but found similar issues but not my issue. I was flashing a rom and it went into a boot loop. I went to get out of it and it wouldnt let me so i used a 1 touch odin download. When i plugged it in my computer recognized the phone i clicked start and it failed because my phone stopped being recognized by my computer. Now when i plug it in it just says usb device not recognized. I have uninstalled reinstalled drivers several times. tried multiple cables multiple computers. It also says gadget serial in the device name when its trying to auto find the driver... strange. I just need my phone back together lol. I was working on this til 3 am last night and had to run to walmart to get a cheap alarm clock to wake me up for work this morning at 6 any help is appreciated
Click to expand...
Click to collapse
You need to try the one click heimdall package by Bhundven in the development section
brandonc0526 said:
You need to try the one click heimdall package by Bhundven in the development section
Click to expand...
Click to collapse
isnt that a mac only program? if not can you get me a link. Im juggling fixing this while working lol
no is for windows and please dont ask in the dev section
solrac1212 said:
no is for windows and please dont ask in the dev section
Click to expand...
Click to collapse
oops sorry didnt realize i was in the dev section
Not to be a ****, but I am reporting this thread to the mods and asking them to move it to the q&a section.
To fix your issue, using my odin 1 click (gremlin remover), start the 1-click, then boot into dl mode. If device still isn't recognized, go into device manager right click on the device and update drivers manually. Reboot phone into dl mode and all should be well.
Also once you reinstall drivers or update them, reboot your computer. That always helps the computer recognize my phone when I have this issue. Good luck.
Try another cable and usb port.
eollie said:
Try another cable and usb port.
Click to expand...
Click to collapse
again in the main post. I tried multiple computers multiple cables and all the usb ports on all 4 of my laptops
Start Oden first then plug in the phone give Oden a second to find the phone. When the box on the upper left turn yellow then you can start. Directions work for both one click GR and regular Oden.
Sent from my SGH-T959V using xda app-developers app
under device manager it shows error code 43 on "unknown device" no matter how i install or dont install drivers... use kies or not use kies... let windows find it or not.... just doesnt work
brighter minds than min here, but "one-click" and "odin" are different routes to the same end, aren't they? But if you start with heimdall and that fails, you will likely get the drivers issue when you try odin. I suggest opening device manager on your Win machine and removing all drivers related to the phone as storage device or whatever. Then reboot your machine. When you get to your desktop, open odin (my preferred tool), then with your phone powered down, hold vol-up+vol-down together and connect the phone to your usb cable. Win should find the drivers and load them, and odin should see your phone.
Gonna steal something from lumin30 here.
* * If you have used your phone on every USB Port and/or have no idea where all you have plugged your phone into or used ODIN or Heimdall with - Download [usbdeview-x32.zip] for 32-bit operating systems or [usbdeview-x64.zip] for 64-bit operating systems. Uninstall anything you see that has Samsung and Android related.
Click to expand...
Click to collapse
It is from this guide here. I suggest following post two to get everything fixed.
http://forum.xda-developers.com/showthread.php?p=21953878

[Q] [help] download mode won't communicate with pc

AT&T Infuse 4g, problem is, my computer doesn't recognize the device, but only when it is in download mode. Kies works, with phone on, and will try to update it to GB, but when the phone reboots into download mode, unsupported usb device. I have tried to make this work on 3 computers, and with 3 different cables. I have tried Odin, Kies and Heimdall. I have tried Samsung drivers and Android SDK Google USB drivers. Does anyone have any other suggestions.
It seems I may be forever stuck on Froyo...:crying:
It is a driver problem, or the phone hardware is broken. Either way, the device is not recognized and no driver is installed. Quite a few views, and no suggestions. Ugh...
Anyone?
I can't say about Odin 'cause I haven't used it in a while.
With Heimdall, sometimes a pc will recognize it right away..others may require several tries, different USB port, or USB cable or several reboots of the PC and retries.
Night before last I took mine back to stock again. My one-clicks were not seeing my phone or offering drivers. I opened my Heimdall suite went to the driver folder ran Zandig to install drivers and all was good again. If you swap between Odin, Heimdall,and or Kies you will probably have to change the driver with every program change. They each use different driver in same location
elbscorp said:
Night before last I took mine back to stock again. My one-clicks were not seeing my phone or offering drivers. I opened my Heimdall suite went to the driver folder ran Zandig to install drivers and all was good again. If you swap between Odin, Heimdall,and or Kies you will probably have to change the driver with every program change. They each use different driver in same location
Click to expand...
Click to collapse
exactly..and if you get heimdall to work..pay attention to what port it is on your pc and label that port..and don't install odin over it or you will fall back to the same problem of having to reinstall heimdall again.
qkster said:
exactly..and if you get heimdall to work..pay attention to what port it is on your pc and label that port..and don't install odin over it or you will fall back to the same problem of having to reinstall heimdall again.
Click to expand...
Click to collapse
Don't know why I never thought to use diferent port for each.Will save me a lot of time re-installing drivers
unfortunately, the problem has gotten worse. I have , quite possibly bricked my phone. (I thought it was "unbrickable"). I used another pc, started flashing with Odin, I thought it was working, but long story short, the phone got too hot, so I shut it all down. As of now, I am unable to get into download mode. I have tried all the known methods (to me), but every time I start the phone, I just get some randomly colored screen.

Categories

Resources