This article was reproduced from: http://blog.csdn.net/chaihuasong/article/details/50342119
A. Software Preparation
The user version needs to open the USB debug switch first, open the way as follows:
1. Open USB Debug Build/core/main.mk
Please change the user version to Ro.debuggable = 1
Ifeq (True, (str< Span id= "mathjax-span-7" class= "Mi" >ip (enable_target_debugging))
# target is more debuggable and adbd are on by default
Additional_default_properties + = ro.debuggable=1
# Include the debugging/testing OTA keys in this build.& nbsp
Include_test_ota_keys: = true
Else #!enable_target_debugging
# target is less debuggable and adbd is off by default
Additional_default_properties + = ro.debuggable=1//This side is changed to 1
EndIf #!enable_target_ Debugging
2, close the authorization box prompt device/sprd/scx35/device.mk
This ro.adb.secure=0 (0 for not showing trust this computer, 1 for display Trust this computer)
Open after fully compiled version
B. Hardware Preparation
Need to fly the line, find hardware from the TX wiring out, after the success of the line with the SecureCRT tool to grab the UART log
Configuration Method Reference:
First install the SECURECRT software and the corresponding tool, then open SECURECRT, click File–>quick Connect
The relevant settings are as follows:
Protocol to Serial
Port is the ports in the computer: for example, COM23
Baud rate to be selected as 115200
Data Bits is 8
Parity to None
Stop bits is 1
Show Quick connect on star uncheck
The rest are the default
Click Connect to connect
Android user version How to default ADB debug to turn on "go"