How To Use Fastboot

What is FastBoot

FastBoot is a way to quickly upgrade each partition package of Android.It is a brush mode of connecting devices with USB cable.

Begin to Use FastBoot

1.Enter FastBoot mode

Input the following ADB command:

1
adb reboot fastboot

image

2.Unlock bootloader

To use FastBoot to brush the machine, you must first unlock the bootloader, otherwise the machine cannot be flashed.

After entering the FastBoot mode, input the following command to unlock:

1
fastboot flashing unlock

image

3.Select the image you want to brush

1
2
3
4
5
6
7
8
fastboot flash boot /path/to/boot.img
fastboot flash logo /path/to/logo.img
fastboot flash recovery /path/to/recovery.img
fastboot flash system /path/to/system.img
fastboot flash dts /path/to/dt.img
fastboot flash bootloader /path/to/u-boot.bin
fastboot flash vendor /path/to/vendor.img
fastboot flash odm /path/to/odm.img

give an example:

image

After upgrading the firmware, you can choose to lock the device (Not required during debug):

1
fastboot flashing lock

4.Exit FastBoot and restart the device:

1
fastboot reboot

image