ADB & FASTBOOT COMMAND ON WINDOWS

ADB & FASTBOOT COMMAND ON WINDOWS

 

PART1: GET ADB & FASTBOOT TOOLS


  1. Download the latest version of platform-tools on Google drive (link) or go to the official SDK Platform Tools release -> choose options for Windows PC (link).

  2. Move the ‘platform tools’ folder to C drive so that you can easily access it anytime.

ADB & FASTBOOT COMMAND ON WINDOWS


PART 2: SETTING PATH AND ENVIRONMENTS

  1. Copy the path (address) of the ‘platform tools’ folder. You can shift+right click to get the option called ‘Copy as Path’, using which will copy the path to PC’s clipboard. Mine is in the C drive, and here is its path: “C:\platform-tools”
    ADB & FASTBOOT COMMAND ON WINDOWS

  2. Open Environment Variables settings by searching for it in Windows search. Otherwise, find it manually as given below:

    1. Right-click the Computer icon.

    2. Click Properties.

    3. Click Advanced system properties.

    4. In the window that pops up, click Advanced.
      ADB & FASTBOOT COMMAND ON WINDOWS

    5. Click Environment Variables.

  3. Under System variables section, click the Path option to select it.
    ADB & FASTBOOT COMMAND ON WINDOWS

  4.  Click the Edit button.

  5. Add the path of the platform-tools folder:

    1. On Windows 10, click the New button, and then copy the path of your ‘platform tools’ folder.
      ADB & FASTBOOT COMMAND ON WINDOWS

  6. Click OK, then again OK, and then again OK to exit.

  7. Open a command window or a PowerShell window and type adb and then hit the enter key, you shall get a list of adb commands. Meaning, adb is working from everywhere on your Windows PC. Try the same with fastboot.

PART 3: INSTALL USB DRIVER FOR FASTBOOT

  1. Downloads the Google USB driver in here

  2. Extract the zip file and we got the folder include all these folders:

ADB & FASTBOOT COMMAND ON WINDOWS

  1. Search Computer Management on your PC :

ADB & FASTBOOT COMMAND ON WINDOWS

  1. Choose Device Manager -> Other devices -> Android Phone -> Update Driver Software

ADB & FASTBOOT COMMAND ON WINDOWS

  1. Choose Browse my computer for driver software

ADB & FASTBOOT COMMAND ON WINDOWS

  1. Choose Let me pick from a list of available drivers on my computer

ADB & FASTBOOT COMMAND ON WINDOWS

  1. Choose Have Disk

ADB & FASTBOOT COMMAND ON WINDOWS

  1. Choose Browse -> Redirect to USB_driver folder -> Choose android_winusb -> Click Open -> OK then wait until it is installed successfully.

ADB & FASTBOOT COMMAND ON WINDOWS


 

 

PART 3: How to use ADB & Fastboot 


  1. Put the watch correctly on the charger and connect to your PC 

  2. Run command <adb devices> to make sure ADB works well, the response should be:

ADB & FASTBOOT COMMAND ON WINDOWS

  1. Run command :

Adb reboot bootloader

-> The watch will reboot then go to fastboot mode 

ADB & FASTBOOT COMMAND ON WINDOWS


  1. Run command fastboot devices to make sure fastboot works well, the response should be:

ADB & FASTBOOT COMMAND ON WINDOWS

 

Congratulations, you are good to go the next Steps ! 



上一篇:系统应用开发-模拟器调试


下一篇:adb设置环境变量