Hey after instaling miui 12 and reverting to miui 11 (20.1.16) i had a problem with autorotate in yt browser and etc. I checked all linked with this option in phone and nothing helped. Some have similar situation ? Btw i checked magnetic sensor and its not working