[Galaxy S I9000 Android Development] chrisfu:
Hi Ben,

I'm getting the "failed to detect compatible device" error when trying to flash a new kernel to my SGS2. Running the newer 1.2.0 (heimdall binary and libusb library in the correct, new locations) on MacOS 10.6 on fully up to date system. This is the first time I've used Heimdall on a Mac, as I usually use it on my home Ubuntu machine rather than my office Mac.

$ file /usr/lib/libusb-1.0.0.dylib

/usr/lib/libusb-1.0.0.dylib: Mach-O universal binary with 3 architectures

/usr/lib/libusb-1.0.0.dylib (for architecture i386):	Mach-O dynamically linked shared library i386

/usr/lib/libusb-1.0.0.dylib (for architecture ppc7400):	Mach-O dynamically linked shared library ppc

/usr/lib/libusb-1.0.0.dylib (for architecture x86_64):	Mach-O 64-bit dynamically linked shared library x86_64

$ stat /usr/lib/libusb-1.0.0.dylib

234881026 24465219 -rwxr-xr-x 1 root wheel 0 219264 "Jun 3 12:33:47 2011" "Jun 3 04:03:50 2011" "Jun 3 09:09:49 2011" "Jun 3 04:03:50 2011" 4096 432 0 /usr/lib/libusb-1.0.0.dylib

I rebooted after the program was set up. With the phone plugged in and showing Odin mode, the loaded kernel extensions are:

$ /usr/sbin/kextstat

Index Refs Address Size Wired Name (Version) <Linked Against>

1 74 0 0 0 com.apple.kpi.bsd (10.7.0)

2 4 0 0 0 com.apple.kpi.dsep (10.7.0)

3 99 0 0 0 com.apple.kpi.iokit (10.7.0)

4 105 0 0 0 com.apple.kpi.libkern (10.7.0)

5 88 0 0 0 com.apple.kpi.mach (10.7.0)

6 29 0 0 0 com.apple.kpi.private (10.7.0)

7 48 0 0 0 com.apple.kpi.unsupported (10.7.0)

8 0 0 0 0 com.apple.kernel.6.0 (7.9.9)

9 0 0 0 0 com.apple.kernel.bsd (7.9.9)

10 0 0 0 0 com.apple.kernel.iokit (7.9.9)

11 0 0 0 0 com.apple.kernel.libkern (7.9.9)

12 0 0 0 0 com.apple.kernel.mach (7.9.9)

13 15 0x7a82a000 0x4000 0x3000 com.apple.iokit.IOACPIFamily (1.3.0) <7 6 4 3>

14 24 0x7aa26000 0x11000 0x10000 com.apple.iokit.IOPCIFamily (2.6) <7 5 4 3>

15 2 0x7aac7000 0x42000 0x41000 com.apple.driver.AppleACPIPlatform (1.3.5) <14 13 7 6 5 4 3>

16 0 0x7ab25000 0x1e000 0x1d000 com.apple.driver.AppleIntelCPUPowerManagement (105.13.0) <7 6 5 4 3 1>

17 11 0x7aa97000 0x18000 0x17000 com.apple.iokit.IOStorageFamily (1.6.2) <7 6 5 4 3 1>

18 0 0x7aaaf000 0x11000 0x10000 com.apple.driver.DiskImages (289) <17 7 6 5 4 3 1>

19 0 0x7abf7000 0x8000 0x7000 com.apple.nke.applicationfirewall (2.1.11) <7 6 5 4 3 1>

20 2 0x7cc13000 0x3000 0x2000 com.apple.kext.AppleMatch (1.0.0d1) <4 1>

21 0 0x7cc1c000 0x5000 0x4000 com.apple.security.quarantine (0) <20 7 6 5 4 2 1>

22 0 0x7cc2c000 0x8000 0x7000 com.apple.security.sandbox (1) <20 7 6 5 4 2 1>

23 0 0x7cc19000 0x3000 0x2000 com.apple.security.TMSafetyNet (6) <7 6 5 4 2 1>

24 0 0x7cc16000 0x3000 0x2000 com.apple.driver.AppleIntelCPUPowerManagementClient (105.13.0) <7 6 5 4 3 1>

25 0 0x7cc29000 0x3000 0x2000 com.apple.driver.AppleAPIC (1.4) <4 3>

26 2 0x817b5000 0x3000 0x2000 com.apple.iokit.IOSMBusFamily (1.1) <5 4 3>

27 0 0x7cc21000 0x6000 0x5000 com.apple.driver.AppleACPIEC (1.3.5) <26 15 13 5 4 3>

28 0 0x817c8000 0x4000 0x3000 com.apple.driver.AppleSMBIOS (1.6) <7 4 3>

29 0 0x817c5000 0x3000 0x2000 com.apple.driver.AppleHPET (1.5) <13 7 5 4 3>

30 0 0x81892000 0x6000 0x5000 com.apple.driver.AppleRTC (1.3.1) <13 5 4 3 1>

31 9 0x81931000 0x3c000 0x3b000 com.apple.iokit.IOHIDFamily (1.6.5) <7 6 5 4 3 1>

32 0 0x7aa90000 0x4000 0x3000 com.apple.driver.AppleACPIButtons (1.3.5) <31 15 13 7 6 5 4 3 1>

33 1 0x7aa8d000 0x3000 0x2000 com.apple.driver.AppleEFIRuntime (1.4.0) <7 6 5 4 3>

34 3 0x7aa85000 0x6000 0x5000 com.apple.iokit.IOAHCIFamily (2.0.4) <5 4 3 1>

35 0 0x818f3000 0x14000 0x13000 com.apple.driver.AppleAHCIPort (2.1.5) <34 14 5 4 3 1>

36 12 0x81b04000 0x34000 0x33000 com.apple.iokit.IOUSBFamily (4.1.8) <14 7 5 4 3 1>

38 0 0x8188a000 0x6000 0x5000 com.apple.driver.AppleEFINVRAM (1.4.0) <33 7 5 4 3>

39 0 0x81acb000 0x16000 0x15000 com.apple.driver.AppleUSBEHCI (4.1.8) <36 14 7 5 4 3 1>

40 2 0x81bf5000 0x43000 0x42000 com.apple.iokit.IOFireWireFamily (4.2.6) <5 4 3 1>

41 0 0x81aa1000 0x27000 0x26000 com.apple.driver.AppleFWOHCI (4.7.1) <40 14 7 6 5 4 3 1>

42 1 0x81785000 0x2000 0x1000 com.apple.iokit.IOUSBUserClient (4.1.5) <36 7 5 4 3 1>

43 0 0x81aed000 0x12000 0x11000 com.apple.driver.AppleUSBHub (4.1.7) <36 5 4 3 1>

44 0 0x81d06000 0x13000 0x12000 com.apple.iokit.IOAHCIBlockStorage (1.6.3) <34 17 5 4 3 1>

45 6 0x81d66000 0x1a000 0x19000 com.apple.iokit.IOSCSIArchitectureModelFamily (2.6.5) <5 4 3 1>

46 0 0x81d2d000 0x9000 0x8000 com.apple.iokit.IOAHCISerialATAPI (1.2.5) <45 34 5 4 3 1>

48 0 0x81d4b000 0x6000 0x5000 com.apple.AppleFSCompression.AppleFSCompressionTypeZlib (1.0.0d1) <6 4 3 2 1>

49 0 0x81d48000 0x3000 0x2000 com.apple.driver.XsanFilter (402.1) <17 5 4 3 1>

50 0 0x81d3f000 0x5000 0x4000 com.apple.BootCache (31) <7 6 5 4 3 1>

51 3 0x81dc4000 0x8000 0x7000 com.apple.iokit.IOCDStorageFamily (1.6) <17 5 4 3 1>

52 2 0x81ddc000 0x6000 0x5000 com.apple.iokit.IODVDStorageFamily (1.6) <51 17 5 4 3 1>

53 1 0x81df1000 0x5000 0x4000 com.apple.iokit.IOBDStorageFamily (1.6) <52 51 17 5 4 3 1>

54 0 0x81e47000 0x18000 0x17000 com.apple.iokit.IOSCSIMultimediaCommandsDevice (2.6.5) <53 52 51 45 17 5 4 3 1>

56 0 0x81db6000 0x7000 0x6000 com.apple.iokit.SCSITaskUserClient (2.6.5) <45 17 5 4 3 1>

57 1 0x81d44000 0x4000 0x3000 com.apple.driver.AppleUSBComposite (3.9.0) <36 4 3 1>

58 0 0x81d9b000 0x4000 0x3000 com.apple.driver.AppleUSBMergeNub (4.1.8) <57 36 4 3 1>

59 2 0x81ead000 0x6000 0x5000 com.apple.iokit.IOUSBHIDDriver (4.1.5) <36 31 5 4 3 1>

60 0 0x81ea2000 0x5000 0x4000 com.apple.driver.AppleIRController (303.8) <59 36 31 5 4 3>

61 1 0x81eeb000 0x18000 0x17000 com.apple.iokit.IOSCSIBlockCommandsDevice (2.6.5) <45 17 5 4 3 1>

62 1 0x81e95000 0xb000 0xa000 com.apple.iokit.IOUSBMassStorageClass (2.6.5) <45 36 17 5 4 3 1>

63 0 0x81e18000 0x4000 0x3000 com.apple.driver.AppleUSBCardReader (2.5.8) <62 61 45 36 17 5 4 3 1>

64 4 0x81f92000 0x3d000 0x3c000 com.apple.iokit.IOBluetoothFamily (2.4.0f1) <7 5 4 3 1>

65 1 0x81f18000 0xb000 0xa000 com.apple.driver.AppleUSBBluetoothHCIController (2.4.0f1) <64 36 7 5 4 3>

66 0 0x81ecf000 0x6000 0x5000 com.apple.driver.BroadcomUSBBluetoothHCIController (2.4.0f1) <65 64 36 5 4 3>

67 1 0x81e0e000 0x2000 0x1000 com.apple.driver.AppleHIDKeyboard (141) <31 4 3>

68 0 0x81e1c000 0x2000 0x1000 com.apple.driver.AppleUSBHIDKeyboard (141) <67 59 31 4 3>

69 12 0x81f6d000 0x22000 0x21000 com.apple.iokit.IOGraphicsFamily (2.2) <14 7 5 4 3>

70 4 0x82175000 0xd000 0xc000 com.apple.iokit.IONDRVSupport (2.2) <69 14 7 5 4 3>

71 0 0x81f51000 0x4000 0x3000 com.apple.driver.AppleBacklight (170.0.34) <70 69 14 5 4 3>

72 0 0x81f8f000 0x3000 0x2000 com.apple.driver.AppleLPC (1.4.12) <14 5 4 3>

73 0 0x81e7d000 0x2000 0x1000 com.apple.driver.AppleSMBusPCI (1.0.8d0) <14 5 4 3>

74 1 0x82161000 0xb000 0xa000 com.apple.driver.IOPlatformPluginFamily (4.5.0d5) <6 5 4 3>

75 2 0x82198000 0xa000 0x9000 com.apple.driver.AppleSMC (3.1.0d3) <13 7 5 4 3>

76 0 0x821df000 0x10000 0xf000 com.apple.driver.ACPI_SMC_PlatformPlugin (4.5.0d5) <75 74 14 13 7 6 5 4 3>

77 4 0x82112000 0x17000 0x16000 com.apple.iokit.IONetworkingFamily (1.10) <7 6 5 4 3 1>

78 1 0x82370000 0x24000 0x23000 com.apple.iokit.IO80211Family (314.1.1) <77 7 6 5 4 3 1>

79 0 0x824d2000 0xcc000 0xcb000 com.apple.driver.AirPort.Atheros21 (424.14.5) <78 77 14 7 5 4 3 1>

80 2 0x7aa18000 0x7000 0x6000 com.apple.iokit.IOHDAFamily (1.9.9f12) <5 4 3 1>

81 1 0x82271000 0x18000 0x17000 com.apple.driver.AppleHDAController (1.9.9f12) <80 69 14 5 4 3 1>

82 7 0x82238000 0x2b000 0x2a000 com.apple.iokit.AppleProfileFamily (61) <14 7 6 5 4 3 1>

84 0 0x82263000 0x9000 0x8000 com.apple.iokit.IOFireWireIP (2.0.3) <77 40 5 4 3 1>

85 0 0x823c7000 0x37000 0x36000 com.apple.iokit.AppleBCM5701Ethernet (2.3.9b6) <77 14 13 5 4 3 1>

86 2 0x8231d000 0x32000 0x31000 com.apple.kext.ATISupport (6.2.6) <69 14 13 7 5 4 3 1>

87 0 0x827ef000 0xa0000 0x9f000 com.apple.kext.ATI5000Controller (6.2.6) <86 69 14 13 5 4 3 1>

89 1 0x81dab000 0x9000 0x8000 com.apple.driver.AppleSMBusController (1.0.8d0) <26 14 13 5 4 3>

90 2 0x8249c000 0x4000 0x3000 com.apple.kext.OSvKernDSPLib (1.3) <5 4>

91 4 0x826bb000 0x18000 0x17000 com.apple.iokit.IOAudioFamily (1.8.0fc1) <90 5 4 3 1>

92 1 0x82aa0000 0x80000 0x7f000 com.apple.driver.DspFuncLib (1.9.9f12) <91 90 5 4 3 1>

93 0 0x82c34000 0xc1000 0xc0000 com.apple.driver.AppleHDA (1.9.9f12) <92 91 81 80 70 69 5 4 3 1>

94 0 0x7aa12000 0x4000 0x3000 com.apple.driver.AudioIPCDriver (1.1.6) <91 5 4 3 1>

95 0 0x81925000 0x7000 0x6000 com.apple.driver.AppleIntelNehalemProfile (19) <82 6 4 3>

96 0 0x832a4000 0x20d000 0x20c000 com.apple.ATIRadeonX3000 (6.2.6) <70 69 14 7 6 5 4 3 1>

97 0 0x82b20000 0x26000 0x25000 com.apple.driver.AppleMikeyDriver (1.9.9f12) <89 13 5 4 3 1>

99 0 0x822c3000 0x6000 0x5000 com.apple.Dont_Steal_Mac_OS_X (7.0.0) <75 7 4 3 1>

101 0 0x827a1000 0x13000 0x12000 com.apple.kext.ATIFramebuffer (6.2.6) <86 69 14 13 7 5 4 3 1>

102 0 0x8190b000 0x3000 0x2000 com.apple.driver.AppleMikeyHIDDriver (1.2.0) <31 7 4 3 1>

104 1 0x82460000 0x9000 0x8000 com.apple.iokit.IOSerialFamily (10.0.3) <7 6 5 4 3 1>

105 0 0x825aa000 0x9000 0x8000 com.apple.iokit.IOBluetoothSerialManager (2.4.0f1) <104 7 5 4 3 1>

107 0 0x7a6f7000 0x7000 0x6000 com.apple.driver.AppleMCCSControl (1.0.17) <69 14 7 5 4 3 1>

108 1 0x7a6e5000 0x9000 0x8000 com.apple.driver.AppleMultitouchDriver (207.10) <31 7 6 5 4 3 1>

109 1 0x82471000 0xd000 0xc000 com.apple.driver.IOBluetoothHIDDriver (2.4.0f1) <64 31 4 3>

110 0 0x7aa05000 0xa000 0x9000 com.apple.driver.AppleBluetoothMultitouch (54) <109 108 64 31 5 4 3>

111 0 0x7a73f000 0xb000 0xa000 com.apple.iokit.IOSurface (74.2) <7 5 4 3 1>

112 0 0x7a6d0000 0x5000 0x4000 com.apple.driver.AppleUpstreamUserClient (3.5.4) <69 14 13 7 5 4 3 1>

113 0 0x7a6e1000 0x4000 0x3000 com.apple.driver.AppleProfileCallstackAction (69) <82 6 5 4 3 1>

114 0 0x7a74a000 0x5000 0x4000 com.apple.driver.AudioAUUC (1.54) <91 69 14 13 7 5 4 3 1>

116 0 0x828bf000 0xb000 0xa000 com.apple.driver.AGPM (100.12.19) <70 69 14 5 4 3>

118 0 0x82495000 0x5000 0x4000 com.apple.driver.AppleHWSensor (1.9.3d0) <5 4 3>

119 0 0x7a6dd000 0x3000 0x2000 com.apple.driver.AppleProfileKEventAction (67) <82 4 3 1>

120 0 0x7a6f4000 0x3000 0x2000 com.apple.driver.AppleProfileRegisterStateAction (67) <82 4 3 1>

121 0 0x7aa0f000 0x3000 0x2000 com.apple.driver.AppleProfileThreadInfoAction (67) <82 6 4 3 1>

122 0 0x82105000 0x3000 0x2000 com.apple.driver.AppleProfileTimestampAction (67) <82 5 4 3 1>

123 0 0x821b9000 0x3000 0x2000 com.apple.driver.AppleProfileReadCounterAction (67) <82 6 4 3>

124 0 0x82a65000 0xa000 0x9000 com.apple.filesystems.autofs (2.1.0) <7 6 5 4 3 1>

128 3 0x95f8e000 0x29000 0x28000 org.virtualbox.kext.VBoxDrv (4.0.8) <7 5 4 3 1>

129 0 0x826b1000 0x7000 0x6000 org.virtualbox.kext.VBoxUSB (4.0.8) <128 42 36 7 5 4 3 1>

130 0 0x8234f000 0x4000 0x3000 org.virtualbox.kext.VBoxNetFlt (4.0.8) <128 7 5 4 3 1>

133 0 0x82c12000 0x3000 0x2000 org.virtualbox.kext.VBoxNetAdp (4.0.8) <128 5 4 1>

I installed VirtualBox after I first got this error, so I know that's got nothing to do with it. :)