My Nexus 5 doesn't detect my SIM-card and it doesn't auto-rotate the screen.
I have flashed stock rom many times and I don't know what else I should do.
Did you tried putting another SIM card and is auto-rotate enabled in setting > display ?
Where are you trying to rotate the screen?
In settings and in chrome
Try using some sort of sensor tester app to see if it's actually working
XDA Developers was founded by developers, for developers. It is now a valuable resource for people who want to make the most of their mobile devices, from customizing the look and feel to adding new functionality.
Are you a developer?
Copyright © xda-developers. Hosted by Leaseweb