Gyroscope and Accelerometer stopped working after rooting phone

A

AC Question

Hello
My phone is a Samsung galaxy grand neo plus (gt-I9060i)
I have rooted this phone before, but now i deleted the root because it is said that you cannot play pokemon go with root but it still wouldnt work so i rooted the phone again but now i have noticed that the auto rotation doesnt work.
And when i do *#0*# the gyroscope doesnt even come up. I have searched online but i havent seen anyone with a particular problem like me.
Thank you to anyone who answers.