1. 查看User模式还是Eng模式
shell@android:/ $ cat default.prop
cat default.prop
#
# ADDITIONAL_DEFAULT_PROPERTIES
#
ro.secure=1
ro.allow.mock.location=0
ro.debuggable=0
shell@android:/ $ cat default.prop
cat default.prop
#
# ADDITIONAL_DEFAULT_PROPERTIES
#
ro.secure=1
ro.allow.mock.location=0
ro.debuggable=0
persist.sys.usb.config=mass_storage
ro.secure=1 && ro.debuggable=0为User模式
ro.secure=0 && ro.debuggable=1为Eng模式
本文介绍了如何通过查看default.prop文件来区分Android设备处于User模式还是Eng模式。具体来说,如果ro.secure=1且ro.debuggable=0,则设备运行在User模式;若ro.secure=0且ro.debuggable=1,则设备处于Eng模式。
1495

被折叠的 条评论
为什么被折叠?



