Factory image for an Android device is the firmware that comes preloaded as an OEM. These files are available for several reasons. Some of them being- For some reason, you don’t receive update via OTA, Rooted device and want to restore to stock, Bricked your Android, Can’t download OTA directly to phone/ Insufficient storage error, And more. Here is a simple guide on how you can flash the factory images, which are also called the stock firmware files, on your Android device. Now this does not apply to every Android device. It goes well with devices running AOSP ROMS like Nexus devices or Cyanogen OS devices like YU Yuphoria, Wiley devices, OnePlus One, OPPO, Android One devices, etc. now follow the instructions below to flash the factory images.
Install Flash Factory Images On Android Devices Using Fasboot
1. Verify your device for compatibility. Get the latest Factory image for your device.
2. Enable USB Debugging on your device. To do so, go to Settings>About Phone> Tap on the Build Number several times until you get a new Developer Options in theSettings. Open Developer Options and enable USB Debugging from there. Trust the connection by allowing it when you connect it to your PC for the first time.
3. Make sure you have latest device drivers setup on your PC for a better connection. Get it from the official page of your device manufacturer.
4. To be sure, fully charge your device as the process make take a while.
5. For ADB and Fastboot download the quick ADB and Fastboot Installer from here for windows OS and for iOS, Linux, Chrome OS, you should check out this tool. You may also like Universal ADB drivers, Naked ADB drivers.
6. Enable OEM Unlock from Developer Options; if such an option is available.
Step 1: Download the Factory image file from above. Transfer the file to your PC where you can easily locate it.
Step 2: Make sure you setup ADB and Fastboot on your PC. Trust the connection- check Yes on “Always allow from this computer” when you plug in the device for the first time.
Step 3: Now turn off your Android device completely and unplug it from your PC.
Step 4: Boot into the bootloader or Fastboot mode. To do so, turn off your device and then press and hold volume down + the power button simultaneously for a few seconds. When you see the bootloader/Fastboot screen, connect your device to the PC using a USB cable.(Choose Fastboot if option is available) For an alternative method look at the end of this method. For some devices, like YU phones, you just need to hold the Volume UP keys and plug in the USB cable at the same time.
Step 5: Navigate to the location where you have placed the Factory image file. (If it’s a file with .img extension, you can’t extract it. So don’t. If it is a ZIP file, then extract it and enter the folder.) Now, while the folder with the factory image is open, launch a command prompt or terminal window. To do so, hold the shift key on the keyboard and right-click on an empty space and select “Open command window here” option to launch a cmd window.
Step 6: Now issue the following command in the command prompt to check your device connectivity
Step 7: Now flash the factory image file with proper file name and extension. (If you have a ZIP file then simply run the flash-all.bat for windows or flash-all.sh file for iOS This will flash all the fires automatically without entering any code manually. Otherwise, flash each and every file like system, boot, recovery, etc.) Issue the following command to flash it.
fastboot flash system system.img
fastboot flash system boot.img
If it’s a firmware file with .img extension, you may try:
fastboot flash <factory image name>.img
or try this if you have a zip file: fastboot flash zip <put filename here>.zip
Step 8: Likewise, flash every file. Once done, reboot.
Once the operation completes, you can now enjoy your new firmware. Alternatively, while, on Linux or Mac OS, you can issue “./fastboot flash system system.img” command to flash the file.
How to boot into bootloader or Fastboot mode using ADB
In order to boot into the bootloader while connected to the PC, you can also issue the following command through your cmd or terminal, First setup ADB and Fastboot environment on your PC from requirements and then follow instructions till step 4. Once into the command prompt or terminal, issue the following command:
adb reboot bootloader
Follow and share us on social media. If you need any help with your device, then comment down below.