I fixed all all problems simply reconnecting the camera module. My explanation of the cause: (1) The camera module was glued to the back of the screen probably because this was too hot, indeed this is the heatsink of the cpu. (2) So when my phone dropped, the camera connector absorbed the hurt disconnecting itself. (3) Then between the cpu and the heatsink an air gap has formed and the cpu easily becames hot . I don’t know why this fix also night mode, perhaps because even the light sensor was disconnected.