Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to initialise protocol with Galaxy SII Skyrocket #45

Closed
darkfeline opened this issue Jul 15, 2012 · 8 comments
Closed

Failed to initialise protocol with Galaxy SII Skyrocket #45

darkfeline opened this issue Jul 15, 2012 · 8 comments
Assignees

Comments

@darkfeline
Copy link

$ sudo heimdall flash --recovery recovery-clockwork-5.8.4.3-skyrocket.img
Heimdall v1.3.2, Copyright (c) 2010-2012, Benjamin Dobell, Glass Echidna
http://www.glassechidna.com.au

This software is provided free of charge. Copying and redistribution is
encouraged.

If you appreciate this software and you would like to support future
development please consider donating:
http://www.glassechidna.com.au/donate/

Initialising connection...
Detecting device...
Claiming interface...
Setting up interface...

Checking if protocol is initialised...
Protocol is not initialised.
Initialising protocol...
ERROR: Failed to initialise protocol!

@sdejean
Copy link

sdejean commented Sep 8, 2012

I have the same issue:

$ sudo heimdall print-pit --verbose --stdout-errors
Heimdall v1.3.1, Copyright (c) 2010-2011, Benjamin Dobell, Glass Echidna
http://www.glassechidna.com.au

This software is provided free of charge. Copying and redistribution is
encouraged.

If you appreciate this software and you would like to support future
development please consider donating:
http://www.glassechidna.com.au/donate/

Initialising connection...
Detecting device...
      Manufacturer: "Sasmsung"
           Product: "MSM8x60"

            length: 18
      device class: 2
               S/N: 0
           VID:PID: 04E8:685D
         bcdDevice: 0100
   iMan:iProd:iSer: 1:2:0
          nb confs: 1

interface[0].altsetting[0]: num endpoints = 1
   Class.SubClass.Protocol: 02.02.01
       endpoint[0].address: 82
           max packet size: 0010
          polling interval: 09

interface[1].altsetting[0]: num endpoints = 2
   Class.SubClass.Protocol: 0A.00.00
       endpoint[0].address: 81
           max packet size: 0200
          polling interval: 00
       endpoint[1].address: 01
           max packet size: 0200
          polling interval: 00
Claiming interface...
Setting up interface...

Checking if protocol is initialised...
Protocol is not initialised.
Initialising protocol...
ERROR: Failed to initialise protocol!
ERROR: Failed to initialise protocol!


$ lsb_release -a
LSB Version:    core-2.0-amd64:core-2.0-noarch:core-3.0-amd64:core-3.0-noarch:core-3.1-amd64:core-3.1-noarch:core-3.2-amd64:core-3.2-noarch:core-4.0-amd64:core-4.0-noarch
Distributor ID: Ubuntu
Description:    Ubuntu 12.04.1 LTS
Release:    12.04
Codename:   precise

$ dpkg -l |grep heimdall
ii  heimdall                                                 1.3.1                                      Command line tool for flashing Galaxy S devices.
ii  heimdall-frontend                                        1.3.1                                      Heimdall Frontend is a GUI for flashing Galaxy S devices.

$ free -m
             total       used       free     shared    buffers     cached
Mem:          7846       7629        217          0         96       3357
-/+ buffers/cache:       4175       3671
Swap:         9534         65       9469

@sdejean
Copy link

sdejean commented Sep 9, 2012

I did a build from source to make sure I had the latest binaries, I got the same result::

$ /usr/local/bin/heimdall print-pit --verbose 
Heimdall v1.3.2, Copyright (c) 2010-2012, Benjamin Dobell, Glass Echidna
http://www.glassechidna.com.au

This software is provided free of charge. Copying and redistribution is
encouraged.

If you appreciate this software and you would like to support future
development please consider donating:
http://www.glassechidna.com.au/donate/

Initialising connection...
Detecting device...
      Manufacturer: "Sasmsung"
           Product: "MSM8x60"

            length: 18
      device class: 2
               S/N: 0
           VID:PID: 04E8:685D
         bcdDevice: 0100
   iMan:iProd:iSer: 1:2:0
          nb confs: 1

interface[0].altsetting[0]: num endpoints = 1
   Class.SubClass.Protocol: 02.02.01
       endpoint[0].address: 82
           max packet size: 0010
          polling interval: 09

interface[1].altsetting[0]: num endpoints = 2
   Class.SubClass.Protocol: 0A.00.00
       endpoint[0].address: 81
           max packet size: 0200
          polling interval: 00
       endpoint[1].address: 01
           max packet size: 0200
          polling interval: 00
Claiming interface...
Setting up interface...

Checking if protocol is initialised...
Protocol is not initialised.
Initialising protocol...
ERROR: Failed to initialise protocol!

@ghost ghost assigned Benjamin-Dobell Sep 11, 2012
@basharam
Copy link

Same issue with SAMSUNG S2-LTE EU version GT-I9210.

Heimdall version : 1.3.2 detects device. but fails to flash kernell image.

@gnac
Copy link

gnac commented Sep 28, 2012

Ditto on Samsung Skyrocket SGH-I727. I tried 1.3.1_x64, 1.3.2 386, 1.3.2 built from git hub. on multiple linux computers. Same "Failed to inisialise error" everytime.

@Benjamin-Dobell
Copy link
Owner

Please try the Heimdall 1.4 release candidate to ensure this is fixed. If not, you can let me know if the problem still persists by re-opening the issue.

@basharam
Copy link

basharam commented Oct 4, 2012

Version 1.4 results in new error reports... I dont have access to reopen the issue.

below pasted the error info while flashing kernel image on galaxy S2-I9210

./heimdall_1.4 flash --kernel zImage
Heimdall v1.4 RC1

Copyright (c) 2010-2012, Benjamin Dobell, Glass Echidna
http://www.glassechidna.com.au/

This software is provided free of charge. Copying and redistribution is
encouraged.

If you appreciate this software and you would like to support future
development please consider donating:
http://www.glassechidna.com.au/donate/

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

Checking if protocol is initialised...
Protocol is not initialised.

Initialising protocol...
Protocol initialisation successful.

Beginning session...
Session begun.

In certain situations this device may take up to 2 minutes to respond.
Please be patient!

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

ERROR: Partition name for "kernel" could not be located
Ending session...
Rebooting device...
Releasing device interface...
Re-attaching kernel driver...

@Benjamin-Dobell
Copy link
Owner

@basharam This is expected behaviour. Heimdall couldn't find the "KERNEL" partition on your phone, because it doesn't exist. However, you can most certainly still flash a kernel using the correct partition name. Please refer to #26 for instructions and detailed explanation of the reasoning behind this.

@basharam
Copy link

basharam commented Oct 5, 2012

@Benjamin-Dobell Thanks for the pointers. I'm able to flash custom built kernel successfully.

For anyone who is interested to know boot partition name on Galaxy S2-I9210, see below command

Partition name via print-pit:

--- Entry no7 ---
Binary Type: 0 (AP)
Device Type: 2 (MMC)
Identifier: 72
Attributes: 0 (Read-Only)
Update Attributes: 0
Partition Block Size: 512
Partition Block Count: 20480
File Offset (Obsolete): 0
File Size (Obsolete): 0
Partition Name: BOOT
Flash Filename: boot.img
FOTA Filename:

Flash command:

./heimdall_1.4 flash --BOOT boot.img

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants