Caution
1. Cut away the old sealant using a razor so that 1-2 mm {0.04-0.07 in}
thickness of sealant remains around the circumference of the frame.
Warning
2. If the sealant has come off completely in any one place, apply some primer after degreasing, and allow it approximately 30 minutes
to dry. Then put on new sealant to create a 2 mm {0.08 in}
layer.
3. Clean and degrease an approximately 50.0 mm {1.97 in}
wide strip around the circumference of the glass and the bonding area on the body.
4. Install the molding as shown in the figure.

5. Use only glass primer on the glass, and body primer on the body and the molding. Allow it to dry for approximately 30 minutes.
Caution

6. Apply urethane to the area of the glass surface as shown in the figure.

7. Set the position of the front windshield glass and insert a pin into the body. Install the glass.

8. Verify that the gap of the upper part is 7.3 mm {0.29 in}
and the A pillar part is 6.8 mm {0.27 in}.
(Only for 4SD)

9. Keeping the measurement of the molding lip gap within specification, press completely along the perimeter of the glass.

10. For the 4SD, install the following parts:
(1) Install the headliner.
(2) Install the rear package trim.
11. For the 5HB, install the following points.
(1) Install the rear wiper motor.
(2) Install the liftgate lower trim.
12. Allow the sealant to harden completely.
Sealant hardening time: 24 hours
Rear window glass removal
Sliding sunroofMazda 6 Service Manual: Electrical parts
Battery cable
Before disconnecting connectors or removing electrical parts, disconnect
the negative battery cable.
Wiring Harness
To remove the wiring harness from the clip in the
engine room, pry up the hook of the clip using a
flathead screwdriver.
...
Mazda 6 Service Manual: Antilock Brake System (ABS)
The ABS control unit continuously monitors the speed of each wheel. If one wheel
is about to lock up, the ABS responds by automatically releasing and reapplying
that wheel's brake.
The driver will feel a slight vibration in the brake pedal and may hear a chattering
noise from the brake system ...