If your phone is taking upside down photos and video your accelerometer and gyroscope sensors have stopped working (crashed). Without them working your camera doesn't know what position to be in. There is a temp fix: removing the battery from your phone. Restarting your phone doesn't work. You...