Hi Arjun96G, The orientation sensor is defined by Google as requiring Accelerometer, Magnetometer and (optionally) Gyroscope. https://source.android.com/devices/sensors/sensor-types#orientation_deprecated The RAM patch your are using does not include Magnetometer support, as hinted in the lack of "BMM150" in the filename, and therefore does not support Orientation. I believe that you are looking for Game Rotation Vector : https://source.android.com/devices/sensors/sensor-types#game_rotation_vector o_o
... View more