Hi friends.
If you ever jailbroken iPhone running on iOS 5.0.1 then you can install iPhone all from installous.
After installing the iPhoto you see that if you openit, it crashes all the time, now there is a fix available
Open cydia and then find iPhoto501fix
Install it and respring.
Voila. Enjoy iMovie and iPhoto without losing your jailbreak
Enjoy