Press ESC to close

Connect the phone to a PC in "Download Mode" (usually by holding specific volume and power buttons).