在目錄 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 參數)