[Android] adb command summary

1. adb version displays the ADB tool version
2. adb devices queries the device and displays the device serial number
3. adb sideload <file_location> ROM flashing via USB
4. adb install <apk file path> installs APK
5. adb uninstall <software name> Uninstall
the software 6. adb push <local path> <remote path> send files from the computer to the device
7, adb pull <remote path> <local path> download files from the device to the computer
8, adb reboot recovery reboot to recovery
9, adb reboot bootloader reboots to fastboot
10, adb reboot reboots the phone
11, adb logcat View the running log on the phone, this item can be used for error checking
12, adb shell enters the phone's hyper terminal Terminal
13, adb remount remounts the file system

What does recovery mean? In fact, it is very simple. It is a term in Android mobile phones. It is simply called the engineering interface of flashing. It is like having a DOS system before installing the window operating system on your computer. The mobile phone comes with recovery, called recovery mode, which is usually entered by pressing several key combinations. Different mobile phones have different ways to enter. The official recovery can only restore the factory settings or clear the cache of the mobile phone. However, when you root the mobile phone After that, you can install the third-party recovery. In addition to all the official functions, the third-party recovery can also allow you to reinstall the Android system at will, which is the so-called card swipe.
  The following are the functions of each option in recovery mode:
  reboot system now (reboot the phone)
  apply sdcard: update.zip (install an upgrade package named update.zip from the SD card)
  wipe data/factory reset (clear data and restore factory settings) )
  wipe cache partition (clear system cache)
  install zip from sdcard (install zip upgrade package from SD card)
  backup and restore (backup and restore)
  mounts and storage (login and storage)
  advanced (advanced settings)
  wipe data/factory reset and The wipe cache partition is the double wipe often mentioned in the brush terminology. This operation is usually performed before flashing.

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325523122&siteId=291194637