Closed kennykb closed 10 years ago
I‘m sorry to say that heimdall can run only once until you have reboot you device into download mode again. That is to say, if you have made a print-pit operation, then you have to reboot you device into download mode again, and then make the flash operation.
I did reboot to download mode before the flash operation. Sorry that I didn't mention that.
Try the lastest verion of libusbx.
I'm on libusbx 1.0.17 (just self-built and forced from the command line with LD_PRELOAD). Is there a newer one I should be trying? I'm not seeing it at SourceForge.
$ LD_PRELOAD=/home/kennykb/usr/local/lib/libusb-1.0.so ldd ~/usr/local/bin/heimdall
linux-gate.so.1 => (0xb7770000)
/home/kennykb/usr/local/lib/libusb-1.0.so (0xb7756000)
libstdc++.so.6 => /usr/lib/i386-linux-gnu/libstdc++.so.6 (0xb7656000)
libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xb7638000)
libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xb761d000)
libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xb746a000)
libudev.so.1 => /lib/i386-linux-gnu/libudev.so.1 (0xb7458000)
libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xb7415000)
/lib/ld-linux.so.2 (0xb7771000)
librt.so.1 => /lib/i386-linux-gnu/librt.so.1 (0xb740b000)
My version is 1.0.16....Maybe you could try this, https://github.com/Benjamin-Dobell/libusbx
I was having similar probs on GT-I9507. My libusb error was -4.
After much debugging and adding extra output to my heimdall, I found that the usb would disconnect / reconnect during a certain phase of the upload. I ended up moving to another pc and this got me working.
Original host was F19 on intel MB with USB2 Working host was ub12.10 on Dell M11x with USB3
Not sure what part of that fixed it. Could have been better usb power in laptop ports, or different libusbx (1.0.16 on dell). Could be my intel MB has junk usb ports.
My flash still hangs at 100%, but reboot phone, heimdall session notices and exits and phone boots to failed firmware screen, run heimdal close-pc-screen, and your phone boots normally with the content you flashed.
The phone I was trying to flash died entirely, so the question is now moot.
Hi. Feel free to close this if I'm posting in the wrong place.
I've been starting to try to get CyanogenMod 10 onto my phone by following the instructions in http://wiki.cyanogenmod.org/w/Install_CM_for_d2spr .
I've downloaded source code for the 1.4.0 release of heimdall (after having had the same error with the heimdall in Ubuntu Raring), and self-built.
Making sure I have what I think I have:
I boot the phone to download mode, and the screen shows
I see in other reports that the PIT is interesting to developers, so I print it out:
And now I try to flash ClockworkMod Recovery, and stumble:
So ... somewhere along the way to starting the download, the device stops responding.
I went onto the '#cyanogenmod' channel in IRC and reported this, and found no help. I'm not turning up anything obvious with searching: is my Google-fu failing me? For what it's worth, I've tried swapping cables and USB ports without effect.
What else ought I to be trying?