New in "ver2":
- Support for newer CM11 zips
- Off-mode charging fixed (recovery is no longer usable behind it)
- Images resized to better fit the small screen (and save a bit of space)
CWM v220.127.116.11 with off-mode charging
Alternate mirror: https://www.mediafire.com/?ao1688h7gtta881
CWM v18.104.22.168 without off-mode charging (boots into recovery when plugged in - useful for broken power buttons)
Alternate mirror: https://www.mediafire.com/?on2rstc0nvq7xo6
Install with your current recovery (most should work).
Or, you can extract recovery.img from the zip and flash it with fastboot.
I won't be going over basic building stuff, but because our newer kernel used on ICS & up is too big it makes it a little more difficult to build, so I'll explain that.
With all of the source from my manifest (https://github.com/WinSuk/android/tree/jellybean), build the recovery normally (make recoveryimage).
Then, copy the last command it runs before finishing, but replace the kernel with recovery_kernel in device/htc/liberty/prebuilt
Something like this:
out/host/linux-x86/bin/mkbootimg --kernel device/htc/liberty/prebuilt/recovery_kernel --ramdisk out/target/product/liberty/ramdisk-recovery.img --cmdline "no_console_suspend=1 console=null" --base 0x12c00000 --output out/target/product/liberty/recovery.img
To disable offmode charging, open device/htc/msm7x27-recovery/BoardConfigCommon.mk with a text editor, and uncomment (remove #) the following line:
#BOARD_RECOVERY_OFFMODE_CHARGING := false
Compiled with cyanogen_msm7227_recov_defconfig and arm-eabi-4.4.0