why my Gyroscope/accelerometer work only in portrait mode?
Your device's interface will rotate whether the app you are using was designed to (e.g. Modern combat, Dead Trigger, Browsers, etc) ,  apps that were not to intended to change between portrait or landscape won't rotate the interface of your device (e.g RealCalc, instagram, etc).