Chosen Solution

I changed the screen very carefully. After 2 days my rear camera is giving me a black screen and the flashlight is not working anymore. Do you have any ideas?

The flashlight will not work if the camera is not working so you need to focus on repairing the camera issue. Despite your care and caution, you may have accidentally damaged something when you replaced your screen. Use this guide to double check your work. Focus on the condition of the connectors and flexes. Even the slightest damage can cause issues. Use magnification to get a truly close look. Also look at the components surrounding the connectors, sometimes they can get partially or fully dislodged from the board.