Hildreth and Compton stayed together to add 76 for the fourth wicket before Hildreth became Kaneria's second victim when he hit the ball straight to cover.
Nine were needed from the final over and Sammy smashed the second ball to the cover boundary and flicked the next through mid-wicket for three to allow an enthralling game to be won with two singles.
Dinesh Karthik steered his second ball to extra-cover to give Stuart Broad a wicket but Dravid responded stylishly to the mini-crisis, cracking three boundaries in an over from Broad as he got to 50 off 51 balls.