Question [Q] help..... about auto rotation not working

hello friends
i was using stock(GB) rom from long time
n now i rooted with cf root
everything was fine
but when i flashed avatar rom
the problem started
my auto rotation doesn't works
n the middle line of keyboard too is not working
middle line means "asdfghjkl"

i have checked blue lightning , hellkat 4.4 , xgamerz v3
but this problem exist for me in all roms
i h have calibrated accelerometer n compass through advanced tools pro but nothing helped
now can any one help me plz