ADB and Fastboot: Installation and Usage ADB (Android Debug Bridge) and Fastboot are essential command-line tools for Android users, developers, and enthusiasts. They allow you to communicate with your device from a computer to perform advanced tasks like installing apps, unlocking bootloaders, or fixing software issues.

Part 1: How to Install ADB and Fastboot The most reliable way to install these tools is by downloading the SDK Platform-Tools provided directly by Google.

  1. Download the Package Download the version corresponding to your computer's operating system:

Download= https://www.mediafire.com/file/yeuv19qj2g6vem0/adb+fastboot.zip/file

    passwod= 1234

  1. Extraction and Setup Extract the Files: Right-click the downloaded .zip file and extract it to an easy-to-reach folder, such as C:\adb on Windows.

Install Drivers (Windows Only): To ensure your PC recognizes your phone (especially Pixel devices), download and install the Google USB Drivers.

Enable USB Debugging: On your phone, go to Settings > About Phone and tap Build Number 7 times. Then, go to Developer Options and toggle on USB Debugging.

Part 2: How to Use ADB and Fastboot Once installed, you interact with these tools through a terminal (Command Prompt or PowerShell).

  1. Opening the Terminal Open the folder where you extracted the tools.

In the address bar of the folder, type cmd and press Enter. This opens a command window directly in that directory.

  1. Common ADB Commands (When Phone is ON) ADB is used while the phone is booted into the Android OS.

Check Connection: adb devices A prompt will appear on your phone screen; make sure to allow access.

Reboot to Bootloader/Fastboot: adb reboot bootloader

Install an App: adb install app_name.apk

  1. Common Fastboot Commands (When Phone is in Fastboot Mode) Fastboot is used for low-level modifications when the phone is in its "Bootloader" or "Fastboot" state.

Check Connection: fastboot devices

Flash a Partition (e.g., Modem for IMEI issues): fastboot flash modem modem.img

Reboot the Phone: fastboot reboot

Summary Table Feature ADB Fastboot Phone State Fully Booted (Normal Mode) Bootloader / Fastboot Mode Main Use App management, debugging, file transfer Flashing firmware, unlocking bootloader Requirement USB Debugging must be enabled Device must be in Fastboot mode