Code:
#include
/*
* Your warranty is now void.
*
* I am not responsible for bricked devices, dead SD cards,
* thermonuclear war, or you getting fired because the alarm app failed. Please
* do some research if you have any concerns about features included in this ROM
* before flashing it! YOU are choosing to make these modifications, and if
* you point the finger at me for messing up your device, I will laugh at you.
*/
Downloads:
* Odin-package
* Raw image
* Flashable zip
Installation (Odin):
* Download the CWM Odin package.
* Open Odin:
* Switch your phone off and boot it into Download-mode by pressing <Vol Down>+<Home>+<Power>.
You should see the warning screen:
* Press <Vol Up> to continue and you should see this screen:
* Plug in your USB-cable to your phone. It should be detected by odin:
* Select the CWM file to the AP option:
* Make sure that Auto Reboot and F.Reset Time are selected and Re-Partition is NOT selected.
* Press Start to flash:
* If everything goes as planned, your phone should reboot to recovery and it should say "PASS!":
* Open Odin:

* Switch your phone off and boot it into Download-mode by pressing <Vol Down>+<Home>+<Power>.
You should see the warning screen:

* Press <Vol Up> to continue and you should see this screen:

* Plug in your USB-cable to your phone. It should be detected by odin:

* Select the CWM file to the AP option:


* Make sure that Auto Reboot and F.Reset Time are selected and Re-Partition is NOT selected.

* Press Start to flash:


* If everything goes as planned, your phone should reboot to recovery and it should say "PASS!":

Installation (Existing custom recovery):
* Download the .zip file and copy it to your SD-card
* Reboot your phone to recovery
* Flash the .zip
Installation (Rooted phone)
* Download the raw image to the root of your SD-card.
* Open command prompt/terminal and type "adb shell" (or use a terminal emulator on your phone)
* Type in these commands: (Note: these commands are case sensitive)
Code:
su
dd if=/storage/extSdCard/recovery.img of=/dev/block/platform/sdhci.1/by-name/RECOVERY
reboot recovery

Changelog:
Code:
21/December/2015:
* Added an empty cache image to the Odin-package that could fix some failed flashes.
I have never had a failed flash, so I can't confirm.
Also erasing the cache is recommended anyway when flashing a new recovery, so this will take care of that too.
29/August/2015:
* Fixed ADB access.
* Fixed a typo.
29/December/2014:
* Initial release
If you find any bugs, please report them to this thread.
Sources:
* Device tree
* Kernel
Last edited: