RK android11 user打开adb调试功能

目录build/make/core

diff --git a/core/main.mk b/core/main.mk

--- a/core/main.mk

+++ b/core/main.mk

@@ -280,7 +280,7 @@ ifneq (,$(user_variant))

ADDITIONAL_DEFAULT_PROPERTIES += security.perf_harden=1

ifeq ($(user_variant),user)

  • ADDITIONAL_DEFAULT_PROPERTIES += ro.adb.secure=1
  • ADDITIONAL_DEFAULT_PROPERTIES += ro.adb.secure=0

endif

ifeq ($(user_variant),userdebug)

@@ -310,7 +310,7 @@ ifeq (true,(strip (enable_target_debugging)))

ADDITIONAL_BUILD_PROPERTIES += dalvik.vm.lockprof.threshold=500

else # !enable_target_debugging

Target is less debuggable and adbd is off by default

  • ADDITIONAL_DEFAULT_PROPERTIES += ro.debuggable=0
  • ADDITIONAL_DEFAULT_PROPERTIES += ro.debuggable=1

endif # !enable_target_debugging

eng

相关推荐
好奇的菜鸟4 小时前
如何在Ubuntu上检查MySQL是否启动并放开3306端口
mysql·ubuntu·adb
OneT1me4 小时前
adb shell中执行system用户权限命令的方法
adb
Polaris_YJH4 小时前
360安全卫士占用5037端口(ADB端口)解决方案
adb·端口占用·5037
雨之小10 天前
RK3588调试之旅:adbd服务配置全攻略
adb·rk3588
Chrison_mu11 天前
python运行android adb命令获取版本号
android·python·adb
奔跑吧邓邓子12 天前
一文吃透ADB,从入门到精通
adb·从入门到精通
鹏说大数据12 天前
MySQL5.7 慢查询SQL语句集合
android·sql·adb
small_white_robot13 天前
OSCP备战-LordOfTheRoot靶机复现步骤
adb
从零开始学习人工智能14 天前
基于FastAPI与Selenium的智能开关状态管理系统实践
selenium·adb·fastapi
weixin_5316389418 天前
XR-RokidAR-ADB环境搭建
adb·xr