Android user version How to default ADB debug to turn on "go"

Source: Internet
Author: User

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"

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.