adb (Android Debug Bridge) cheatsheet - Devhints
文章推薦指數: 80 %
Command, Description. adb devices, Lists connected devices. adb devices -l, Lists connected devices and kind. adb root, Restarts adbd with root permissions.
Devhints.io
Edit
DeviceBasics
Command
Description
adbdevices
Listsconnecteddevices
adbdevices-l
Listsconnecteddevicesandkind
adbroot
Restartsadbdwithrootpermissions
adbstart-server
Startstheadbserver
adbkill-server
Killstheadbserver
adbremount
Remountsfilesystemwithread/writeaccess
adbreboot
Rebootsthedevice
adbrebootbootloader
Rebootsthedeviceintofastboot
adbdisable-verity
Rebootsthedeviceintofastboot
wait-for-devicecanbespecifiedafteradbtoensurethatthecommandwillrunoncethedeviceisconnected.
-scanbeusedtosendthecommandstoaspecificdevicewhenmultipleareconnected.
Examples
$adbwait-for-devicedevices
Listofdevicesattached
somedevice-1234device
someotherdevice-1234device
$adb-ssomedevice-1234root
Logcat
Command
Description
adblogcat
Startsprintinglogmessagestostdout
adblogcat-g
Displayscurrentlogbuffersizes
adblogcat-G
延伸文章資訊
- 1Table of all ADB & Fastboot Commands for Android (Windows ...
ADB Shell Commands list
- 2ADB Commands List: Complete with Detailed User Guide | iHax
ADB Commands List Directory · adb · adb devices · adb connect ip_address_of_device · adb help · a...
- 3Adb useful commands list - gists · GitHub
Adb useful commands list. GitHub Gist: instantly share ... adb shell // Open or run commands in a...
- 4adb commands reference
Backup and restore commands · -apk | -noapk : Back up or do not back up . · -obb | -noobb : Back ...
- 5Android Debug Bridge (adb)