Unhappy Screen rotation malfunction on KitKat 4.4.2

Hi all,

after the upgrade to KitKat 4.4.2 I'm having some problem such as application root permission loss (AdAware) and, the most boring, screen rotation malfunction.

Some weeks ago, it started blocking the screen in portrait and the accelerometer stop working. It was possible to rotate to landscape the screen only with specific screen rotation apps or via games that set the rotation by their self. Any reboot didn't solve the issue but "magically" every malfunction disappeared after some days of sickness ! LOL

Some days ago the problem back on my Nexus but with some variations. I turn on the tablet and the screen keep in portrait and after some minutes it turn to landscape automatically. No way to restore it to portrait except with a reboot, any other third part application can only turn the screen to reverse portrait or landscape or reverse landscape!

Any ideas about this pain in the back?

Nokia 6630 → QTEK 9090 → HTC Touch Diamond → HTC Touch HD → LG E900 Optimus 7 → Nokia Lumia 1020
ASUS Nexus 7 (rooted)