i had same issue, although not jail-broken spent hours doing loads of different restores then I disassembled the iPhone so it was disconnected from the battery, reassembled it and oh my god it restored! on the previous failures i checked the log and the recurring fault was error 1004 ramrod error if that helps
I cut two pieces of black insulation tape with a small square hole in, one over each sensor with a little overlap, worked spot on. Next time I'll do this as a matter of course, I fit these a lot and it takes a bit of effort to do it twice! Lesson learnt
LCD cable is easily trapped under lcd on reassembly without due care causing colour differences on snapping into place