android user 版本如何預設adb調試為開啟【轉】

來源:互聯網
上載者:User

標籤:配置方法   ota   its   get   提示   securecrt   span   uart   開關   

本文轉載自:http://blog.csdn.net/chaihuasong/article/details/50342119

A. 軟體準備 
user版本需要先開啟USB debug開關,開啟檔案如下: 
1、開啟usb調試 build/core/main.mk 
請將user版本下也改為ro.debuggable = 1

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=1 //這邊改成1 
endif # !enable_target_debugging

2、關閉授權框提示 device/sprd/scx35/device.mk 
這個ro.adb.secure=0(0為不顯示信任此電腦,1為顯示信任此電腦)

開啟後全編譯版本

B. 硬體準備 
需要飛線,找硬體從TX接線出來,飛線成功後用SecureCRT工具抓取uart log 
配置方法參考: 
首先安裝SecureCRT軟體和相對應的工具,之後開啟SecureCRT,點擊file–>Quick Connect 
相關設定項如下: 
Protocol 為Serial 
Port 為電腦中的連接埠:比如COM23 
Baud rate 要選為115200 
Data bits 為8 
Parity 為None 
Stop bits 為1 
Show quick connect on star 不勾選 
其餘均為預設 
點擊connect 就可以串連了

android user 版本如何預設adb調試為開啟【轉】

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

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.