user版本如何开关默认USB调试功能
2014-03-27 21:10
417 查看
[Description]
如何开关默认USB调试功能
[Keyword]
USB 调试 debugging Eng Usr
[Solution]
\build\core\main.mk
两个都=1,默认打开,=0,默认关闭
ADDITIONAL_DEFAULT_PROPERTIES += ro.debuggable=1 persist.service.adb.enable=1
#ICS =1 -> 打开,=0 -> 关闭 ADDITIONAL_DEFAULT_PROPERTIES += ro.debuggable=1
#ifeq 代表Eng版本
#else 代表Usr版本
#Details
#GB
ifeq (true,$(strip $(enable_target_debugging)))
# Target is more debuggable and adbd is on by default
ADDITIONAL_DEFAULT_PROPERTIES += ro.debuggable=1 persist.service.adb.enable=1
# Include the debugging/testing OTA keys in this build.
INCLUDE_TEST_OTA_KEYS := true
else # !enable_target_debugging
# Target is less debuggable and adbd is off by default
ADDITIONAL_DEFAULT_PROPERTIES += ro.debuggable=0 persist.service.adb.enable=0
endif # !enable_target_debugging
#ICS
ifeq (true,$(strip $(enable_target_debugging)))
# Target is more debuggable and adbd is on by default
ADDITIONAL_DEFAULT_PROPERTIES += ro.debuggable=1
# Include the debugging/testing OTA keys in this build.
INCLUDE_TEST_OTA_KEYS := true
else # !enable_target_debugging
# Target is less debuggable and adbd is off by default
ADDITIONAL_DEFAULT_PROPERTIES += ro.debuggable=0
endif # !enable_target_debugging
如何开关默认USB调试功能
[Keyword]
USB 调试 debugging Eng Usr
[Solution]
\build\core\main.mk
两个都=1,默认打开,=0,默认关闭
ADDITIONAL_DEFAULT_PROPERTIES += ro.debuggable=1 persist.service.adb.enable=1
#ICS =1 -> 打开,=0 -> 关闭 ADDITIONAL_DEFAULT_PROPERTIES += ro.debuggable=1
#ifeq 代表Eng版本
#else 代表Usr版本
#Details
#GB
ifeq (true,$(strip $(enable_target_debugging)))
# Target is more debuggable and adbd is on by default
ADDITIONAL_DEFAULT_PROPERTIES += ro.debuggable=1 persist.service.adb.enable=1
# Include the debugging/testing OTA keys in this build.
INCLUDE_TEST_OTA_KEYS := true
else # !enable_target_debugging
# Target is less debuggable and adbd is off by default
ADDITIONAL_DEFAULT_PROPERTIES += ro.debuggable=0 persist.service.adb.enable=0
endif # !enable_target_debugging
#ICS
ifeq (true,$(strip $(enable_target_debugging)))
# Target is more debuggable and adbd is on by default
ADDITIONAL_DEFAULT_PROPERTIES += ro.debuggable=1
# Include the debugging/testing OTA keys in this build.
INCLUDE_TEST_OTA_KEYS := true
else # !enable_target_debugging
# Target is less debuggable and adbd is off by default
ADDITIONAL_DEFAULT_PROPERTIES += ro.debuggable=0
endif # !enable_target_debugging
相关文章推荐
- 【MTK】如何开关默认USB调试功能
- Android [USB]如何开关默认USB调试功能
- Android系统移植与调试之如何修改Android系统默认显示【开发者选项】并默认打开【USB调试】和【未知来源】开关
- android user 版本如何默认adb调试为打开【转】
- Android系统移植与调试之------->如何修改Android系统默认显示【开发者选项】并默认打开【USB调试】和【未知来源】开关
- android user 版本如何默认adb调试为打开
- [RK3288][Android6.0] 调试笔记 --- user版本默认显示开发者选项【转】
- 如何默认打开user版本 debug 选项, 默认打开adb 连接
- [FAQ04776]如何默认打开user版本 debug 选项, 默认打开adb 连接
- [FAQ04776]如何默认打开user版本 debug 选项, 默认打开adb 连接
- [FAQ04776]如何默认打开user版本 debug 选项, 默认打开adb 连接【转】
- 默认打开USB调试功能
- Android 6.0 如何默认打开user版本的root权限
- Android 6.0 如何默认打开user版本的root权限【转】
- 如何在手机上打开「USB 调试」开关
- [RK3288][Android6.0] 调试笔记 --- user版本默认显示开发者选项
- 如何默认打开user版本 debug 选项, 默认打开adb 连接
- 默认打开USB调试功能
- 如何正确打开华为手机的 USB 调试和 完整 log 功能?
- mysqlmax版本如何修改默认字符集。