Solved auto Rotation problem of S2 (I9100)
This may be a old solution. But for few days I was very worried with my phone's auto rotation problem.
My phone go into landscape and doesnt come back to potrait mode. In games of gyro it just started behaving wierd. So I started crawling various forums for the solution and many people still dont have the solution.
So here it is.
If your phones rotation is working partly then it may not have a hardware problem it just not calibrated properly.
And that calibration can only be done in gingerbread which I realised after solving my problem.
So I have flashed neat rom 2.3.5 with full wipe(data+caches+system+preload)which u will get in sticky thread.
Thanks a lot sale for the rom.
After flashing go to settings then display then horizontal calibration.
Place your S2 on a flat surface and tap on calibrate.
And magic is done now you can see your rotation and gyro problems are gone.
Now you can flash any JB rom with full wipe.
You will not face those problems again.
If you are still facing than dont bang your head to the wall just take it to the service center.
Sent from my GT-I9100 using xda app-developers app