One of the advantages of an unlocked bootloader for android is installing the firmware via the command line. You will learn how to install firmware via fastboot and why you need it from this article.
Before flashing, be sure to find out the exact procedure and additional requirements for your model.
You are solely responsible for any actions. Do not flash the phone without proper preparation.
As an example, consider installing a standard firmware on a Motorola Moto G5 smartphone.
Must Read
Unlock the bootloader if you haven't already done so.
Download the standard firmware for your model. Choose the build for your region.
Install drivers, as well as ADB and Fastboot.
Unpack the firmware and place it in the folder with ADB and Fastboot. Then call the command window in the same folder.
Boot the phone into Fastboot mode by pressing the volume down and power buttons. After the inscriptions appear on the screen, connect the power cable.
Paste the entire list of commands for flashing partitions.
fastboot oem fb_mode_set
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash dsp adspso.bin
fastboot flash oem oem.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash system system.img_sparsechunk.4
fastboot flash system system.img_sparsechunk.5
fastboot flash system system.img_sparsechunk.6
fastboot flash system system.img_sparsechunk.7
fastboot flash modem NON-HLOS.bin
fastboot erasemodemst1
fastboot erasemodemst2
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase userdata
fastboot erase customize
fastboot erase clogo
fastboot oem fb_mode_clear
fastboot reboot
When flashing another model like the Motorola phone, the list of commands may different. Go here to Flash Motorola Phones Firmware Using mFastboot
Wait for the end of the firmware, which will be notified by the notification "fastboot reboot". Press Enter to complete the firmware and reboot the smartphone.
This instruction is useful in case you need to install the firmware of another region. As an example, consider the Motorola Moto Z Play model, where, say, you need to install European firmware on a model for China.
Prepare your phone: download the European firmware; install drivers, adb and fastboot.
Connect the device to the PC, launch the console and enter the commands one by one.
+ Commands for firmware
fastboot flash partition gpt.bin
fastboot flash bootloader bootloader.img
fastboot flash logo logo.bin
fastboot flash boot boot.img
fastboot flash recovery recovery.img
fastboot flash dsp adspso.bin
fastboot flash oem oem.img
fastboot flash system system.img_sparsechunk.0
fastboot flash system system.img_sparsechunk.1
fastboot flash system system.img_sparsechunk.2
fastboot flash system system.img_sparsechunk.3
fastboot flash system system.img_sparsechunk.4
fastboot flash system system.img_sparsechunk.5
fastboot flash system system.img_sparsechunk.6
fastboot flash system system.img_sparsechunk.7
fastboot flash system system.img_sparsechunk.8
fastboot flash system system.img_sparsechunk.9
fastboot flash system system.img_sparsechunk.10
fastboot flash modem NON-HLOS.bin
fastboot erasemodemst1
fastboot erasemodemst2
fastboot flash fsg fsg.mbn
fastboot erase cache
fastboot erase userdata
fastboot erase customize
fastboot erase clogo
fastboot reboot
After installation, you get a Chinese smartphone with European firmware.
In the future, do not install OTA updates otherwise you will get a brick. Also, do not downgrade the firmware and bootloader version, otherwise, you will get a brick that cannot be lifted.
Previously, we published instructions for flashing Xiaomi smartphones via Fastboot. For detailed instructions, see the example of Mi4C and Redmi Note 3 Pro.
The article describes how the firmware is performed via fastboot. Several examples are presented - installation of regular firmware and firmware of another region; examples of Xiaomi smartphone firmware are given.
Do you install the firmware via Fastboot, or do you use other methods? Write your choice in the comments. Also, share the article and rate it. Additions, corrections, and suggestions are welcome.