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

S5830i Support #278

Open
A-Shahbazi opened this issue Jul 14, 2015 · 1 comment · May be fixed by #533
Open

S5830i Support #278

A-Shahbazi opened this issue Jul 14, 2015 · 1 comment · May be fixed by #533

Comments

@A-Shahbazi
Copy link

@Benjamin-Dobell
Hi,

Is it possible to add Samsung Galaxy S5830i support?
using the current heimdall git version and libusb 1.0.19(libusbx has been completely merged to this version) I get the following:

sudo ./bin/heimdall download-pit --output my.pit --usb-log-level debug
Heimdall v1.4.1

Copyright (c) 2010-2014 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...
[timestamp] [threadID] facility level [function call] <message>
--------------------------------------------------------------------------------
[ 0.004275] [00000efc] libusb: debug [libusb_get_device_list] 
[ 0.004306] [00000efc] libusb: debug [discovered_devs_append] need to increase capacity
[ 0.004318] [00000efc] libusb: debug [libusb_get_device_descriptor] 
[ 0.004327] [00000efc] libusb: debug [libusb_open] open 2.12
[ 0.004357] [00000efc] libusb: debug [usbi_add_pollfd] add fd 12 events 4
[ 0.004375] [00000efc] libusb: debug [libusb_get_device_descriptor] 
[ 0.004382] [00000efc] libusb: debug [libusb_get_config_descriptor] index 0
Claiming interface...
[ 0.004403] [00000efc] libusb: debug [libusb_claim_interface] interface 1
Setting up interface...
[ 0.004436] [00000efc] libusb: debug [libusb_set_interface_alt_setting] interface 1 altsetting 0
[ 5.004062] [00000efc] libusb: error [op_set_interface] setintf failed error -1 errno 110
ERROR: Setting up interface failed!
Releasing device interface...
[ 5.004151] [00000efc] libusb: debug [libusb_release_interface] interface 1

[ 5.004192] [00000efc] libusb: debug [libusb_close] 
[ 5.004214] [00000efc] libusb: debug [usbi_remove_pollfd] remove fd 12
[ 5.004247] [00000efc] libusb: debug [libusb_exit] 
[ 5.004258] [00000efc] libusb: debug [libusb_exit] destroying default context

here's the USB traffic log grabbed using Simple USB Logger and your instructions at #209

@A-Shahbazi
Copy link
Author

@Benjamin-Dobell
Here's the output of sudo ./bin/heimdall download-pit --verbose --output my.pit --usb-log-level debug
(I thought it might be more helpful because it contains more info using --verbose option)

Heimdall v1.4.1

Copyright (c) 2010-2014 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...
[timestamp] [threadID] facility level [function call] <message>
--------------------------------------------------------------------------------
[ 0.001730] [000051bd] libusb: debug [libusb_get_device_list] 
[ 0.001741] [000051bd] libusb: debug [discovered_devs_append] need to increase capacity
[ 0.001745] [000051bd] libusb: debug [libusb_get_device_descriptor] 
[ 0.001749] [000051bd] libusb: debug [libusb_open] open 4.3
[ 0.124312] [000051bd] libusb: debug [usbi_add_pollfd] add fd 12 events 4
[ 0.124427] [000051bd] libusb: debug [libusb_get_device_descriptor] 
[ 0.124472] [000051bd] libusb: debug [add_to_flying_list] arm timerfd for timeout in 1000ms (first in line)
[ 0.124514] [000051bd] libusb: debug [libusb_handle_events_timeout_completed] doing our own event handling
[ 0.124549] [000051bd] libusb: debug [handle_events] poll() 4 fds with timeout in 60000ms
[ 0.128498] [000051bd] libusb: debug [handle_events] poll() returned 1
[ 0.128547] [000051bd] libusb: debug [reap_for_handle] urb type=2 status=0 transferred=10
[ 0.128570] [000051bd] libusb: debug [handle_control_completion] handling completion status 0
[ 0.128589] [000051bd] libusb: debug [disarm_timerfd] 
[ 0.128608] [000051bd] libusb: debug [usbi_handle_transfer_completion] transfer 0xa0c370 has callback 0x7fa60555e0b0
[ 0.128629] [000051bd] libusb: debug [sync_transfer_cb] actual_length=10
[ 0.128663] [000051bd] libusb: debug [add_to_flying_list] arm timerfd for timeout in 1000ms (first in line)
[ 0.128702] [000051bd] libusb: debug [libusb_handle_events_timeout_completed] doing our own event handling
[ 0.128723] [000051bd] libusb: debug [handle_events] poll() 4 fds with timeout in 60000ms
[ 0.132911] [000051bd] libusb: debug [handle_events] poll() returned 1
[ 0.132969] [000051bd] libusb: debug [reap_for_handle] urb type=2 status=0 transferred=40
[ 0.133000] [000051bd] libusb: debug [handle_control_completion] handling completion status 0
[ 0.133029] [000051bd] libusb: debug [disarm_timerfd] 
[ 0.133058] [000051bd] libusb: debug [usbi_handle_transfer_completion] transfer 0xa0c370 has callback 0x7fa60555e0b0
[ 0.133085] [000051bd] libusb: debug [sync_transfer_cb] actual_length=40
      Manufacturer: "Samsung Electronics"
[ 0.133150] [000051bd] libusb: debug [add_to_flying_list] arm timerfd for timeout in 1000ms (first in line)
[ 0.133212] [000051bd] libusb: debug [libusb_handle_events_timeout_completed] doing our own event handling
[ 0.133236] [000051bd] libusb: debug [handle_events] poll() 4 fds with timeout in 60000ms
[ 0.137275] [000051bd] libusb: debug [handle_events] poll() returned 1
[ 0.137319] [000051bd] libusb: debug [reap_for_handle] urb type=2 status=0 transferred=10
[ 0.137340] [000051bd] libusb: debug [handle_control_completion] handling completion status 0
[ 0.137359] [000051bd] libusb: debug [disarm_timerfd] 
[ 0.137377] [000051bd] libusb: debug [usbi_handle_transfer_completion] transfer 0xa0c370 has callback 0x7fa60555e0b0
[ 0.137396] [000051bd] libusb: debug [sync_transfer_cb] actual_length=10
[ 0.137420] [000051bd] libusb: debug [add_to_flying_list] arm timerfd for timeout in 1000ms (first in line)
[ 0.137449] [000051bd] libusb: debug [libusb_handle_events_timeout_completed] doing our own event handling
[ 0.137468] [000051bd] libusb: debug [handle_events] poll() 4 fds with timeout in 60000ms
[ 0.141651] [000051bd] libusb: debug [handle_events] poll() returned 1
[ 0.141700] [000051bd] libusb: debug [reap_for_handle] urb type=2 status=0 transferred=42
[ 0.141723] [000051bd] libusb: debug [handle_control_completion] handling completion status 0
[ 0.141741] [000051bd] libusb: debug [disarm_timerfd] 
[ 0.141760] [000051bd] libusb: debug [usbi_handle_transfer_completion] transfer 0xa0c370 has callback 0x7fa60555e0b0
[ 0.141778] [000051bd] libusb: debug [sync_transfer_cb] actual_length=42
           Product: "Mobile USB Modem 1.0"
[ 0.141820] [000051bd] libusb: debug [add_to_flying_list] arm timerfd for timeout in 1000ms (first in line)
[ 0.141849] [000051bd] libusb: debug [libusb_handle_events_timeout_completed] doing our own event handling
[ 0.141878] [000051bd] libusb: debug [handle_events] poll() 4 fds with timeout in 60000ms
[ 0.145961] [000051bd] libusb: debug [handle_events] poll() returned 1
[ 0.146020] [000051bd] libusb: debug [reap_for_handle] urb type=2 status=0 transferred=10
[ 0.146052] [000051bd] libusb: debug [handle_control_completion] handling completion status 0
[ 0.146083] [000051bd] libusb: debug [disarm_timerfd] 
[ 0.146113] [000051bd] libusb: debug [usbi_handle_transfer_completion] transfer 0xa0c370 has callback 0x7fa60555e0b0
[ 0.146159] [000051bd] libusb: debug [sync_transfer_cb] actual_length=10
[ 0.146198] [000051bd] libusb: debug [add_to_flying_list] arm timerfd for timeout in 1000ms (first in line)
[ 0.146247] [000051bd] libusb: debug [libusb_handle_events_timeout_completed] doing our own event handling
[ 0.146284] [000051bd] libusb: debug [handle_events] poll() 4 fds with timeout in 60000ms
[ 0.150331] [000051bd] libusb: debug [handle_events] poll() returned 1
[ 0.150382] [000051bd] libusb: debug [reap_for_handle] urb type=2 status=0 transferred=34
[ 0.150412] [000051bd] libusb: debug [handle_control_completion] handling completion status 0
[ 0.150440] [000051bd] libusb: debug [disarm_timerfd] 
[ 0.150470] [000051bd] libusb: debug [usbi_handle_transfer_completion] transfer 0xa0c370 has callback 0x7fa60555e0b0
[ 0.150498] [000051bd] libusb: debug [sync_transfer_cb] actual_length=34
         Serial No: "00000000000000/0"

            length: 18
      device class: 2
               S/N: 3
           VID:PID: 04E8:685D
         bcdDevice: 0001
   iMan:iProd:iSer: 2:1:3
          nb confs: 1
[ 0.150706] [000051bd] libusb: debug [libusb_get_config_descriptor] index 0

interface[0].altsetting[0]: num endpoints = 1
   Class.SubClass.Protocol: 02.02.01
       endpoint[0].address: 83
           max packet size: 0040
          polling interval: 05

interface[1].altsetting[0]: num endpoints = 2
   Class.SubClass.Protocol: 0A.00.00
       endpoint[0].address: 81
           max packet size: 0200
          polling interval: 20
       endpoint[1].address: 02
           max packet size: 0200
          polling interval: 20
Claiming interface...
[ 0.151059] [000051bd] libusb: debug [libusb_claim_interface] interface 1
Setting up interface...
[ 0.151131] [000051bd] libusb: debug [libusb_set_interface_alt_setting] interface 1 altsetting 0
[ 5.148902] [000051bd] libusb: error [op_set_interface] setintf failed error -1 errno 110
ERROR: Setting up interface failed!
Releasing device interface...
[ 5.148988] [000051bd] libusb: debug [libusb_release_interface] interface 1

[ 5.149021] [000051bd] libusb: debug [libusb_close] 
[ 5.149036] [000051bd] libusb: debug [usbi_remove_pollfd] remove fd 12
[ 5.149053] [000051bd] libusb: debug [libusb_exit] 
[ 5.149059] [000051bd] libusb: debug [libusb_exit] destroying default context

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

Successfully merging a pull request may close this issue.

1 participant