{"action":"created","issue":{"url":"https://api.github.com/repos/Benjamin-Dobell/Heimdall/issues/34","repository_url":"https://api.github.com/repos/Benjamin-Dobell/Heimdall","labels_url":"https://api.github.com/repos/Benjamin-Dobell/Heimdall/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/Benjamin-Dobell/Heimdall/issues/34/comments","events_url":"https://api.github.com/repos/Benjamin-Dobell/Heimdall/issues/34/events","html_url":"https://github.com/Benjamin-Dobell/Heimdall/issues/34","id":3996248,"number":34,"title":"Samsung Galaxy S i9001 Plus","user":{"login":"juagicre","id":1616825,"avatar_url":"https://avatars.githubusercontent.com/u/1616825?v=3","gravatar_id":"","url":"https://api.github.com/users/juagicre","html_url":"https://github.com/juagicre","followers_url":"https://api.github.com/users/juagicre/followers","following_url":"https://api.github.com/users/juagicre/following{/other_user}","gists_url":"https://api.github.com/users/juagicre/gists{/gist_id}","starred_url":"https://api.github.com/users/juagicre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juagicre/subscriptions","organizations_url":"https://api.github.com/users/juagicre/orgs","repos_url":"https://api.github.com/users/juagicre/repos","events_url":"https://api.github.com/users/juagicre/events{/privacy}","received_events_url":"https://api.github.com/users/juagicre/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"Benjamin-Dobell","id":482276,"avatar_url":"https://avatars.githubusercontent.com/u/482276?v=3","gravatar_id":"","url":"https://api.github.com/users/Benjamin-Dobell","html_url":"https://github.com/Benjamin-Dobell","followers_url":"https://api.github.com/users/Benjamin-Dobell/followers","following_url":"https://api.github.com/users/Benjamin-Dobell/following{/other_user}","gists_url":"https://api.github.com/users/Benjamin-Dobell/gists{/gist_id}","starred_url":"https://api.github.com/users/Benjamin-Dobell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Benjamin-Dobell/subscriptions","organizations_url":"https://api.github.com/users/Benjamin-Dobell/orgs","repos_url":"https://api.github.com/users/Benjamin-Dobell/repos","events_url":"https://api.github.com/users/Benjamin-Dobell/events{/privacy}","received_events_url":"https://api.github.com/users/Benjamin-Dobell/received_events","type":"User","site_admin":false},"milestone":null,"comments":10,"created_at":"2012-04-05T21:25:11Z","updated_at":"2016-02-14T12:17:21Z","closed_at":"2012-10-02T00:44:13Z","body":"Hi Benjamin!\r\nFirst of all, very good job, and thanks for being multiplatform, really!\r\nI tryed to flash a kernel using heimdall 1.3.2 to a galaxy s i9000 and it worked very well.\r\n\r\nNow i got a galaxy s i9001 Plus, and i got this message whenever I try to print PIT:\r\nInitialising connection...\r\nDetecting device...\r\nClaiming interface...\r\nSetting up interface...\r\nERROR: Setting up interface failed!\r\n\r\nAlso I tryed with the terminal putting this: \r\nheimdall flash --kernel zImage\r\nwith the same output as a result.\r\n\r\nI'm using Mac OS with Lion and I'm not sure what is failing, how can I help you to discover the error/bug or my mistake?\r\n"},"comment":{"url":"https://api.github.com/repos/Benjamin-Dobell/Heimdall/issues/comments/183880883","html_url":"https://github.com/Benjamin-Dobell/Heimdall/issues/34#issuecomment-183880883","issue_url":"https://api.github.com/repos/Benjamin-Dobell/Heimdall/issues/34","id":183880883,"user":{"login":"dash17291","id":1192023,"avatar_url":"https://avatars.githubusercontent.com/u/1192023?v=3","gravatar_id":"","url":"https://api.github.com/users/dash17291","html_url":"https://github.com/dash17291","followers_url":"https://api.github.com/users/dash17291/followers","following_url":"https://api.github.com/users/dash17291/following{/other_user}","gists_url":"https://api.github.com/users/dash17291/gists{/gist_id}","starred_url":"https://api.github.com/users/dash17291/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dash17291/subscriptions","organizations_url":"https://api.github.com/users/dash17291/orgs","repos_url":"https://api.github.com/users/dash17291/repos","events_url":"https://api.github.com/users/dash17291/events{/privacy}","received_events_url":"https://api.github.com/users/dash17291/received_events","type":"User","site_admin":false},"created_at":"2016-02-14T12:17:20Z","updated_at":"2016-02-14T12:17:20Z","body":"```\r\naptitude install git build-essential cmake zlib1g-dev qt5-default libusb-1.0-0-dev libgl1-mesa-glx libgl1-mesa-dev\r\ngit clone git://github.com/Benjamin-Dobell/Heimdall.git\r\nmkdir Heimdall/build\r\ncd Heimdall/build\r\ncmake -DCMAKE_BUILD_TYPE=Release ..\r\nmake\r\ncp bin/* /usr/local/bin\r\ncp ../heimdall/60-heimdall.rules /etc/udev/rules.d/\r\nudevadm control --reload-rules\r\n```\r\n```\r\nroot@debian:~# heimdall detect --verbose --usb-log-level debug\r\n[timestamp] [threadID] facility level [function call] <message>\r\n--------------------------------------------------------------------------------\r\n[ 0.002720] [0000756d] libusb: debug [libusb_get_device_list] \r\n[ 0.002800] [0000756d] libusb: debug [libusb_get_device_descriptor] \r\n[ 0.002815] [0000756d] libusb: debug [libusb_get_device_descriptor] \r\nDevice detected\r\n[ 0.002852] [0000756d] libusb: debug [libusb_exit] \r\n[ 0.002864] [0000756d] libusb: debug [libusb_exit] destroying default context\r\n```\r\n```\r\nroot@debian:~# heimdall print-pit --verbose --no-reboot --usb-log-level debug\r\nHeimdall v1.4.1\r\n\r\nCopyright (c) 2010-2014 Benjamin Dobell, Glass Echidna\r\nhttp://www.glassechidna.com.au/\r\n\r\nThis software is provided free of charge. Copying and redistribution is\r\nencouraged.\r\n\r\nIf you appreciate this software and you would like to support future\r\ndevelopment please consider donating:\r\nhttp://www.glassechidna.com.au/donate/\r\n\r\nInitialising connection...\r\nDetecting device...\r\n[timestamp] [threadID] facility level [function call] <message>\r\n--------------------------------------------------------------------------------\r\n[ 0.002461] [00007574] libusb: debug [libusb_get_device_list]\r\n[ 0.002511] [00007574] libusb: debug [libusb_get_device_descriptor]\r\n[ 0.002522] [00007574] libusb: debug [libusb_get_device_descriptor]\r\n[ 0.002535] [00007574] libusb: debug [libusb_open] open 2.7\r\n[ 0.002567] [00007574] libusb: debug [usbi_add_pollfd] add fd 11 events 4\r\n[ 0.002589] [00007574] libusb: debug [libusb_get_device_descriptor]\r\n[ 0.002604] [00007574] libusb: debug [add_to_flying_list] arm timerfd for timeout in 1000ms (first in line)\r\n[ 0.002636] [00007574] libusb: debug [libusb_handle_events_timeout_completed] doing our own event handling\r\n[ 0.002647] [00007574] libusb: debug [handle_events] poll() 4 fds with timeout in 60000ms\r\n[ 0.006692] [00007574] libusb: debug [handle_events] poll() returned 1\r\n[ 0.006737] [00007574] libusb: debug [reap_for_handle] urb type=2 status=-71 transferred=0\r\n[ 0.006756] [00007574] libusb: debug [handle_control_completion] handling completion status -71\r\n[ 0.006770] [00007574] libusb: debug [handle_control_completion] low-level bus error occurred\r\n[ 0.006784] [00007574] libusb: debug [disarm_timerfd]\r\n[ 0.006806] [00007574] libusb: debug [usbi_handle_transfer_completion] transfer 0x260e0f0 has callback 0x7f6efabea1d0\r\n[ 0.006823] [00007574] libusb: debug [sync_transfer_cb] actual_length=0\r\n[ 0.006858] [00007574] libusb: debug [add_to_flying_list] arm timerfd for timeout in 1000ms (first in line)\r\n[ 0.006890] [00007574] libusb: debug [libusb_handle_events_timeout_completed] doing our own event handling\r\n[ 0.006907] [00007574] libusb: debug [handle_events] poll() 4 fds with timeout in 60000ms\r\n[ 0.010969] [00007574] libusb: debug [handle_events] poll() returned 1\r\n[ 0.011003] [00007574] libusb: debug [reap_for_handle] urb type=2 status=-71 transferred=0\r\n[ 0.011015] [00007574] libusb: debug [handle_control_completion] handling completion status -71\r\n[ 0.011025] [00007574] libusb: debug [handle_control_completion] low-level bus error occurred\r\n[ 0.011037] [00007574] libusb: debug [disarm_timerfd] \r\n[ 0.011052] [00007574] libusb: debug [usbi_handle_transfer_completion] transfer 0x260e0f0 has callback 0x7f6efabea1d0\r\n[ 0.011064] [00007574] libusb: debug [sync_transfer_cb] actual_length=0\r\n\r\n            length: 18\r\n      device class: 2\r\n               S/N: 0\r\n           VID:PID: 04E8:6601\r\n         bcdDevice: 0100\r\n   iMan:iProd:iSer: 1:2:0\r\n          nb confs: 1\r\n[ 0.011137] [00007574] libusb: debug [libusb_get_config_descriptor] index 0\r\n\r\ninterface[0].altsetting[0]: num endpoints = 1\r\n   Class.SubClass.Protocol: 02.02.01\r\n       endpoint[0].address: 82\r\n           max packet size: 0010\r\n          polling interval: 09\r\n\r\ninterface[1].altsetting[0]: num endpoints = 2\r\n   Class.SubClass.Protocol: 0A.00.00\r\n       endpoint[0].address: 81\r\n           max packet size: 0200\r\n          polling interval: 00\r\n       endpoint[1].address: 01\r\n           max packet size: 0200\r\n          polling interval: 00\r\nClaiming interface...\r\n[ 0.011277] [00007574] libusb: debug [libusb_claim_interface] interface 1\r\nSetting up interface...\r\n[ 0.011322] [00007574] libusb: debug [libusb_set_interface_alt_setting] interface 1 altsetting 0\r\n[ 0.015331] [00007574] libusb: error [op_set_interface] setintf failed error -1 errno 71\r\nERROR: Setting up interface failed!\r\nReleasing device interface...\r\n[ 0.015371] [00007574] libusb: debug [libusb_release_interface] interface 1\r\n\r\n[ 0.015404] [00007574] libusb: debug [libusb_close]\r\n[ 0.015420] [00007574] libusb: debug [usbi_remove_pollfd] remove fd 11\r\n[ 0.015436] [00007574] libusb: debug [libusb_exit]\r\n[ 0.015443] [00007574] libusb: debug [libusb_exit] destroying default context\r\n``"}}