Attend XDA's Second Annual Developer Conference, XDA:DevCon 2014!
5,740,412 Members 45,252 Now Online
XDA Developers Android and Mobile Development Forum

[Q] Heimdall help for Droid?

Tip us?
 
tlx45
Old
(Last edited by tlx45; 6th October 2011 at 04:47 PM.)
#1  
Junior Member - OP
Thanks Meter 0
Posts: 3
Join Date: Oct 2011
Default [Q] Heimdall help for Droid?

Hi,

I've just installed the latest Heimdall (v1.3) to try to flash my Droid Charge, as I'm running Ubuntu and therefore ODIN is not an option. I was running GummyCharged GBE 2 with CWM Recovery, and wanted to flash the new modem. However, Heimdall seems unable to flash any files to my Droid and now when I turn on the phone I get this image:



I've been trying to use Heimdall to fix it, but no matter what I'm trying to flash, I get an error message very similar to this:

Code:
Select Code
Initialising connection...
Detecting device...
Claiming interface...
Attempt failed. Detaching driver...
Claiming interface again...
Setting up interface...

Beginning session...
Handshaking with Loke...

Downloading device's PIT file...
PIT file download sucessful

Uploading KERNEL
0%

ERROR: Expected file part index: 1761653664 Received: -1
KERNEL upload failed!
Ending session...
ERROR: Failed to receive session end confirmation!
Re-attaching kernel driver...
I also get red text at the top left corner of the download mode screen that says "RX_TIMEOUT".

The "Expected file part index" is different depending on whether I'm trying flash RECOVERY, KERNEL, LTEMODEM, etc., but it seems to always receive a -1. Can anyone help with this, or simply point me to a resource that will let me get my phone back up and running (that works on Linux)?

Thanks for any assistance,
Dave
 
MillionManMosh
Old
#2  
Senior Member
Thanks Meter 36
Posts: 154
Join Date: Dec 2010
Are you flashing with battery in or out?
 
tlx45
Old
#3  
Junior Member - OP
Thanks Meter 0
Posts: 3
Join Date: Oct 2011
Battery is out, phone is in Download mode.
 
shrike1978
Old
#4  
shrike1978's Avatar
Recognized Contributor
Thanks Meter 3094
Posts: 3,413
Join Date: Jun 2011
Location: Atlanta, GA

 
DONATE TO ME
Quote:
Originally Posted by tlx45 View Post
Battery is out, phone is in Download mode.
Put the battery back in after you're in download mode.
My HTC Rezound Development:
CounterShrike (Heavily modified CM9 - Aroma Installer) - PAC-Man (CM10/AOKP/Paranoid Android hybrid) - Ermahgerd Kernel (ICS/JB AOSP kernel)

My smartphone history: iPhone (Retired) - iPhone 3G (Retired) - iPhone 3GS (Retired) - Samsung Droid Charge (Retired) - HTC Rezound (Dev phone) - Samsung Galaxy Note II (Current)

All of my work is open source: My Github
Donations are never expected, but always appreciated.
 
tlx45
Old
#5  
Junior Member - OP
Thanks Meter 0
Posts: 3
Join Date: Oct 2011
Same result unfortunately.
 
lufc
Old
#6  
lufc's Avatar
Senior Moderator / Resident Priest
Thanks Meter 1485
Posts: 9,512
Join Date: Oct 2007
Location: Blackpool UK

 
DONATE TO ME
Please use the Q&A Forum for questions Thanks
Moving to Q&A
Pay attention and participate,Encourage,
not discourage, Listen to advice and accept instruction,
and in the end you will be wise.......... Prov. 19:20
 
incharge
Old
(Last edited by incharge; 25th October 2011 at 08:24 PM.) Reason: I keep trying
#7  
Junior Member
Thanks Meter 0
Posts: 3
Join Date: Oct 2011
I'm having the exact same issue on a Mac with Loin running heimdall v1.3.1. Following the advice of this thread. I can get the pit to upload but nothing else. But that only bricked my phone worse. I can still get to the download mode but nothing rom related will ever upload. Anyone have ideas?

Part of my output with verbose.
Code:
Select Code
Handshaking with Loke...

Beginning session...
Session begun with device of type: 0

Uploading PIT
PIT upload successful
Uploading RECOVERY
0%ERROR: libusb error -7 whilst receiving packet. Retrying...
ERROR: libusb error -7 whilst receiving packet. Retrying...

File Part #0... Response: 0  0  0  0  1  0  0  0 

ERROR: Expected file part index: 0 Received: 1
RECOVERY upload failed!
Ending session...
ERROR: libusb error -7 whilst receiving packet. Retrying...
ERROR: libusb error -7 whilst receiving packet. Retrying...
ERROR: libusb error -7 whilst receiving packet. Retrying...
ERROR: libusb error -7 whilst receiving packet. Retrying...
ERROR: libusb error -7 whilst receiving packet. Retrying...

ERROR: Failed to receive session end confirmation!
The libusb error -7 and RX_TIMEOUT leads be to believe that the charge is not receiving what ever the heck it wants. Tried using --delay but that seems to be for the handshake with Loke

With --verbose and --stdout-errors
Code:
Select Code
Handshaking with Loke...

Beginning session...
Session begun with device of type: 0

Downloading device's PIT file...
PIT file download sucessful

Uploading RECOVERY
0%ERROR: libusb error -7 whilst receiving packet.ERROR: libusb error 2104816 whilst receiving packet. Retrying...
 Retrying...
ERROR: libusb error -7 whilst receiving packet.ERROR: libusb error 2104816 whilst receiving packet. Retrying...
 Retrying...
ERROR: libusb error -7 whilst receiving packet.ERROR: libusb error 1094576 whilst receiving packet. Retrying...
 Retrying...
ERROR: libusb error -7 whilst receiving packet.ERROR: libusb error 2104816 whilst receiving packet. Retrying...
 Retrying...
ERROR: libusb error -7 whilst receiving packet.ERROR: libusb error 2104816 whilst receiving packet. Retrying...
 Retrying...


File Part #0... Response: 0  0  0  0  2  0  0  0 


ERROR: Expected file part index: 0 Received: 2
ERROR: Expected file part index: 26880 Received: 1606416092
RECOVERY upload failed!
Ending session...
ERROR: libusb error -7 whilst receiving packet.ERROR: libusb error 2111712 whilst receiving packet. Retrying...
 Retrying...
ERROR: libusb error -7 whilst receiving packet.ERROR: libusb error 2111712 whilst receiving packet. Retrying...
 Retrying...
ERROR: libusb error -7 whilst receiving packet.ERROR: libusb error 2111712 whilst receiving packet. Retrying...
 Retrying...
ERROR: libusb error -7 whilst receiving packet.ERROR: libusb error 2111712 whilst receiving packet. Retrying...
 Retrying...
ERROR: libusb error -7 whilst receiving packet.ERROR: libusb error 2111712 whilst receiving packet. Retrying...
 Retrying...


ERROR: Failed to receive session end confirmation!
ERROR: Failed to receive session end confirmation!
 
incharge
Old
#8  
Junior Member
Thanks Meter 0
Posts: 3
Join Date: Oct 2011
How I saved my Charge:
  1. Odin 1.85
  2. This pit file: http://forum.xda-developers.com/show....php?t=1111486
  3. And EE4: http://forum.xda-developers.com/show....php?t=1172182
  4. Let it boot
From here you can start from scratch. Hope this helps someone.
 
shrike1978
Old
#9  
shrike1978's Avatar
Recognized Contributor
Thanks Meter 3094
Posts: 3,413
Join Date: Jun 2011
Location: Atlanta, GA

 
DONATE TO ME
Quote:
Originally Posted by incharge View Post
How I saved my Charge:
  1. Odin 1.85
  2. This pit file: http://forum.xda-developers.com/show....php?t=1111486
  3. And EE4: http://forum.xda-developers.com/show....php?t=1172182
  4. Let it boot
From here you can start from scratch. Hope this helps someone.
OP was asking about Heimdall specifically because he can't run Odin because he's on Linux.
My HTC Rezound Development:
CounterShrike (Heavily modified CM9 - Aroma Installer) - PAC-Man (CM10/AOKP/Paranoid Android hybrid) - Ermahgerd Kernel (ICS/JB AOSP kernel)

My smartphone history: iPhone (Retired) - iPhone 3G (Retired) - iPhone 3GS (Retired) - Samsung Droid Charge (Retired) - HTC Rezound (Dev phone) - Samsung Galaxy Note II (Current)

All of my work is open source: My Github
Donations are never expected, but always appreciated.
 
iwasaperson
Old
#10  
Senior Member
Thanks Meter 105
Posts: 320
Join Date: Aug 2010
Get Windows 7 (Microsoft gives away free 30-day trials), and use Odin.

Sent from my SCH-I510 using XDA App
Line of phones:
iPhone 3G with iDroid Pepperkaka 11.04 (still used as an emergency GSM phone)
Fascinate (exchanged for a Droid Charge after I have had to replace it 10 times)
Droid Charge - TweakStock with EXT4, LoopySmoothness, 3G TurboCharger, KickAssKernel, and SuperCharger.
Galaxy Nexus - Whatever I feel like (I have Boot Manager Pro)

Quote:
I'm pretty sure that MIUI is pronounced meeooee and not M.I.U.I.

Tags
droid, heimdall
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


XDA PORTAL POSTS

Control Your Toast Notifications with SlicedToasts

Toasts are delicious, even in their Android flavor. In Android, toast doesn’t lead … more

Rotation Lets You Take Full Control of Your Device’s Orientation Settings

To be brutally honest, the native options for screen … more

Change the Alarm Icon in the Status Bar with Xposed

It’s hard to find a more hated object than your alarm clock. They wake us up nearly … more

Return to Outer Space Outer Space with Ship Up Game

Since the release of Flappy Birds, we’ve had the “fortune” to see … more