Tag: ADB

How to Install Fastboot, ADB and Google USB Drivers on Windows 10

Step 1 – Download and latest Java SDK from the following link: Java SE Development Kit 8 Downloads. Proceed to next step after finishing installation.

Step 2 – Download ADB and Fastboot Installer v1.4.3. The tool is a single “.EXE” application.

Step 3 – Run the “adb-setup-1.4.3.exe” which you downloaded in the preceding step, “Run as Administrator”.

Do you want to install ADB and Fastboot? <Y/N> – Type Y

Install ADB system-wide? <Y/N> – Type Y

4 Files copied.

SUCCESS: Specified value was saved.

Do you want to install device drivers? <Y/N> – Type Y

Once you press enter, the program will automatically detect whether you have a 64-Bit or 32-Bit installation of Windows and launch the driver setup respectively.

Device installation wizard will pop up, then click “Next” in the installation wizard

Click on “Install” when asked by Windows Security.

That’s All Folks! You can now utilize ADB and Fastboot utilities by simply opening up a command window and then executing the desired commands.

Now to test it,

  1. make your phone reboot to bootloader
  2. when your phone is on fastboot mode (screen display “fastboot”)
  3. connect your phone to your computer using USB
  4. Open a command window
  5. Type fastboot devices
  6. If all works then #5 will output the device ID

usage: fastboot [ <option> ] <command>

update <filename> reflash device from update.zip
flashall flash boot, system, vendor and if found,
flash <partition> [ <filename> ] write a file to a flash partition
flashing lock locks the device. Prevents flashing partitions
flashing unlock unlocks the device. Allows user to flash any partition except the ones that are related to bootloader
flashing lock_critical Prevents flashing bootloader related partitions
flashing unlock_critical Enables flashing bootloader related partitions
flashing get_unlock_ability Queries bootloader to see if the device is unlocked
erase <partition> erase a flash partition
format[:[<fs type>][:[<size>]] <partition> format a flash partition.
Can override the fs type and/or
size the bootloader reports.
getvar <variable> display a bootloader variable
boot <kernel> [ <ramdisk> ] download and boot kernel
flash:raw boot <kernel> [ <ramdisk> ] create bootimage and flash it
devices list all connected devices
continue continue with autoboot
reboot [bootloader] reboot device, optionally into bootloader
reboot-bootloader reboot device into bootloader
help show this help message

-w erase userdata and cache (and format
if supported by partition type)
-u do not first erase partition before
-s <specific device> specify device serial number
or path to device port
-l with “devices”, lists device paths
-p <product> specify product name
-c <cmdline> override kernel commandline
-i <vendor id> specify a custom USB vendor id
-b <base_addr> specify a custom kernel base address.
default: 0x10000000
-n <page size> specify the nand page size.
default: 2048
-S <size>[K|M|G] automatically sparse files greater
than size. 0 to disable

Categories: OnePlus Tags: Tags: , , ,