XDA University: Porting ClockworkMod Recovery to New Devices
Having a good recovery makes the process of modifying, tweaking, maintaining, and backing up your Android device much easier, so that you don’t have to go through the procedures manually. Installing a recovery is probably one of the main activities for a newly rooted phone, along with installing new firmware and a couple of other essential mods. But what happens when your new phone doesn’t have a CWM to install?
The ‘How to Port CWM to New Devices‘ guide at XDA-University thoroughly covers the procedure of doing exactly what you think: porting CWM to new devices. It’s not an entirely simple, requiring a suitable build environment, but fear not, as the guide does do a good job at detailing the steps that you have to go through. Using the source code of CyanogenMod 10 to build CWM 6, the guide breaks down each step of the compilation process accompanied by examples of code and helpful definitions of terms you may never have heard of. Once all done, you will have the resulting recovery.img that you then flash onto your device using Android Debug Bridge (ADB).
The whole process is estimated to take about 15 minutes, but of course, this will change depending on factors such as level of skill and experience.