在目录 device/qcom/msm8909/system.prop 改屏幕旋转,在211行后加入
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 -jn
编译即可,(-jn 中的n 取决你的电脑cpu有几核,也可以不加 -j 参数)