RK3399 Android 7.0的开机横屏设置

时间:2021-10-08 05:47:46

以Firefly AIO-3399C(AI)板为示例,其中~/proj/firefly-rk3399-Industry/为Android 7.1的源码和bundle仓库的工作目录(http://wiki.t-firefly.com/AIO-3399C/compile_android_industry_firmware.html)

1、打开    ~/proj/firefly-rk3399-Industry/device/rockchip/rk3399/rk3399_firefly_aioc_ai_lvds/system.prop文件
2、修改ro.sf.fakerotation=false至ro.sf.fakerotation=true
3、修改ro.sf.hwrotation=0至ro.sf.hwrotation=90
4、保存并重新编译生成img,更新固件即可

上述在LVDS接口液晶屏上得到了验证。

但重力传感器的自动旋转还要继续研究!