在目录 device/qcom/msm8909/system.prop 改屏幕旋转
persist.panel.orientation=90带#注释的两句不加也可
#persist.demo.hdmirotates=true
#persist.demo.hdmirotation=90
修改了system.prop后,特别要注意一个步骤,删除build.prop
方法如下:
rm out/target/product/msm8909/system/build.prop
rm out/target/product/msm8909/system/build.prop.bakforspec
再执行make systemimage 编译即可