

adb (Android Debug Bridge) cheatsheet
source link: https://devhints.io/adb
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Device Basics
adb devices
Lists connected devices
adb devices -l
Lists connected devices and kind
adb root
Restarts adbd with root permissions
adb start-server
Starts the adb server
adb kill-server
Kills the adb server
adb remount
Remounts file system with read/write access
adb reboot
Reboots the device
adb reboot bootloader
Reboots the device into fastboot
adb disable-verity
Reboots the device into fastboot
wait-for-device
can be specified after adb
to ensure that the command will run once the device is connected.
-s
can be used to send the commands to a specific device when multiple are connected.
Examples
$ adb wait-for-device devices
List of devices attached
somedevice-1234 device
someotherdevice-1234 device
$ adb -s somedevice-1234 root
Recommend
-
51
Android Debug Bridge (adb) Android Debug Bridge (adb) is a versatile command-line tool that lets you communicate with a device. The adb command facilitates a variety of device actions, such as installing and debug...
-
14
Android ADB Tricks for your shell to boost your productivity If you are Android developer and working a lot with different phones, there's a high chance you have collected a set of different scripts which help y...
-
14
想必有很多人受到這種困擾, 最後有人受不了跑去decompiling, 才讓事情變得單純(?) 先講重點: 如果可以順利使用預設的AndroidPlayer([email protected]:34999)的...
-
15
局域网开启 Android ADB 无线调试 「 终端开发 」 —— 2020年11月23日 [本文结构] 最近因为家里事情比较多,因此晚上和周末都...
-
9
ADB简介 Android Debug Bridge (adb) 是一个Android的命令行工具。可以用来连接模拟器或实际的移动设备。比如 adb logcat, adb shell。Dalvik Debug Monitor Server(DDMS) 后台也是运行的adb来实现监控调试移动设备。 总体而言,adb有两个用途...
-
8
想必有很多人受到這種困擾, 最後有人受不了跑去decompiling, 才讓事情變得單純(?) 先講重點: 如果可以順利使用預設的AndroidPlayer([email protected]:34999)的...
-
6
ADB的全称为Android Debug Bridge,就是调试桥的作用,存放在sdk安装目录下的platform-tools文件夹中,借助这个工具,我们可以管理设备或手机模拟器的状态,可以让你与仿真实例或连接的安卓系统的设备进...
-
12
Debug Microservices running inside a Kubernetes Cluster with Bridge to Kubernetes 1 day ago2021-07-12T00:00:00+02:00 by Wolfgang Ofner 11 minKubernetes and new tools and technologies, in gene...
-
6
# H...
-
10
Latest Update 2021-03-06 : New image showing the new "Services" in Home Assistant and got some tips from the comments below. Credits and thanks: Home Assistant Forum users & Github users: @ocso, @wiphye, @teachingbirds, @...
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK