Pakistan 181 for 0 (Imam-ul-Haq 90*, Shafique 89*) trail England 657 (Brook 153, Crawley 122, Pope 108, Duckett 107, Mahmood 4-235) by 476 runs
Rawalpindi: England's record-breakers were shown just how hard it will be to win the first Test as Pakistan dug in on day two in Rawalpindi.
After racking up an astonishing 506-4 on day one, England pushed to 657 all out, their highest total against Pakistan and in a Test in Asia.
Harry Brook eventually fell for 153, at one stage taking an over from Zahid Mahmood for 27, also an England Test record.
On top of that, the 398 runs added in boundary fours and sixes was the most England have ever scored in a Test innings.
However, for as much as England's batters enjoyed the flattest of pitches, their bowlers were repelled by Pakistan openers determined to make the most of the conditions.
Abdullah Shafique and Imam-ul-Haq took the home side to 181-0, still a massive 476 behind.
Imam, unbeaten on 90, was dropped on 11, while Shafique was lucky not to be caught down the leg side off James Anderson on his way to 89 not out.
A back-breaking weekend for England lies ahead.
After the pyrotechnics of the first four sessions of this match, the majority of day two was played at the traditional pace of Test cricket.
England will have been well aware just how good the pitch is for batting, but their time in the field showed the effort needed to take 20 wickets required for victory.
Ben Stokes' side tried everything, including a spell of bouncers from the captain himself. They may rue not selecting the pace of Jamie Overton ahead of spin-bowling all-rounders Will Jacks and Liam Livingstone - Livingstone jarred his knee in the field and did not bowl.
In the tourists' favour is how quickly they scored their runs - there is plenty of time to force victory. Even if Pakistan bat all day on Saturday, they will still be some distance behind.
The Pakistan revival gave life to the home fans on a day when lunch was extended for Friday prayers. Not only was every run cheered with enthusiasm, but there were also chants of "welcome England" in their first Test in the country for 17 years.
Those chants gave way to "Pakistan will win". Unlikely, but the benign conditions mean saving the match is not out of the question.
Whereas England bristled with intent, Shafique and Imam settled for discipline and patience, punctuated by the occasional show of aggression.
Shafique, 23, is an outstanding prospect, averaging 67 in seven previous Tests. He played beautiful cover drives, while the left-handed Imam was happier to muscle the ball through the leg side.
Both needed moments of fortune, which could prove to be crucial.
Imam's faint edge off spinner Jack Leach was put down by Ollie Pope, standing in behind the stumps after regular keeper Ben Foakes was ruled out through illness.
Pope did well to gather a Shafique glove down the leg side off Anderson, but replays showed the ball to have bounced, then in the next over Shafique firmly turned Leach into the stomach of short-leg sub fielder Keaton Jennings, who had little chance of clinging on.
Both accelerated late in the day as England began to tire. With the light fading and the moon rising, the tourists would have been pleased for the chance to get off the field and regroup.