If your device gets stuck after flashing a ROM, clearing the cache and Dalvik cache within CWM is the standard first step to fix it.
For many Samsung devices (like the Galaxy Y or Galaxy Ace), you would download a device-specific recovery.tar or .img file and flash it using Odin or via the stock recovery menu. Common Troubleshooting cwm recovery android 2.3.6 download
Creates a complete snapshot of your phone’s current state (system, data, and boot). If a new ROM causes issues, you can restore this backup to return exactly to how your phone was. If your device gets stuck after flashing a
Provides deep cleaning options, including wiping the Dalvik cache , battery stats, and data partitions, which is often necessary before installing a new ROM. If a new ROM causes issues, you can
Select "Flash ClockworkMod Recovery" and choose your device model.