Corrosion is the slow damage left after water. It often explains strange faults.
What it looks like:
1. White or grey powder around parts.
2. Green or blue crust on connectors and metal shields.
3. Black or brown marks where parts have burned.
4. Dull, discoloured solder joints.
Where to look first:
1. Battery connector and its filters.
2. Charging port and charging circuit.
3. Screen and camera connectors.
4. Around the SIM reader.
Also check the water damage indicator stickers inside the phone (they turn red or pink when wet). Corrosion explains no power, no charging, no touch and random restarts, so look for it before replacing expensive parts.