[Q] Upside down screen rotation problem

view story

http://forum.xda-developers.com – I'm sorry if there already is post about this problem, but i couldn't find anything useful so i decided to ask for myself. The other day i bought a second hand i9505, the problem is that the screen rotates upside down. When i start any app and turn the phone sideways the screen rotates exactly 180 degrees from what it's supposed to be, which is very annoying when watching a youtube clip or taking a photo. The phone was on stock 4.4, at first i thought it was a callibration problem so i installed a stock 4.2.2, but no luck. Then i installed slimrom but still no go, tried different kernels (lik (HowTos)