Upgrade Partition Image
The following content is intended for advanced users who need to flash partition images (such as boot, dtbo, etc.) separately. If you only need a full firmware upgrade, please refer to Upgrade Complete Firmware. Only products that support partition image upgrade can operate in this way.
Enter Bootloader Mode
While the device is running normally, connect the download port of the device with the PC through Type-A to Tyep-C USB cable, then run this command on the device terminal or debug console:
sudo systemctl reboot bootloaderOpen the Windows terminal (PowerShell), navigate to the location of Android Platform Tools, then run .\fastboot.exe devices. If the device enters the bootloader mode successfully, fastboot will show a detected device:
PS D:\path\to\platform-tools> .\fastboot.exe devices
xxxxxxxx fastbootIf fastboot shows nothing, please check the driver installation and the USB cable.
Flash Partition Images
Usage: fastboot.exe flash <partition name> <path to image>
For example:
.\fastboot.exe flash boot D:\path\to\boot.img
.\fastboot.exe flash dtbo D:\path\to\dtbo.img
# reboot device after flashing.
.\fastboot.exe rebootWarning
Flashing a wrong file will cause system failure. Please confirm the partition and the file before flashing; if you are not sure, please ask for help first instead of blind operation.