The phone was working normally and all things were good until i wanted to saw a vidéo on YouTube i remarked that the auto rotation of screen was not working i weni t to diagnostic section of my phone i tested all functions the result is that the accelerometer and the gyroscope sensorand also the proximity sensor and the other detector which serve to set luminosity
What i do:
- Turn off/on many times the function of auto rotation
- Reset the phone
- Restart the phone
- Turn it off with safe mode
So tell me guys what's the solution of this problem !! I Will be so sad if it is à hardware problem