Select Samsung USB Composite Device or MSM8圆0 or Gadget Serial or Device Name from the drop down menu.
Choose Options » List All Devices from the menu.
Run zadig.exe from the Drivers folder of the Heimdall Suite.
Windows (only) driver installation – Skip this step if you are using Linux or Mac A more complete set of the following instructions can be found in the Zadig User Guide.
Then, insert the USB cable into the device. Volume Down, Home & Power Accept the disclaimer on the device.
Boot the Galaxy S II into download mode.
Power off the Galaxy S II and connect the USB adapter to the computer but not to the Galaxy S II, yet.
For general info about recoveries click here.
Download recovery - you can directly download a recovery image using the link below, or visit TWRP site to check for the latest version of recovery for your device (if your device can be found there).
You can also refer to the Install and compile Heimdall instructions on this wiki. For more details about how to compile the Heimdall Suite, please refer to the README file on Github under the relevant operating system directory.
Building from source: The source code for the Heimdall Suite is available on Github.
After installation, heimdall should be available from the terminal type heimdall version to verify installation succeeded. The -frontend packages are not required for this guide.
Linux: Pick the appropriate installation package based on your distribution.
If you receive an error, be sure that you have the Microsoft Visual C++ 2012 Redistributable Package (x86/32bit) installed on your computer. You can verify Heimdall is working by opening a command prompt in this directory and typing heimdall version.
Windows: Extract the Heimdall suite and take note of the directory holding heimdall.exe.
Download and install the Heimdall Suite.
Rooting the stock firmware is neither recommended nor necessary. The preferred method of installing a custom recovery is through this boot mode. Heimdall is a cross-platform, open source tool for interfacing with Download Mode on Samsung devices. Samsung devices come with a unique boot mode called Download Mode which is very similar to Fastboot Mode on some devices with unlocked bootloaders. The newest CM11 Gapps package (20140606) is too big for the /system partition of i9100.