WEB开发网
开发学院手机开发Android 开发 adb (Android Debug Bridge) Android 调试桥 阅读

adb (Android Debug Bridge) Android 调试桥

 2010-03-25 16:45:00 来源:WEB开发网   
核心提示:that should be included in a bug report.adb help - show this help messageadb version - show version numDATAOPTS:(no option) - don't touch the data partition

that should be included in a bug report.

adb help - show this help message

adb version - show version num

DATAOPTS:

(no option) - don't touch the data partition

-w - wipe the data partition

-d - flash the data partition

bootloader commands:

adb flashall DATAOPTS - reflash the device from the build output tree

adb flash [] [] - write to flash

adb send - write to ram

adb debug - listen to bootloader debuglog

adb bl - send raw bootloader command

scripting:

adb wait-for-bootloader - block until bootloader is online

adb wait-for-device - block until device is online

adb start-server - ensure that there is a server running

adb kill-server - kill the server if it is running

adb get-state - prints: offline | bootloader | device

adb get-product - prints:

adb get-serialno - prints:

adb status-window - continuously print device status for a specifie

d device

adb remount - remounts the /system partition on the device re

ad-write

networking:

adb ppp [parameters] - Run PPP over USB.

Note: you should not automatically start a PDP connection.

refers to the tty for PPP stream. Eg. dev:/dev/omap_csmi_tty1

[parameters] - Eg. defaultroute debug dump local notty usepeerdns

adb sync notes: adb sync [ ]

can be interpreted in several ways:

- If it not specified, both /system and /data partitions will be updated.

- If it is "system" or "data", only the corresponding partition

is updated.

上一页  1 2 3 4 5 6 7  下一页

Tags:adb Android Debug

编辑录入:coldstar [复制链接] [打 印]
赞助商链接