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 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 [
adb send
adb debug - listen to bootloader debuglog
adb bl
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
Note: you should not automatically start a PDP connection.
[parameters] - Eg. defaultroute debug dump local notty usepeerdns
adb sync notes: adb sync [
- If it not specified, both /system and /data partitions will be updated.
- If it is "system" or "data", only the corresponding partition
is updated.
更多精彩
赞助商链接