Galaxy S2 i9100, Heimdall not working properly
I'm running Debian GNU/Linux with all prerequisites done and this is a used device I just bought online. Whenever I run the heimdall flash, I get this:
heimdall flash --kernel recovery.img
Copyright (c) 2010-2014 Benjamin Dobell, Glass Echidna
This software is provided free of charge. Copying and redistribution is
If you appreciate this software and you would like to support future
development please consider donating:
ERROR: Failed to detect compatible download-mode device.
I had exactly the same error with the same heimdall version on an Arch based OS.
I temporarily installed Linux Mint (https://www.linuxmint.com/download.php) on an my second computer an it worked great (with the same i9100 and the same data cable).
I've found that the CM project also recommends to use the previous version:
https://wiki.cyanogenmod.org/w/Install_CM_for_i9100 (in the "Note: Flashing with heimdall" section),
and/or compile it yourself: https://wiki.cyanogenmod.org/w/Install_and_compile_Heimdall
Just give it a try...