Home>Article> What is Android adb

What is Android adb

藏色散人
藏色散人 Original
2021-05-12 16:07:14 22720browse

The full name of Android adb is Android Debug Bridge, which refers to the Android debugging bridge, which also plays the role of a debugging bridge; the prerequisite for using the adb tool is to turn on USB debugging on the phone, and then connect to the computer through a data cable. And you can use the command mode on the computer to operate the phone.

What is Android adb

Demo environment for this article: MIUI12.5 system, Android Debug Bridge1.0.41, Xiaomi 11 mobile phone.

What is Android adb?

is the Android debugging bridge. Used to debug Android system hardware through USB port. Such as Android phones and Android tablets.

The full name of adb in Android system is Android Debug Bridge, which functions as a debugging bridge. The prerequisite for using the adb tool is to turn on USB debugging on the mobile phone and then connect to the computer through a data cable. Use the command mode on the computer to operate the phone: restart, enter recovery, enter fastboot, push file functions, etc.

It is worth emphasizing that adb commands can also be used to control the phone in recovery mode. So if the flashing fails, you can still use the adb tool at a certain time. Today I will tell you some very commonly used adb commands.

Commonly used adb commands in Android systems:

1. Display currently connected devices: adb devices

2. Install apk file (must be saved in the same directory as adb, * is apk File name): adb install *.apk

3. Install the apk file to the sd card (must be saved in the same directory as adb, * is the name of the apk file): adb install -s *.apk

4. Copy the file to the mobile phone: adb push [location of file to be pushed] [location to be pushed to mobile phone]

Example: adb push C:\muzi.zip /sdcard

5 . Copy files to the computer: adb pull [file location on the phone] [location to be copied to the computer]

Example: adb pull sdcard/muzisoft.zip c:\

6. Restart Device: adb reboot

7. Restart the device to recovery mode: adb reboot recovery

8. Reboot to bootloader mode: adb reboot bootloader

For more related knowledge, please visitFAQcolumn!

The above is the detailed content of What is Android adb. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn