Use a plastic opening tool to lift the speaker enclosure assembly out of the case, being sure not to damage the EMI fingers on the attached Wi-Fi antenna.
Remove the speaker enclosure assembly.
Before reinstalling the speaker enclosure assembly's screws, be sure the Wi-Fi grounding fingers are installed below the lip in the iPhone's metal case as seen in the third picture.
Before reassembly, be sure to clean all metal-to-metal contact points between the grounding fingers of the Wi-Fi antenna and the case of the iPhone with a de-greaser such as windex or isopropyl alcohol. The oils on your fingers have the potential to cause wireless interference issues.