Thick mud and debris coated many villages around the Philippine capital on Friday after a typhoon killed at least 42 people and caused extensive flooding that sent people fleeing to their roofs, officials said.