My s4's gyro sensor stopped working one day. After some research, this is a pretty common issue. I really hope it can be fixed with just software, but I am willing to accept it's a hardware issue. Nothing I've tried works, including flashing to stock and calibration. I'm stuck here, and I'm wondering if there's a way to switch between portrait and landscape using the auto-rotate button in quick settings. on lollipop, by the way. thanks
xda-developers