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 |
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 |
3.Select the image you want to brush
1 | fastboot flash boot /path/to/boot.img |
give an example:
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 |