3568 Android 设置首次烧录后 usb otg 口模式

3568 Android 设置首次烧录后 usb otg 口模式

  • 作者:吴思含(Witheart)
  • 更新时间:20250811

patch

diff 复制代码
diff --git a/device/rockchip/rk356x/device.mk b/device/rockchip/rk356x/device.mk
index 9914a40ae5..982f0997ca 100644
--- a/device/rockchip/rk356x/device.mk
+++ b/device/rockchip/rk356x/device.mk
@@ -94,7 +94,7 @@ PRODUCT_PROPERTY_OVERRIDES += \
                 ro.build.shutdown_timeout=6 \
                 persist.enable_task_snapshots=false \
                 ro.vendor.frameratelock=true \
-		persist.usb3.otg.mode = 0 \
+		persist.usb3.otg.mode = 1 \
 		persist.sys.rotation.efull = true \
 		persist.demo.hdmirotates = true \
 		persist.4g.monitor.mode = 1 \
  • 0: 主机,对应设置下 otg 模式关闭
  • 1: 自动识别(从机),对应设置下 otg 模式开启
相关推荐
一航jason1 天前
Android平台推理框架及试用场景模型对比
android·人工智能·ai·架构·ai编程·llama
一航jason1 天前
Android 端侧大模型推理框架对比
android·人工智能·ai·ai编程·llama·ai-native
新时代牛马1 天前
cyclictest 毛刺从哪来?从ftrace、latencytop、perf到IRQ/调度延迟定位
android·开发语言·python·kotlin
光电的一只菜鸡1 天前
为什么调整LSC会对AF产生影响
android·开发语言·kotlin
凛_Lin~~1 天前
LiveData 源码解析
android·安卓·livedata
hai_android1 天前
FusibleFlow:Kotlin Flow 的融合机制原理
android·kotlin
龚寿生1 天前
23-敏捷开发实战:从Scrum到看板的团队协作方法论
android·学习·scrum·敏捷流程
zhangguojia71 天前
Activity启动流程(四):从setContentView到View树创建与Window挂载
android
三少爷的鞋2 天前
Kotlin 2026:裁员、AI、Rust——黄金时代结束了吗?Jake Wharton 为你解答
android