I have been having this screen rotation problem for probably 2 years and have even sent my Tab S2 back to Samsung (while under warranty) back in 2016, which obviously did nothing for the long term. I do notice that when my screen stops rotating and I reboot, the option for Auto screen brightness has been replaced with the Outdoors checkbox. Anyone else experience this? Well, I could always shut down then boot into recovery mode then wipe the partition cache and it would be fixed. I have tried doing this today about 4-5 times with no fix. Has anyone heard anything on this? Does anyone have any ideas?