All hope looked lost for England before day two of their second Test against South Africa on Saturday.