To begin with it's always best to test your original consoles sound works. It isn't always required, as you have have a dead speaker, but if your console works first its a good sign.
Open up the Game Boy Advance using a Triwing and a Philips screwdriver where needed. Unscrew the screw from the battery cover and remove the cover and battery. Remove the 6 visible screws from around the console perimeter and lift off the back cover. Finally remove the 3 screws from the the motherboard (one in center, and two below the cartridge connector) and lift up the motherboard gently from the bottom side tilting up as the screen is still attached.
Before lifting out the console, push the tabs on either side of the ribbon connector at the top towards the top of the shell. This releases the pressure on the ribbon cable and you can pull out the cable, leaving the screen in the front shell. Now remove the circuit board from the shell.
Remove the old speaker from the front shell by lifting it out.
Use double sided tape (optional) to secure the CleanAmp onto the main circuit board as shown. Position is important to make sure the speaker and shell do not hit the CleanAmp preventing the shell closing.
Trim the shell here to prevent the shell from hitting the CleanAmp.
Use cutters or a knife blade to trim/peel off the plastic rim from around the speaker lip. This reduces the speaker depth so it does not press on the shell when closed.
Take some Kynar/wrapping wire (30awg or 28awg gauge wire - the thin stuff), cut it to length and solder the wires from the points on the Game Boy Advance SP to the pads on the CleanAmp as shown.
Be careful when soldering the CleanAmp pads that you do not short the pads together or remove the resistors or capacitors near the pads.
Solder the two wires on the left of the CleanAmp to the outer 2 pads of the speaker. Polarity doesn't matter, you can solder either wire to either side.
If you have a motherboard that looks different, you need to solder the wires slightly different like shown here. Notice the extra wire needed to be soldered to the bottom of the small resistor on the CleanAmp.
The top left wire is ground, going to the left shield pin of the extension connector.
The next wire from the left is the audio input. This is the unamplified, volume controlled sound from the console. This is connected to the left original speaker wire pad.
The next wire along is power in from the Game Boy Advance. Connect this to pin 1 of the extension connector. This should be around 5 volts.
The right wire is the headphone pin that should be grounded when no headphones are present and floating when headphones are inserted. It is connected to the test point below Q11 to the left of the console. If you have no audio the first check is to solder the right wire to the same pad as ground wire (shield pin of extension connector). If that makes the audio work, but when its connected to the correct location it doesn't, you have a damaged headphone jack. You can leave the wire where the ground wire is soldered, but your speaker won't turn off if you insert headphones.