printf("Found %d devices\n", deviceCount);
for (int deviceIndex = 0; deviceIndex < deviceCount; deviceIndex++)
{
libusb_device_descriptor descriptor;
libusb_get_device_descriptor(devices[deviceIndex], &descriptor);
printf("Examining device %d:%d\n", descriptor.idVendor, descriptor.idProduct);
for (int i = 0; i < BridgeManager::kSupportedDeviceCount; i++)
{
printf("Checking against %d:%d\n", supportedDevices[i].vendorId, supportedDevices[i].productId);
Heimdall, Copyright (c) 2010, Benjamin Dobell, Glass Echidna
# URL REMOVED
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:
#URL REMOVED
Found 8 devices
# 14 IRRELIVANT LINES REMOVED HERE
Examining device 1256:26819
Checking against 1256:26113
Failed to detect compatible device
New Heimdall command line binaries are LINK REMOVED, let me know how you go.
yes i know, i've already used it with success, but it doesn't include the latest source patch (I've checked it against the one I had and it looks identical).
I'd compile it myself but I'm at work
New Heimdall command line binaries are now available, let me know how you go.
Heimdall 1.3.0 on Ubuntu works so well, that I cut successfully brick my SGS2 by trying to flash the wrong firmware Download screen still works and I like Heimdall, but if anyone could provide a Heimdall firmware package file with original Stock firmware, it would be better. With easy to find firmware packages for SGS2, you could easily get back the original state after playing around with different firmware. Is there any registry of heimdall firmware package files for SGS2 and other devices?
ezra:/home/centurion/Documents/Samsung SII/stock # heimdall flash --kernel zImage --verbose
Heimdall v1.3.1, Copyright (c) 2010-2011, Benjamin Dobell, Glass Echidna
//deleted url//
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:
//deleted url//
Initialising connection...
Detecting device...
Product: "Gadget Serial"
Serial No: "?"
length: 18
device class: 2
S/N: 0
VID:PID: 04E8:685D
bcdDevice: 021B
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: 83
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: 02
max packet size: 0200
polling interval: 00
Claiming interface...
Attempt failed. Detaching driver...
Claiming interface again...
Setting up interface...
Checking if protocol is initialised...
Protocol is not initialised.
Initialising protocol...
Handshaking with Loke...
Beginning session...
Session begun with device of type: 131072
Downloading device's PIT file...
PIT file download sucessful
Uploading KERNEL
0%KERNEL upload successful
Ending session...
Rebooting device...
Re-attaching kernel driver...
Sorry guys I don't have a Galaxy S II to develop with so I haven't been able to make the necessary changes to support the Galaxy S II. If anyone has one they want to donate that would be fantastic, but that's probably not all that likely
const DeviceIdentifier BridgeManager::supportedDevices[BridgeManager::kSupportedDeviceCount] = {
DeviceIdentifier(BridgeManager::kVidSamsung, BridgeManager::kPidGalaxySDownloadMode)
const DeviceIdentifier BridgeManager::supportedDevices[BridgeManager::kSupportedDeviceCount] = {
DeviceIdentifier(BridgeManager::kVidSamsung, BridgeManager::kPidGalaxyS2DownloadMode)
kPidGalaxyS2DownloadMode = 0x685D
kPidGalaxySDownloadMode = 0x685D